/* styles.css */
:root {
    --hpe-green: #01a982;
    --hpe-purple: #614767;
    --hpe-blue: #425563;
    --medical-blue: #0056b3;
    --light-bg: #f8fafc;
}

body {
    font-family: "Noto Serif Simplified Chinese", "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: var(--light-bg);
    position: relative;
    overflow-x: hidden;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/photo.jpg') no-repeat center center/cover;
    opacity: 0.55; /* 增加透明度 */
    z-index: -1;
}

.content-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background: transparent; /* 确保容器本身不产生白底 */
}

.brand-blue {
    color: var(--medical-blue);
}

/* 1. 顶部导航区 */
.top-nav {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    transition: background-color 0.3s ease, 
                box-shadow 0.3s ease, 
                position 0.1s ease, 
                top 0.3s ease, 
                padding 0.3s ease,
                transform 0.3s ease;
    z-index: 100;
    width: 100%;
    will-change: transform, position, background-color;
    /* 初始状态：透明，融于背景 */
    background-color: transparent;
    box-shadow: none;
    border: 0;
}

.top-nav.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 15px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    transform: translateY(0);
    animation: navSlideDown 0.3s ease;
}

/* 顶部未滚动时：仅去掉白框/白底，不改文字颜色 */
.top-nav:not(.scrolled) .logo svg text {
    fill: var(--medical-blue) !important;
}
.top-nav:not(.scrolled) .logo .logo-subtitle {
    color: var(--medical-blue);
}
.top-nav:not(.scrolled) .partner-logo span:first-child {
    color: var(--hpe-green);
}
.top-nav:not(.scrolled) .contest-badge {
    color: var(--hpe-purple);
}

.top-nav:not(.scrolled) {
    background: transparent !important;
    box-shadow: none !important;
    border-bottom: 0 !important;
}

/* 滚动后（白条样式）恢复品牌色 */
.top-nav.scrolled .logo svg text {
    fill: var(--medical-blue) !important;
}
.top-nav.scrolled .logo .logo-subtitle {
    color: var(--medical-blue);
}
.top-nav.scrolled .partner-logo span:first-child {
    color: var(--hpe-green);
}
.top-nav.scrolled .contest-badge {
    color: var(--hpe-purple);
}

/* 导航栏滑入动画 */
@keyframes navSlideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.top-nav .logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.4s ease;
    position: relative;
    left: 0;
    will-change: transform, opacity; /* 优化性能 */
    transform-origin: left center;
}

.top-nav .logo svg {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.top-nav .logo svg:hover {
    transform: scale(1.1);
}

.top-nav .logo .logo-subtitle {
    font-size: 12px;
    color: var(--medical-blue);
    margin-top: -5px;
    opacity: 0.8;
}

.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.4s ease;
    position: relative;
    right: 0;
    will-change: transform, opacity; /* 优化性能 */
    transform-origin: right center;
}

.partner-logo span:first-child {
    font-weight: bold;
    font-size: 24px;
    color: var(--hpe-green);
    letter-spacing: 1px;
}

.contest-badge {
    font-size: 14px;
    color: var(--hpe-purple);
}

/* 2. 主标题区域 (Hero Section) */
.hero-section {
    text-align: center;
    padding: 180px 20px 90px; /* 向上收回一些，避免过于下移 */
    color: #333;
    position: relative;
    margin-bottom: 20px; /* 增加与下一部分的间距 */
}

.hero-section h1 {
    font-size: 40px;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-section p {
    font-size: 18px;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

.hpe-badge {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--hpe-green);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(1, 169, 130, 0.3);
    text-decoration: none;
}

.hpe-badge i {
    font-size: 12px;
}

.hpe-tag {
    background-color: var(--hpe-green);
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
    font-weight: normal;
    display: inline-block;
    vertical-align: middle;
}

/* 3. 服务选择区域 */
.platform-section {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 30px 0;
    margin-top: -48px;
    flex-wrap: wrap;
}

.platform-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
    min-width: 100px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-decoration: none;
}

.platform-option i {
    font-size: 28px;
    margin-bottom: 8px;
    transition: color 0.2s ease, background-color 0.2s ease;
    color: var(--medical-blue);
    padding: 8px;
    border-radius: 50%;
}

.platform-option span {
    font-size: 14px;
    transition: color 0.2s ease;
}

.platform-option:hover {
    transform: translateY(-5px);
    background-color: var(--hpe-green);
    color: #fff;
}

.platform-option:hover i {
    background-color: #fff;
    color: var(--hpe-green);
}

.platform-option:hover span {
    color: #fff;
}

