/* 主样式文件 - main.css */

/* ========================================
   变量定义
======================================== */
:root {
    /* 现代化颜色系统 */
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --background-color: #fafbfc;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* 间距系统 */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    
    /* 字体大小 */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    
    /* 阴影 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* 边框圆角 */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* 过渡动画 */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ========================================
   基础布局
======================================== */
body {
    background-color: var(--background-color);
    font-size: var(--text-base);
    color: var(--text-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-2xl) 0;
}

.section-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-xl);
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: var(--text-xl);
    color: var(--text-light);
    text-align: center;
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   导航栏
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
}

.navbar-logo {
    font-size: var(--text-xl);
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-menu {
    display: flex;
    gap: var(--space-lg);
}

.navbar-item {
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition-fast);
    cursor: pointer;
}

.navbar-item:hover,
.navbar-item.active {
    color: var(--primary-color);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition-fast);
}

/* ========================================
   英雄区域
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: var(--text-5xl);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
}

.hero-subtitle {
    font-size: var(--text-xl);
    margin-bottom: var(--space-xl);
    opacity: 0.9;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.feature-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-button {
    background: var(--white);
    color: var(--primary-color);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    font-size: var(--text-lg);
    font-weight: 600;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* ========================================
   双钻石可视化
======================================== */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.diamond-animation {
    width: 400px;
    height: 300px;
    position: relative;
}

.diamond {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    transform: rotate(45deg);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite;
}

.diamond:nth-child(1) {
    top: 20px;
    left: 50px;
    animation-delay: 0s;
}

.diamond:nth-child(2) {
    top: 20px;
    right: 50px;
    animation-delay: 0.5s;
}

.diamond:nth-child(3) {
    bottom: 20px;
    left: 50px;
    animation-delay: 1s;
}

.diamond:nth-child(4) {
    bottom: 20px;
    right: 50px;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: rotate(45deg) translateY(0px); }
    50% { transform: rotate(45deg) translateY(-10px); }
}

/* ========================================
   体系架构图
======================================== */
.architecture-section {
    background: var(--white);
}

.architecture-diagram {
    display: grid;
    grid-template-rows: 1fr auto 1fr;
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.layer {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    border: 2px solid var(--gray-300);
    transition: var(--transition-normal);
    cursor: pointer;
}

.layer:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.layer-title {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--space-md);
    text-align: center;
}

.layer-subtitle {
    font-size: var(--text-lg);
    color: var(--text-light);
    text-align: center;
    margin-bottom: var(--space-lg);
}

.diamond-process {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}

.diamond-step {
    position: relative;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transform: rotate(45deg);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.diamond-step:hover {
    transform: rotate(45deg) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.step-label {
    position: absolute;
    transform: rotate(-45deg);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--white);
    text-align: center;
    line-height: 1.2;
}

.step-arrow {
    font-size: var(--text-2xl);
    color: var(--primary-color);
    margin: 0 var(--space-md);
}

.connection-line {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--space-md) 0;
}

.arrow-down {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid var(--primary-color);
    position: relative;
}

.arrow-down::after {
    content: '';
    position: absolute;
    top: -25px;
    left: -2px;
    width: 4px;
    height: 30px;
    background: var(--primary-color);
}

/* ========================================
   卡片网格布局
======================================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

.card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--gray-200);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--text-2xl);
    margin-bottom: var(--space-lg);
}

.card-title {
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--text-color);
}

.card-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.card-features {
    list-style: none;
}

.card-features li {
    padding: var(--space-sm) 0;
    position: relative;
    padding-left: var(--space-lg);
}

.card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* ========================================
   页脚
======================================== */
.footer {
    background: var(--gray-700);
    color: var(--white);
    padding: var(--space-2xl) 0;
}

.footer-content {
    text-align: center;
}

.footer-title {
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.footer-description {
    color: var(--gray-300);
    margin-bottom: var(--space-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-link {
    color: var(--gray-300);
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--white);
}

.footer-copyright {
    color: var(--gray-500);
    font-size: var(--text-sm);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--gray-500);
}

/* ========================================
   实用工具类
======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   新增组件样式
======================================== */

/* 方法论标签 */
.methodology-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-lg);
}

