/* 大疆DJI面试准备 - 样式文件 */
:root {
    --primary: #1a1a1a;
    --secondary: #ff6b35;
    --accent: #f7931e;
    --bg-light: #f8f9fa;
    --bg-dark: #0d0d0d;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --text-white: #fff;
    --border: #e0e0e0;
    --success: #28a745;
    --warning: #ffc107;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Noto Sans SC', sans-serif; line-height: 1.7; color: var(--text-dark); background: var(--bg-light); }

/* 导航栏 */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 5%; background: rgba(26,26,26,0.95); backdrop-filter: blur(10px);
}
.nav-brand { display: flex; align-items: center; gap: 0.5rem; color: var(--text-white); font-weight: 700; font-size: 1.1rem; }
.nav-brand i { color: var(--secondary); }
.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-link { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.nav-link:hover { color: var(--secondary); }
.nav-toggle { display: none; color: var(--text-white); font-size: 1.5rem; cursor: pointer; }

/* 网站切换器 */
.site-switcher {
    position: relative;
}

.switch-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    border: 1.5px solid var(--secondary);
    color: var(--secondary);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.switch-btn:hover {
    background: var(--secondary);
    color: white;
}

.switch-btn i {
    font-size: 0.8rem;
}

.site-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    overflow: hidden;
}

.site-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 0.8rem 1rem;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    border-bottom: 1px solid #eee;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1rem;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
    border-bottom: 1px solid #f5f5f5;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: var(--secondary);
}

.dropdown-item.active {
    background: rgba(255,107,53,0.08);
    color: var(--secondary);
    font-weight: 500;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--secondary);
}

.version-tag {
    margin-left: auto;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    background: #e8e8e8;
    color: #666;
}

.version-tag.current {
    background: var(--secondary);
    color: white;
}

/* Hero区域 */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #2d2d2d 100%);
    padding: 6rem 5%; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23ff6b35' fill-opacity='0.05' d='M50 0L100 25v50L50 100 0 75V25z'/%3E%3C/svg%3E") repeat;
    background-size: 100px; opacity: 0.3;
}
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-badge { display: inline-block; background: var(--secondary); color: var(--text-white); padding: 0.5rem 1.5rem; border-radius: 50px; font-size: 0.9rem; font-weight: 600; margin-bottom: 1.5rem; }
.hero h1 { font-size: 3.5rem; font-weight: 700; color: var(--text-white); margin-bottom: 1rem; }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,0.7); margin-bottom: 2.5rem; }
.hero-stats { display: flex; justify-content: center; gap: 3rem; margin-bottom: 3rem; }
.stat-item { text-align: center; }
.stat-number { display: block; font-size: 1.5rem; font-weight: 700; color: var(--secondary); }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.hero-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--secondary); color: var(--text-white);
    padding: 1rem 2rem; border-radius: 50px; text-decoration: none;
    font-weight: 600; transition: all 0.3s;
}
.hero-btn:hover { background: var(--accent); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(255,107,53,0.3); }

/* 通用区块 */
.section { padding: 5rem 5%; }
.section-alt { background: var(--text-white); }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag { display: inline-block; background: rgba(255,107,53,0.1); color: var(--secondary); padding: 0.3rem 1rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600; margin-bottom: 0.5rem; }
.section-header h2 { font-size: 2.2rem; font-weight: 700; color: var(--text-dark); }
.section-header p { color: var(--text-light); margin-top: 0.5rem; }

/* 卡片 */
.card { background: var(--text-white); border-radius: var(--radius); padding: 2rem; margin-bottom: 1.5rem; box-shadow: var(--shadow); }
.card-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.card-header i { font-size: 1.5rem; color: var(--secondary); }
.card-header h3 { font-size: 1.3rem; font-weight: 600; }

/* 信息网格 */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.info-item { padding: 1rem; background: var(--bg-light); border-radius: 8px; }
.info-label { display: block; font-size: 0.8rem; color: var(--text-light); margin-bottom: 0.3rem; }
.info-value { font-weight: 600; color: var(--text-dark); }