/* 4. 项目展示模块 - 三个动画+介绍组合 */
.project-showcase-section {
    padding: 50px 0;
}

.section-title {
    font-size: 32px;
    color: var(--medical-blue);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title:after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background-color: var(--hpe-green);
    bottom: -10px;
    left: 20%;
}

.feature-module {
    display: flex;
    gap: 40px;
    margin-bottom: 80px;
    align-items: center;
}

.feature-module.reverse {
    flex-direction: row-reverse;
}

.animation-container {
    flex: 1;
    max-width: 300px; /* 限制最大宽度 */
    height: 300px;
    width: 300px;  /* 确保宽高一致 */
    aspect-ratio: 1/1; /* 保持1:1比例 */
    margin: 0 auto; /* 居中 */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%; /* 圆形容器 */
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    overflow: hidden;
    border: 3px solid var(--hpe-green);
}

.feature-description {
    flex: 1;
}

.feature-description h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--hpe-blue);
}

.feature-description p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.tech-stack span:first-child {
    font-weight: 500;
    color: #666;
}

.tech-tag {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--hpe-green);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    box-shadow: 0 2px 5px rgba(1, 169, 130, 0.15);
}

/* 5. 功能亮点区域 */
.features-section {
    padding: 60px 0;
    text-align: center;
    background: transparent;
    border-radius: 0;
}

.features-section .section-title {
    text-align: center;
    display: block; /* 修改为块级元素 */
    left: auto; /* 移除左偏移 */
    transform: none; /* 移除变换 */
    margin-left: auto;
    margin-right: auto;
}

.feature-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

.feature-card {
    flex: 1;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.38);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.52);
    padding: 30px 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.14);
    background: rgba(255, 255, 255, 0.24);
}

.feature-icon {
    font-size: 36px;
    color: var(--hpe-green);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #25415f;
}

.feature-card p {
    color: #4b5b6b;
    line-height: 1.6;
    font-size: 14px;
}

/* 6. 底部展示区 - 智能医疗助手 */
.demo-section {
    padding: 60px 0;
    margin: 0 auto;
}

.demo-container {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

.chat-interface {
    flex: 1;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 760px; /* 统一两侧的高度 */
    max-height: 800px; /* 确保不超过这个高度 */
}

.demo-description {
    flex: 1;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 700px; /* 与左侧对话完全一致的高度 */
    max-height: 700px; /* 确保不超过这个高度 */
}

.demo-description h3 {
    font-size: 24px;
    margin-bottom: 15px;
    margin-top: 0;
    color: var(--medical-blue);
    border-bottom: 2px solid var(--hpe-green);
    padding-bottom: 10px;
    text-align: center;
}

.demo-description p {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 15px;
}

.demo-description h4 {
    font-size: 18px;
    margin: 15px 0 10px;
    color: var(--medical-blue);
}

.demo-description ul {
    margin-left: 20px;
    margin-bottom: 20px;
    padding-left: 5px;
}

.demo-description ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 5px;
}

.demo-description ul.feature-bullets li {
    padding-left: 25px;
}

.demo-description ul.feature-bullets li::before {
    content: "\f058";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--hpe-green);
    position: absolute;
    left: 0;
    top: 2px;
}

