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

@font-face {
    font-family: 'YueYuanGaiXiao';
    src: url('../assets/fonts/yueyuan-gaixiao.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

/* 添加全局圆润效果 */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(143, 195, 31, 0.3) transparent;
}

*::-webkit-scrollbar {
    width: 8px;
}

*::-webkit-scrollbar-track {
    background: transparent;
}

*::-webkit-scrollbar-thumb {
    background: rgba(143, 195, 31, 0.3);
    border-radius: 4px;
}

*::-webkit-scrollbar-thumb:hover {
    background: rgba(143, 195, 31, 0.5);
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(143, 195, 31, 0.08);
    z-index: 1000;
    padding: 1.2rem 0;
    box-shadow: 0 2px 20px rgba(143, 195, 31, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo {
    height: 45px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: normal;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #8FC31F;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8FC31F, #6B9A1A);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

/* 按钮样式 */
.btn-primary {
    background: linear-gradient(135deg, #8FC31F, #6B9A1A);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'YueYuanGaiXiao', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: normal;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(143, 195, 31, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(143, 195, 31, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #8FC31F;
    border: 2px solid #8FC31F;
    padding: 12px 26px;
    border-radius: 50px;
    font-family: 'YueYuanGaiXiao', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: normal;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 2px 10px rgba(143, 195, 31, 0.1);
}

.btn-secondary:hover {
    background: #8FC31F;
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(143, 195, 31, 0.3);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.2rem;
    border-radius: 60px;
}

/* 主页横幅 */
.hero {
    padding: 120px 0 80px;
    background-color: #f8f9fa; /* 占位背景色 */
    background-image: url('../assets/images/hero-bg.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    transition: background-image 0.3s ease;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.55) 100%);
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: normal;
    color: #8FC31F;
    margin-bottom: 3rem;
    line-height: 1.2;
    overflow: hidden;
    border-right: 3px solid #8FC31F;
    white-space: nowrap;
    animation: typing 4s steps(12, end) infinite, blink-caret 0.75s step-end infinite, fadeInOut 4s ease-in-out infinite;
    width: 0;
    opacity: 0;
}





@keyframes typing {
    0% {
        width: 0;
    }
    50% {
        width: 100%;
    }
    100% {
        width: 100%;
    }
}

@keyframes blink-caret {
    0%, 50% {
        border-color: transparent;
    }
    25%, 75% {
        border-color: #8FC31F;
    }
    100% {
        border-color: transparent;
    }
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    60% {
        opacity: 1;
    }
    85% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}



.hero-actions {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
}

.hero-action-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    min-width: 320px;
    max-width: 400px;
    box-shadow: 0 15px 35px rgba(143, 195, 31, 0.1);
    border: 1px solid rgba(143, 195, 31, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-action-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(143, 195, 31, 0.15);
    border-color: rgba(143, 195, 31, 0.2);
}

.hero-action-card h3 {
    font-size: 1.8rem;
    font-weight: normal;
    color: #333;
    margin-bottom: 1rem;
}

.hero-action-card p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.feature-tags {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.tag {
    background: linear-gradient(135deg, rgba(143, 195, 31, 0.1), rgba(107, 154, 26, 0.05));
    color: #8FC31F;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(143, 195, 31, 0.2);
    transition: all 0.3s ease;
}

.tag:hover {
    background: linear-gradient(135deg, rgba(143, 195, 31, 0.2), rgba(107, 154, 26, 0.1));
    transform: translateY(-2px);
}

/* 章节样式 */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 3rem;
    font-weight: normal;
    text-align: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #8FC31F, #6B9A1A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* AI健康部分新样式 */
.ai-health-section {
    margin-bottom: 6rem;
    padding: 3rem 0;
    position: relative;
}

.ai-health-section:last-child {
    margin-bottom: 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.section-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(143, 195, 31, 0.1);
}

.section-subtitle {
    font-size: 2.4rem;
    font-weight: normal;
    color: #333;
    margin: 0;
    line-height: 1.2;
    background: linear-gradient(135deg, #8FC31F, #6B9A1A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.section-description p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
    font-weight: normal;
}

/* 引擎网格布局 */
.engines-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.engine-card {
    background: white;
    border-radius: 32px;
    padding: 0;
    box-shadow: 0 15px 40px rgba(143, 195, 31, 0.1);
    border: 1px solid rgba(143, 195, 31, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    min-height: 400px;
}

.engine-card.reverse {
    grid-template-columns: 1fr 1.5fr;
}

.engine-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(143, 195, 31, 0.15);
    border-color: rgba(143, 195, 31, 0.2);
}

.engine-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8FC31F, #6B9A1A);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.engine-card:hover::before {
    transform: scaleX(1);
}

.engine-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.engine-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.engine-icon {
    font-size: 3.5rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(143, 195, 31, 0.15), rgba(107, 154, 26, 0.08));
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(143, 195, 31, 0.15);
    flex-shrink: 0;
}

.engine-header h4 {
    font-size: 2.2rem;
    font-weight: normal;
    color: #333;
    margin: 0;
    line-height: 1.3;
}

.engine-subtitle {
    font-size: 1.1rem;
    color: #8FC31F;
    background: rgba(143, 195, 31, 0.12);
    padding: 0.5rem 1.2rem;
    border-radius: 16px;
    margin-left: auto;
    font-weight: normal;
}

.engine-content {
    margin-bottom: 0;
}

.engine-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.engine-features li {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 1.2rem;
    line-height: 1.7;
    font-weight: normal;
    padding-left: 2rem;
    position: relative;
}

.engine-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8FC31F;
    font-weight: bold;
    font-size: 1.3rem;
}

.engine-features li:last-child {
    margin-bottom: 0;
}

.engine-features strong {
    color: #8FC31F;
    font-weight: normal;
    font-size: 1.3rem;
}

/* 新的描述文字样式 */
.engine-description {
    margin-top: 1.5rem;
}

.description-main {
    font-size: 1.3rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: normal;
    position: relative;
    padding-left: 0;
}

.description-main strong {
    color: #8FC31F;
    font-weight: normal;
    font-size: 1.4rem;
}

.description-sub {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0.8rem;
    font-weight: normal;
    position: relative;
    padding-left: 1.5rem;
}


.description-sub:last-child {
    margin-bottom: 0;
}

.engine-visual {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(143, 195, 31, 0.03) 0%, rgba(107, 154, 26, 0.01) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.engine-visual:hover img {
    transform: scale(1.05);
}

.engine-visual img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    display: block;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.8);
    padding: 1rem;
    box-shadow: 0 15px 35px rgba(143, 195, 31, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 暖宝健康智能体样式 */
.nuanbao-section {
    background: linear-gradient(135deg, rgba(143, 195, 31, 0.03) 0%, rgba(107, 154, 26, 0.02) 100%);
    border-radius: 32px;
    padding: 4rem 15rem;
    margin: 4rem 0;
    border: 1px solid rgba(143, 195, 31, 0.08);
    box-shadow: 0 10px 30px rgba(143, 195, 31, 0.05);
}

.nuanbao-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.nuanbao-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.nuanbao-intro h4 {
    font-size: 2rem;
    font-weight: normal;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.nuanbao-intro h4 {
    font-size: 2rem;
    font-weight: normal;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.nuanbao-features-simple {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-simple {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    border: 1px solid rgba(143, 195, 31, 0.1);
    transition: all 0.3s ease;
}

.feature-simple:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(143, 195, 31, 0.15);
    border-color: rgba(143, 195, 31, 0.2);
}

.feature-icon-simple {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(143, 195, 31, 0.1), rgba(107, 154, 26, 0.05));
    border-radius: 8px;
    flex-shrink: 0;
}

.feature-simple span:last-child {
    font-size: 1.1rem;
    color: #333;
    font-weight: normal;
}

.nuanbao-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    border: 1px solid rgba(143, 195, 31, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(143, 195, 31, 0.15);
    border-color: rgba(143, 195, 31, 0.2);
}

.feature-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(143, 195, 31, 0.1), rgba(107, 154, 26, 0.05));
    border-radius: 12px;
    flex-shrink: 0;
}

.feature-text h5 {
    font-size: 1.2rem;
    font-weight: normal;
    color: #333;
    margin: 0 0 0.3rem 0;
    line-height: 1.2;
}

.feature-text p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
    font-weight: normal;
}

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

.nuanbao-showcase {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(143, 195, 31, 0.15);
    transition: transform 0.3s ease;
    border: 2px solid rgba(143, 195, 31, 0.1);
}

.nuanbao-showcase:hover {
    transform: scale(1.05);
}

.nuanbao-showcase img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 2rem 1.5rem 1.5rem;
    color: white;
}

.overlay-content h5 {
    font-size: 1.4rem;
    font-weight: normal;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.overlay-content p {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
    font-weight: normal;
}

.bg-gradient {
    background: linear-gradient(135deg, rgba(143, 195, 31, 0.03) 0%, rgba(107, 154, 26, 0.01) 100%);
    position: relative;
}

.bg-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(143, 195, 31, 0.02) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(107, 154, 26, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

/* CTA按钮区域 */
.cta-section {
    text-align: right;
    margin-top: 2rem;
}

/* 健康研究 */
#research {
    padding-bottom: 120px;
}

.theory-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(143, 195, 31, 0.05), rgba(107, 154, 26, 0.02));
    border-radius: 24px;
    border: 1px solid rgba(143, 195, 31, 0.08);
}

.theory-title {
    font-size: 2.2rem;
    font-weight: normal;
    margin-bottom: 1rem;
    color: #333;
}

.theory-description {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.theory-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.theory-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(143, 195, 31, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(143, 195, 31, 0.05);
    position: relative;
    overflow: hidden;
}

.theory-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8FC31F, #6B9A1A);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.theory-card:hover::before {
    transform: scaleX(1);
}

.theory-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(143, 195, 31, 0.15);
    border-color: rgba(143, 195, 31, 0.1);
}

.theory-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.theory-icon {
    font-size: 2.5rem;
    padding: 0.8rem;
    background: linear-gradient(135deg, rgba(143, 195, 31, 0.1), rgba(107, 154, 26, 0.05));
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(143, 195, 31, 0.1);
    flex-shrink: 0;
}

.theory-header h4 {
    font-size: 1.6rem;
    font-weight: normal;
    color: #333;
    margin: 0;
}

.theory-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.theory-summary {
    font-size: 1.1rem;
    color: #8FC31F;
    font-weight: 500;
    line-height: 1.4;
    padding: 1rem;
    background: rgba(143, 195, 31, 0.05);
    border-radius: 12px;
    border-left: 4px solid #8FC31F;
}

.theory-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.8rem;
    background: rgba(143, 195, 31, 0.03);
    border-radius: 8px;
    transition: background 0.3s ease;
}