/* 岗位要求 */
.requirements { margin-top: 1rem; }
.req-title { font-size: 1rem; color: var(--text-dark); margin: 1.5rem 0 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--secondary); display: inline-block; }
.bonus-title { border-color: var(--warning); }
.req-item { display: flex; gap: 1rem; padding: 1rem; background: var(--bg-light); border-radius: 8px; margin-bottom: 0.75rem; }
.req-item.match { border-left: 4px solid var(--success); }
.req-item.bonus { border-left: 4px solid var(--warning); }
.req-check { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.req-item.match .req-check { background: var(--success); color: var(--text-white); }
.req-item.bonus .req-check { background: var(--warning); color: var(--text-dark); }
.req-content h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.3rem; }
.match-note { font-size: 0.85rem; color: var(--success); }
.req-item.bonus .match-note { color: #856404; }

/* 自我介绍 */
.intro-card { background: var(--text-white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.intro-version { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border); padding-bottom: 1rem; }
.version-tab { padding: 0.6rem 1.2rem; border-radius: 8px; cursor: pointer; font-size: 0.9rem; font-weight: 500; transition: all 0.3s; background: var(--bg-light); }
.version-tab.active { background: var(--secondary); color: var(--text-white); }
.intro-content { line-height: 2; }
.intro-content.hidden { display: none; }
.intro-content p { margin-bottom: 1rem; }
.intro-content strong { color: var(--secondary); }

/* 项目卡片 */
.projects-list { display: flex; flex-direction: column; gap: 1.5rem; }
.project-card { background: var(--text-white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); border-left: 4px solid var(--secondary); }
.project-header { margin-bottom: 1.5rem; }
.project-tag { display: inline-block; background: rgba(255,107,53,0.1); color: var(--secondary); padding: 0.25rem 0.75rem; border-radius: 4px; font-size: 0.75rem; font-weight: 600; margin-bottom: 0.5rem; }
.project-header h3 { font-size: 1.2rem; font-weight: 600; }
.project-star { margin-bottom: 1.5rem; }
.project-star p { margin-bottom: 0.75rem; font-size: 0.95rem; }
.project-highlight { background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(247,147,30,0.1)); padding: 1rem; border-radius: 8px; font-size: 0.9rem; }

/* Why Me */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
.why-card { background: var(--text-white); border-radius: var(--radius); padding: 1.5rem; text-align: center; box-shadow: var(--shadow); transition: transform 0.3s; }
.why-card:hover { transform: translateY(-5px); }
.why-icon { width: 60px; height: 60px; background: linear-gradient(135deg, var(--secondary), var(--accent)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.why-icon i { font-size: 1.5rem; color: var(--text-white); }
.why-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.why-card p { font-size: 0.9rem; color: var(--text-light); }
.motivation-card { background: linear-gradient(135deg, var(--bg-dark), #2d2d2d); color: var(--text-white); border-radius: var(--radius); padding: 2rem; }
.motivation-card h3 { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.motivation-card i { color: var(--secondary); }
.motivation-card ul { list-style: none; }
.motivation-card li { margin-bottom: 0.75rem; padding-left: 1.5rem; position: relative; }
.motivation-card li::before { content: '→'; position: absolute; left: 0; color: var(--secondary); }

/* 问答区域 */
.qa-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; justify-content: center; }
.filter-btn { padding: 0.5rem 1rem; border: 2px solid var(--border); background: var(--text-white); border-radius: 50px; cursor: pointer; font-size: 0.85rem; transition: all 0.3s; }
.filter-btn.active, .filter-btn:hover { background: var(--secondary); color: var(--text-white); border-color: var(--secondary); }
.qa-list { display: flex; flex-direction: column; gap: 1rem; }
.qa-item { background: var(--text-white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.qa-item.hidden { display: none; }
.qa-question { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; cursor: pointer; transition: background 0.3s; }
.qa-question:hover { background: var(--bg-light); }
.qa-tag { background: rgba(255,107,53,0.1); color: var(--secondary); padding: 0.25rem 0.75rem; border-radius: 4px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.qa-question h4 { flex: 1; font-size: 1rem; font-weight: 500; }
.qa-question i { color: var(--text-light); transition: transform 0.3s; }
.qa-item.active .qa-question i { transform: rotate(180deg); }
.qa-answer { display: none; padding: 0 1.5rem 1.5rem; border-top: 1px solid var(--border); }
.qa-item.active .qa-answer { display: block; padding-top: 1.5rem; }
.qa-answer p { margin-bottom: 0.75rem; font-size: 0.95rem; }
.qa-tip { background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(247,147,30,0.1)); padding: 1rem; border-radius: 8px; margin-top: 1rem; font-size: 0.9rem; }
.qa-tip i { color: var(--secondary); margin-right: 0.5rem; }

/* AI设计模块 */
.ai-cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.ai-case { background: var(--text-white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.case-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.case-icon { width: 50px; height: 50px; background: linear-gradient(135deg, var(--secondary), var(--accent)); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.case-icon i { font-size: 1.3rem; color: var(--text-white); }
.case-title h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.case-tag { display: inline-block; background: rgba(255,107,53,0.1); color: var(--secondary); padding: 0.15rem 0.5rem; border-radius: 4px; font-size: 0.7rem; }
.case-content p { font-size: 0.9rem; margin-bottom: 0.5rem; color: var(--text-light); }
.case-content strong { color: var(--text-dark); }

/* LLM Innovation Section */
.llm-intro {
    background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(247,147,30,0.1));
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.llm-cases {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.llm-case {
    background: var(--text-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border-left: 4px solid var(--secondary);
}

.llm-case-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255,107,53,0.05), rgba(247,147,30,0.05));
}

.llm-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.llm-icon i { font-size: 1.3rem; color: var(--text-white); }

.llm-title h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }

.llm-tag {
    display: inline-block;
    background: rgba(255,107,53,0.1);
    color: var(--secondary);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.llm-case-body { padding: 1.5rem; }

.llm-pain, .llm-value, .llm-tech {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.llm-pain {
    background: rgba(255,107,107,0.1);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border-left: 3px solid #ff6b6b;
}

.llm-solution { margin-bottom: 1rem; }
.llm-solution ul { margin-top: 0.5rem; padding-left: 1.2rem; }
.llm-solution li { margin-bottom: 0.5rem; font-size: 0.95rem; }

.llm-value {
    background: rgba(81,207,102,0.1);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border-left: 3px solid #51cf66;
}

.llm-tech {
    background: rgba(255,107,53,0.1);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--secondary);
    font-size: 0.9rem;
}

.llm-principles {
    background: linear-gradient(135deg, var(--bg-dark), #2d2d2d);
    color: var(--text-white);
    border-radius: var(--radius);
    padding: 2rem;
}

.llm-principles h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.llm-principles i { color: var(--secondary); }

.principle-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.principle-box {
    background: rgba(255,255,255,0.1);
    padding: 1.2rem;
    border-radius: 8px;
}

.principle-icon { font-size: 1.5rem; margin-bottom: 0.5rem; display: block; }
.principle-box h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.principle-box p { font-size: 0.85rem; opacity: 0.9; line-height: 1.6; }

/* Real Questions Section */
.real-question-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.real-question-card {
    background: var(--text-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border-top: 4px solid var(--secondary);
}

.real-question-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255,107,53,0.08), rgba(247,147,30,0.08));
}

.real-q-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.real-q-icon i { font-size: 1.5rem; color: var(--text-white); }

.real-q-tag {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: var(--text-white);
    padding: 0.25rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.real-q-title h3 { font-size: 1.25rem; color: var(--text-dark); }

.real-question-body { padding: 1.5rem; }

/* Project Tabs for Real Questions */
.project-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.project-tab {
    padding: 0.5rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    background: var(--text-white);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-tab:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

.project-tab.active {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: var(--text-white);
    border-color: transparent;
}

.project-answer {
    display: none;
}

.project-answer.active {
    display: block;
}

/* Project Challenges */
.project-challenges {
    background: linear-gradient(135deg, rgba(255,107,53,0.08), rgba(247,147,30,0.08));
    border: 1px solid rgba(255,107,53,0.2);
    border-radius: 12px;
    padding: 1.25rem;
    margin: 1rem 0;
}

.project-challenges h4 {
    color: var(--secondary);
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.challenge-item {
    background: var(--text-white);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
}

.challenge-item:last-child {
    margin-bottom: 0;
}

.challenge-problem {
    color: #d32f2f;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.challenge-solution {
    color: #2e7d32;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 0-1 Product Roadmap Styles */
.roadmap-card {
    background: var(--text-white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
    overflow: hidden;
}

.roadmap-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.roadmap-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.roadmap-title h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
}

.roadmap-tag {
    background: rgba(255,255,255,0.25);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.roadmap-body {
    padding: 1.5rem;
}

.roadmap-vision {
    background: linear-gradient(135deg, rgba(255,107,53,0.08), rgba(247,147,30,0.08));
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.roadmap-vision h4 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.roadmap-phases h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phase-item {
    border-left: 3px solid var(--secondary);
    padding-left: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.phase-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--secondary);
    border-radius: 50%;
}

.phase-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.phase-tag {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.phase-tag.p0 {
    background: #e3f2fd;
    color: #1976d2;
}

.phase-tag.p1 {
    background: #fff3e0;
    color: #f57c00;
}

.phase-tag.p2 {
    background: #e8f5e9;
    color: #388e3c;
}

.phase-time {
    color: #666;
    font-size: 0.85rem;
}

.phase-content {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
}

.phase-content p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.phase-content ul {
    margin: 0.5rem 0;
    padding-left: 1.25rem;
}

.phase-content li {
    margin-bottom: 0.25rem;
    line-height: 1.5;
}

.roadmap-risks {
    background: #fff8e1;
    border-radius: 12px;
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.roadmap-risks h4 {
    color: #f57c00;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.risk-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.risk-item {
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.risk-item strong {
    color: #d32f2f;
}

.risk-solution {
    color: #2e7d32;
    display: block;
    margin-top: 0.25rem;
}

.roadmap-metrics {
    background: #e8f5e9;
    border-radius: 12px;
    padding: 1.25rem;
}

.roadmap-metrics h4 {
    color: #388e3c;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.metric-item {
    background: white;
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.metric-target {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #388e3c;
}

.roadmap-summary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
}

.roadmap-summary h3 {
    color: white;
    text-align: center;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.summary-principles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.principle-card {
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
}

.principle-num {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: white;
    color: var(--secondary);
    border-radius: 50%;
    line-height: 32px;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.principle-card h4 {
    color: white;
    margin-bottom: 0.5rem;
}

.principle-card p {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* AIGC Platform Deep Dive Styles */
.platform-overview {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    color: white;
}

.platform-overview .overview-header h3 {
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.overview-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.overview-item {
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 1rem;
}

.overview-label {
    display: block;
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 0.25rem;
}

.overview-value {
    font-weight: 600;
}

.platform-card {
    background: var(--text-white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
    overflow: hidden;
}

.platform-card-header {
    background: #f8f9fa;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #eee;
}

.platform-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.platform-card-header h3 {
    margin: 0;
    color: var(--text-dark);
}

.platform-card-body {
    padding: 1.5rem;
}

.role-highlight {
    background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(247,147,30,0.1));
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.role-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.responsibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.resp-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.25rem;
}

.resp-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 0.75rem;
}

.resp-item h4 {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.resp-item ul {
    margin: 0;
    padding-left: 1.25rem;
}

.resp-item li {
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    color: #555;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--secondary), var(--accent));
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -30px;
    width: 28px;
    height: 28px;
    background: var(--secondary);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.timeline-content {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.25rem;
}

.timeline-content h4 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.timeline-content ul {
    margin: 0.5rem 0;
    padding-left: 1.25rem;
}

.timeline-output {
    background: #e8f5e9;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    margin-top: 0.75rem;
    font-size: 0.9rem;
}

/* Architecture Diagram */
.architecture-diagram {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.arch-layer {
    margin-bottom: 0.5rem;
}

.arch-label {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.arch-modules {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.arch-module {
    background: white;
    border: 1px solid #ddd;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
}

.arch-module.primary {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
    border: none;
    font-weight: 600;
}

.arch-arrow {
    color: #999;
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

.arch-layer.highlight {
    background: rgba(255,107,53,0.1);
    border-radius: 8px;
    padding: 1rem;
    margin: 0.5rem 0;
}

/* Module Detail */
.module-detail {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.module-detail h4 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.module-desc {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.feature-item {
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.feature-item strong {
    color: var(--secondary);
}

.workflow-box {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.workflow-box h5 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.workflow-steps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.workflow-step {
    background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(247,147,30,0.1));
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

.workflow-arrow {
    color: var(--secondary);
    font-weight: 700;
}

/* Quality Flow */
.quality-flow {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.quality-diagram {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.5rem;
}

.quality-node {
    background: #e3f2fd;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
}

.quality-node.start {
    background: #fff3e0;
}

.quality-node.end {
    background: #e8f5e9;
}

.quality-node.end.pass {
    background: #c8e6c9;
    color: #2e7d32;
}

.quality-arrow {
    color: #999;
    font-size: 1.2rem;
}

.quality-branch {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.branch-path {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.branch-label {
    font-size: 0.75rem;
    color: #666;
    background: #f5f5f5;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.branch-arrow {
    color: #999;
}

/* Agent Workflow */
.intro-text {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.workflow-example {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.workflow-example h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.agent-workflow {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.75rem;
}

.agent-node {
    background: white;
    border: 2px solid var(--secondary);
    border-radius: 12px;
    padding: 1rem;
    width: 140px;
    text-align: center;
}

.agent-node .agent-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 0.5rem;
}

.agent-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.agent-desc {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.4;
}

.workflow-connector {
    color: var(--secondary);
    font-size: 1.5rem;
    font-weight: 700;
    align-self: center;
}

.workflow-features h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.wf-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
}

.wf-feature {
    background: #f8f9fa;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.wf-feature strong {
    color: var(--secondary);
}

/* Decision List */
.decision-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.decision-item {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
}

.decision-q {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
    padding: 1rem 1.25rem;
    font-weight: 600;
}

.decision-a {
    padding: 1.25rem;
}

.decision-a p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.decision-a ul {
    margin: 0.5rem 0;
    padding-left: 1.25rem;
}

.decision-a li {
    margin-bottom: 0.25rem;
}

/* Platform Summary */
.platform-summary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 16px;
    padding: 2rem;
    color: white;
}

.platform-summary h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.transfer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.transfer-item {
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 1.25rem;
}

.transfer-item h4 {
    margin-bottom: 0.5rem;
}

.transfer-item p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* Tech Stack Diagram */
.tech-stack-diagram {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.tech-layer {
    margin-bottom: 0.5rem;
}

.tech-layer.highlight {
    background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(247,147,30,0.1));
    border-radius: 12px;
    padding: 1rem;
    border: 2px solid var(--secondary);
}

.tech-layer-label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.tech-layer.highlight .tech-layer-label {
    color: var(--secondary);
}

.tech-layer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.tech-item {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    min-width: 120px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.tech-item i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.tech-item.app i { color: #1976d2; }
.tech-item.service i { color: #7b1fa2; }
.tech-item.infra i { color: #455a64; }

.tech-item span {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.tech-item small {
    color: #999;
    font-size: 0.75rem;
}

.tech-arrow-down {
    text-align: center;
    color: var(--secondary);
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

.tech-category {
    width: 100%;
    margin-bottom: 0.75rem;
}

.tech-category:last-child {
    margin-bottom: 0;
}

.tech-category h5 {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.tech-tag.api {
    background: #e3f2fd;
    color: #1565c0;
}

.tech-tag.opensource {
    background: #e8f5e9;
    color: #2e7d32;
}

.tech-notes {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
}

.tech-notes h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-note-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.75rem;
}

.tech-note {
    background: #f8f9fa;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.tech-note strong {
    color: var(--secondary);
}

/* Demo Button in Navbar */
.demo-btn {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    animation: pulse-glow 2s infinite;
}

.demo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255,107,53,0.4);
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 5px rgba(255,107,53,0.4); }
    50% { box-shadow: 0 0 20px rgba(255,107,53,0.6); }
}

/* Demo Fullscreen */
.demo-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #0f0f1a;
    display: none;
    flex-direction: column;
    z-index: 10000;
    overflow: hidden;
}

.demo-fullscreen.active {
    display: flex;
}

.demo-navbar {
    height: 60px;
    background: #1a1a2e;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    flex-shrink: 0;
    z-index: 100;
}

.demo-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--secondary);
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
}

.demo-logo i {
    font-size: 1.4rem;
}

.demo-platform-switcher {
    display: flex;
    gap: 0.35rem;
    background: rgba(255,255,255,0.05);
    padding: 0.35rem;
    border-radius: 10px;
}

.platform-btn {
    padding: 0.55rem 1.25rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    color: #ffffff;
    font-size: 0.85rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.platform-btn:hover {
    color: white;
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.2);
}

.platform-btn.active {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

.demo-back-btn {
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    color: #ffffff;
    font-size: 0.85rem;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.demo-back-btn:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.3);
}

.demo-container {
    width: 95%;
    max-width: 1200px;
    height: 90vh;
    background: #1a1a2e;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.demo-header {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.demo-header h2 {
    color: white;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.demo-tabs {
    display: flex;
    gap: 0.5rem;
}

.demo-tab {
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.demo-tab.active {
    background: white;
    color: #ff6b35;
}

.demo-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-close:hover {
    background: rgba(255,255,255,0.3);
}

.demo-body {
    flex: 1;
    overflow: hidden;
    display: flex;
    width: 100%;
    height: calc(100vh - 60px);
    background: #0f0f1a;
    position: relative;
}

.demo-panel {
    display: none !important;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    background: #0f0f1a;
}

.demo-panel.active {
    display: flex !important;
}

/* 全屏布局优化 */
.game-create-container {
    display: flex;
    width: 100%;
    height: 100%;
}

.game-input-section {
    width: 400px;
    background: var(--primary);
    padding: 1.5rem;
    overflow-y: auto;
    border-right: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
}

.ai-dialog-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--dark);
    padding: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Training Platform Demo */
.train-sidebar {
    width: 280px;
    background: #16213e;
    padding: 1rem;
    border-right: 1px solid #2a3f5f;
    overflow-y: auto;
}

.train-main {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background: #1a1a2e;
}

.sidebar-section {
    margin-bottom: 1.5rem;
}

.sidebar-section h4 {
    color: #ff6b35;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.model-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.model-item {
    background: #2a3f5f;
    border-radius: 8px;
    padding: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.model-item:hover, .model-item.active {
    background: #ff6b35;
}

.model-item .model-name {
    color: white;
    font-weight: 500;
    font-size: 0.85rem;
}

.model-item .model-status {
    font-size: 0.75rem;
    color: #aaa;
    margin-top: 0.25rem;
}

.model-item.active .model-status {
    color: rgba(255,255,255,0.8);
}

.train-card {
    background: #16213e;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.train-card h3 {
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    color: #aaa;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: #2a3f5f;
    border: 1px solid #3a4f6f;
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
}

.form-group input:focus, .form-group select:focus {
    border-color: #ff6b35;
    outline: none;
}

.upload-zone {
    border: 2px dashed #3a4f6f;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-zone:hover {
    border-color: #ff6b35;
    background: rgba(255,107,53,0.1);
}

.upload-zone i {
    font-size: 2.5rem;
    color: #ff6b35;
    margin-bottom: 0.75rem;
}

.upload-zone p {
    color: #aaa;
    font-size: 0.9rem;
}

.upload-zone span {
    color: #ff6b35;
}

.uploaded-files {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.uploaded-file {
    background: #2a3f5f;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,107,53,0.4);
}

.progress-section {
    margin-top: 1.5rem;
}

.progress-bar {
    background: #2a3f5f;
    border-radius: 10px;
    height: 20px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s ease;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    color: #aaa;
    font-size: 0.85rem;
}

/* Generation Platform Demo */
.gen-sidebar {
    width: 320px;
    background: #16213e;
    padding: 1.5rem;
    border-right: 1px solid #2a3f5f;
    overflow-y: auto;
}

.gen-main {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background: #1a1a2e;
}

.gen-type-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.gen-type-btn {
    background: #2a3f5f;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gen-type-btn:hover {
    background: #3a4f6f;
}

.gen-type-btn.active {
    border-color: #ff6b35;
    background: rgba(255,107,53,0.2);
}

.gen-type-btn i {
    font-size: 1.5rem;
    color: #ff6b35;
    margin-bottom: 0.5rem;
    display: block;
}

.gen-type-btn span {
    color: white;
    font-size: 0.85rem;
}

.gen-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.gen-result-item {
    background: #16213e;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gen-result-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.gen-result-img {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #2a3f5f, #16213e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.gen-result-info {
    padding: 0.75rem;
}

.gen-result-info h5 {
    color: white;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.gen-result-info p {
    color: #aaa;
    font-size: 0.75rem;
}

.gen-result-actions {
    display: flex;
    gap: 0.5rem;
    padding: 0 0.75rem 0.75rem;
}

.gen-result-actions button {
    flex: 1;
    padding: 0.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-download {
    background: #ff6b35;
    color: white;
}

.btn-variant {
    background: #2a3f5f;
    color: white;
}

.quality-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.quality-badge.pass {
    background: #4caf50;
    color: white;
}

.quality-badge.review {
    background: #ff9800;
    color: white;
}

/* Core Features Grid */
.core-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.core-feature-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.core-feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.core-feature-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.core-feature-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Pipeline Diagram */
.pipeline-diagram {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0;
}

.pipeline-stage {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    width: 130px;
    transition: all 0.3s ease;
}

.pipeline-stage:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.pipeline-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    color: white;
    font-size: 1.2rem;
}

.pipeline-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.pipeline-desc {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.4;
}

.pipeline-arrow {
    color: var(--secondary);
    font-size: 1.2rem;
    align-self: center;
}

/* Positioning Grid */
.positioning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.positioning-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.positioning-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.3rem;
}

.positioning-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.positioning-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Output Forms */
.output-forms {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.output-item {
    display: flex;
    gap: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    align-items: flex-start;
}

.output-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.output-icon.web { background: linear-gradient(135deg, #2196f3, #03a9f4); }
.output-icon.zip { background: linear-gradient(135deg, #9c27b0, #e91e63); }
.output-icon.editor { background: linear-gradient(135deg, #4caf50, #8bc34a); }

.output-content h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.output-content p {
    color: #666;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.output-content ul {
    margin: 0;
    padding-left: 1.25rem;
}

.output-content li {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 0.25rem;
}

/* HITL Flow */
.hitl-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.hitl-step {
    background: white;
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    text-align: center;
    min-width: 100px;
}

.hitl-step.ai {
    background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(247,147,30,0.1));
    border-color: var(--secondary);
}

.hitl-step.confirm {
    background: #e8f5e9;
    border-color: #4caf50;
}

.hitl-number {
    width: 30px;
    height: 30px;
    background: var(--secondary);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-weight: 700;
    font-size: 0.8rem;
}

.hitl-step.ai .hitl-number {
    background: var(--secondary);
}

.hitl-step.confirm .hitl-number {
    background: #4caf50;
}

.hitl-content h5 {
    font-size: 0.8rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.hitl-content p {
    font-size: 0.7rem;
    color: #666;
}

.hitl-arrow {
    color: var(--secondary);
    font-weight: 700;
    font-size: 1.2rem;
}

.hitl-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hitl-benefit {
    background: #f8f9fa;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    flex: 1;
    min-width: 250px;
}

.hitl-benefit strong {
    color: var(--secondary);
}

/* Market Grid */
.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.market-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
}

.market-item h4 {
    color: var(--secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.market-points {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.market-point {
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

.market-point strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.25rem;
}

.market-point span {
    font-size: 0.85rem;
    color: #666;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.value-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.value-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    color: white;
}

.value-item strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.value-item p {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
}

/* Game Demo Styles */
.game-demo {
    max-width: 1400px;
}

.game-create-container {
    display: flex;
    height: 100%;
    gap: 1.5rem;
    padding: 1.5rem;
}

.game-input-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-card {
    background: #16213e;
    border-radius: 12px;
    padding: 1.25rem;
}

.input-card h3 {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.input-hint {
    color: #888;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

.input-card textarea {
    width: 100%;
    background: #2a3f5f;
    border: 1px solid #3a4f6f;
    border-radius: 8px;
    padding: 0.75rem;
    color: white;
    font-size: 0.9rem;
    resize: none;
}

.input-card textarea:focus {
    border-color: #ff6b35;
    outline: none;
}

.style-tags {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tag-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tag-label {
    color: #888;
    font-size: 0.8rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.style-tag {
    background: #2a3f5f;
    color: #aaa;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.style-tag:hover {
    background: #3a4f6f;
}

.style-tag.active {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* AI Dialog Section */
.ai-dialog-section {
    width: 400px;
    background: #16213e;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dialog-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #0f1629;
    border-bottom: 1px solid #2a3f5f;
}

.ai-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.ai-info h4 {
    color: white;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.ai-status {
    color: #4caf50;
    font-size: 0.75rem;
}

.dialog-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.message {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    max-width: 90%;
}

.message.ai {
    background: #2a3f5f;
    color: white;
    align-self: flex-start;
}

.message.user {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    align-self: flex-end;
}

.message p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.message p:last-child {
    margin-bottom: 0;
}

.dialog-input {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    background: #0f1629;
    border-top: 1px solid #2a3f5f;
}

.dialog-input input {
    flex: 1;
    background: #2a3f5f;
    border: none;
    border-radius: 20px;
    padding: 0.6rem 1rem;
    color: white;
    font-size: 0.85rem;
}

.dialog-input button {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
}

/* Results Container */
.results-container {
    padding: 2rem;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background: #0f0f1a;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.results-header h3 {
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.results-filter {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    background: #2a3f5f;
    border: none;
    color: #aaa;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
}

.filter-btn.active {
    background: #ff6b35;
    color: white;
}

.game-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.game-result-card {
    background: #16213e;
    border-radius: 16px;
    overflow: hidden;
}

.game-preview {
    height: 150px;
    background: linear-gradient(135deg, #1a1a2e, #2a3f5f);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.game-preview-img {
    font-size: 4rem;
}

.game-status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

.game-status.published {
    background: #4caf50;
    color: white;
}

.game-status.draft {
    background: #ff9800;
    color: white;
}

.game-info {
    padding: 1rem;
}

.game-info h4 {
    color: white;
    margin-bottom: 0.25rem;
}

.game-meta {
    color: #888;
    font-size: 0.8rem;
}

.game-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    padding: 0 1rem 1rem;
}

.game-actions button {
    padding: 0.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.btn-play { background: #4caf50; color: white; }
.btn-link { background: #2196f3; color: white; }
.btn-zip { background: #9c27b0; color: white; }
.btn-edit { background: #ff6b35; color: white; }

.game-actions button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Editor Container */
.editor-container {
    display: flex;
    width: 100%;
    height: 100%;
    background: #0f0f1a;
}

.editor-sidebar {
    width: 280px;
    background: #16213e;
    padding: 1rem;
    overflow-y: auto;
    border-right: 1px solid #2a3f5f;
}

.editor-sidebar h4 {
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.editor-section {
    margin-bottom: 1.5rem;
}

.editor-section h5 {
    color: #ff6b35;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.editor-control {
    margin-bottom: 0.75rem;
}

.editor-control label {
    display: block;
    color: #aaa;
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}

.editor-control input[type="range"] {
    width: 100%;
    accent-color: #ff6b35;
}

.editor-control input[type="color"] {
    width: 100%;
    height: 35px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.editor-control input[type="number"],
.editor-control select {
    width: 100%;
    padding: 0.5rem;
    background: #2a3f5f;
    border: 1px solid #3a4f6f;
    border-radius: 6px;
    color: white;
    font-size: 0.85rem;
}

.btn-secondary {
    background: #2a3f5f;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.editor-preview {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #1a1a2e;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #0f1629;
    border-bottom: 1px solid #2a3f5f;
}

.preview-header h4 {
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.preview-controls {
    display: flex;
    gap: 0.5rem;
}

.preview-btn {
    width: 35px;
    height: 35px;
    background: #2a3f5f;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
}

.preview-frame {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.game-canvas {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 16/10;
    background: #0a0a15;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.game-scene {
    width: 100%;
    height: 100%;
    position: relative;
}

.star {
    position: absolute;
    color: rgba(255,255,255,0.5);
    animation: twinkle 2s infinite;
}

.star:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.star:nth-child(2) { top: 30%; left: 70%; animation-delay: 0.5s; }
.star:nth-child(3) { top: 60%; left: 40%; animation-delay: 1s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.player-ship {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
}

.enemy {
    position: absolute;
    font-size: 1.5rem;
}

.enemy:nth-child(5) { top: 20%; left: 30%; }
.enemy:nth-child(6) { top: 25%; left: 65%; }

.score-display {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #4caf50;
    font-family: monospace;
    font-size: 0.9rem;
}

.lives-display {
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 1rem;
}

.preview-info {
    padding: 0.75rem 1rem;
    background: #0f1629;
    border-top: 1px solid #2a3f5f;
}

.preview-info span {
    color: #888;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Training Platform Styles */
.train-container {
    display: flex;
    width: 100%;
    height: 100%;
    background: #0f0f1a;
}

.train-sidebar {
    width: 280px;
    background: #16213e;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #2a3f5f;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.sidebar-header h4 {
    color: white;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-small {
    width: 28px;
    height: 28px;
    background: var(--secondary);
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.train-sidebar .model-list {
    flex: 1;
    overflow-y: auto;
}

.train-sidebar .model-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 0.5rem;
}

.train-sidebar .model-item:hover {
    background: rgba(255,255,255,0.05);
}

.train-sidebar .model-item.active {
    background: rgba(255,107,53,0.15);
    border: 1px solid rgba(255,107,53,0.3);
}

.model-icon {
    width: 40px;
    height: 40px;
    background: #2a3f5f;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.model-info {
    flex: 1;
}

.model-info .model-name {
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.model-info .model-status {
    font-size: 0.7rem;
}

.model-status.success { color: #4caf50; }
.model-status.training { color: #ff9800; }
.model-status.draft { color: #888; }

.train-stats {
    padding-top: 1rem;
    border-top: 1px solid #2a3f5f;
}

.train-stats h5 {
    color: #888;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #aaa;
    margin-bottom: 0.5rem;
}

.stat-value {
    color: var(--secondary);
    font-weight: 600;
}

.train-main {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

.train-card {
    background: #16213e;
    border-radius: 12px;
    padding: 1.5rem;
}

.train-card h3 {
    color: white;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.train-hint {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.label-hint {
    color: #888;
    font-weight: normal;
    font-size: 0.8rem;
}

.base-model-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.base-model-option {
    background: #2a3f5f;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 1rem;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    position: relative;
}

.base-model-option:hover {
    border-color: #3a4f6f;
}

.base-model-option.active {
    border-color: var(--secondary);
    background: rgba(255,107,53,0.1);
}

.base-model-option strong {
    display: block;
    color: white;
    margin-bottom: 0.25rem;
}

.base-model-option small {
    color: #888;
    font-size: 0.75rem;
}

.model-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--secondary);
    color: white;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 10px;
}

.upload-zone {
    background: #2a3f5f;
    border: 2px dashed #3a4f6f;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upload-zone:hover {
    border-color: var(--secondary);
    background: rgba(255,107,53,0.05);
}

.upload-zone i {
    font-size: 2.5rem;
    color: #888;
    margin-bottom: 0.75rem;
}

.upload-zone p {
    color: #aaa;
    margin-bottom: 0.25rem;
}

.upload-link {
    color: var(--secondary);
    text-decoration: underline;
}

.upload-zone small {
    color: #666;
    font-size: 0.8rem;
}

.uploaded-preview {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.preview-item {
    width: 50px;
    height: 50px;
    background: #2a3f5f;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.preview-item.more {
    background: rgba(255,107,53,0.2);
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 600;
}

.advanced-toggle {
    color: #888;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
    padding: 0.5rem;
    border-radius: 6px;
}

.advanced-toggle:hover {
    background: rgba(255,255,255,0.05);
}

.advanced-params {
    background: #0f1629;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.param-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.train-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.train-time {
    color: #888;
    font-size: 0.85rem;
}

.train-progress {
    background: #0f1629;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    color: white;
    margin-bottom: 0.75rem;
}

.progress-stage {
    color: #888;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.progress-samples {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #2a3f5f;
}

.progress-samples span {
    color: #888;
    font-size: 0.8rem;
}

.sample-images {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.sample-img {
    width: 60px;
    height: 60px;
    background: #2a3f5f;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Timeline Styles (0-1 Implementation) */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--secondary), var(--accent));
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -40px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(255,107,53,0.3);
}

.timeline-content {
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    padding: 1.25rem;
    border-left: 3px solid var(--secondary);
}

.timeline-content h4 {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.timeline-content p {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.timeline-content ul {
    margin: 0.75rem 0;
    padding-left: 1.25rem;
}

.timeline-content li {
    color: var(--text-dark);
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.timeline-output {
    background: rgba(76,175,80,0.1);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    border-left: 3px solid #4caf50;
    margin-top: 0.75rem;
}

/* Enhanced Editor Styles */
.editor-modes {
    width: 100%;
    background: #0f1629;
    padding: 0.5rem;
    border-bottom: 1px solid #2a3f5f;
}

.mode-tabs {
    display: flex;
    gap: 0.25rem;
}

.mode-tab {
    flex: 1;
    padding: 0.6rem 0.5rem;
    background: transparent;
    border: none;
    color: #888;
    font-size: 0.75rem;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.2s ease;
}

.mode-tab i {
    font-size: 1rem;
}

.mode-tab:hover {
    background: rgba(255,255,255,0.05);
    color: #aaa;
}

.mode-tab.active {
    background: var(--secondary);
    color: white;
}

.editor-mode-panel {
    display: none;
}

.editor-mode-panel.active {
    display: block;
}

.mode-hint {
    color: #888;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.range-value {
    color: var(--secondary);
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

/* Asset Grid */
.asset-category {
    margin-bottom: 1.25rem;
}

.asset-category h5 {
    color: #aaa;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.asset-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.asset-grid.wide {
    grid-template-columns: 1fr;
}

.asset-item {
    aspect-ratio: 1;
    background: #2a3f5f;
    border: 2px solid transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.asset-item.wide {
    aspect-ratio: auto;
    padding: 0.75rem;
    font-size: 0.85rem;
    color: white;
}

.asset-item:hover {
    border-color: #3a4f6f;
}

.asset-item.active {
    border-color: var(--secondary);
    background: rgba(255,107,53,0.1);
}

.asset-item.upload {
    background: rgba(255,107,53,0.1);
    border: 2px dashed var(--secondary);
    color: var(--secondary);
    font-size: 1rem;
}

/* Code Editor */
.code-files {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.code-file {
    padding: 0.4rem 0.75rem;
    background: #2a3f5f;
    border-radius: 6px;
    font-size: 0.75rem;
    color: #aaa;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.code-file.active {
    background: var(--secondary);
    color: white;
}

.code-editor-mini {
    background: #0a0a15;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    overflow-x: auto;
}

.code-editor-mini pre {
    margin: 0;
}

.code-editor-mini code {
    color: #4ec9b0;
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
    line-height: 1.5;
}

.btn-code-save {
    width: 100%;
    padding: 0.6rem;
    background: #2a3f5f;
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-code-save:hover {
    background: #3a4f6f;
}

/* Audio Editor */
.audio-category {
    margin-bottom: 1.25rem;
}

.audio-category h5 {
    color: #aaa;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.audio-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.75rem;
    background: #2a3f5f;
    border: 2px solid transparent;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.audio-item span {
    color: white;
    font-size: 0.85rem;
}

.audio-item.active {
    border-color: var(--secondary);
    background: rgba(255,107,53,0.1);
}

.btn-audio-play {
    width: 28px;
    height: 28px;
    background: var(--secondary);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.btn-generate-audio {
    width: 100%;
    padding: 0.6rem;
    background: linear-gradient(135deg, #9c27b0, #673ab7);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.audio-control {
    margin-bottom: 0.75rem;
}

.audio-control label {
    display: block;
    color: #aaa;
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}

.audio-control select {
    width: 100%;
    padding: 0.5rem;
    background: #2a3f5f;
    border: 1px solid #3a4f6f;
    border-radius: 6px;
    color: white;
    font-size: 0.85rem;
}

.audio-volume h5 {
    color: #aaa;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

.volume-control {
    margin-bottom: 0.75rem;
}

.volume-control label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #aaa;
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}

.editor-actions {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #2a3f5f;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.editor-actions .btn-primary,
.editor-actions .btn-secondary {
    width: 100%;
    justify-content: center;
}

/* Enhanced Preview */
.preview-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.preview-game-name {
    color: #888;
    font-size: 0.85rem;
    padding: 0.25rem 0.75rem;
    background: #2a3f5f;
    border-radius: 12px;
}

.bullet {
    position: absolute;
    color: #ff6b35;
    font-size: 1.5rem;
    animation: bulletMove 0.5s linear infinite;
}

.bullet:nth-child(7) { bottom: 35%; left: 48%; }
.bullet:nth-child(8) { bottom: 45%; left: 51%; }

@keyframes bulletMove {
    from { transform: translateY(0); }
    to { transform: translateY(-20px); opacity: 0; }
}

.enemy.e1 { top: 15%; left: 25%; animation: enemyFloat 2s ease-in-out infinite; }
.enemy.e2 { top: 20%; left: 55%; animation: enemyFloat 2.5s ease-in-out infinite; }
.enemy.e3 { top: 30%; left: 75%; animation: enemyFloat 1.8s ease-in-out infinite; }

@keyframes enemyFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

.level-display {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--secondary);
    font-family: monospace;
    font-size: 0.85rem;
    font-weight: bold;
}

.star:nth-child(4) { top: 45%; left: 15%; animation-delay: 1.5s; }
.star:nth-child(5) { top: 70%; left: 80%; animation-delay: 0.8s; }

.preview-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #0f1629;
    border-top: 1px solid #2a3f5f;
}

.toolbar-left {
    display: flex;
    gap: 1rem;
}

.fps-display,
.size-display {
    color: #888;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.toolbar-right {
    display: flex;
    gap: 0.5rem;
}

.toolbar-btn {
    padding: 0.5rem 1rem;
    background: #2a3f5f;
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.toolbar-btn:hover {
    background: #3a4f6f;
}

.toolbar-btn.primary {
    background: var(--secondary);
}

.toolbar-btn.primary:hover {
    background: #e55a2b;
}

/* Engine Integration Styles */
.engine-integration {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

.engine-integration h4 {
    color: var(--secondary);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.engine-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.engine-card {
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    padding: 1.25rem;
    border-left: 3px solid var(--secondary);
}

.engine-card h5 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.engine-card ul {
    margin: 0;
    padding-left: 1.25rem;
}

.engine-card li {
    color: var(--text-dark);
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.engine-card code {
    background: rgba(255,107,53,0.15);
    color: var(--secondary);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.tech-item.engine {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    border: 1px solid #3949ab;
}

.tech-layer.engine-layer {
    border: 2px solid #3949ab;
    background: rgba(26,35,126,0.1);
}

.tech-tag.highlight {
    background: linear-gradient(135deg, var(--secondary), var(--accent)) !important;
    color: white !important;
    font-weight: 600;
}

/* Human-AI Collaboration Styles */
.collaboration-flow {
    margin-bottom: 2rem;
}

.collaboration-flow h4 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.collab-timeline {
    position: relative;
    padding-left: 50px;
}

.collab-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--secondary), #4caf50);
    border-radius: 3px;
}

.collab-step {
    position: relative;
    margin-bottom: 1.5rem;
}

.collab-step:last-child {
    margin-bottom: 0;
}

.collab-marker {
    position: absolute;
    left: -50px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(255,107,53,0.3);
}

.collab-content {
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    padding: 1.25rem;
    border-left: 3px solid var(--secondary);
}

.collab-content h5 {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.collab-content p {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.collab-checkpoint {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(76,175,80,0.1);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(76,175,80,0.3);
}

.collab-checkpoint i {
    color: #4caf50;
    font-size: 1.1rem;
    margin-top: 0.1rem;
}

.collab-checkpoint span {
    color: #a5d6a7;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Error Handling Styles */
.error-handling h4 {
    color: var(--secondary);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.error-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.error-card {
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    padding: 1.25rem;
    border-top: 3px solid #ff9800;
}

.error-card h5 {
    color: white;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.error-card h5 i {
    color: #ff9800;
}

.error-card ul {
    margin: 0;
    padding-left: 1.25rem;
}

.error-card li {
    color: var(--text-dark);
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .engine-grid,
    .error-grid {
        grid-template-columns: 1fr;
    }
    
    .collab-timeline {
        padding-left: 40px;
    }
    
    .collab-marker {
        left: -40px;
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
}

/* Demo Engine Selection */
.engine-select {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.engine-option {
    background: #2a3f5f;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 0.75rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.engine-option:hover {
    border-color: #3a4f6f;
}

.engine-option.active {
    border-color: var(--secondary);
    background: rgba(255,107,53,0.1);
}

.engine-option i {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 0.4rem;
    display: block;
}

.engine-option span {
    display: block;
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.engine-option small {
    color: #888;
    font-size: 0.7rem;
}

/* API Badges */
.api-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.75rem 0;
}

.api-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.6rem;
    background: rgba(255,107,53,0.15);
    border: 1px solid rgba(255,107,53,0.3);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--secondary);
}

.api-badge i {
    font-size: 0.7rem;
}

/* API Status Panel */
.api-status-panel {
    background: #0f1629;
    border-radius: 10px;
    padding: 1rem;
    margin: 0.75rem 0;
    border: 1px solid #2a3f5f;
}

.api-status-panel h5 {
    color: white;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.api-status-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.api-status-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
    font-size: 0.8rem;
}

.api-status-item i {
    font-size: 0.6rem;
    color: #666;
}

.api-status-item span {
    color: #aaa;
    flex: 1;
}

.api-status-item small {
    color: #666;
    font-size: 0.7rem;
}

.api-status-item.pending i { color: #888; }
.api-status-item.running i { color: #ff9800; animation: pulse 1s infinite; }
.api-status-item.success i { color: #4caf50; }
.api-status-item.error i { color: #f44336; }

.api-status-item.running {
    background: rgba(255,152,0,0.1);
    border: 1px solid rgba(255,152,0,0.3);
}

.api-status-item.success {
    background: rgba(76,175,80,0.1);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Human Confirm Dialog */
.confirm-dialog {
    background: rgba(76,175,80,0.1);
    border: 1px solid rgba(76,175,80,0.3);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 0.75rem;
}

.confirm-dialog h5 {
    color: #4caf50;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.confirm-dialog p {
    color: #a5d6a7;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.confirm-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-confirm {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-confirm.primary {
    background: #4caf50;
    color: white;
}

.btn-confirm.secondary {
    background: #2a3f5f;
    color: white;
}

/* AI打字动画 */
.typing-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    animation: typing-bounce 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) { animation-delay: 0s; }
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

/* 消息渐入动画 */
.message {
    animation: message-slide-in 0.3s ease-out;
}

@keyframes message-slide-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 增强的API状态面板 - 紧凑版 */
.api-status-panel {
    background: rgba(0,0,0,0.4);
    border-radius: 10px;
    padding: 0.6rem;
    margin: 0.5rem 0;
    border: 1px solid rgba(255,255,255,0.1);
    max-height: 200px;
    overflow-y: auto;
}

.api-status-panel h5 {
    color: white;
    font-size: 0.75rem;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.api-status-panel .time-estimate {
    font-size: 0.65rem;
    color: var(--secondary);
    font-weight: normal;
}

.api-status-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.5rem;
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
}

.api-status-item .status-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    background: rgba(255,255,255,0.1);
    color: #666;
    flex-shrink: 0;
}

.api-status-item .status-info {
    flex: 1;
    min-width: 0;
}

.api-status-item .status-name {
    color: #aaa;
    font-size: 0.7rem;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.api-status-item .status-detail {
    display: none;
}

.api-status-item .status-time {
    color: #555;
    font-size: 0.6rem;
    font-family: monospace;
}

/* 状态：等待中 */
.api-status-item.pending .status-icon {
    background: rgba(255,255,255,0.1);
    color: #666;
}

/* 状态：进行中 */
.api-status-item.running {
    background: rgba(255,152,0,0.1);
    border: 1px solid rgba(255,152,0,0.3);
}

.api-status-item.running .status-icon {
    background: #ff9800;
    color: white;
    animation: pulse-icon 1s infinite;
}

.api-status-item.running .status-name {
    color: #ffb74d;
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* 状态：成功 */
.api-status-item.success {
    background: rgba(76,175,80,0.1);
}

.api-status-item.success .status-icon {
    background: #4caf50;
    color: white;
}

.api-status-item.success .status-name {
    color: #81c784;
}

/* 进度条 - 紧凑版 */
.generation-progress {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.3rem;
    font-size: 0.65rem;
}

.progress-header .progress-label {
    color: #aaa;
}

.progress-header .progress-percent {
    color: var(--secondary);
    font-weight: 600;
}

.progress-bar-container {
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 3px;
    transition: width 0.5s ease;
    position: relative;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* 实时日志 - 紧凑版 */
.generation-log {
    margin-top: 0.4rem;
    max-height: 50px;
    overflow-y: auto;
    font-family: 'Consolas', monospace;
    font-size: 0.55rem;
    background: rgba(0,0,0,0.3);
    border-radius: 4px;
    padding: 0.3rem 0.4rem;
}

.log-entry {
    color: #888;
    line-height: 1.4;
}

.log-entry .log-time {
    color: #555;
    margin-right: 0.3rem;
}

.log-entry.success { color: #4caf50; }
.log-entry.warning { color: #ff9800; }
.log-entry.info { color: #2196f3; }

/* ========== Demo选择器样式 ========== */
.demo-selector-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.demo-selector-overlay.active {
    display: flex;
}

.demo-selector-modal {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 2rem;
    max-width: 800px;
    width: 90%;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.demo-selector-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.demo-selector-header h2 {
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.demo-selector-header .close-btn {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.demo-selector-header .close-btn:hover {
    background: rgba(255,255,255,0.2);
}

.demo-selector-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.demo-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.demo-card:hover:not(.disabled) {
    background: rgba(255,255,255,0.1);
    border-color: var(--secondary);
    transform: translateY(-4px);
}

.demo-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.demo-card-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.demo-card h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.demo-card p {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.demo-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.demo-card-tags span {
    background: rgba(255,152,0,0.2);
    color: var(--secondary);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
}

.demo-card-status {
    font-size: 0.8rem;
}

.demo-card-status.ready { color: #4caf50; }
.demo-card-status.coming { color: #888; }

/* ========== AI飞行助手Agent Demo样式 ========== */
.agent-demo-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3e 100%);
    z-index: 10001;
    flex-direction: column;
}

.agent-demo-overlay.active {
    display: flex;
}

.agent-demo-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.agent-demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.agent-demo-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-size: 1.2rem;
}

.agent-demo-title i { color: var(--secondary); }

.agent-badge {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.agent-demo-actions {
    display: flex;
    gap: 0.5rem;
}

.agent-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.agent-btn:hover { background: rgba(255,255,255,0.2); }
.agent-btn.close:hover { background: #e74c3c; }

.agent-demo-main {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 0;
    overflow: hidden;
}

/* 游戏模拟器 */
.game-simulator {
    display: flex;
    flex-direction: column;
    background: #000;
}

.simulator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(0,0,0,0.8);
    color: white;
    font-size: 0.85rem;
}

.skeleton-status { color: #4caf50; }

.simulator-view {
    flex: 1;
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    overflow: hidden;
}

.game-scene-view {
    width: 100%;
    height: 100%;
    position: relative;
}

/* 骨骼识别可视化 */
.skeleton-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.skeleton-figure {
    position: relative;
    width: 120px;
    height: 200px;
}

.skeleton-head {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border: 3px solid #4caf50;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(76,175,80,0.5);
}

.skeleton-body {
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 70px;
    background: #4caf50;
    box-shadow: 0 0 10px rgba(76,175,80,0.5);
}

.skeleton-arm {
    position: absolute;
    top: 50px;
    width: 50px;
    height: 4px;
    background: #4caf50;
    box-shadow: 0 0 10px rgba(76,175,80,0.5);
    transition: transform 0.3s ease;
}

.skeleton-arm.left { left: 10px; transform-origin: right center; }
.skeleton-arm.right { right: 10px; transform-origin: left center; }

.skeleton-arm.raised { transform: rotate(-60deg); }

.skeleton-leg {
    position: absolute;
    top: 115px;
    width: 4px;
    height: 60px;
    background: #4caf50;
    box-shadow: 0 0 10px rgba(76,175,80,0.5);
    transition: transform 0.3s ease;
}

.skeleton-leg.left { left: 45px; transform-origin: top center; }
.skeleton-leg.right { right: 45px; transform-origin: top center; }

.skeleton-figure.jumping {
    animation: jump-anim 0.5s ease;
}

@keyframes jump-anim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

.skeleton-figure.squatting .skeleton-leg {
    transform: rotate(30deg);
}

/* 游戏提示 */
.game-prompt {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    padding: 1rem 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255,152,0,0.5);
}

.prompt-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.prompt-text {
    color: white;
    font-size: 1rem;
}

/* 游戏得分 */
.game-score-display {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 1rem;
}

.score-item {
    background: rgba(0,0,0,0.6);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-align: center;
}

.score-label {
    display: block;
    font-size: 0.65rem;
    color: #888;
    text-transform: uppercase;
}

.score-value {
    display: block;
    font-size: 1.5rem;
    color: #ff9800;
    font-family: 'Consolas', monospace;
    font-weight: bold;
}

/* 动作提示 */
.action-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    padding: 1rem 2rem;
    border-radius: 30px;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    animation: pulse-hint 1s infinite;
}

@keyframes pulse-hint {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
}

/* 卡点检测提示 */
.stuck-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(244, 67, 54, 0.9);
    padding: 1rem 2rem;
    border-radius: 12px;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    animation: stuck-pulse 0.5s infinite;
}

@keyframes stuck-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* 输入模式选择器 */
.input-mode-selector {
    display: flex;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.mode-btn {
    background: transparent;
    border: none;
    color: #888;
    padding: 0.5rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.mode-btn.active {
    background: var(--secondary);
    color: white;
}

.mode-btn:hover:not(.active) {
    background: rgba(255,255,255,0.1);
}

/* 卡点模拟按钮 */
.ctrl-btn.stuck {
    background: rgba(244, 67, 54, 0.2);
    border-color: rgba(244, 67, 54, 0.5);
    color: #f44336;
}

.ctrl-btn.stuck:hover {
    background: #f44336;
    color: white;
}

/* 语音按钮 */
.voice-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.voice-btn:hover {
    background: #4caf50;
    border-color: #4caf50;
}

.voice-btn.active {
    background: #f44336;
    border-color: #f44336;
    animation: voice-pulse 1s infinite;
}

@keyframes voice-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(244, 67, 54, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(244, 67, 54, 0); }
}

.simulator-controls {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
    background: rgba(0,0,0,0.9);
}

.control-group {
    display: flex;
    gap: 0.5rem;
}

.ctrl-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.ctrl-btn:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.ctrl-btn:active {
    transform: scale(0.95);
}

/* Agent聊天区域 */
.agent-chat-section {
    display: flex;
    flex-direction: column;
    background: #12122a;
    border-left: 1px solid rgba(255,255,255,0.1);
}

.agent-chat-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.agent-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.agent-info h4 {
    color: white;
    font-size: 0.95rem;
    margin: 0;
}

.agent-status {
    font-size: 0.75rem;
    color: #4caf50;
}

.agent-status i {
    font-size: 0.5rem;
    margin-right: 0.3rem;
}

.user-state {
    margin-left: auto;
    background: rgba(255,255,255,0.05);
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-size: 0.7rem;
}

.state-label { color: #666; }
.state-value { color: var(--secondary); }

.agent-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.agent-message {
    max-width: 95%;
}

.agent-message.bot {
    align-self: flex-start;
}

.agent-message.user {
    align-self: flex-end;
}

.agent-message .message-content {
    background: rgba(255,255,255,0.08);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    color: #ddd;
    font-size: 0.9rem;
    line-height: 1.5;
}

.agent-message.user .message-content {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
}

.agent-message .message-content p {
    margin: 0.3rem 0;
}

.agent-message .highlight {
    color: var(--secondary);
    font-weight: 600;
}

.task-checklist {
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    padding: 0.75rem;
    margin: 0.5rem 0;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    color: #aaa;
    font-size: 0.85rem;
}

.task-item.completed {
    color: #4caf50;
}

.task-item.completed i {
    color: #4caf50;
}

.agent-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

.quick-action-btn {
    background: rgba(255,152,0,0.15);
    border: 1px solid rgba(255,152,0,0.3);
    color: var(--secondary);
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
}

.quick-action-btn:hover {
    background: rgba(255,152,0,0.25);
}

.agent-chat-input {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.agent-chat-input input {
    flex: 1;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 25px;
    padding: 0.75rem 1rem;
    color: white;
    font-size: 0.9rem;
}

.agent-chat-input input::placeholder { color: #666; }

.agent-chat-input .send-btn {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.agent-chat-input .send-btn:hover { transform: scale(1.1); }

/* Agent状态栏 */
.agent-status-bar {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 0.75rem 2rem;
    background: rgba(0,0,0,0.5);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.agent-status-bar .status-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #888;
}

.agent-status-bar .status-item i {
    color: var(--secondary);
}

.agent-status-bar .status-value {
    color: #4caf50;
    font-family: 'Consolas', monospace;
}

/* Design Document (策划案) */
.design-doc {
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    padding: 1rem;
    margin: 0.75rem 0;
    border-left: 3px solid var(--secondary);
}

.doc-section {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.doc-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.doc-section h5 {
    color: var(--secondary);
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.doc-section p {
    color: #ccc;
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

/* 资产类别区块 */
.asset-category-section {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.asset-category-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0.5rem;
}

.asset-category-title {
    color: #aaa;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.asset-category-title i {
    color: var(--secondary);
}

/* Asset Options Grid */
.asset-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.asset-options.wide-options {
    grid-template-columns: repeat(3, 1fr);
}

.asset-option {
    aspect-ratio: 1;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.asset-option.wide {
    aspect-ratio: auto;
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
    color: #ccc;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.asset-option:hover {
    border-color: #3a4f6f;
    transform: scale(1.05);
}

.asset-option.selected {
    border-color: var(--secondary);
    background: rgba(255,107,53,0.15);
}

.asset-option .check {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 18px;
    height: 18px;
    background: var(--secondary);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: white;
}

.asset-option.selected .check {
    display: flex;
}

/* API Provider Badge */
.api-provider {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.15rem 0.4rem;
    background: rgba(255,107,53,0.2);
    border-radius: 4px;
    font-size: 0.65rem;
    color: var(--secondary);
    margin-left: 0.5rem;
}

.answer-framework {
    background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(247,147,30,0.1));
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.answer-framework h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
    font-size: 1rem;
}

.answer-framework p { font-size: 1rem; line-height: 1.6; }

.answer-example { margin-bottom: 1.5rem; }

.answer-example > h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
}

.answer-section {
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 3px solid #e0e0e0;
}

.answer-section h5 { font-size: 1rem; margin-bottom: 0.75rem; color: var(--text-dark); }
.answer-section p { font-size: 0.95rem; line-height: 1.7; margin-bottom: 0.75rem; }
.answer-section ul { padding-left: 1.2rem; margin-bottom: 0.75rem; }
.answer-section li { font-size: 0.95rem; line-height: 1.7; margin-bottom: 0.5rem; }

.answer-section.highlight-dji {
    background: linear-gradient(135deg, rgba(255,107,53,0.08), rgba(247,147,30,0.08));
    border-left: 3px solid #ff6b35;
    border-radius: 0 8px 8px 0;
    padding: 1rem;
    margin-top: 1rem;
}

.answer-section.highlight-dji h5 {
    color: #ff6b35;
    font-size: 0.95rem;
}

.answer-section.highlight-dji p {
    color: #333;
}

.answer-section.highlight-dji strong {
    color: #ff6b35;
}

.decision-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.decision-table th, .decision-table td {
    border: 1px solid #e0e0e0;
    padding: 0.6rem;
    text-align: center;
}

.decision-table th { background: var(--bg-light); font-weight: 600; }

.answer-connect {
    background: linear-gradient(135deg, rgba(247,147,30,0.1), rgba(255,107,53,0.1));
    padding: 1.25rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent);
}

.answer-connect h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--accent);
}

.answer-connect ul { padding-left: 1.2rem; }
.answer-connect li { font-size: 0.95rem; line-height: 1.7; margin-bottom: 0.5rem; }

.real-question-summary {
    background: linear-gradient(135deg, var(--bg-dark), #2d2d2d);
    color: var(--text-white);
    border-radius: var(--radius);
    padding: 2rem;
}

.real-question-summary h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.summary-item {
    background: rgba(255,255,255,0.1);
    padding: 1.2rem;
    border-radius: 10px;
    position: relative;
}

.summary-num {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.summary-item h4 { margin-bottom: 0.5rem; font-size: 1rem; }
.summary-item p { font-size: 0.85rem; opacity: 0.9; line-height: 1.5; }

/* Footer */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.7); text-align: center; padding: 3rem 5%; }
.footer p { margin-bottom: 0.5rem; }

/* ========== 状态机可视化面板 ========== */
.state-machine-panel {
    background: rgba(0,0,0,0.4);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 0.75rem 1rem;
}

.state-machine-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: #888;
}

.state-machine-header > i { color: var(--secondary); }

.state-machine-legend {
    margin-left: auto;
    display: flex;
    gap: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
}

.legend-item i { font-size: 0.5rem; }

/* 状态流程 */
.state-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 0;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    margin-bottom: 0.75rem;
}

.state-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    border: 2px solid #444;
    min-width: 80px;
    transition: all 0.3s ease;
    position: relative;
}

.state-node .node-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.state-node .node-label {
    font-size: 0.7rem;
    color: #888;
    white-space: nowrap;
}

.state-node .node-status {
    font-size: 0.6rem;
    color: #666;
    margin-top: 0.2rem;
}

/* 状态节点 - 进行中 */
.state-node.active {
    border-color: #ff9800;
    background: rgba(255,152,0,0.15);
    box-shadow: 0 0 15px rgba(255,152,0,0.3);
    animation: node-pulse 2s infinite;
}

.state-node.active .node-label { color: #ff9800; }
.state-node.active .node-status { color: #ff9800; }

@keyframes node-pulse {
    0%, 100% { box-shadow: 0 0 10px rgba(255,152,0,0.3); }
    50% { box-shadow: 0 0 20px rgba(255,152,0,0.5); }
}

/* 状态节点 - 已完成 */
.state-node.completed {
    border-color: #4caf50;
    background: rgba(76,175,80,0.15);
}

.state-node.completed .node-label { color: #4caf50; }
.state-node.completed .node-status { color: #4caf50; }

.state-node.completed::after {
    content: '✓';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 18px;
    height: 18px;
    background: #4caf50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: white;
}

/* 状态节点 - 卡点 */
.state-node.stuck {
    border-color: #f44336;
    background: rgba(244,67,54,0.15);
    animation: stuck-shake 0.5s ease;
}

.state-node.stuck .node-label { color: #f44336; }
.state-node.stuck .node-status { color: #f44336; }

@keyframes stuck-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}

/* 状态箭头 */
.state-arrow {
    color: #444;
    font-size: 0.8rem;
}

.state-arrow.active { color: #ff9800; }
.state-arrow.completed { color: #4caf50; }

/* 状态详情区 */
.state-details {
    display: flex;
    gap: 1rem;
}

.detail-card {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
}

.detail-title {
    font-size: 0.7rem;
    color: #888;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.detail-title.stuck {
    color: #f44336;
    font-weight: bold;
}

/* 空闲进度条 */
.idle-progress-container {
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
    margin: 0.4rem 0;
}

.idle-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4caf50, #ff9800, #f44336);
    border-radius: 3px;
    transition: width 0.3s ease, background 0.3s ease;
}

.idle-progress-bar.warning { background: #ff9800; }
.idle-progress-bar.danger { background: #f44336; }

.idle-timer {
    font-size: 0.75rem;
    color: #888;
    font-family: 'Consolas', monospace;
}

/* 卡点详情 */
.stuck-reason {
    font-size: 0.75rem;
    color: #f44336;
    margin: 0.3rem 0;
}

.stuck-action {
    font-size: 0.7rem;
    color: #4caf50;
}

/* 会话统计 */
.session-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.7rem;
    color: #888;
}

.session-stats i {
    margin-right: 0.2rem;
    color: var(--secondary);
}

.session-stats strong {
    color: white;
}

/* 动作成功反馈 */
.action-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(76,175,80,0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    animation: success-fade 1s ease forwards;
}

@keyframes success-fade {
    0% { opacity: 1; }
    70% { opacity: 1; }
    100% { opacity: 0; pointer-events: none; }
}

.action-success-overlay .success-icon {
    font-size: 4rem;
    color: #4caf50;
    animation: success-pop 0.5s ease;
}

@keyframes success-pop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.action-success-overlay .success-text {
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
    margin-top: 0.5rem;
}

.action-success-overlay .success-points {
    font-size: 1.2rem;
    color: #ff9800;
    margin-top: 0.25rem;
}

/* ========== 多模态虚拟人Demo样式 ========== */
.avatar-demo-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1b4e 50%, #1a1a2e 100%);
    z-index: 10002;
    flex-direction: column;
}

.avatar-demo-overlay.active { display: flex; }

.avatar-demo-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.avatar-demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(0,0,0,0.4);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.avatar-demo-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-size: 1.2rem;
}

.avatar-demo-title i { color: #e91e63; font-size: 1.4rem; }

.avatar-badge {
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    color: white;
}

.avatar-demo-actions { display: flex; gap: 0.5rem; }

.avatar-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.avatar-btn:hover { background: rgba(255,255,255,0.2); }
.avatar-btn.close:hover { background: #e74c3c; }

/* 模式选择器 */
.avatar-mode-selector {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(0,0,0,0.2);
}

.mode-option {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.mode-option:hover { background: rgba(255,255,255,0.1); }

.mode-option.active {
    border-color: #e91e63;
    background: rgba(233,30,99,0.15);
}

.mode-icon { font-size: 2.5rem; }

.mode-info h4 { color: white; margin: 0 0 0.25rem 0; font-size: 1rem; }
.mode-info p { color: #888; margin: 0; font-size: 0.8rem; }

/* 主要内容区 */
.avatar-demo-main {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 0;
    overflow: hidden;
}

/* 3D虚拟人展示区 */
.avatar-3d-section {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #1a1a2e 0%, #2d1b4e 100%);
}

.avatar-viewport {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.avatar-3d-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.avatar-figure {
    position: relative;
    width: 200px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: avatar-idle 3s ease-in-out infinite;
}

@keyframes avatar-idle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.avatar-head {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffdbac, #f5c6a5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.avatar-face {
    font-size: 3rem;
    transition: all 0.3s;
}

.avatar-body {
    width: 100px;
    height: 150px;
    background: linear-gradient(135deg, #4a90d9, #357abd);
    border-radius: 20px 20px 30px 30px;
    margin-top: -20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.avatar-body.formal { background: linear-gradient(135deg, #2c3e50, #1a252f); }
.avatar-body.sport { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.avatar-body.cute { background: linear-gradient(135deg, #ff6b9d, #e91e63); }

.avatar-outfit {
    position: absolute;
    bottom: -30px;
    background: rgba(0,0,0,0.5);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.7rem;
    color: white;
}

.avatar-shadow {
    width: 100px;
    height: 20px;
    background: radial-gradient(ellipse, rgba(0,0,0,0.4) 0%, transparent 70%);
    margin-top: 20px;
    animation: shadow-pulse 3s ease-in-out infinite;
}

@keyframes shadow-pulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(0.8); opacity: 0.6; }
}

/* 表情和动作显示 */
.avatar-emotion-display, .avatar-action-display {
    position: absolute;
    background: rgba(0,0,0,0.7);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
}

.avatar-emotion-display { top: 1rem; left: 1rem; }
.avatar-action-display { top: 1rem; right: 1rem; }

.emotion-label, .action-label { color: #888; }
.emotion-value { color: #e91e63; }
.action-value { color: #4caf50; }

/* 穿搭/角色面板 */
.avatar-outfit-panel, .avatar-character-panel {
    padding: 1rem;
    background: rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.panel-title {
    color: #888;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.outfit-options, .character-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.outfit-btn, .character-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.outfit-btn:hover, .character-btn:hover {
    background: rgba(255,255,255,0.2);
}

.outfit-btn.active, .character-btn.active {
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    border-color: transparent;
}

/* 对话区 */
.avatar-chat-section {
    display: flex;
    flex-direction: column;
    background: rgba(0,0,0,0.3);
    border-left: 1px solid rgba(255,255,255,0.1);
}

.avatar-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.avatar-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.profile-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.profile-info h4 { color: white; margin: 0; font-size: 1rem; }
.profile-status { color: #4caf50; font-size: 0.75rem; }

.memory-indicator {
    background: rgba(156,39,176,0.2);
    padding: 0.4rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #ce93d8;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* 聊天消息 */
.avatar-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.avatar-message { max-width: 90%; }
.avatar-message.bot { align-self: flex-start; }
.avatar-message.user { align-self: flex-end; }

.avatar-message .message-content {
    background: rgba(255,255,255,0.08);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    color: #ddd;
    font-size: 0.9rem;
    line-height: 1.5;
}

.avatar-message.user .message-content {
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    color: white;
}

.avatar-message .message-content p { margin: 0.3rem 0; }

.message-meta {
    margin-top: 0.3rem;
    display: flex;
    gap: 0.5rem;
}

.memory-tag {
    background: rgba(156,39,176,0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.65rem;
    color: #ce93d8;
}

/* 快捷回复 */
.avatar-quick-replies {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    flex-wrap: wrap;
}

.quick-reply-btn {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #ddd;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.quick-reply-btn:hover {
    background: rgba(233,30,99,0.2);
    border-color: #e91e63;
}

/* 输入区 */
.avatar-chat-input {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.avatar-chat-input input {
    flex: 1;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 25px;
    padding: 0.75rem 1.25rem;
    color: white;
    font-size: 0.9rem;
}

.avatar-chat-input input::placeholder { color: #666; }

.voice-input-btn, .avatar-chat-input .send-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.voice-input-btn {
    background: rgba(255,255,255,0.1);
    color: white;
}

.voice-input-btn:hover { background: #4caf50; }
.voice-input-btn.active { background: #f44336; animation: voice-pulse 1s infinite; }

.avatar-chat-input .send-btn {
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    color: white;
}

.avatar-chat-input .send-btn:hover { transform: scale(1.05); }

/* 底部状态面板 */
.avatar-status-panel {
    display: flex;
    gap: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(0,0,0,0.4);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.status-section { flex: 1; }

.status-title {
    font-size: 0.7rem;
    color: #888;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.status-title i { color: #e91e63; }

/* 情感条 */
.emotion-bars { display: flex; flex-direction: column; gap: 0.4rem; }

.emotion-bar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: #888;
}

.bar-container {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #e91e63, #ff4081);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.bar-fill.trust { background: linear-gradient(90deg, #9c27b0, #ce93d8); }

/* 记忆统计 */
.memory-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.7rem;
    color: #888;
}

.memory-stats i { color: #9c27b0; margin-right: 0.2rem; }
.memory-stats strong { color: white; }

/* Agent Pipeline */
.agent-pipeline {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.65rem;
}

.pipeline-step {
    background: rgba(255,255,255,0.1);
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    color: #888;
    transition: all 0.3s;
}

.pipeline-step.active {
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    color: white;
    box-shadow: 0 0 10px rgba(233,30,99,0.5);
}

.pipeline-arrow { color: #444; }

/* 历史人物模式样式 */
.avatar-figure.historical .avatar-head {
    background: linear-gradient(135deg, #d4a574, #c69c6d);
}

.avatar-figure.historical .avatar-body {
    background: linear-gradient(135deg, #8b4513, #654321);
}

/* ==================== AI导演助手Demo样式 ==================== */

/* 弹窗覆盖层 */
.director-demo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    display: none;
    overflow: hidden;
}

.director-demo-overlay.active {
    display: flex;
    flex-direction: column;
}

.director-demo-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #0a0a0a;
}

/* 顶部导航栏 */
.director-demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-bottom: 1px solid #333;
}

.director-demo-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}

.director-demo-title i {
    color: #ff6b35;
    font-size: 1.3rem;
}

.director-badge {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 0.25rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.director-demo-actions {
    display: flex;
    gap: 0.8rem;
}

.director-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #444;
    background: transparent;
    color: #ccc;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.director-btn:hover {
    background: #333;
    color: white;
}

.director-btn.close:hover {
    background: #dc3545;
    border-color: #dc3545;
}

/* 主内容区 */
.director-demo-main {
    flex: 1;
    display: flex;
    overflow: hidden;
}

/* 左侧无人机画面 */
.drone-view-container {
    flex: 1;
    position: relative;
    background: #000;
    overflow: hidden;
}

/* 顶部状态栏 */
.drone-status-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
    z-index: 10;
}

.drone-status-left, .drone-status-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.drone-mode {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.drone-warning {
    background: #dc3545;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.drone-altitude, .drone-time, .drone-signal, .drone-battery {
    color: white;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* 主画面区域 */
.drone-main-view {
    width: 100%;
    height: 100%;
    position: relative;
}

.drone-scene {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* 场景图层 */
.scene-layer {
    position: absolute;
    width: 100%;
    transition: all 0.8s ease-out;
}

.scene-layer.sky {
    height: 40%;
    top: 0;
    background: linear-gradient(to bottom, #1a3a5c, #4a7ba7, #87ceeb);
}

.scene-layer.mountains {
    height: 25%;
    top: 30%;
    background: linear-gradient(to bottom, #2d5a3d, #1e3d2a);
    clip-path: polygon(0 80%, 10% 40%, 25% 70%, 40% 30%, 55% 60%, 70% 20%, 85% 50%, 100% 35%, 100% 100%, 0 100%);
}

.scene-layer.forest {
    height: 30%;
    top: 50%;
    background: linear-gradient(to bottom, #1e4d2b, #0d2818);
}

.scene-layer.ground {
    height: 25%;
    bottom: 0;
    background: linear-gradient(to bottom, #3d5c3a, #2a4028, #1a2d17);
}

/* 跟踪目标 */
.scene-subject {
    position: absolute;
    bottom: 35%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 5;
    transition: all 0.5s;
}

.subject-person {
    font-size: 3rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.subject-label {
    background: rgba(255,107,53,0.9);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    margin-top: 0.3rem;
}

/* 取景框 */
.drone-crosshair {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 4px;
    pointer-events: none;
}

.drone-crosshair::before,
.drone-crosshair::after {
    content: '';
    position: absolute;
    background: rgba(255,255,255,0.5);
}

.drone-crosshair::before {
    width: 20px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.drone-crosshair::after {
    width: 2px;
    height: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.crosshair-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border: 2px solid #ff6b35;
    border-radius: 50%;
}

/* 云台角度指示 */
.gimbal-indicator {
    position: absolute;
    top: 50%;
    right: 80px;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

/* 执行动画覆盖层 */
.drone-action-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.action-animation {
    background: rgba(255,107,53,0.9);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    font-weight: 500;
}

/* 左侧控制面板 */
.drone-left-controls {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.drone-control-btn {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(0,0,0,0.5);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

.drone-control-btn:hover {
    background: rgba(255,255,255,0.2);
}

.drone-control-btn.active {
    background: rgba(255,107,53,0.8);
    border-color: #ff6b35;
}

/* 右侧相机控制 */
.drone-right-controls {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.camera-zoom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    color: white;
    font-size: 0.85rem;
}

.zoom-slider {
    width: 4px;
    height: 80px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    position: relative;
}

.zoom-track {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 30%;
    background: white;
    border-radius: 2px;
}

.record-btn {
    width: 55px;
    height: 55px;
    border: 3px solid white;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.record-btn.recording .record-indicator {
    width: 20px;
    height: 20px;
    background: #dc3545;
    border-radius: 4px;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* 底部信息栏 */
.drone-status-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    z-index: 10;
}

/* 罗盘 */
.drone-compass {
    width: 80px;
    height: 80px;
}

.compass-ring {
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    position: relative;
    background: rgba(0,0,0,0.5);
}

.compass-n, .compass-e, .compass-s, .compass-w {
    position: absolute;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
}

.compass-n { top: 5px; left: 50%; transform: translateX(-50%); color: #ff6b35; }
.compass-e { right: 5px; top: 50%; transform: translateY(-50%); }
.compass-s { bottom: 5px; left: 50%; transform: translateX(-50%); }
.compass-w { left: 5px; top: 50%; transform: translateY(-50%); }

.compass-needle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, #ff6b35 50%, white 50%);
    transform-origin: bottom center;
    transform: translate(-50%, -100%) rotate(0deg);
    transition: transform 0.5s;
}

.compass-drone {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #ff6b35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.6rem;
    font-weight: bold;
}

/* 遥测数据 */
.drone-telemetry {
    display: flex;
    gap: 2rem;
}

.telemetry-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.85rem;
}

.telemetry-item i {
    color: #888;
}

/* 录制信息 */
.drone-recording-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    font-size: 0.8rem;
}

.storage-time {
    color: #ff6b35;
}

.resolution, .ev-value {
    color: #888;
}

.res-value {
    font-weight: 600;
}

/* AI导演状态指示 */
.ai-director-status {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,107,53,0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    z-index: 15;
    transition: all 0.3s;
}

.ai-director-status.executing {
    background: rgba(40,167,69,0.9);
    animation: glow 1s infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 10px rgba(40,167,69,0.5); }
    50% { box-shadow: 0 0 20px rgba(40,167,69,0.8); }
}

.ai-status-icon {
    font-size: 1.1rem;
}

/* 右侧对话面板 */
.director-chat-panel {
    width: 380px;
    background: #1a1a1a;
    border-left: 1px solid #333;
    display: flex;
    flex-direction: column;
}

.director-chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #333;
}

.director-chat-header h4 {
    color: white;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.director-chat-header h4 i {
    color: #ff6b35;
}

.chat-status.online {
    color: #28a745;
    font-size: 0.8rem;
}

/* 快捷指令 */
.director-quick-commands {
    padding: 0.8rem;
    border-bottom: 1px solid #333;
}

.quick-cmd-title {
    color: #888;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.quick-cmd-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.quick-cmd-btn {
    padding: 0.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid #333;
    color: #ccc;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
}

.quick-cmd-btn:hover {
    background: rgba(255,107,53,0.2);
    border-color: #ff6b35;
    color: #ff6b35;
}

/* 对话消息区域 */
.director-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.director-chat-messages .chat-message {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.director-chat-messages .chat-message.user {
    flex-direction: row-reverse;
}

.director-chat-messages .message-avatar {
    width: 36px;
    height: 36px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.director-chat-messages .chat-message.user .message-avatar {
    background: #ff6b35;
}

.director-chat-messages .message-content {
    background: #2a2a2a;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    color: #ddd;
    font-size: 0.9rem;
    max-width: 280px;
}

.director-chat-messages .chat-message.user .message-content {
    background: #ff6b35;
    color: white;
}

.director-chat-messages .message-content p {
    margin-bottom: 0.5rem;
}

.director-chat-messages .message-content p:last-child {
    margin-bottom: 0;
}

.director-chat-messages .message-content ul {
    margin: 0.5rem 0;
    padding-left: 1.2rem;
}

.director-chat-messages .message-content li {
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
    color: #aaa;
}

/* 飞控指令解析面板 */
.flight-command-panel {
    margin: 0 1rem;
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 8px;
    overflow: hidden;
}

.command-panel-header {
    background: #161b22;
    padding: 0.5rem 0.8rem;
    color: #58a6ff;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.command-panel-content {
    padding: 0.8rem;
    font-family: 'Consolas', monospace;
    font-size: 0.75rem;
    color: #8b949e;
}

.command-panel-content .cmd-line {
    margin-bottom: 0.3rem;
}

.command-panel-content .cmd-key {
    color: #ff7b72;
}

.command-panel-content .cmd-value {
    color: #a5d6ff;
}

/* 输入区域 */
.director-chat-input {
    padding: 1rem;
    border-top: 1px solid #333;
}

.director-chat-input .input-wrapper {
    display: flex;
    gap: 0.5rem;
}

.director-chat-input input {
    flex: 1;
    padding: 0.8rem 1rem;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
}

.director-chat-input input::placeholder {
    color: #666;
}

.director-chat-input input:focus {
    outline: none;
    border-color: #ff6b35;
}

.voice-input-btn, .send-btn {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s;
}

.voice-input-btn {
    background: #333;
    color: #ccc;
}

.voice-input-btn:hover {
    background: #444;
}

.voice-input-btn.active {
    background: #dc3545;
    color: white;
    animation: pulse 1s infinite;
}

.send-btn {
    background: #ff6b35;
    color: white;
}

.send-btn:hover {
    background: #e55a2b;
}

.input-hint {
    color: #666;
    font-size: 0.75rem;
    margin-top: 0.5rem;
    text-align: center;
}

/* 底部技术流程 */
.director-demo-footer {
    padding: 0.8rem 1.5rem;
    background: #111;
    border-top: 1px solid #333;
}

.tech-pipeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-label {
    color: #888;
    font-size: 0.8rem;
}

.tech-step {
    background: rgba(255,255,255,0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    color: #888;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.tech-step.active {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    box-shadow: 0 0 10px rgba(255,107,53,0.5);
}

.tech-arrow {
    color: #444;
}

/* 动画效果 - 环绕 */
.drone-scene.orbit-animation {
    animation: orbit 8s linear infinite;
}

@keyframes orbit {
    0% { transform: perspective(1000px) rotateY(0deg); }
    100% { transform: perspective(1000px) rotateY(360deg); }
}

/* 动画效果 - 拉远 */
.drone-scene.pullback-animation .scene-subject {
    animation: pullback 3s ease-out forwards;
}

@keyframes pullback {
    0% { transform: translateX(-50%) scale(1); }
    100% { transform: translateX(-50%) scale(0.5); }
}

/* 动画效果 - 拉升 */
.drone-scene.rise-animation .scene-layer.sky {
    animation: skyRise 3s ease-out forwards;
}

@keyframes skyRise {
    0% { height: 40%; }
    100% { height: 60%; }
}

/* ==================== AI飞行教练Demo样式 ==================== */

.coach-demo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    display: none;
    overflow: hidden;
}

.coach-demo-overlay.active {
    display: flex;
    flex-direction: column;
}

.coach-demo-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #0f1419, #1a2332);
}

.coach-demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-bottom: 1px solid #333;
}

.coach-demo-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}

.coach-demo-title i {
    color: #ffd700;
    font-size: 1.3rem;
}

.coach-badge {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #1a1a1a;
    padding: 0.25rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.coach-demo-actions {
    display: flex;
    gap: 0.8rem;
}

.coach-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #444;
    background: transparent;
    color: #ccc;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.coach-btn:hover {
    background: #333;
    color: white;
}

.coach-btn.close:hover {
    background: #dc3545;
    border-color: #dc3545;
}

/* 主内容区 - 三栏布局 */
.coach-demo-main {
    flex: 1;
    display: flex;
    overflow: hidden;
}

/* 左侧：学习进度面板 */
.coach-learning-panel {
    width: 280px;
    background: #151b23;
    border-right: 1px solid #2a3441;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* 用户等级卡片 */
.user-level-card {
    background: linear-gradient(135deg, #1e2a3a, #2a3f55);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.level-avatar {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.level-avatar i {
    font-size: 1.8rem;
    color: #1a1a1a;
}

.level-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: #ff6b35;
    color: white;
    padding: 0.15rem 0.4rem;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: bold;
}

.level-info {
    flex: 1;
}

.level-info h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.level-title {
    color: #ffd700;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.level-progress {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.progress-bar {
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ff6b35);
    border-radius: 3px;
    transition: width 0.5s;
}

.progress-text {
    color: #888;
    font-size: 0.7rem;
}

/* 技能雷达图卡片 */
.skill-radar-card {
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid #2a3441;
}

.skill-radar-card h4 {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-radar-card h4 i {
    color: #4fc3f7;
}

.radar-chart {
    width: 160px;
    height: 160px;
    margin: 0 auto;
    position: relative;
}

.radar-axis {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70px;
    height: 2px;
    transform-origin: left center;
    transform: rotate(calc(var(--angle) - 90deg)) translateY(-50%);
}

.radar-axis span {
    position: absolute;
    right: -50px;
    top: -8px;
    font-size: 0.6rem;
    color: #888;
    white-space: nowrap;
    transform: rotate(calc(-1 * (var(--angle) - 90deg)));
}

.radar-polygon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    transform: translate(-50%, -50%);
    background: rgba(255,107,53,0.2);
    border: 2px solid #ff6b35;
    clip-path: polygon(50% 10%, 90% 35%, 80% 80%, 20% 80%, 10% 35%);
}

.skill-tags {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-top: 0.8rem;
}

.skill-tag {
    font-size: 0.7rem;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
}

.skill-tag.strong {
    background: rgba(40,167,69,0.2);
    color: #28a745;
}

.skill-tag.weak {
    background: rgba(255,193,7,0.2);
    color: #ffc107;
}

/* 推荐课程 */
.recommended-courses {
    flex: 1;
}

.recommended-courses h4 {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.recommended-courses h4 i {
    color: #ffd700;
}

.course-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.course-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid #2a3441;
    border-radius: 10px;
    padding: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.course-item:hover {
    background: rgba(255,255,255,0.06);
    border-color: #ff6b35;
}

.course-item.active {
    background: rgba(255,107,53,0.1);
    border-color: #ff6b35;
}

.course-icon {
    font-size: 1.5rem;
}

.course-info {
    flex: 1;
}

.course-info h5 {
    color: white;
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
}

.course-info p {
    color: #888;
    font-size: 0.7rem;
    margin-bottom: 0.3rem;
}

.course-meta {
    display: flex;
    gap: 0.5rem;
}

.difficulty {
    font-size: 0.6rem;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

.difficulty.easy {
    background: rgba(40,167,69,0.2);
    color: #28a745;
}

.difficulty.medium {
    background: rgba(255,193,7,0.2);
    color: #ffc107;
}

.duration {
    font-size: 0.6rem;
    color: #666;
}

.course-match {
    font-size: 0.65rem;
    color: #4fc3f7;
    white-space: nowrap;
}

/* 中间：课程内容面板 */
.coach-course-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #0d1117;
}

.course-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #2a3441;
}

.course-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-title-bar h3 {
    color: white;
    font-size: 1.1rem;
}

.course-progress-mini {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.course-progress-mini span {
    color: #888;
    font-size: 0.8rem;
}

.mini-progress {
    width: 100px;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}

.mini-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b35, #ffd700);
    transition: width 0.5s;
}

/* 课程内容区 */
.course-content {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

.lesson-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid #2a3441;
    border-radius: 12px;
    padding: 1.5rem;
}

.lesson-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.lesson-tag {
    background: rgba(79,195,247,0.2);
    color: #4fc3f7;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
}

.lesson-number {
    color: #666;
    font-size: 0.8rem;
}

.lesson-card h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* 三分法网格演示 */
.lesson-visual {
    margin-bottom: 1rem;
}

.grid-demo {
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, #1a3a5c, #2d5a3d);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.grid-line {
    position: absolute;
    background: rgba(255,255,255,0.3);
}

.grid-line.horizontal {
    width: 100%;
    height: 1px;
}

.grid-line.vertical {
    width: 1px;
    height: 100%;
}

.grid-point {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #ff6b35;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(255,107,53,0.5);
}

.subject-marker {
    position: absolute;
    font-size: 2rem;
    top: 33%;
    left: 66%;
    transform: translate(-50%, -50%);
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, -55%); }
}

.lesson-text {
    color: #ddd;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.lesson-tip {
    background: rgba(255,215,0,0.1);
    border-left: 3px solid #ffd700;
    padding: 0.8rem 1rem;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.lesson-tip i {
    color: #ffd700;
    font-size: 1rem;
    margin-top: 0.1rem;
}

.lesson-tip span {
    color: #ccc;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* 互动练习区 */
.practice-area {
    padding: 1rem 1.5rem;
    border-top: 1px solid #2a3441;
    background: rgba(255,255,255,0.02);
}

.practice-header {
    margin-bottom: 0.8rem;
}

.practice-tag {
    background: rgba(255,107,53,0.2);
    color: #ff6b35;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
}

.practice-question {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.practice-canvas {
    width: 100%;
    height: 180px;
    background: linear-gradient(to bottom, #1a3a5c, #2d5a3d);
    border-radius: 8px;
    position: relative;
    margin-bottom: 1rem;
}

.practice-grid {
    width: 100%;
    height: 100%;
    position: relative;
}

.drop-zone {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px dashed rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s;
}

.drop-zone:hover, .drop-zone.active {
    border-color: #ff6b35;
    background: rgba(255,107,53,0.2);
}

.drop-zone.correct {
    border-color: #28a745;
    background: rgba(40,167,69,0.3);
}

.draggable-subject {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    cursor: grab;
    transition: transform 0.2s;
    user-select: none;
}

.draggable-subject:active {
    cursor: grabbing;
    transform: translateX(-50%) scale(1.2);
}

.draggable-subject.placed {
    bottom: auto;
}

.check-answer-btn {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
    transition: all 0.3s;
}

.check-answer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255,107,53,0.3);
}

/* 测验选项 */
.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
}

.quiz-option {
    background: rgba(255,255,255,0.05);
    border: 1px solid #2a3441;
    color: #ddd;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    text-align: left;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.quiz-option:hover:not(:disabled) {
    background: rgba(255,107,53,0.1);
    border-color: #ff6b35;
}

.quiz-option:disabled {
    cursor: not-allowed;
}

.quiz-result {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
}

/* 课程导航 */
.course-navigation {
    padding: 1rem 1.5rem;
    border-top: 1px solid #2a3441;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-btn {
    padding: 0.6rem 1.2rem;
    border: 1px solid #444;
    background: transparent;
    color: #ccc;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.nav-btn:hover:not(:disabled) {
    background: #333;
    color: white;
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nav-btn.next {
    background: #ff6b35;
    border-color: #ff6b35;
    color: white;
}

.nav-btn.next:hover {
    background: #e55a2b;
}

.step-dots {
    display: flex;
    gap: 0.5rem;
}

.step-dot {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transition: all 0.3s;
}

.step-dot.active {
    background: #ff6b35;
    width: 24px;
    border-radius: 4px;
}

.step-dot.completed {
    background: #28a745;
}

/* 右侧：AI教练对话面板 */
.coach-chat-panel {
    width: 320px;
    background: #151b23;
    border-left: 1px solid #2a3441;
    display: flex;
    flex-direction: column;
}

.coach-chat-header {
    padding: 1rem;
    border-bottom: 1px solid #2a3441;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.coach-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.coach-avatar img {
    width: 100%;
    height: 100%;
}

.coach-info h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.coach-status {
    color: #28a745;
    font-size: 0.75rem;
}

.coach-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.coach-chat-messages .chat-message {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.coach-chat-messages .message-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.coach-chat-messages .chat-message.user {
    flex-direction: row-reverse;
}

.coach-chat-messages .chat-message.user .message-avatar {
    background: #ff6b35;
}

.coach-chat-messages .message-content {
    background: rgba(255,255,255,0.05);
    padding: 0.8rem 1rem;
    border-radius: 12px;
    color: #ddd;
    font-size: 0.85rem;
    max-width: 240px;
}

.coach-chat-messages .chat-message.user .message-content {
    background: #ff6b35;
    color: white;
}

.coach-chat-messages .message-content p {
    margin-bottom: 0.5rem;
}

.coach-chat-messages .message-content p:last-child {
    margin-bottom: 0;
}

/* 快捷问题 */
.quick-questions {
    padding: 0.8rem;
    border-top: 1px solid #2a3441;
}

.quick-q-title {
    color: #888;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.quick-q-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.quick-q-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid #2a3441;
    color: #aaa;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s;
}

.quick-q-btn:hover {
    background: rgba(255,107,53,0.1);
    border-color: #ff6b35;
    color: #ff6b35;
}

.coach-chat-input {
    padding: 1rem;
    border-top: 1px solid #2a3441;
    display: flex;
    gap: 0.5rem;
}

.coach-chat-input input {
    flex: 1;
    padding: 0.8rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid #2a3441;
    border-radius: 8px;
    color: white;
    font-size: 0.85rem;
}

.coach-chat-input input::placeholder {
    color: #666;
}

.coach-chat-input input:focus {
    outline: none;
    border-color: #ff6b35;
}

.coach-chat-input .send-btn {
    width: 42px;
    height: 42px;
    background: #ff6b35;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.coach-chat-input .send-btn:hover {
    background: #e55a2b;
}

/* 底部成就栏 */
.coach-demo-footer {
    padding: 0.8rem 1.5rem;
    background: #111;
    border-top: 1px solid #2a3441;
}

.achievement-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.recent-achievement, .streak-info, .total-flight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #888;
    font-size: 0.85rem;
}

.achievement-label {
    color: #ffd700;
}

.achievement-name {
    color: white;
}

.streak-info strong, .total-flight strong {
    color: #ff6b35;
}

/* 响应式 */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .hero h1 { font-size: 2.2rem; }
    .hero-stats { flex-direction: column; gap: 1rem; }
    .section { padding: 3rem 5%; }
    .section-header h2 { font-size: 1.8rem; }
    .intro-version { flex-wrap: wrap; }
    .why-grid { grid-template-columns: 1fr; }
    
    .director-demo-main {
        flex-direction: column;
    }
    
    .director-chat-panel {
        width: 100%;
        height: 50%;
    }
    
    .coach-demo-main {
        flex-direction: column;
    }
    
    .coach-learning-panel, .coach-chat-panel {
        width: 100%;
    }
}

/* ==================== 智能航拍规划师Demo样式 ==================== */

.planner-demo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    display: none;
    overflow: hidden;
}

.planner-demo-overlay.active {
    display: flex;
    flex-direction: column;
}

.planner-demo-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #0a0a0a;
}

.planner-demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-bottom: 1px solid #333;
}

.planner-demo-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}

.planner-demo-title i {
    color: #4fc3f7;
    font-size: 1.3rem;
}

.planner-badge {
    background: linear-gradient(135deg, #4fc3f7, #29b6f6);
    color: white;
    padding: 0.25rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.planner-demo-actions {
    display: flex;
    gap: 0.8rem;
}

.planner-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #444;
    background: transparent;
    color: #ccc;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.planner-btn:hover {
    background: #333;
    color: white;
}

.planner-btn.close:hover {
    background: #dc3545;
    border-color: #dc3545;
}

/* 主内容区 */
.planner-demo-main {
    flex: 1;
    display: flex;
    overflow: hidden;
}

/* 左侧地图容器 */
.planner-map-container {
    flex: 1;
    position: relative;
    background: #1a2332;
}

.map-view {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.map-background {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2a3a, #0d1a26);
    position: relative;
}

.map-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* 地图元素 */
.map-road {
    position: absolute;
    background: rgba(100,100,100,0.4);
}

.map-road.horizontal {
    width: 100%;
    height: 8px;
}

.map-road.vertical {
    width: 8px;
    height: 100%;
}

.map-water {
    position: absolute;
    background: linear-gradient(135deg, #1e5799, #207cca);
    border-radius: 40% 60% 70% 30%;
    opacity: 0.6;
}

.map-park {
    position: absolute;
    background: linear-gradient(135deg, #2d5a3d, #1e4d2b);
    border-radius: 30%;
    opacity: 0.7;
}

.map-buildings {
    position: absolute;
    background: rgba(80,80,80,0.5);
    border-radius: 4px;
}

/* 当前位置 */
.current-location {
    position: absolute;
    top: 55%;
    left: 45%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.location-pulse {
    width: 40px;
    height: 40px;
    background: rgba(79,195,247,0.3);
    border-radius: 50%;
    animation: locationPulse 2s infinite;
}

@keyframes locationPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

.location-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: #4fc3f7;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(79,195,247,0.5);
}

/* POI标记 */
.poi-markers {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.poi-marker {
    position: absolute;
    transform: translate(-50%, -100%);
    cursor: pointer;
    transition: all 0.3s;
    z-index: 5;
}

.poi-marker:hover {
    transform: translate(-50%, -100%) scale(1.1);
    z-index: 15;
}

.poi-marker.recommended {
    z-index: 8;
}

.poi-marker.selected {
    z-index: 20;
}

.poi-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.poi-label {
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    white-space: nowrap;
    margin-top: 0.2rem;
}

.poi-rating {
    font-size: 0.6rem;
    color: #ffd700;
    text-align: center;
    margin-top: 0.1rem;
}

.poi-marker.recommended .poi-label {
    background: rgba(255,107,53,0.9);
}

/* 航线SVG */
.flight-path-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 4;
}

.flight-path {
    fill: none;
    stroke: #ff6b35;
    stroke-width: 3;
    stroke-dasharray: 10 5;
    stroke-linecap: round;
    animation: dashMove 1s linear infinite;
}

@keyframes dashMove {
    to { stroke-dashoffset: -15; }
}

/* 禁飞区 */
.no-fly-zone {
    position: absolute;
    background: rgba(220,53,69,0.2);
    border: 2px dashed #dc3545;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.no-fly-label {
    background: rgba(220,53,69,0.9);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* 地图控制 */
.map-controls {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 20;
}

.map-control-btn {
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.7);
    border: 1px solid #444;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.map-control-btn:hover {
    background: rgba(79,195,247,0.3);
    border-color: #4fc3f7;
}

/* 图例 */
.map-legend {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    background: rgba(0,0,0,0.8);
    padding: 0.8rem;
    border-radius: 8px;
    z-index: 20;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #aaa;
    font-size: 0.7rem;
    margin-bottom: 0.3rem;
}

.legend-item:last-child {
    margin-bottom: 0;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-color.current {
    background: #4fc3f7;
}

.legend-color.poi {
    background: #ff6b35;
}

.legend-color.nofly {
    background: #dc3545;
}

.legend-color.route {
    background: transparent;
    border: 2px dashed #ff6b35;
}

/* POI详情卡片 */
.poi-detail-card {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    background: rgba(20,30,40,0.95);
    border: 1px solid #2a3f55;
    border-radius: 12px;
    overflow: hidden;
    z-index: 25;
    backdrop-filter: blur(10px);
}

.poi-detail-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #2a3f55;
}

.poi-detail-icon {
    font-size: 2.5rem;
}

.poi-detail-info {
    flex: 1;
}

.poi-detail-info h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.poi-detail-meta {
    display: flex;
    gap: 1rem;
    color: #888;
    font-size: 0.8rem;
}

.poi-close-btn {
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.5rem;
}

.poi-close-btn:hover {
    color: white;
}

.poi-detail-body {
    padding: 1rem;
}

.poi-detail-body p {
    color: #ccc;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

.poi-detail-tags {
    display: flex;
    gap: 0.5rem;
}

.poi-detail-tags span {
    background: rgba(79,195,247,0.2);
    color: #4fc3f7;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
}

.poi-detail-actions {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    border-top: 1px solid #2a3f55;
}

.poi-action-btn {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid #2a3f55;
    background: transparent;
    color: #ccc;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.poi-action-btn:hover {
    background: rgba(255,255,255,0.05);
}

.poi-action-btn.primary {
    background: #ff6b35;
    border-color: #ff6b35;
    color: white;
}

.poi-action-btn.primary:hover {
    background: #e55a2b;
}

/* 右侧规划面板 */
.planner-panel {
    width: 380px;
    background: #111;
    border-left: 1px solid #2a3441;
    display: flex;
    flex-direction: column;
}

.planner-search {
    padding: 1rem;
    border-bottom: 1px solid #2a3441;
    display: flex;
    gap: 0.5rem;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
}

.search-input-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.search-input-wrapper input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid #2a3441;
    border-radius: 8px;
    color: white;
    font-size: 0.85rem;
}

.search-input-wrapper input::placeholder {
    color: #666;
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: #4fc3f7;
}

.voice-search-btn {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.05);
    border: 1px solid #2a3441;
    border-radius: 8px;
    color: #ccc;
    cursor: pointer;
    transition: all 0.3s;
}

.voice-search-btn:hover {
    background: rgba(79,195,247,0.2);
    color: #4fc3f7;
}

/* 快捷指令 */
.quick-commands-section {
    padding: 1rem;
    border-bottom: 1px solid #2a3441;
}

.section-title {
    color: #888;
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
}

.quick-command-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.quick-command {
    padding: 0.5rem 0.8rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid #2a3441;
    border-radius: 20px;
    color: #aaa;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
}

.quick-command:hover {
    background: rgba(79,195,247,0.1);
    border-color: #4fc3f7;
    color: #4fc3f7;
}

/* 对话区 */
.planner-chat {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.planner-chat .chat-message {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.planner-chat .message-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #4fc3f7, #29b6f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.planner-chat .chat-message.user {
    flex-direction: row-reverse;
}

.planner-chat .chat-message.user .message-avatar {
    background: #ff6b35;
}

.planner-chat .message-content {
    background: rgba(255,255,255,0.05);
    padding: 0.8rem 1rem;
    border-radius: 12px;
    color: #ddd;
    font-size: 0.85rem;
    max-width: 280px;
}

.planner-chat .chat-message.user .message-content {
    background: #ff6b35;
    color: white;
}

.planner-chat .message-content p {
    margin-bottom: 0.5rem;
}

.planner-chat .message-content ul {
    margin: 0.5rem 0;
    padding-left: 1.2rem;
}

.planner-chat .message-content li {
    margin-bottom: 0.3rem;
    color: #aaa;
    font-size: 0.8rem;
}

/* 规划结果面板 */
.plan-result-panel {
    margin: 0 1rem;
    background: rgba(79,195,247,0.1);
    border: 1px solid rgba(79,195,247,0.3);
    border-radius: 12px;
    overflow: hidden;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    background: rgba(79,195,247,0.1);
}

.result-tag {
    color: #4fc3f7;
    font-size: 0.85rem;
    font-weight: 600;
}

.result-close {
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
}

.result-content {
    padding: 1rem;
}

.result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.result-item:hover {
    background: rgba(255,255,255,0.06);
}

.result-item:last-child {
    margin-bottom: 0;
}

.result-icon {
    font-size: 1.5rem;
}

.result-info {
    flex: 1;
}

.result-info h5 {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.result-info p {
    color: #888;
    font-size: 0.75rem;
}

.result-badge {
    background: rgba(255,107,53,0.2);
    color: #ff6b35;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.65rem;
}

/* 输入区 */
.planner-input {
    padding: 1rem;
    border-top: 1px solid #2a3441;
    display: flex;
    gap: 0.5rem;
}

.planner-input input {
    flex: 1;
    padding: 0.8rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid #2a3441;
    border-radius: 8px;
    color: white;
    font-size: 0.85rem;
}

.planner-input input::placeholder {
    color: #666;
}

.planner-input input:focus {
    outline: none;
    border-color: #4fc3f7;
}

.planner-input .send-btn {
    width: 45px;
    height: 45px;
    background: #4fc3f7;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.planner-input .send-btn:hover {
    background: #29b6f6;
}

/* 底部信息栏 */
.planner-demo-footer {
    padding: 0.8rem 1.5rem;
    background: #0a0f14;
    border-top: 1px solid #2a3441;
    display: flex;
    justify-content: space-between;
}

.weather-info, .sun-info {
    display: flex;
    gap: 1.5rem;
}

.weather-info span, .sun-info span {
    color: #888;
    font-size: 0.8rem;
}

/* ==================== 智能剪辑大师Demo样式 ==================== */

.editor-demo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    display: none;
    overflow: hidden;
}

.editor-demo-overlay.active {
    display: flex;
    flex-direction: column;
}

.editor-demo-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #0d0d0d;
}

.editor-demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-bottom: 1px solid #333;
}

.editor-demo-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}

.editor-demo-title i {
    color: #e94560;
    font-size: 1.3rem;
}

.editor-badge {
    background: linear-gradient(135deg, #e94560, #ff6b6b);
    color: white;
    padding: 0.25rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.editor-demo-actions {
    display: flex;
    gap: 0.8rem;
}

.editor-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #444;
    background: transparent;
    color: #ccc;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.editor-btn:hover {
    background: #333;
    color: white;
}

.editor-btn.close:hover {
    background: #dc3545;
    border-color: #dc3545;
}

/* 主内容区 */
.editor-demo-main {
    flex: 1;
    display: flex;
    overflow: hidden;
}

/* 左侧素材库 */
.editor-library {
    width: 280px;
    background: #111;
    border-right: 1px solid #2a2a2a;
    display: flex;
    flex-direction: column;
}

.library-header {
    padding: 1rem;
    border-bottom: 1px solid #2a2a2a;
}

.library-header h4 {
    color: white;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.library-header h4 i {
    color: #e94560;
    margin-right: 0.5rem;
}

.clip-count {
    color: #666;
    font-size: 0.75rem;
}

.library-tabs {
    display: flex;
    padding: 0.5rem;
    gap: 0.3rem;
    border-bottom: 1px solid #2a2a2a;
}

.tab-btn {
    flex: 1;
    padding: 0.5rem;
    background: transparent;
    border: none;
    color: #888;
    font-size: 0.75rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
}

.tab-btn:hover {
    background: rgba(255,255,255,0.05);
}

.tab-btn.active {
    background: rgba(233,69,96,0.2);
    color: #e94560;
}

.clip-list {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem;
}

.clip-item {
    display: flex;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid transparent;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.clip-item:hover {
    background: rgba(255,255,255,0.05);
    border-color: #333;
}

.clip-item.selected {
    background: rgba(233,69,96,0.1);
    border-color: #e94560;
}

.clip-thumbnail {
    width: 60px;
    height: 45px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.clip-preview {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.clip-preview.sunset { background: linear-gradient(135deg, #ff6b35, #f7931e); }
.clip-preview.city { background: linear-gradient(135deg, #667eea, #764ba2); }
.clip-preview.people { background: linear-gradient(135deg, #11998e, #38ef7d); }
.clip-preview.mountain { background: linear-gradient(135deg, #3a7bd5, #00d2ff); }
.clip-preview.sport { background: linear-gradient(135deg, #f12711, #f5af19); }
.clip-preview.night { background: linear-gradient(135deg, #0f0c29, #302b63); }

.clip-duration {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 0.1rem 0.3rem;
    border-radius: 2px;
    font-size: 0.6rem;
}

.clip-info {
    flex: 1;
    min-width: 0;
}

.clip-name {
    color: white;
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.clip-tags {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 0.3rem;
}

.clip-tags .tag {
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    font-size: 0.6rem;
}

.clip-tags .tag.scene {
    background: rgba(102,126,234,0.2);
    color: #667eea;
}

.clip-tags .tag.mood {
    background: rgba(233,69,96,0.2);
    color: #e94560;
}

.clip-score {
    color: #666;
    font-size: 0.65rem;
}

.clip-score strong {
    color: #ffd700;
}

.clip-checkbox {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 18px;
    height: 18px;
    background: rgba(255,255,255,0.1);
    border: 1px solid #444;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s;
}

.clip-item:hover .clip-checkbox,
.clip-item.selected .clip-checkbox {
    opacity: 1;
}

.clip-item.selected .clip-checkbox {
    background: #e94560;
    border-color: #e94560;
}

.clip-checkbox i {
    color: white;
    font-size: 0.6rem;
}

/* 中间工作区 */
.editor-workspace {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #0a0a0a;
}

/* 预览面板 */
.preview-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.preview-window {
    flex: 1;
    background: #000;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.preview-placeholder {
    text-align: center;
    color: #444;
}

.preview-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.preview-placeholder p {
    font-size: 0.9rem;
}

.preview-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    position: relative;
}

.preview-content .preview-video {
    font-size: 5rem;
}

.preview-overlay {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preview-title {
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

.preview-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: rgba(0,0,0,0.5);
    border-radius: 0 0 8px 8px;
}

.preview-btn {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.preview-btn:hover {
    background: rgba(255,255,255,0.2);
}

.preview-btn.play {
    width: 44px;
    height: 44px;
    background: #e94560;
}

.preview-btn.play:hover {
    background: #d63850;
}

.preview-time {
    color: #888;
    font-size: 0.8rem;
    margin: 0 1rem;
}

/* 时间线面板 */
.timeline-panel {
    height: 200px;
    background: #111;
    border-top: 1px solid #2a2a2a;
    display: flex;
    flex-direction: column;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #2a2a2a;
}

.timeline-header h4 {
    color: white;
    font-size: 0.85rem;
}

.timeline-header h4 i {
    color: #e94560;
    margin-right: 0.5rem;
}

.timeline-tools {
    display: flex;
    gap: 0.3rem;
}

.tool-btn {
    width: 30px;
    height: 30px;
    background: transparent;
    border: 1px solid #333;
    border-radius: 4px;
    color: #888;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.tool-btn:hover {
    background: rgba(255,255,255,0.05);
    color: white;
}

.timeline-tracks {
    flex: 1;
    overflow-y: auto;
}

.track {
    display: flex;
    border-bottom: 1px solid #1a1a1a;
    height: 40px;
}

.track-label {
    width: 80px;
    padding: 0 0.8rem;
    background: rgba(0,0,0,0.3);
    color: #888;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-shrink: 0;
}

.track-label i {
    font-size: 0.8rem;
}

.video-track .track-label i { color: #667eea; }
.audio-track .track-label i { color: #11998e; }
.text-track .track-label i { color: #f7931e; }

.track-content {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
}

.empty-track-hint {
    color: #333;
    font-size: 0.7rem;
    font-style: italic;
}

.track-clip {
    height: 30px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
    font-size: 0.65rem;
    color: white;
    margin-right: 2px;
    cursor: pointer;
    transition: all 0.2s;
}

.track-clip:hover {
    filter: brightness(1.1);
}

.track-clip.video { background: linear-gradient(135deg, #667eea, #764ba2); }
.track-clip.audio { background: linear-gradient(135deg, #11998e, #38ef7d); }
.track-clip.text { background: linear-gradient(135deg, #f7931e, #f9d423); }

.track-clip .clip-icon {
    margin-right: 0.3rem;
}

.timeline-ruler {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 1rem 0.3rem 90px;
    background: rgba(0,0,0,0.3);
    border-top: 1px solid #2a2a2a;
}

.timeline-ruler span {
    color: #555;
    font-size: 0.65rem;
}

/* 右侧AI面板 */
.editor-ai-panel {
    width: 320px;
    background: #111;
    border-left: 1px solid #2a2a2a;
    display: flex;
    flex-direction: column;
}

.ai-panel-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #2a2a2a;
}

.ai-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #e94560, #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.ai-info h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.ai-status {
    color: #28a745;
    font-size: 0.75rem;
}

/* 快捷模板 */
.quick-templates {
    padding: 1rem;
    border-bottom: 1px solid #2a2a2a;
}

.quick-templates .section-title {
    color: #888;
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
}

.template-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.template-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.8rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    color: #aaa;
    cursor: pointer;
    transition: all 0.3s;
}

.template-btn:hover {
    background: rgba(233,69,96,0.1);
    border-color: #e94560;
    color: white;
}

.template-icon {
    font-size: 1.5rem;
}

.template-btn span:last-child {
    font-size: 0.75rem;
}

/* 对话区 */
.editor-chat {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.editor-chat .chat-message {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.editor-chat .message-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #e94560, #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.editor-chat .chat-message.user {
    flex-direction: row-reverse;
}

.editor-chat .chat-message.user .message-avatar {
    background: #667eea;
}

.editor-chat .message-content {
    background: rgba(255,255,255,0.05);
    padding: 0.8rem 1rem;
    border-radius: 12px;
    color: #ddd;
    font-size: 0.85rem;
    max-width: 240px;
}

.editor-chat .chat-message.user .message-content {
    background: #667eea;
    color: white;
}

.editor-chat .message-content p {
    margin-bottom: 0.5rem;
}

.editor-chat .message-content ul {
    margin: 0.5rem 0;
    padding-left: 1.2rem;
}

.editor-chat .message-content li {
    margin-bottom: 0.3rem;
    color: #aaa;
    font-size: 0.8rem;
}

/* 输入区 */
.editor-input {
    padding: 1rem;
    border-top: 1px solid #2a2a2a;
    display: flex;
    gap: 0.5rem;
}

.editor-input input {
    flex: 1;
    padding: 0.8rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    color: white;
    font-size: 0.85rem;
}

.editor-input input::placeholder {
    color: #666;
}

.editor-input input:focus {
    outline: none;
    border-color: #e94560;
}

.editor-input .send-btn {
    width: 45px;
    height: 45px;
    background: #e94560;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.editor-input .send-btn:hover {
    background: #d63850;
}

/* 底部状态栏 */
.editor-demo-footer {
    padding: 0.8rem 1.5rem;
    background: #0a0a0a;
    border-top: 1px solid #2a2a2a;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-info {
    display: flex;
    gap: 1.5rem;
}

.project-info span {
    color: #666;
    font-size: 0.8rem;
}

.export-actions {
    display: flex;
    gap: 0.5rem;
}

.export-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid #333;
    border-radius: 6px;
    color: #aaa;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.export-btn:hover {
    background: rgba(255,255,255,0.05);
    color: white;
}

.export-btn.primary {
    background: #e94560;
    border-color: #e94560;
    color: white;
}

.export-btn.primary:hover {
    background: #d63850;
}

/* 生成进度动画 */
.generating-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.generating-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid #333;
    border-top-color: #e94560;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.generating-text {
    color: white;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.generating-progress {
    width: 200px;
    height: 4px;
    background: #333;
    border-radius: 2px;
    margin-top: 1rem;
    overflow: hidden;
}

.generating-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #e94560, #ff6b6b);
    border-radius: 2px;
    animation: progressMove 2s ease-in-out infinite;
}

@keyframes progressMove {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* AI后期魔法师模块样式 */
.ai-mode-tabs {
    display: flex;
    border-bottom: 1px solid #2a2a2a;
}

.mode-tab {
    flex: 1;
    padding: 0.8rem;
    background: transparent;
    border: none;
    color: #666;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
}

.mode-tab:hover {
    color: #aaa;
    background: rgba(255,255,255,0.02);
}

.mode-tab.active {
    color: #e94560;
    border-bottom-color: #e94560;
    background: rgba(233,69,96,0.05);
}

.mode-tab i {
    font-size: 0.9rem;
}

.editor-mode-panel {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.ai-avatar.magic {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

/* 魔法功能区 */
.magic-functions {
    padding: 0.8rem;
    overflow-y: auto;
    flex: 1;
}

.magic-functions .section-title {
    color: #888;
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
}

.magic-section {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #1a1a1a;
}

.magic-section:last-child {
    border-bottom: none;
}

.magic-section-title {
    color: #aaa;
    font-size: 0.75rem;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.magic-section-title i {
    color: #667eea;
}

/* 调色预设 */
.magic-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.magic-preset-btn {
    padding: 0.4rem 0.7rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid #2a2a2a;
    border-radius: 15px;
    color: #aaa;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.3s;
}

.magic-preset-btn:hover {
    background: rgba(102,126,234,0.15);
    border-color: #667eea;
    color: white;
}

/* 风格网格 */
.style-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.style-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    transition: all 0.3s;
}

.style-item:hover .style-preview {
    transform: scale(1.1);
    border-color: #667eea;
}

.style-preview {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    border: 2px solid #2a2a2a;
    transition: all 0.3s;
}

.style-preview.cyberpunk {
    background: linear-gradient(135deg, #ff006e, #00f5ff);
}

.style-preview.ghibli {
    background: linear-gradient(135deg, #56ab2f, #a8e063);
}

.style-preview.noir {
    background: linear-gradient(135deg, #232526, #414345);
}

.style-preview.hdr {
    background: linear-gradient(135deg, #f12711, #f5af19);
}

.style-item span {
    color: #888;
    font-size: 0.65rem;
}

/* 扩图选项 */
.expand-options {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.expand-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.8rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    color: #aaa;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
}

.expand-btn:hover {
    background: rgba(102,126,234,0.1);
    border-color: #667eea;
    color: white;
}

.expand-btn i {
    color: #667eea;
}

/* 去除选项 */
.remove-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
}

.remove-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.6rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    color: #aaa;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.3s;
}

.remove-btn:hover {
    background: rgba(233,69,96,0.1);
    border-color: #e94560;
    color: white;
}

.remove-icon {
    font-size: 1rem;
}

/* 魔法师对话区 */
.magic-chat {
    max-height: 150px;
}

.magic-chat .message-avatar {
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
}

.editor-input .send-btn.magic {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.editor-input .send-btn.magic:hover {
    filter: brightness(1.1);
}

/* 魔法效果动画 */
@keyframes magicShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.magic-processing {
    background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
    background-size: 200% auto;
    animation: magicShimmer 2s linear infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==================== AI飞行教练增强样式 ==================== */

/* 模式切换器 */
.coach-mode-switcher {
    display: flex;
    gap: 0.5rem;
    margin-right: auto;
    margin-left: 2rem;
}

.coach-mode-btn {
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid #333;
    border-radius: 20px;
    color: #888;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s;
}

.coach-mode-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.coach-mode-btn.active {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-color: #ff6b35;
    color: white;
}

.coach-mode-panel {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* ========== 实时飞行模式样式 ========== */
.flight-status-panel {
    width: 280px;
    background: #111;
    border-right: 1px solid #2a2a2a;
    padding: 1rem;
    overflow-y: auto;
}

.flight-status-card,
.safety-alerts-card,
.current-mission-card,
.challenge-tasks-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.flight-status-card h4,
.safety-alerts-card h4,
.current-mission-card h4,
.challenge-tasks-card h4 {
    color: white;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.flight-status-card h4 i { color: #4fc3f7; }
.safety-alerts-card h4 i { color: #ff9800; }
.current-mission-card h4 i { color: #4caf50; }
.challenge-tasks-card h4 i { color: #ffd700; }

.status-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.status-item {
    text-align: center;
    padding: 0.6rem;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
}

.status-label {
    display: block;
    color: #666;
    font-size: 0.7rem;
    margin-bottom: 0.3rem;
}

.status-value {
    color: #4fc3f7;
    font-size: 1.1rem;
    font-weight: 600;
}

/* 安全提醒 */
.alerts-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.alert-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
}

.alert-item.warning {
    background: rgba(255,152,0,0.15);
    color: #ff9800;
}

.alert-item.danger {
    background: rgba(244,67,54,0.15);
    color: #f44336;
}

.alert-item.info {
    background: rgba(79,195,247,0.1);
    color: #4fc3f7;
}

/* 当前任务 */
.mission-info .mission-title {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.mission-info .mission-desc {
    color: #888;
    font-size: 0.75rem;
    margin-bottom: 0.8rem;
}

.mission-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.mission-steps .step {
    font-size: 0.7rem;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    background: rgba(0,0,0,0.3);
    color: #666;
}

.mission-steps .step.done {
    background: rgba(76,175,80,0.2);
    color: #4caf50;
}

.mission-steps .step.active {
    background: rgba(255,107,53,0.2);
    color: #ff6b35;
}

/* 挑战任务 */
.challenge-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.challenge-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.challenge-item:hover {
    background: rgba(255,107,53,0.1);
}

.challenge-icon {
    font-size: 1.3rem;
}

.challenge-info {
    flex: 1;
}

.challenge-name {
    color: white;
    font-size: 0.8rem;
}

.challenge-reward {
    color: #ffd700;
    font-size: 0.7rem;
}

.challenge-diff {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
}

.challenge-diff.easy { background: #4caf50; color: white; }
.challenge-diff.medium { background: #ff9800; color: white; }
.challenge-diff.hard { background: #f44336; color: white; }

/* 飞行模拟视图 */
.flight-simulation-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #0a0a0a;
}

.simulation-view {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.sim-scene {
    width: 100%;
    height: 100%;
    position: relative;
}

.sim-sky {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.sim-ground {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, #2d5016 0%, #1a3009 100%);
}

.sim-horizon {
    position: absolute;
    top: 60%;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255,255,255,0.1);
}

.flight-guide-path {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.guide-line {
    animation: dashMove 1s linear infinite;
}

@keyframes dashMove {
    to { stroke-dashoffset: -15; }
}

.target-marker {
    position: absolute;
    top: 30%;
    right: 25%;
    z-index: 10;
    text-align: center;
}

.target-ring {
    width: 60px;
    height: 60px;
    border: 3px solid #4fc3f7;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.target-marker span {
    font-size: 2rem;
    position: relative;
    z-index: 2;
}

.obstacle-warning {
    position: absolute;
    top: 40%;
    left: 30%;
    background: rgba(244,67,54,0.9);
    color: white;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    animation: blink 1s ease-in-out infinite;
    z-index: 15;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.drone-indicator {
    position: absolute;
    bottom: 45%;
    left: 45%;
    font-size: 2.5rem;
    z-index: 20;
    transition: all 0.5s ease;
    filter: drop-shadow(0 0 10px rgba(79,195,247,0.5));
}

/* HUD */
.sim-hud {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 25;
}

.hud-top {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1.5rem;
    background: rgba(0,0,0,0.6);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
}

.hud-item {
    color: #4fc3f7;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hud-bottom {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
}

.hud-tip {
    background: rgba(255,107,53,0.9);
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 构图辅助线 */
.composition-grid {
    position: absolute;
    top: 10%;
    left: 10%;
    right: 10%;
    bottom: 10%;
    pointer-events: none;
    z-index: 5;
}

.composition-grid .grid-line {
    position: absolute;
    background: rgba(255,255,255,0.2);
}

.composition-grid .grid-line.h1 { top: 33%; left: 0; right: 0; height: 1px; }
.composition-grid .grid-line.h2 { top: 66%; left: 0; right: 0; height: 1px; }
.composition-grid .grid-line.v1 { left: 33%; top: 0; bottom: 0; width: 1px; }
.composition-grid .grid-line.v2 { left: 66%; top: 0; bottom: 0; width: 1px; }

/* 飞行控制按钮 */
.flight-controls {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(0,0,0,0.5);
}

.flight-ctrl-btn {
    padding: 0.6rem 1.2rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid #333;
    border-radius: 8px;
    color: white;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s;
}

.flight-ctrl-btn:hover {
    background: rgba(79,195,247,0.2);
    border-color: #4fc3f7;
}

.flight-ctrl-btn.return {
    background: rgba(255,107,53,0.2);
    border-color: #ff6b35;
}

/* 实时AI指导面板 */
.realtime-coach-panel {
    width: 300px;
    background: #111;
    border-left: 1px solid #2a2a2a;
    display: flex;
    flex-direction: column;
}

.coach-voice-status {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(76,175,80,0.1);
    border-bottom: 1px solid #2a2a2a;
}

.voice-indicator {
    width: 36px;
    height: 36px;
    background: #4caf50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    animation: voicePulse 1.5s ease-in-out infinite;
}

@keyframes voicePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(76,175,80,0.4); }
    50% { box-shadow: 0 0 0 10px rgba(76,175,80,0); }
}

.coach-voice-status span {
    flex: 1;
    color: #4caf50;
    font-size: 0.8rem;
}

.toggle-voice-btn {
    background: transparent;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 1.1rem;
}

.realtime-tips {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.tip-message {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.tip-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.tip-content {
    background: rgba(255,255,255,0.05);
    padding: 0.8rem;
    border-radius: 12px;
    color: #ddd;
    font-size: 0.85rem;
}

.tip-text {
    margin-bottom: 0.3rem;
}

/* 拍摄建议卡片 */
.shooting-tips-card,
.voice-qa-card {
    margin: 0 1rem 1rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 0.8rem;
}

.shooting-tips-card h4,
.voice-qa-card h4 {
    color: white;
    font-size: 0.8rem;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.shooting-tips-content .tip-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    color: #aaa;
    font-size: 0.75rem;
}

.tip-icon {
    font-size: 1rem;
}

.voice-qa-hints {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

.voice-qa-hints span {
    color: #666;
    font-size: 0.75rem;
}

.voice-hint-btn {
    padding: 0.3rem 0.6rem;
    background: rgba(255,107,53,0.1);
    border: 1px solid rgba(255,107,53,0.3);
    border-radius: 12px;
    color: #ff6b35;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.3s;
}

.voice-hint-btn:hover {
    background: rgba(255,107,53,0.2);
}

.flight-chat-input {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    border-top: 1px solid #2a2a2a;
}

.flight-chat-input input {
    flex: 1;
    padding: 0.7rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    color: white;
    font-size: 0.8rem;
}

.voice-input-btn {
    width: 40px;
    height: 40px;
    background: #ff6b35;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
}

/* ========== 飞行复盘模式样式 ========== */
.flight-records-panel {
    width: 260px;
    background: #111;
    border-right: 1px solid #2a2a2a;
    padding: 1rem;
}

.flight-records-panel h4 {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.records-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.record-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.record-item:hover {
    background: rgba(255,255,255,0.05);
}

.record-item.active {
    background: rgba(255,107,53,0.1);
    border-color: #ff6b35;
}

.record-thumb {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.record-info {
    flex: 1;
}

.record-title {
    color: white;
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
}

.record-meta {
    color: #666;
    font-size: 0.7rem;
}

.record-score {
    background: linear-gradient(135deg, #4caf50, #8bc34a);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* 轨迹回放面板 */
.trajectory-replay-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #0a0a0a;
}

.replay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #2a2a2a;
}

.replay-header h4 {
    color: white;
    font-size: 0.9rem;
}

.replay-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.replay-btn {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.replay-btn:hover {
    background: rgba(255,255,255,0.2);
}

.replay-btn.play {
    width: 44px;
    height: 44px;
    background: #ff6b35;
}

.replay-speed {
    color: #888;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.replay-view {
    flex: 1;
    padding: 1rem;
    position: relative;
}

.trajectory-3d {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a1a2e 0%, #0d1117 100%);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.trajectory-path {
    width: 100%;
    height: 100%;
}

.traj-line {
    stroke-dasharray: 0;
    animation: trajDraw 2s ease forwards;
}

@keyframes trajDraw {
    from { stroke-dasharray: 0 1000; }
    to { stroke-dasharray: 1000 0; }
}

.key-point {
    position: absolute;
    width: 24px;
    height: 24px;
    background: #4caf50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    cursor: pointer;
    z-index: 10;
}

.key-point.warning {
    background: #ff9800;
}

.replay-timeline {
    padding: 0 1rem 1rem;
    position: relative;
}

.replay-timeline input[type="range"] {
    width: 100%;
    height: 6px;
    background: #2a2a2a;
    border-radius: 3px;
    -webkit-appearance: none;
}

.replay-timeline input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: #ff6b35;
    border-radius: 50%;
    cursor: pointer;
}

.timeline-markers {
    position: absolute;
    top: 0;
    left: 1rem;
    right: 1rem;
    height: 6px;
    pointer-events: none;
}

.timeline-markers .marker {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    top: -1px;
}

.timeline-markers .marker.good { background: #4caf50; }
.timeline-markers .marker.warn { background: #ff9800; }

/* AI复盘分析面板 */
.review-analysis-panel {
    width: 320px;
    background: #111;
    border-left: 1px solid #2a2a2a;
    padding: 1rem;
    overflow-y: auto;
}

.analysis-score-card {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(247,147,30,0.1));
    border-radius: 16px;
    margin-bottom: 1rem;
}

.big-score {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.score-label {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.score-breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.score-item {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0.6rem;
    background: rgba(0,0,0,0.3);
    border-radius: 6px;
    font-size: 0.75rem;
}

.score-item span:first-child {
    color: #888;
}

.score-val {
    color: #aaa;
}

.score-val.good {
    color: #4caf50;
}

/* AI点评卡片 */
.ai-review-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.ai-review-card h4 {
    color: white;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-section {
    margin-bottom: 1rem;
}

.review-section:last-child {
    margin-bottom: 0;
}

.review-title {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.review-section.good .review-title {
    color: #4caf50;
}

.review-section.improve .review-title {
    color: #ff9800;
}

.review-content ul {
    margin: 0;
    padding-left: 1.2rem;
}

.review-content li {
    color: #aaa;
    font-size: 0.75rem;
    margin-bottom: 0.4rem;
}

/* 针对性练习 */
.improvement-tasks h4 {
    color: white;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.improvement-tasks .task-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.improvement-task-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem;
    background: rgba(255,107,53,0.1);
    border: 1px solid rgba(255,107,53,0.3);
    border-radius: 10px;
    color: white;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
}

.improvement-task-btn:hover {
    background: rgba(255,107,53,0.2);
    border-color: #ff6b35;
}

.task-icon {
    font-size: 1.2rem;
}

/* ==================== 数据驱动与质量保障模块 ==================== */
.project-data-driven {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255,107,53,0.03), rgba(247,147,30,0.05));
    border-radius: 12px;
    border: 1px solid rgba(255,107,53,0.15);
}

.project-data-driven h4 {
    font-size: 1rem;
    color: #1a1a2e;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-data-driven h4 i {
    color: #ff6b35;
}

.data-driven-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.data-item {
    display: flex;
    gap: 0.8rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
}

.data-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: #ff6b35;
}

.data-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.data-content {
    flex: 1;
}

.data-content strong {
    display: block;
    font-size: 0.95rem;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.data-content p {
    font-size: 0.8rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

@media (max-width: 768px) {
    .data-driven-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== 幻觉控制策略模块 ==================== */
.project-hallucination {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(26,26,46,0.03), rgba(22,33,62,0.05));
    border-radius: 12px;
    border: 1px solid rgba(26,26,46,0.1);
}

.project-hallucination h4 {
    font-size: 1rem;
    color: #1a1a2e;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-hallucination h4 i {
    color: #ff6b35;
}

.hallucination-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.hallucination-item {
    display: flex;
    gap: 0.8rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
}

.hallucination-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: #ff6b35;
}

.hall-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.hall-detail {
    flex: 1;
}

.hall-detail strong {
    display: block;
    font-size: 0.95rem;
    color: #1a1a2e;
    margin-bottom: 0.4rem;
}

.hall-detail p {
    font-size: 0.8rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

@media (max-width: 768px) {
    .hallucination-content {
        grid-template-columns: 1fr;
    }
}

/* ==================== 风险控制与安全上线模块 ==================== */
.roadmap-safety {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(26,26,46,0.03), rgba(22,33,62,0.05));
    border-radius: 12px;
    border: 1px solid rgba(26,26,46,0.1);
}

.roadmap-safety h4 {
    font-size: 1.1rem;
    color: #1a1a2e;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.roadmap-safety h4 i {
    color: #ff6b35;
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.safety-card {
    background: white;
    border-radius: 10px;
    padding: 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #eee;
    transition: all 0.3s;
}

.safety-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #ff6b35;
}

.safety-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #f0f0f0;
}

.safety-icon {
    font-size: 1.4rem;
}

.safety-header h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0;
}

.safety-card ul {
    margin: 0;
    padding-left: 1.2rem;
}

.safety-card li {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 0.6rem;
}

.safety-card li:last-child {
    margin-bottom: 0;
}

.safety-card li strong {
    color: #1a1a2e;
    font-weight: 600;
}

@media (max-width: 768px) {
    .safety-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== 反问面试官模块 ==================== */
#reverse-questions {
    padding: 4rem 0;
}

.reverse-questions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.rq-category {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.rq-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.rq-category-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 1.5rem;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
}

.rq-category-header i {
    font-size: 1.4rem;
    color: #ff6b35;
}

.rq-category-header h3 {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.rq-tag {
    background: rgba(255,107,53,0.2);
    color: #ff6b35;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.rq-list {
    padding: 1.5rem;
}

.rq-item {
    padding: 1.2rem;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.rq-item:last-child {
    margin-bottom: 0;
}

.rq-item:hover {
    background: #f0f4f8;
}

.rq-question {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.rq-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.rq-question p {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #333;
    margin: 0;
}

.rq-question strong {
    color: #ff6b35;
    font-weight: 600;
}

.rq-intent {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.8rem;
    background: rgba(255,107,53,0.08);
    border-radius: 8px;
    border-left: 3px solid #ff6b35;
}

.intent-label {
    flex-shrink: 0;
    font-size: 0.8rem;
    color: #ff6b35;
    font-weight: 500;
}

.rq-intent span:last-child {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

/* 反问原则 */
.rq-principles {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.rq-principles h4 {
    font-size: 1.2rem;
    color: #1a1a2e;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.rq-principles h4 i {
    color: #ff6b35;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.principle-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s;
}

.principle-item:hover {
    background: #f0f4f8;
    transform: translateY(-2px);
}

.principle-icon {
    font-size: 1.8rem;
}

.principle-content strong {
    display: block;
    font-size: 1rem;
    color: #1a1a2e;
    margin-bottom: 0.4rem;
}

.principle-content p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* 响应式 */
@media (max-width: 992px) {
    .reverse-questions-grid {
        grid-template-columns: 1fr;
    }
    
    .principles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .principles-grid {
        grid-template-columns: 1fr;
    }
    
    .rq-question {
        flex-direction: column;
        gap: 0.6rem;
    }
    
    .rq-num {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
}