.method-tag {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

/* 卡片交付物样式 */
.card-deliverable {
    margin-top: var(--space-lg);
    padding: var(--space-md);
    background: var(--gray-100);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    border-left: 4px solid var(--accent-color);
}

/* 执行框架样式 */
.execution-framework {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
    box-shadow: var(--shadow-md);
}

.framework-header h3 {
    color: var(--primary-color);
    font-size: var(--text-2xl);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.execution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.execution-item {
    background: var(--gray-100);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    border: 2px solid var(--gray-300);
    transition: var(--transition-normal);
}

.execution-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.execution-icon {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-md);
}

.execution-item h4 {
    color: var(--primary-color);
    font-size: var(--text-xl);
    margin-bottom: var(--space-md);
}

.execution-source {
    margin-top: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: rgba(102, 126, 234, 0.1);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    color: var(--primary-color);
}

/* 战术流程样式 */
.tactical-process {
    margin: var(--space-2xl) 0;
}

.process-timeline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

.process-step {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.process-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    margin: 0 auto var(--space-md);
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.process-icon.explore {
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.process-icon.define {
    background: linear-gradient(45deg, #764ba2, #667eea);
}

.process-icon.develop {
    background: linear-gradient(45deg, #ed8936, #f6ad55);
}

.process-icon.deliver {
    background: linear-gradient(45deg, #48bb78, #68d391);
}

.process-step h4 {
    color: var(--primary-color);
    font-size: var(--text-lg);
    margin-bottom: var(--space-md);
}

.process-methods {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    margin-top: var(--space-md);
}

.method-badge {
    background: var(--primary-color);
    color: var(--white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: 500;
}

.process-arrow {
    font-size: var(--text-2xl);
    color: var(--primary-color);
    align-self: center;
    font-weight: bold;
}

/* 方法论应用样式 */
.methodology-application {
    margin-top: var(--space-lg);
    padding: var(--space-md);
    background: rgba(118, 75, 162, 0.1);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    color: var(--secondary-color);
    border-left: 4px solid var(--secondary-color);
}

/* AI工具样式 */
.ai-tools-section {
    margin: var(--space-2xl) 0;
    padding: var(--space-xl);
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    border-radius: var(--radius-2xl);
}

.ai-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.ai-tool-item {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition-normal);
}

.ai-tool-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.ai-icon {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-md);
}

.ai-tool-item h4 {
    color: var(--primary-color);
    font-size: var(--text-lg);
    margin-bottom: var(--space-md);
}

.ai-note {
    margin-top: var(--space-md);
    padding: var(--space-sm);
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    color: var(--text-light);
    font-style: italic;
}

/* 协作框架section样式 */
.collaboration-section {
    background: var(--gray-100);
}

/* 协作框架样式 */
.collaboration-framework {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

/* 视图切换按钮样式 */
.view-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.view-toggle h3 {
    color: var(--primary-color);
    font-size: var(--text-xl);
    margin: 0;
}

.toggle-buttons {
    display: flex;
    gap: var(--space-sm);
    background: var(--gray-100);
    padding: var(--space-xs);
    border-radius: var(--radius-lg);
}

.toggle-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border: none;
    background: transparent;
    color: var(--text-light);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-normal);
}

.toggle-btn:hover {
    background: var(--white);
    color: var(--text-color);
    box-shadow: var(--shadow-sm);
}

.toggle-btn.active {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-icon {
    font-size: var(--text-base);
}

.collaboration-timeline h3,
.collaboration-matrix h3 {
    color: var(--primary-color);
    font-size: var(--text-2xl);
    margin-bottom: var(--space-lg);
    text-align: center;
}

/* 时间轴样式 */
.timeline {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    position: relative;
}

.timeline-marker {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    position: relative;
    z-index: 1;
}

.timeline-marker.strategic {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

.timeline-marker.tactical {
    background: linear-gradient(45deg, var(--accent-color), #f6ad55);
}

.timeline-marker::after {
    content: '→';
    font-size: var(--text-xl);
}

.timeline-content {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    flex: 1;
}

.timeline-content h4 {
    color: var(--primary-color);
    font-size: var(--text-xl);
    margin-bottom: var(--space-md);
}

.timeline-content p {
    margin-bottom: var(--space-sm);
    line-height: 1.6;
}

/* 矩阵表样式（作为备用展示方式，默认隐藏） */
.matrix-table {
    display: none;
    grid-template-columns: 150px repeat(5, 1fr);
    gap: 2px;
    background: var(--gray-400);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: var(--space-lg) 0;
    box-shadow: var(--shadow-md);
}

.matrix-table.show {
    display: grid;
}

.matrix-cell {
    background: var(--white);
    padding: var(--space-md);
    text-align: center;
    font-size: var(--text-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 55px;
    transition: var(--transition-fast);
}

.matrix-cell:hover {
    transform: scale(1.02);
    z-index: 1;
    box-shadow: var(--shadow-sm);
}

.matrix-header .matrix-cell {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    font-weight: 700;
    font-size: var(--text-base);
}

.matrix-header .matrix-cell:hover {
    transform: none;
}

.matrix-cell.dept {
    background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
    font-weight: 700;
    color: var(--text-color);
    border-left: 4px solid var(--primary-color);
}

.matrix-cell.primary {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    color: var(--white);
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.matrix-cell.participate {
    background: linear-gradient(135deg, rgba(237, 137, 54, 0.8), rgba(246, 173, 85, 0.8));
    color: var(--white);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.matrix-cell.support {
    background: linear-gradient(135deg, rgba(160, 174, 192, 0.6), rgba(203, 213, 224, 0.6));
    color: var(--text-color);
    font-weight: 500;
}

.matrix-legend {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: var(--radius-sm);
}

.legend-color.primary {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    border: 1px solid rgba(102, 126, 234, 0.5);
}

.legend-color.participate {
    background: linear-gradient(135deg, rgba(237, 137, 54, 0.8), rgba(246, 173, 85, 0.8));
    border: 1px solid rgba(237, 137, 54, 0.5);
}

.legend-color.support {
    background: linear-gradient(135deg, rgba(160, 174, 192, 0.6), rgba(203, 213, 224, 0.6));
    border: 1px solid rgba(160, 174, 192, 0.5);
}

/* 层级交付物样式 */
.layer-deliverables {
    margin-top: var(--space-lg);
    padding: var(--space-md);
    background: rgba(102, 126, 234, 0.05);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    color: var(--text-color);
    border-left: 4px solid var(--primary-color);
}

/* 业务增强回路样式 */
.business-loop-content {
    display: grid;
    gap: var(--space-2xl);
    margin: var(--space-xl) 0;
}

.loop-description {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.loop-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.loop-steps {
    display: grid;
    gap: var(--space-lg);
}

.loop-step {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.loop-step:hover {
    background: rgba(102, 126, 234, 0.05);
    transform: translateX(5px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: var(--text-lg);
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--primary-color);
    font-size: var(--text-lg);
    margin-bottom: var(--space-sm);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.loop-challenges {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    border-left: 6px solid var(--accent-color);
}

.loop-challenges h3 {
    color: var(--accent-color);
    font-size: var(--text-xl);
    margin-bottom: var(--space-md);
}

.loop-challenges p {
    color: var(--text-color);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.loop-challenges ul {
    list-style: none;
    padding-left: 0;
}

.loop-challenges ul li {
    padding: var(--space-sm) 0;
    position: relative;
    padding-left: var(--space-lg);
    color: var(--text-light);
}

.loop-challenges ul li::before {
    content: '⚠️';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* 卡片详情样式 */
.card-details {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--gray-200);
}

.card-details h4 {
    color: var(--primary-color);
    font-size: var(--text-lg);
    margin-bottom: var(--space-md);
}

.card-details ul {
    list-style: none;
    padding-left: 0;
}

.card-details ul li {
    padding: var(--space-xs) 0;
    position: relative;
    padding-left: var(--space-md);
    color: var(--text-color);
    font-size: var(--text-sm);
}

.card-details ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* 里程碑网格样式 */
.milestones-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.milestone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm);
    background: var(--gray-100);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    cursor: pointer;
}

.milestone:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.milestone-number {
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-sm);
    font-weight: bold;
}

.milestone-name {
    font-size: var(--text-xs);
    text-align: center;
    color: var(--text-color);
    font-weight: 500;
}

/* 模态框样式 */
.info-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-modal.show {
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-dialog {
    position: relative;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.info-modal.show .modal-dialog {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 1px solid var(--gray-200);
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.modal-title {
    font-size: var(--text-xl);
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: var(--text-2xl);
    color: var(--white);
    cursor: pointer;
    padding: var(--space-sm);
    border-radius: 50%;
    transition: var(--transition-fast);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: var(--space-xl);
    max-height: 60vh;
    overflow-y: auto;
}

.modal-content h4 {
    color: var(--primary-color);
    font-size: var(--text-lg);
    margin: var(--space-lg) 0 var(--space-md) 0;
}

.modal-content h4:first-child {
    margin-top: 0;
}

.modal-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.modal-phases, 
.modal-deliverables, 
.modal-activities, 
.modal-methods, 
.modal-keypoints {
    list-style: none;
    padding-left: 0;
}

.modal-phases li, 
.modal-deliverables li, 
.modal-activities li, 
.modal-methods li, 
.modal-keypoints li {
    padding: var(--space-sm) 0;
    position: relative;
    padding-left: var(--space-lg);
    color: var(--text-color);
    line-height: 1.5;
}

.modal-phases li::before,
.modal-activities li::before,
.modal-keypoints li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.modal-deliverables li::before,
.modal-methods li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.modal-applications,
.modal-tools {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin: var(--space-md) 0;
}

.app-badge {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.tool-badge {
    background: rgba(237, 137, 54, 0.1);
    color: var(--accent-color);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    border: 1px solid rgba(237, 137, 54, 0.2);
}

/* 协作流程图样式 */
.collaboration-flow {
    margin: var(--space-2xl) 0;
}

.flow-description {
    text-align: center;
    color: var(--text-light);
    margin-bottom: var(--space-2xl);
    font-size: var(--text-lg);
}

/* 流程层级容器 */
.flow-level {
    margin-bottom: var(--space-2xl);
}

.level-title {
    text-align: center;
    font-size: var(--text-2xl);
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
    font-weight: 600;
    position: relative;
}

.level-title::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-sm);
}

/* 层级间连接箭头 */
.level-arrow {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: var(--space-xl) 0;
    font-weight: bold;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.flow-stages {
    display: flex;
    align-items: stretch;
    gap: var(--space-lg);
    justify-content: center;
    padding: var(--space-lg) 0;
    min-height: 300px;
}

.strategic-level .flow-stage {
    border-top: 4px solid var(--primary-color);
}

.tactical-level .flow-stage {
    border-top: 4px solid var(--secondary-color);
}

.flow-stage {
    min-width: 200px;
    flex: 1 1 200px;
    max-width: 280px;
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--gray-200);
    transition: var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
}

.flow-stage:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.stage-header {
    text-align: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--gray-200);
}

.stage-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    display: block;
}

.stage-header h4 {
    color: var(--primary-color);
    font-size: var(--text-xl);
    font-weight: 700;
    margin: 0 0 var(--space-sm) 0;
}

.stage-duration {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-lg);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stage-roles {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    flex: 1;
}

.role-group {
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    transition: var(--transition-normal);
}

.role-group.primary {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-left: 4px solid var(--primary-color);
}

.role-group.participate {
    background: linear-gradient(135deg, rgba(237, 137, 54, 0.1), rgba(246, 173, 85, 0.1));
    border-left: 4px solid var(--accent-color);
}

.role-group.support {
    background: linear-gradient(135deg, rgba(160, 174, 192, 0.1), rgba(203, 213, 224, 0.1));
    border-left: 4px solid var(--gray-500);
}

.role-label {
    font-size: var(--text-sm);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-group.primary .role-label {
    color: var(--primary-color);
}

.role-group.participate .role-label {
    color: var(--accent-color);
}

.role-group.support .role-label {
    color: var(--gray-500);
}

.role-departments {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.dept-tag {
    position: relative;
    background: var(--white);
    color: var(--text-color);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    font-size: var(--text-xs);
    font-weight: 600;
    border: 1px solid var(--gray-300);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: var(--transition-fast);
    cursor: pointer;
}

.dept-tag:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.dept-tag::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition-fast);
}

.dept-tag:hover::after {
    opacity: 1;
    animation: ping 2s infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.flow-arrow {
    font-size: var(--text-4xl);
    color: var(--primary-color);
    font-weight: bold;
    align-self: center;
    margin: 0 var(--space-sm);
    animation: pulse 2s ease-in-out infinite;
    text-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* 协作原则样式 */
.collaboration-principles {
    margin-top: var(--space-2xl);
    padding: var(--space-xl);
    background: linear-gradient(135deg, var(--gray-100), var(--white));
    border-radius: var(--radius-2xl);
    border: 1px solid var(--gray-200);
}

.collaboration-principles h4 {
    text-align: center;
    color: var(--primary-color);
    font-size: var(--text-2xl);
    margin-bottom: var(--space-xl);
    position: relative;
}

.collaboration-principles h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-sm);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.principle-item {
    text-align: center;
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition-normal);
}

.principle-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.principle-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    display: block;
}

.principle-item h5 {
    color: var(--primary-color);
    font-size: var(--text-lg);
    font-weight: 600;
    margin: 0 0 var(--space-sm) 0;
}

.principle-item p {
    color: var(--text-light);
    font-size: var(--text-sm);
    line-height: 1.6;
    margin: 0;
}