/* 首页专属样式 */

/* 英雄区域 */
.hero-section {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-btn {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s;
}

.hero-btn:hover {
    background: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    color: #fff;
}

/* 关于我们 */
.about-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 16px;
    line-height: 2;
    color: #555;
    margin-bottom: 20px;
}

/* 核心优势 */
.advantages-section {
    padding: 80px 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.advantage-card {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.advantage-card:hover {
    transform: translateY(-8px);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #fff;
}

.advantage-card h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.advantage-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

/* 业务板块 */
.business-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.business-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    border-top: 4px solid #e74c3c;
    transition: all 0.3s;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.business-card h3 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.business-card .subtitle {
    color: #e74c3c;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
}

.business-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.business-card .stats {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.business-card .stats span {
    font-size: 14px;
    color: #7f8c8d;
}

.business-card .stats strong {
    color: #e74c3c;
    font-size: 18px;
}

.business-card .view-more {
    display: inline-block;
    margin-top: 15px;
    color: #e74c3c;
    font-weight: bold;
}

.business-card .view-more:hover {
    text-decoration: underline;
}

/* 数据展示 */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item h2 {
    font-size: 48px;
    color: #e74c3c;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 16px;
    opacity: 0.9;
}

/* 三明特色 */
.features-section {
    padding: 80px 0;
}

.features-content {
    max-width: 900px;
    margin: 0 auto;
}

.features-content p {
    font-size: 16px;
    line-height: 2;
    color: #555;
    margin-bottom: 20px;
    text-indent: 2em;
}

/* FAQ区域 */
.faq-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: #2c3e50;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: #e74c3c;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 500px;
}

.faq-answer p {
    color: #666;
    line-height: 1.8;
}

/* 响应式 */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .business-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item h2 {
        font-size: 36px;
    }
}
