/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('background2.png'),
        url('ai.png'),
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    background-size: 
        100% 100%,
        60% 60%,
        auto,
        auto,
        auto;
    background-position: 
        center,
        right top,
        center,
        center,
        center;
    background-repeat: no-repeat;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

header::after {
    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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
    z-index: 2;
}

.header-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

header h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
    background: linear-gradient(45deg, #fff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.subtitle {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

.description {
    font-size: 1.3rem;
    opacity: 0.8;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.header-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.badge:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.header-actions {
    margin-top: 2rem;
}

.github-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.github-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: white;
    text-decoration: none;
}

.github-btn svg {
    width: 20px;
    height: 20px;
}

.header-visual {
    position: relative;
    height: 400px;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    font-size: 3rem;
    animation: float 6s ease-in-out infinite;
    opacity: 0.8;
}

.element-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.element-2 {
    top: 10%;
    right: 30%;
    animation-delay: 1s;
}

.element-3 {
    bottom: 30%;
    left: 10%;
    animation-delay: 2s;
}

.element-4 {
    top: 50%;
    right: 10%;
    animation-delay: 3s;
}

.element-5 {
    bottom: 10%;
    right: 40%;
    animation-delay: 4s;
}

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

/* 主要内容区域 */
main {
    padding: 4rem 0;
}

section {
    margin-bottom: 4rem;
}

h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    margin: 1rem auto;
    border-radius: 2px;
}

/* Hero区域 */
.hero {
    background: white;
    padding: 4rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: justify;
    color: #555;
}

.hero-content em {
    color: #666;
    font-style: italic;
    font-size: 0.95rem;
    display: block;
    margin-top: 0.5rem;
    padding-left: 1rem;
    border-left: 3px solid #667eea;
}

/* 核心创新部分 */
.features {
    padding: 5rem 0;
}

/* 架构部分 */
.architecture {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 0;
}

.architecture h2 {
    color: white;
}

.architecture h2::after {
    background: white;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #667eea;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.feature-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: #555;
    line-height: 1.6;
}

.feature-card em {
    color: #666;
    font-style: italic;
    font-size: 0.9rem;
    display: block;
    margin-top: 0.5rem;
    padding-left: 1rem;
    border-left: 2px solid #667eea;
}

.feature-card code {
    background: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Fira Code', 'Courier New', monospace;
    color: #e74c3c;
}

.feature-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.feature-link {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 6px;
    font-size: 0.9rem;
    color: #667eea;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-link {
    background: rgba(102, 126, 234, 0.2);
    transform: scale(1.05);
}

/* 架构图区域 */
.architecture-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.architecture-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.architecture-item:hover {
    transform: translateY(-3px);
}

.architecture-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.architecture-item img:hover {
    opacity: 0.8;
}

.architecture-item p {
    margin-top: 1rem;
    font-weight: 600;
    color: #2c3e50;
}

