/* =========================================
   0. 全局背景系统
   ========================================= */
.bg-grid-container {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 30%, #f0f7ff 70%, #f8fafc 100%);
}

.bg-grid-container .bg-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    transform: perspective(800px) rotateX(55deg);
    transform-origin: center center;
    /* 移除持续移动动画，改为静态以提升性能 */
}

.bg-grid-container .bg-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, transparent 0%, rgba(255, 255, 255, 0.9) 60%, rgba(255, 255, 255, 1) 100%);
}

/* 移除 bgGridMove 动画定义 */

.glow-orb {
    position: absolute;
    border-radius: 50%;
    /* 彻底移除 filter: blur() 以消除 GPU 实时模糊计算负担 */
    opacity: 0.35; /* 略微调高透明度以抵消移除模糊后的视觉减弱 */
    pointer-events: none;
    z-index: -1;
}

/* =========================================
   1. 首页主要内容区 (Hero Section)
   ========================================= */

/* 背景装饰元素 */
.background-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.blur-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px); /* 降低模糊半径从 120px 到 80px */
    will-change: transform;
}

.blur-circle-1 {
    background: color-mix(in srgb, var(--primary-color-light), transparent 90%);
    width: 320px;
    height: 320px;
    top: 129.83px;
    right: 458.02px;
}

.blur-circle-2 {
    background: color-mix(in srgb, var(--primary-color), transparent 92%);
    width: 384px;
    height: 384px;
    top: 126.67px;
    right: -22px;
}

/* 内容容器 */
.content-container {
    display: flex;
    align-items: center;
    gap: 48px;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 149px;
    position: relative;
    z-index: 10;
    margin-top: 80px;
}

/* 左侧文字内容 */
.text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    max-width: 50%;
    animation: fadeInUp 0.8s ease-out;
}

.main-title {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-color-light) 50%, color-mix(in srgb, var(--primary-color), white 50%) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 5rem;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.subtitle {
    color: #6B7280;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 30px;
    letter-spacing: 0;
}

/* 操作按钮 */
.action-buttons {
    display: flex;
    gap: 24px;
    margin-bottom: 27px;
    margin-top: 10px;
    align-items: center;
}

.primary-button {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-color-light) 100%);
    box-shadow: 0px 10px 15px -3px color-mix(in srgb, var(--primary-color), white 70%), 0px 4px 6px -4px color-mix(in srgb, var(--primary-color), white 70%);
    border-radius: 9999px;
    border: none;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    padding: 17px 32px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0px 15px 20px -3px color-mix(in srgb, var(--primary-color), white 70%), 0px 6px 8px -4px color-mix(in srgb, var(--primary-color), white 70%);
}

.secondary-button {
    background: transparent;
    border: 1px solid var(--primary-color-light);
    border-radius: 9999px;
    box-shadow: 0px 4px 6px -1px var(--primary-color-lighter), 0px 2px 4px -2px var(--primary-color-lighter);
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    padding: 17px 33px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.secondary-button:hover {
    background: var(--primary-color-light);
    color: #FFFFFF;
}

.play-icon {
    width: 20px;
    height: 20px;
}

/* 右侧图片内容 */
.image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 50%;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.main-image-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    width: 818.99px;
    height: 554px;
}

.main-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: productFloat 6s ease-in-out infinite;
    transform-origin: center center;
}

/* 主产品图片悬浮动画 - 简化版 */
@keyframes productFloat {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -15px, 0); }
}

/* 底部Logo区域 */
.bottom-logo-section {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 80px 0;
}

.bottom-logo-container {
    background: #FFFFFF;
    box-shadow: 0px 1px 2px 0px color-mix(in srgb, var(--primary-color-light), transparent 90%);
    border: 1px solid #D6E4FF;
    border-radius: 8px;
    padding: 23.5px 50.75px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bottom-logo {
    width: 146.49px;
    height: 29.15px;
}

/* =========================================
   3. 数据统计区域 (Stats Section)
   ========================================= */
.stats-section {
    background: #FFFFFF;
    padding: 80px 0;
    border-top: 1px solid #E5E7EB;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 0 32px;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: #6B7280;
    font-weight: 500;
}

/* =========================================
   7. 用户评价区域 (Testimonials Section)
   ========================================= */
.testimonials-section {
    background: #FFFFFF;
    padding: 100px 0;
}

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

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.testimonial-card {
    padding: 32px;
}

.stars {
    color: #FCD34D;
    font-size: 20px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 16px;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.author-name {
    font-weight: 600;
    color: #1F2937;
}

.author-title {
    font-size: 14px;
    color: #6B7280;
}

/* =========================================
   8. FAQ 常见问题区域 (已移至组件内联以提高优先级)
   ========================================= */

/* 响应式调整 */
@media (max-width: 640px) {
    .faq-question {
        padding: 1rem;
    }
    
    .question-text {
        font-size: 1rem;
    }
    
    .answer-content {
        padding: 0 1rem 1rem 1rem;
    }
}

/* =========================================
   9. 最新文章区域
   ========================================= */
.posts-section .post-card {
    /* 使用通用卡片样式 */
}

