/* ========================================
   首页专属样式 - 全屏视差布局
   ======================================== */

/* Hero Section - 全屏视差 */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-beige) 0%, var(--color-cream) 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 64px;
    color: var(--color-brown-dark);
    margin-bottom: 25px;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--color-text-light);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s both;
}

/* 圆形放射入口 */
.features-circle {
    padding: 120px 0;
    background: var(--color-cream);
    position: relative;
}

.circle-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.circle-center {
    text-align: center;
    margin-bottom: 80px;
}

.circle-center h2 {
    font-size: 48px;
    color: var(--color-brown-dark);
    margin-bottom: 20px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.feature-card {
    background: var(--color-cream);
    border-radius: var(--radius-large);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-medium);
    border: 2px solid transparent;
}

.feature-card:hover {
    border-color: var(--color-brown-light);
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-strong);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--color-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.feature-card h3 {
    font-size: 20px;
    color: var(--color-brown-dark);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--color-text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* 非对称网格展示区 */
.showcase-asymmetric {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-beige) 100%);
}

.asymmetric-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.asymmetric-content {
    padding: 50px;
}

.asymmetric-content h2 {
    font-size: 42px;
    color: var(--color-brown-dark);
    margin-bottom: 25px;
}

.asymmetric-content p {
    color: var(--color-text-light);
    font-size: 17px;
    line-height: 2;
    margin-bottom: 30px;
}

.asymmetric-image {
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-strong);
    transform: rotate(3deg);
    transition: var(--transition-medium);
}

.asymmetric-image:hover {
    transform: rotate(0deg) scale(1.02);
}

/* 数据展示区 */
.stats-section {
    padding: 100px 0;
    background: var(--color-brown-dark);
    color: var(--color-cream);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 56px;
    color: var(--color-yellow);
    margin-bottom: 10px;
    font-weight: bold;
}

.stat-item p {
    font-size: 18px;
    color: var(--color-beige);
}

/* CTA 区域 */
.cta-section {
    padding: 120px 0;
    background: url('../images/bg-cta.jpg') center/cover no-repeat;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(139, 90, 43, 0.85);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-content h2 {
    font-size: 48px;
    color: var(--color-cream);
    margin-bottom: 25px;
}

.cta-content p {
    font-size: 20px;
    color: var(--color-beige);
    margin-bottom: 40px;
    line-height: 1.8;
}

/* 动画关键帧 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 48px;
    }
    
    .asymmetric-grid {
        grid-template-columns: 1fr;
    }
    
    .asymmetric-image {
        order: -1;
        transform: rotate(0deg);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stat-item h3 {
        font-size: 42px;
    }
    
    .circle-center h2 {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
}