.hpe-powered {
    margin-top: auto;
    transform: translateY(10px);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    background-color: rgba(1, 169, 130, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.hpe-powered i {
    color: var(--hpe-green);
    font-size: 16px;
}

.hpe-powered strong {
    color: var(--hpe-green);
    font-size: 16px;
}

.chat-header {
    background-color: #ffffff;
    color: #000000;
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid #eaeaea;
}

.chat-header h3 {
    margin: 0 0 1px;
    font-size: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--medical-blue);
    border-bottom: 2px solid var(--hpe-green);
    padding-bottom: 15px;
}

.chat-header p {
    margin: 10px 0 0;
    font-size: 14px;
    opacity: 0.9;
}

.chat-window {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    max-height: calc(100% - 100px); /* 调整最大高度，确保内容可滚动且完全可见 */
}

.message {
    margin-bottom: 15px;
    padding: 12px 15px;
    border-radius: 18px;
    max-width: 95%;
    width: 90%;
    line-height: 1.5;
}

.user-message {
    background-color: #e6f2ff;
    color: #333;
    align-self: flex-end;
    margin-left: auto;
    margin-right: 0;
    border-bottom-right-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.ai-message {
    background-color: #ffffff;
    color: #333;
    align-self: flex-start;
    margin-left: 0;
    margin-right: auto;
    border-bottom-left-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-left: 3px solid var(--hpe-green);
}

.message p {
    margin: 0 0 8px;
}

.message p:last-child {
    margin-bottom: 0;
}

.message-note {
    font-size: 12px;
    opacity: 0.7;
    font-style: italic;
}

.chat-footer {
    display: flex;
    justify-content: center;
    padding: 15px;
    border-top: 1px solid #e0e6f0;
    background-color: #ffffff;
    margin-top: auto;
}

.start-chat-button,
.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--medical-blue);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.start-chat-button {
    padding: 10px 20px;
}

.primary-button {
    padding: 12px 25px;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.start-chat-button:hover,
.primary-button:hover {
    background-color: #004599;
}

.primary-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.start-chat-button i,
.primary-button i {
    margin-right: 8px;
}

/* 首页诊疗演示卡片样式，原由旧聊天样式提供 */
.structured-demo {
    overflow: hidden;
    max-width: 100%;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    font-size: 0.91em;
    overflow-y: auto;
    max-height: 520px;
}

.structured-content {
    padding: 0;
    overflow: visible;
}

.structured-content h4 {
    margin: 0;
    padding: 12px 15px;
    font-size: 16px;
    font-weight: 600;
    background-color: rgba(0, 86, 179, 0.08);
    color: var(--medical-blue);
    display: flex;
    align-items: center;
}

.structured-content h4::before {
    margin-right: 8px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 14px;
}

.structured-content h4:nth-of-type(1)::before { content: "\f0f1"; }
.structured-content h4:nth-of-type(2)::before { content: "\f0eb"; }
.structured-content h4:nth-of-type(3)::before { content: "\f484"; }
.structured-content h4:nth-of-type(4)::before { content: "\f201"; }
.structured-content h4:nth-of-type(5)::before { content: "\f074"; }

.structured-content p,
.structured-content ul {
    padding: 10px 15px;
    margin: 0;
    line-height: 1.6;
    font-size: 0.95em;
}

.structured-content ul {
    padding-left: 35px;
}

.structured-content li {
    margin-bottom: 6px;
}

.structured-content strong {
    color: var(--medical-blue);
}

.diagnosis-name,
.syndrome-type,
.constitution-type,
.tcm-syndrome {
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}

.diagnosis-name {
    color: var(--medical-blue);
    background: rgba(0, 86, 179, 0.08);
    font-size: 1.05em;
}

.syndrome-type {
    color: #2a9d8f;
    background-color: rgba(42, 157, 143, 0.1);
}

.constitution-type {
    color: #6c5ce7;
    background-color: rgba(108, 92, 231, 0.1);
}

.tcm-syndrome {
    color: #fd79a8;
    background-color: rgba(253, 121, 168, 0.1);
}

.prescription-item {
    display: inline-block;
    margin: 2px;
    padding: 2px 6px;
    background-color: #f0f7ff;
    border-radius: 12px;
    border: 1px solid #d0e1f9;
    font-size: 0.9em;
}

.prescription-group {
    margin: 10px 0;
    padding: 10px 15px;
    background-color: rgba(0, 86, 179, 0.03);
    border-radius: 6px;
}

.prescription-group p {
    margin: 5px 0 !important;
    padding: 0 !important;
}

.confidence-80,
.confidence-85,
.confidence-87,
.confidence-89 {
    color: #f4a261;
    font-weight: bold;
}

.reference-sources {
    background-color: #f8f9fa;
    margin: 0;
    padding: 10px 15px;
    border-top: 1px solid #e9ecef;
}

.source-info {
    display: flex;
    align-items: center;
    font-size: 0.85em;
    color: #666;
}

.confidence-indicator {
    text-align: right;
    margin: 0 !important;
    padding: 5px 0 !important;
    font-size: 0.9em !important;
}

.ai-note {
    font-size: 0.8em;
    color: #666;
    font-style: italic;
    text-align: center;
    margin-top: 5px;
}

.input-area {
    display: flex;
    padding: 15px;
    background-color: #f8f8f8;
    border-top: 1px solid #eaeaea;
}

#user-input {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid #d1d1d1;
    border-radius: 20px 0 0 20px;
    font-size: 15px;
    outline: none;
}

#user-input:focus {
    border-color: var(--hpe-green);
}

#send-button {
    padding: 12px 20px;
    background-color: var(--hpe-green);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 0 20px 20px 0;
    font-size: 15px;
    transition: background-color 0.3s ease;
}

#send-button:hover {
    background-color: #018a69;
}

/* 页脚样式 */
.page-footer {
    text-align: center;
    padding: 30px 20px;
    color: #666;
    background: transparent;
    margin-top: 40px;
}