/* 演示区域 */
.demo {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.demo h2 {
    color: white;
}

.demo h2::after {
    background: white;
}

.demo p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.demo-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.btn-primary {
    background: white;
    color: #667eea;
}

.btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

/* 实验结果样式 */
.experimental-results {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    padding: 4rem 0;
    position: relative;
}

.experimental-results::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('show.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.1;
    z-index: -1;
}

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

.result-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.result-card:hover {
    transform: translateY(-5px);
}

.result-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.result-images img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.result-images img:hover {
    transform: scale(1.05);
}

/* 紧凑图片布局 */
.result-images-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

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

.image-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.image-item img:hover {
    transform: scale(1.05);
}

.image-caption {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* 结果摘要样式 */
.result-summary {
    display: flex;
    justify-content: space-around;
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 12px;
}

.metric-highlight {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.8rem;
    color: #666;
    text-align: center;
    line-height: 1.2;
}

/* 更多应用场景样式 */
.more-use-cases {
    background: white;
    padding: 4rem 0;
}

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

.use-case-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

/* 企业级演示说明样式 */
.demo-instructions {
    margin-top: 4rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.instructions-header h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.instructions-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 标签页样式 */
.instruction-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-button {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.tab-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.tab-button.active {
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
    border-color: rgba(255, 255, 255, 0.9);
}

/* 标签页内容 */
.tab-content {
    position: relative;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-panel.active {
    display: block;
}

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

/* 部署卡片样式 */
.deployment-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.deployment-card:hover {
    transform: translateY(-5px);
}

.card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-header .icon {
    font-size: 2.5rem;
}

.card-header h4 {
    flex: 1;
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.difficulty {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.difficulty.easy {
    background: rgba(39, 174, 96, 0.2);
    color: #27ae60;
}

.difficulty.medium {
    background: rgba(241, 196, 15, 0.2);
    color: #f1c40f;
}

.difficulty.advanced {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

.card-content {
    padding: 2rem;
}

/* 步骤列表样式 */
.step-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h5 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.step-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.code-block {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 1rem;
    border-radius: 8px;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
    overflow-x: auto;
    border-left: 4px solid #667eea;
}

.code-block code {
    background: none;
    color: inherit;
    padding: 0;
    font-size: inherit;
}

/* 云服务选项 */
.cloud-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.cloud-option {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.cloud-option h5 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.cloud-option p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* 演示功能特性 - 简洁固定布局 */
.demo-features {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.demo-features h4 {
    color: white;
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.features-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

/* 现代网格布局 */
.features-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
}

.feature-card-modern {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.feature-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.feature-icon-modern {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card-modern h5 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.feature-card-modern p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 简洁统计数字 */
.feature-stats-simple {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item-simple {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem 2.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 140px;
    transition: transform 0.3s ease;
}

.stat-item-simple:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number-simple {
    font-size: 2.8rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label-simple {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
}

/* 更多应用场景部分 */
.more-use-cases {
    padding: 5rem 0;
}

/* 应用场景 */
.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.use-case-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-5px);
}

.use-case-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.use-case-card p {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.use-case-card ul {
    list-style: none;
}

.use-case-card li {
    background: #f8f9fa;
    margin-bottom: 0.5rem;
    padding: 0.75rem;
    border-left: 3px solid #667eea;
    border-radius: 0 4px 4px 0;
}

/* 企业级页脚 */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 3rem 0 2rem 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.footer-info p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    opacity: 0.9;
}

.footer-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.acknowledgments {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.acknowledgments h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #ecf0f1;
    font-weight: 600;
}

.acknowledgments p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    opacity: 0.85;
}

.acknowledgments em {
    font-style: italic;
    opacity: 0.8;
}

.version-badge,
.license-badge,
.status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.version-badge {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.license-badge {
    background: rgba(39, 174, 96, 0.2);
    color: #27ae60;
    border: 1px solid rgba(39, 174, 96, 0.3);
}

.status-badge {
    background: rgba(241, 196, 15, 0.2);
    color: #f1c40f;
    border: 1px solid rgba(241, 196, 15, 0.3);
}

.tech-specs h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.tech-specs ul {
    list-style: none;
    padding: 0;
}

.tech-specs li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-specs li:last-child {
    border-bottom: none;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.modal-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 1000px;
    max-height: 90%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    z-index: 1001;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 创新详情模态框样式 */
.modal-content-text {
    background: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 80%;
    max-width: 800px;
    max-height: 80%;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-content-text h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.modal-content-text h3 {
    color: #667eea;
    margin: 1.5rem 0 1rem 0;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

.modal-content-text ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.modal-content-text li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.modal-content-text p {
    margin: 1rem 0;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .description {
        font-size: 1rem;
    }
    
    .header-badges {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .header-actions {
        text-align: center;
        margin-top: 1.5rem;
    }
    
    .github-btn {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .architecture-gallery {
        grid-template-columns: 1fr;
    }
    
    .use-case-grid {
        grid-template-columns: 1fr;
    }
    
    .demo-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
    }
    
    .instruction-grid {
        grid-template-columns: 1fr;
    }
    
    .instruction-card {
        padding: 1rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content-text {
        width: 95%;
        margin: 2% auto;
        padding: 1rem;
    }
    
    .header-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .header-text {
        text-align: center;
    }
    
    .result-images-compact {
        grid-template-columns: 1fr;
    }
    
    .result-summary {
        flex-direction: column;
        gap: 1rem;
    }
    
    .instruction-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-button {
        width: 100%;
        max-width: 300px;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        align-self: center;
    }
    
    .cloud-options {
        grid-template-columns: 1fr;
    }
    
    .features-grid-modern {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .feature-card-modern {
        padding: 1.5rem;
    }
    
    .feature-icon-modern {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-card-modern h5 {
        font-size: 1.1rem;
    }
    
    .feature-card-modern p {
        font-size: 0.9rem;
    }
    
    .feature-stats-simple {
        gap: 1.5rem;
    }
    
    .stat-item-simple {
        padding: 1.5rem 2rem;
        min-width: 120px;
    }
    
    .stat-number-simple {
        font-size: 2.2rem;
    }
    
    .stat-label-simple {
        font-size: 0.85rem;
    }
    
    .demo-instructions {
        padding: 2rem;
    }
    
    .card-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-badges {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    header {
        padding: 2rem 0;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    main {
        padding: 2rem 0;
    }
    
    section {
        margin-bottom: 2rem;
    }
    
    .feature-card,
    .use-case-card {
        padding: 1.5rem;
    }
}