.detail-item:hover {
    background: rgba(143, 195, 31, 0.08);
}

.detail-label {
    font-weight: 500;
    color: #333;
    font-size: 1rem;
    min-width: 80px;
}

.detail-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
    text-align: right;
    flex: 1;
}

/* 添加动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* 为引擎卡片添加动画 */
.engine-card {
    animation: fadeInUp 0.6s ease-out;
}

.engine-card:nth-child(1) { animation-delay: 0.1s; }
.engine-card:nth-child(2) { animation-delay: 0.2s; }
.engine-card:nth-child(3) { animation-delay: 0.3s; }
.engine-card:nth-child(4) { animation-delay: 0.4s; }

/* 为暖宝部分添加动画 */
.nuanbao-text {
    animation: slideInLeft 0.8s ease-out;
}

.nuanbao-visual {
    animation: slideInRight 0.8s ease-out;
}

/* 为图标添加脉冲动画 */
.engine-icon:hover,
.feature-icon:hover {
    animation: pulse 1s ease-in-out;
}



/* 健康社 */
.community-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(143, 195, 31, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(143, 195, 31, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.4rem;
    font-weight: normal;
    margin-bottom: 0.5rem;
    color: white;
}

.gallery-overlay p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}



/* 页脚 */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1rem;
}