.footer-content {
    max-width: 700px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
}

.footer-logo .x {
    font-size: 16px;
    opacity: 0.7;
}

.footer-links {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: #333;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    background-color: rgba(1, 169, 130, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    background-color: rgba(1, 169, 130, 0.2);
    transform: translateY(-2px);
}

.footer-logo .hpe {
    color: var(--hpe-green);
}

.disclaimer {
    font-size: 12px;
    margin-top: 10px;
    font-style: italic;
}

/* 动画类 */
.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.9s ease-out, transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    transform: translateY(30px);
}

.animate {
    opacity: 1;
    transform: translateY(0);
}

/* 添加下滑指示箭头 */
.scroll-indicator {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--medical-blue);
    font-size: 24px;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* 打字指示器样式 */
.typing-indicator {
    display: flex;
    align-items: center;
    padding: 10px 15px;
}
.typing-indicator span {
    height: 8px;
    width: 8px;
    background-color: var(--hpe-green);
    border-radius: 50%;
    display: inline-block;
    margin: 0 2px;
    animation: typing 1.4s infinite ease-in-out both;
}
.typing-indicator span:nth-child(1) {
    animation-delay: 0s;
}
.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}
.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}
@keyframes typing {
    0% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
    80%, 100% {
        transform: scale(0);
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-section h1 { font-size: 32px; }
    .hero-section p { font-size: 16px; }
    .feature-module {
        flex-direction: column;
        gap: 30px;
    }
    .feature-module.reverse {
        flex-direction: column-reverse;
        gap: 30px;
    }
    .animation-container {
        width: 250px; /* 在小屏幕上稍微缩小尺寸 */
        height: 250px;
        margin: 0 auto;
    }
    .demo-container {
        flex-direction: column;
    }
    .chat-interface {
        margin-bottom: 30px;
        height: auto; /* 在小屏幕上自适应高度 */
        min-height: 600px;
    }
    .demo-description {
        height: auto; /* 在小屏幕上自适应高度 */
        min-height: 600px;
    }
    .feature-cards { gap: 20px; }
    .feature-card { min-width: 44%; }
}

@media (max-width: 768px) {
    .hero-section h1 { font-size: 28px; }
    .hero-section p { font-size: 15px; }
    .platform-option { padding: 12px 15px; }
    .platform-option i { font-size: 24px; }
    .animation-container {
        width: 200px; /* 在更小屏幕上进一步缩小尺寸 */
        height: 200px;
    }
    .feature-cards { gap: 20px; }
    .feature-card { min-width: 44%; }
    
    /* 移动设备导航栏优化 */
    .top-nav {
        padding: 15px 0;
    }
    .top-nav.scrolled {
        padding: 10px 15px;
    }
    .top-nav .logo svg {
        width: 80px;
        height: 25px;
    }
    .top-nav .logo .logo-subtitle {
        font-size: 10px;
    }
    .partner-logo span:first-child {
        font-size: 20px;
    }
    .contest-badge {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .hero-section { padding: 40px 15px 30px; }
    .feature-module,
    .feature-module.reverse {
        margin-bottom: 52px;
    }
    .feature-description {
        width: 100%;
        text-align: left;
    }
    .platform-section { gap: 10px; }
    .platform-option {
        padding: 10px;
        min-width: 80px;
    }
    .platform-option i { font-size: 22px; }
    .platform-option span { font-size: 12px; }
    .feature-card { min-width: 100%; }
    .demo-description h3,
    .demo-description h4,
    .demo-description > p,
    .demo-description .feature-bullets {
        display: none;
    }
    .demo-description {
        min-height: auto;
        padding: 0;
        background: transparent;
        box-shadow: none;
        border: 0;
    }
    .hpe-powered {
        display: none;
    }
    .page-footer {
        margin-top: 16px;
        padding: 18px 14px 30px;
    }
    .footer-content {
        width: min(100%, 360px);
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }
    .footer-links,
    .footer-logo,
    .footer-subtitle {
        display: none;
    }
    .page-footer p {
        display: block;
        margin: 10px auto 0;
        max-width: 360px;
        color: #60717d;
        font-size: 14px;
        line-height: 1.65;
    }
    .page-footer .disclaimer {
        font-size: 12px;
        line-height: 1.65;
    }
    .section-title { font-size: 26px; }
    .animation-container {
        width: 180px; /* 在移动设备上的尺寸 */
        height: 180px;
    }
    
    /* 移动端消息宽度调整 */
    .message {
        width: 95%;
        max-width: 95%;
    }
}
