:root {
    --bg-primary: #000000;
    --bg-secondary: #000000;
    --bg-card: rgba(0, 0, 0, 0.85);
    --text-primary: #4ecdc4;
    --text-secondary: #a0d8cc;
    --accent: #00a86b;
    --accent-light: #4ecdc4;
    --accent-dark: #007a52;
    --medical: #00a86b;
    --medical-light: #4ecdc4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Serif SC', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    background: #000000;
    color: var(--text-primary);
    scroll-behavior: smooth;
}

/* 主要内容区域 */
.main-content {
    position: relative;
    z-index: 1;
}

/* 微信浏览器和移动端鲁棒性优化 */
@media screen and (max-width: 768px) {
    * {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    html {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    body {
        font-size: 14px;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }

    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .hero {
        padding: 80px 15px 20px;
        min-height: 100vh;
        width: 100%;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        text-align: center;
        padding: 0 10px;
    }

    .hero-title {
        font-size: 24px !important;
        line-height: 1.3 !important;
        margin-bottom: 16px !important;
        word-wrap: break-word;
        word-break: break-word;
        -webkit-hyphens: auto;
        -moz-hyphens: auto;
        hyphens: auto;
    }

    .hero-subtitle {
        font-size: 16px !important;
        line-height: 1.4 !important;
        margin-bottom: 20px !important;
        word-wrap: break-word;
        word-break: break-word;
    }

    .hero-logo {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 16px !important;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    /* 移动端模型显示优化 - 微信浏览器兼容 */
    .model-grid {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        width: 100%;
        max-width: 100%;
    }

    .model-viewer {
        height: 280px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 15px !important;
        border-radius: 8px;
        overflow: hidden;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    /* 移动端对话记录优化 - 微信浏览器兼容 */
    .conversation-container {
        padding: 12px !important;
        margin: 10px 0 !important;
        width: calc(100% - 20px) !important;
        max-width: none !important;
        border-radius: 8px !important;
        box-sizing: border-box;
        background: rgba(0, 0, 0, 0.4) !important;
        border: 1px solid rgba(78, 205, 196, 0.2) !important;
    }

    .conversation-messages {
        max-height: 300px !important;
        padding: 8px !important;
        overflow-y: auto !important;
        gap: 8px !important;
        /* 移动端滚动条优化 */
        scrollbar-width: thin !important;
        scrollbar-color: rgba(78, 205, 196, 0.3) transparent !important;
    }

    .conversation-messages::-webkit-scrollbar {
        width: 4px !important;
    }

    .conversation-messages::-webkit-scrollbar-track {
        background: transparent !important;
    }

    .conversation-messages::-webkit-scrollbar-thumb {
        background: rgba(78, 205, 196, 0.3) !important;
        border-radius: 2px !important;
    }

    .message {
        max-width: 100% !important;
        padding: 10px 12px !important;
        margin: 6px 0 !important;
        border-radius: 8px !important;
        font-size: 13px !important;
        line-height: 1.4 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .user-message {
        margin-left: 5% !important;
        background: rgba(78, 205, 196, 0.15) !important;
        border-left: 3px solid var(--accent) !important;
    }

    .bot-message {
        margin-right: 5% !important;
        background: rgba(0, 168, 107, 0.15) !important;
        border-left: 3px solid var(--medical) !important;
    }

    .message-header {
        font-size: 11px !important;
        margin-bottom: 4px !important;
    }

    .sender {
        font-size: 11px !important;
    }

    .timestamp {
        font-size: 10px !important;
    }

    .message.user {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .message.assistant {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* 移动端案例展示优化 - 微信浏览器兼容 */
    .case-container {
        margin-bottom: 30px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .case-content {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        width: 100% !important;
    }

    .case-info {
        margin-bottom: 15px !important;
        padding: 15px !important;
        width: 100% !important;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    .case-title {
        font-size: 18px !important;
        margin-bottom: 12px !important;
        line-height: 1.4 !important;
        word-wrap: break-word;
        word-break: break-word;
    }

    .case-description {
        font-size: 14px !important;
        line-height: 1.5 !important;
        word-wrap: break-word;
        word-break: break-word;
    }

    /* 移动端按钮优化 - 微信浏览器兼容 */
    .toggle-btn,
    .cta-button {
        padding: 12px 20px !important;
        font-size: 14px !important;
        margin: 8px !important;
        border-radius: 6px !important;
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        cursor: pointer;
        display: inline-block;
        text-decoration: none;
    }

    /* 移动端视频优化 - 微信浏览器兼容 */
    .video-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    .video-wrapper iframe {
        width: 100% !important;
        height: 280px !important;
        max-width: 100% !important;
        border-radius: 8px !important;
    }

    /* 移动端导航优化 - 微信浏览器兼容 */
    .navbar {
        padding: 10px 15px !important;
        width: 100% !important;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
    }

    .nav-container {
        width: 100% !important;
        max-width: 100% !important;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .nav-links {
        display: none !important;
    }

    .logo-section {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .logo-text {
        font-size: 18px !important;
        margin-left: 8px !important;
    }

    .logo-img {
        width: 32px !important;
        height: 32px !important;
    }

    /* 微信浏览器特殊优化 */
    .section-title {
        font-size: 20px !important;
        margin-bottom: 20px !important;
        text-align: center !important;
        word-wrap: break-word;
        word-break: break-word;
    }

    /* 防止横向滚动 */
    * {
        max-width: 100% !important;
    }

    img,
    video,
    iframe,
    canvas {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* 英雄区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #000000;
    overflow: hidden;
    padding: 80px 2rem 2rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image:
        radial-gradient(circle at 20% 50%, var(--accent) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--medical) 0%, transparent 50%);
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* 演示区域 */
.demo {
    padding: 5rem 2rem;
    background: #000000;
}

.demo-container {
    max-width: 1000px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    margin-bottom: 3rem;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

/* 3D模型展示区域 */
.model-demo {
    padding: 3rem 2rem;
    background: #000000;
}

.model-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.model-viewport {
    position: relative;
    width: 100%;
    height: 400px;
    background: #000000;
    overflow: hidden;
}

.model-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    z-index: 10;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--medical));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-light);
}

.lang-switch {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-switch:hover {
    background: var(--accent);
    color: white;
}

/* 通用容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 通用标题 */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--accent);
}

/* 特性部分 */
.features {
    padding: 5rem 2rem;
    background: #000000;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(78, 205, 196, 0.2);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(78, 205, 196, 0.2);
    border-color: var(--accent);
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 工作流程部分 */
.workflow {
    padding: 5rem 2rem;
    background: #000000;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    position: relative;
}

.step:nth-child(1)::after,
.step:nth-child(2)::after,
.step:nth-child(4)::after,
.step:nth-child(5)::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    box-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent);
    animation: glow-line 2s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes glow-line {
    0% {
        box-shadow: 0 0 5px var(--accent), 0 0 10px var(--accent);
        opacity: 0.8;
    }

    100% {
        box-shadow: 0 0 15px var(--accent), 0 0 30px var(--accent);
        opacity: 1;
    }
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
    color: white;
}

.step-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--accent-light);
}

.step-description {
    color: var(--text-secondary);
}

/* 技术栈部分 */
.tech-stack {
    padding: 5rem 2rem;
    background: #000000;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.tech-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(78, 205, 196, 0.2);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

/* 页脚样式 */
.footer {
    background: #000000;
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(78, 205, 196, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    color: var(--text-secondary);
}

.footer-title {
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(78, 205, 196, 0.1);
    color: var(--text-secondary);
}

.slogan-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--accent);
    margin-bottom: 1rem;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 3.5rem;
    background: linear-gradient(135deg, var(--medical), var(--accent));
    color: white;
    text-decoration: none;
    border-radius: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 30px 40px -15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button i {
    font-size: 1.75rem;
    transition: transform 0.3s;
}

.cta-button:hover i {
    transform: translateX(5px);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 168, 107, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 168, 107, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 168, 107, 0);
    }
}

/* 加载动画 */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 80px;
    height: 80px;
    animation: pulse-logo 2s ease-in-out infinite;
}

@keyframes pulse-logo {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* 英雄区域图标 */
.hero-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* 导航栏图标 */
.logo-img {
    width: 40px;
    height: 40px;
    display: block;
    object-fit: contain;
}

/* 案例展示区域 */
.cases-demo {
    padding: 5rem 2rem;
    background: #000000;
}

.case-container {
    margin-bottom: 4rem;
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
}

.case-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.case-info {
    padding-right: 1rem;
    max-width: 100%;
}

.case-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
}

.case-brief {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.expand-btn {
    background: linear-gradient(135deg, var(--medical), var(--accent));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.expand-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 168, 107, 0.3);
}

.expand-btn i {
    transition: transform 0.3s ease;
}

.conversation-container {
    margin-top: 1rem;
    max-height: 600px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    /* 隐藏滚动条 */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.conversation-container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.conversation-messages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.message {
    padding: 1rem;
    border-radius: 10px;
    max-width: 80%;
}

.user-message {
    background: rgba(78, 205, 196, 0.1);
    border-left: 4px solid var(--accent);
    align-self: flex-end;
}

.bot-message {
    background: rgba(0, 168, 107, 0.1);
    border-left: 4px solid var(--medical);
    align-self: flex-start;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.sender {
    font-weight: bold;
    color: var(--accent);
}

.timestamp {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.message-content {
    line-height: 1.5;
    color: var(--text-primary);
}

.room-config-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(78, 205, 196, 0.2);
}

.config-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 1rem;
}

.room-config-table {
    overflow-x: auto;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
}

.room-config-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.room-config-table th,
.room-config-table td {
    padding: 0.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(78, 205, 196, 0.1);
}

.room-config-table th {
    background: rgba(78, 205, 196, 0.1);
    color: var(--accent);
    font-weight: bold;
    position: sticky;
    top: 0;
}

.room-config-table td {
    color: var(--text-primary);
}

.room-config-table tr:hover {
    background: rgba(78, 205, 196, 0.05);
}

.room-config-table .highlight-row {
    background: rgba(0, 168, 107, 0.1);
    font-weight: bold;
}

.case-model {
    position: relative;
}

.model-viewport {
    width: 100%;
    max-width: 500px;
    height: 400px;
    aspect-ratio: 5/4;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    margin: 0 auto;
}

.model-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    z-index: 10;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .case-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .case-info {
        padding-right: 0;
    }

    .model-viewport {
        height: 300px;
    }
}

/* 页脚机构信息 */
.institution-info,
.partner-item,
.contact-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.org-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(0.7);
    transition: filter 0.3s ease;
}

.institution-info .org-logo {
    width: 60px;
    height: 60px;
}

.partner-item:hover .org-logo {
    filter: brightness(0) invert(0.9);
}

.contact-info i {
    font-size: 1.5rem;
    color: var(--accent);
    width: 30px;
    text-align: center;
}

.contact-info a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--accent);
}

.footer-title {
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent);
}