.footer-slogan {
    font-weight: normal;
    font-size: 1.8rem;
    color: #8FC31F;
    line-height: 1.3;
    text-align: left;
    background: linear-gradient(135deg, #8FC31F, #6B9A1A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    font-size: 1.4rem;
    font-weight: normal;
    margin-bottom: 1rem;
    color: #8FC31F;
}

.footer-section p {
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.5;
    margin: 0;
    text-align: left;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #8FC31F;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: #999;
}

.footer-bottom p {
    margin: 0.5rem 0;
}

.footer-bottom a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #8FC31F;
    text-decoration: underline;
}

/* 响应式设计 */

/* 大屏幕 (1200px以上) */
@media (min-width: 1200px) {
    .nav-link {
        font-size: 1.3rem;
    }
    
    .btn-primary,
    .btn-secondary {
        font-size: 1.2rem;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .section-subtitle {
        font-size: 2.2rem;
    }
    
    .section-logo {
        height: 45px;
    }
    
    .engines-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .engine-card,
    .engine-card.reverse {
        grid-template-columns: 1.5fr 1fr;
        min-height: 450px;
    }
    
    .nuanbao-content {
        gap: 3rem;
    }
    
    .research-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
    
    .smart-health-content {
        gap: 4rem;
    }
    
    .community-gallery {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

/* 中等屏幕 (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .nav-link {
        font-size: 1.2rem;
    }
    
    .btn-primary,
    .btn-secondary {
        font-size: 1.1rem;
    }
    
    .hero-title {
        font-size: 4.2rem;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .section-subtitle {
        font-size: 2rem;
    }
    
    .section-logo {
        height: 40px;
    }
    
    .engines-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .engine-card,
    .engine-card.reverse {
        grid-template-columns: 1.5fr 1fr;
        min-height: 420px;
    }
    
    .nuanbao-content {
        gap: 2.5rem;
    }
    
    .theory-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 1100px;
    }
    
    .smart-health-content {
        gap: 3.5rem;
    }
    
    .community-gallery {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

/* 小屏幕 (768px - 991px) */
@media (max-width: 991px) and (min-width: 769px) {
    .nav-link {
        font-size: 1.1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        font-size: 1rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 1.8rem;
    }
    
    .section-logo {
        height: 35px;
    }
    
    .engines-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .engine-card,
    .engine-card.reverse {
        grid-template-columns: 1.5fr 1fr;
        min-height: 400px;
    }
    
    .nuanbao-content {
        gap: 2rem;
    }
    
    .theory-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
        max-width: 1000px;
    }
    
    .smart-health-content {
        gap: 3rem;
    }
    
    .community-gallery {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* 平板和手机 (768px以下) */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-link {
        font-size: 1.1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        font-size: 1rem;
        padding: 10px 20px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-container {
        text-align: center;
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 3.5rem;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-subtitle {
        font-size: 1.6rem;
    }
    
    .section-logo {
        height: 30px;
    }
    
    .engines-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .engine-card,
    .engine-card.reverse {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .engine-content {
        padding: 2rem;
    }
    
    .nuanbao-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .nuanbao-section {
        padding: 2rem 1rem;
        margin: 3rem 0;
    }
    
    .hero-actions {
        justify-content: center;
        gap: 1.5rem;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-action-card {
        min-width: 280px;
        max-width: 100%;
        padding: 2rem;
    }
    
    .hero-action-card h3 {
        font-size: 1.6rem;
    }
    
    .hero-action-card p {
        font-size: 1rem;
    }
    
    .feature-tags {
        gap: 0.6rem;
    }
    
    .tag {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    #research {
        padding-bottom: 80px;
    }
    
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .theory-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
    }
    
    .theory-card {
        padding: 2rem;
    }
    
    .theory-header h4 {
        font-size: 1.6rem;
    }
    
    .theory-title {
        font-size: 1.8rem;
    }
    
    .theory-description {
        font-size: 1.1rem;
    }
    
    .value-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .value-item {
        padding: 1.5rem;
    }
    
    .ai-health-section {
        padding: 2rem 0;
        margin-bottom: 4rem;
    }
    
    .section-description p {
        font-size: 1.1rem;
    }
    
    .engine-card {
        padding: 1.5rem;
    }
    
    .engine-header h4 {
        font-size: 1.6rem;
    }
    
    .engine-features li {
        font-size: 0.9rem;
    }
    
    .engine-visual img {
        max-height: 250px;
    }
    
    .nuanbao-intro h4 {
        font-size: 1.8rem;
    }
    
    .nuanbao-intro p {
        font-size: 1rem;
    }
    
    .feature-item {
        padding: 0.8rem;
    }
    
    .feature-text h5 {
        font-size: 1.1rem;
    }
    
    .feature-text p {
        font-size: 0.85rem;
    }
    
    .nuanbao-showcase img {
        height: 300px;
    }
    
    .community-gallery {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .gallery-item {
        aspect-ratio: 3/2;
    }
    
    .gallery-overlay h3 {
        font-size: 1.2rem;
    }
    
    .gallery-overlay p {
        font-size: 0.9rem;
    }
    

    
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-section h4 {
        font-size: 1.3rem;
    }
}

/* 小手机 (480px以下) */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .nav-container {
        padding: 0 10px;
    }
    
    .nav-link {
        font-size: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        font-size: 0.95rem;
        padding: 8px 16px;
    }
    
    .hero {
        padding: 80px 0 50px;
    }
    
    .hero-container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 3.2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-action-card {
        min-width: 260px;
        padding: 1.8rem;
    }
    
    .hero-action-card h3 {
        font-size: 1.5rem;
    }
    
    .hero-action-card p {
        font-size: 0.95rem;
    }
    
    .feature-tags {
        gap: 0.5rem;
    }
    
    .tag {
        font-size: 0.8rem;
        padding: 0.3rem 0.7rem;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    #research {
        padding-bottom: 60px;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
    
    .research-card {
        padding: 1.5rem;
    }
    
    .research-card h3 {
        font-size: 1.5rem;
    }
    
    .card-icon {
        font-size: 3rem;
        padding: 0.8rem;
    }
    
    .ai-health-section {
        padding: 1.5rem 0;
        margin-bottom: 3rem;
    }
    
    .section-description p {
        font-size: 1rem;
    }
    
    .engine-card {
        padding: 1.2rem;
    }
    
    .engine-header h4 {
        font-size: 1.4rem;
    }
    
    .engine-features li {
        font-size: 0.85rem;
    }
    
    .engine-visual img {
        max-height: 220px;
    }
    
    .nuanbao-intro h4 {
        font-size: 1.6rem;
    }
    
    .nuanbao-intro p {
        font-size: 0.95rem;
    }
    
    .feature-item {
        padding: 0.6rem;
    }
    
    .feature-text h5 {
        font-size: 1rem;
    }
    
    .feature-text p {
        font-size: 0.8rem;
    }
    
    .nuanbao-showcase img {
        height: 250px;
    }
    
    .gallery-item {
        aspect-ratio: 4/3;
    }
    
    .gallery-overlay h3 {
        font-size: 1.1rem;
    }
    
    .gallery-overlay p {
        font-size: 0.85rem;
    }
    

    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section h4 {
        font-size: 1.2rem;
    }
}

/* 超小屏幕 (360px以下) */
@media (max-width: 360px) {
    .container {
        padding: 0 8px;
    }
    
    .nav-container {
        padding: 0 8px;
    }
    
    .nav-link {
        font-size: 0.95rem;
    }
    
    .btn-primary,
    .btn-secondary {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    .hero {
        padding: 70px 0 40px;
    }
    
    .hero-container {
        padding: 0 8px;
    }
    
    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .hero-action-card {
        min-width: 240px;
        padding: 1.5rem;
    }
    
    .hero-action-card h3 {
        font-size: 1.4rem;
    }
    
    .hero-action-card p {
        font-size: 0.9rem;
    }
    
    .feature-tags {
        gap: 0.4rem;
    }
    
    .tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    #research {
        padding-bottom: 50px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .theory-card {
        padding: 1.2rem;
    }
    
    .theory-header h4 {
        font-size: 1.4rem;
    }
    
    .theory-title {
        font-size: 1.6rem;
    }
    
    .theory-description {
        font-size: 1rem;
    }
    
    .value-item {
        padding: 1.2rem;
    }
    
    .value-item h4 {
        font-size: 1.2rem;
    }
    

    
    .ai-health-section {
        padding: 1rem 0;
        margin-bottom: 2rem;
    }
    
    .section-description p {
        font-size: 0.95rem;
    }
    
    .engine-card {
        padding: 1rem;
    }
    
    .engine-header h4 {
        font-size: 1.3rem;
    }
    
    .engine-features li {
        font-size: 0.8rem;
    }
    
    .engine-visual img {
        max-height: 200px;
    }
    
    .nuanbao-intro h4 {
        font-size: 1.4rem;
    }
    
    .nuanbao-intro p {
        font-size: 0.9rem;
    }
    
    .feature-item {
        padding: 0.5rem;
    }
    
    .feature-text h5 {
        font-size: 0.9rem;
    }
    
    .feature-text p {
        font-size: 0.75rem;
    }
    
    .nuanbao-showcase img {
        height: 200px;
    }
    
    .gallery-item {
        aspect-ratio: 3/2;
    }
    
    .gallery-overlay h3 {
        font-size: 1rem;
    }
    
    .gallery-overlay p {
        font-size: 0.8rem;
    }
    

    
    .footer {
        padding: 1.5rem 0 0.8rem;
    }
    
    .footer-content {
        gap: 1rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
}

/* App下载二维码模态框样式 */
.qr-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.qr-modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.qr-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
    transition: color 0.3s ease;
}

.qr-close:hover,
.qr-close:focus {
    color: #8FC31F;
}

.qr-modal-content h3 {
    color: #333;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.qr-container {
    text-align: center;
}

.qr-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 1rem;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.qr-container p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .qr-modal-content {
        margin: 20% auto;
        padding: 1.5rem;
        width: 95%;
    }
    
    .qr-image {
        width: 180px;
        height: 180px;
    }
    
    .qr-modal-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .qr-modal-content {
        margin: 25% auto;
        padding: 1rem;
    }
    
    .qr-image {
        width: 160px;
        height: 160px;
    }
    
    .qr-modal-content h3 {
        font-size: 1.2rem;
    }
    
    .qr-container p {
        font-size: 0.9rem;
    }
}

/* 联系我们模态框样式 */
.contact-container {
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    font-size: 2rem;
    margin-right: 1rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8FC31F 0%, #6B8E23 100%);
    border-radius: 50%;
    color: white;
    box-shadow: 0 4px 10px rgba(143, 195, 31, 0.3);
}

.contact-info {
    text-align: left;
}

.contact-info h4 {
    color: #333;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-info p {
    color: #666;
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

/* 联系我们模态框响应式设计 */
@media (max-width: 768px) {
    .contact-item {
        padding: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .contact-icon {
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
        margin-right: 0.8rem;
    }
    
    .contact-info h4 {
        font-size: 1rem;
    }
    
    .contact-info p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .contact-item {
        padding: 0.6rem;
        margin-bottom: 0.8rem;
    }
    
    .contact-icon {
        font-size: 1.3rem;
        width: 35px;
        height: 35px;
        margin-right: 0.6rem;
    }
    
    .contact-info h4 {
        font-size: 0.9rem;
    }
    
    .contact-info p {
        font-size: 0.8rem;
    }
}