.slogan-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 0.5rem auto;
}

/* 滚动动画 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 语言切换 */
.lang-en {
    display: none;
}

body.en .lang-zh {
    display: none;
}

body.en .lang-en {
    display: block;
}

/* 图片点击放大覆盖层 */
.image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.image-overlay.active {
    display: flex;
}

.image-overlay img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* 加载覆盖层 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000000;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* 加载信息 */
.loading-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 30px 40px;
    text-align: center;
    min-width: 250px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.loading-text {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 3px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .nav-links {
        display: none;
    }

    .model-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .model-viewport {
        height: 300px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .workflow-steps {
        grid-template-columns: 1fr;
        gap: 3rem !important;
        margin-top: 2rem !important;
    }

    /* 移动端工作流程连接线隐藏 */
    .step:nth-child(1)::after,
    .step:nth-child(2)::after,
    .step:nth-child(4)::after,
    .step:nth-child(5)::after {
        display: none !important;
    }

    /* 移动端步骤间距优化 */
    .step {
        position: relative !important;
        margin-bottom: 2rem !important;
    }

    .step:not(:last-child)::after {
        content: '' !important;
        position: absolute !important;
        bottom: -1.5rem !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 2px !important;
        height: 1rem !important;
        background: linear-gradient(180deg, var(--accent), transparent) !important;
        z-index: 1 !important;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .loading-info {
        min-width: 200px;
        padding: 20px 25px;
    }

    .loading-text {
        font-size: 1rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1.2rem;
    }

    .hero {
        padding: 60px 1rem 2rem;
    }

    .demo,
    .features,
    .workflow,
    .tech-stack {
        padding: 3rem 1rem;
    }

    /* 移动端房间配置表格优化 */
    .room-config-table {
        font-size: 12px !important;
        overflow-x: auto !important;
    }

    .room-config-table th,
    .room-config-table td {
        padding: 6px 8px !important;
        white-space: nowrap !important;
    }

    .room-config-table th {
        font-size: 11px !important;
    }

    /* 移动端展开按钮优化 */
    .expand-btn {
        padding: 8px 16px !important;
        font-size: 13px !important;
        margin: 10px auto !important;
    }
}