/* 首页专用样式 */

/* 通用样式 */
.home-section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.home-section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

/* 英雄区域样式 */
.home-hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.home-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/pattern.png') repeat;
    opacity: 0.1;
}

.home-hero-section .container {
    position: relative;
    z-index: 1;
}

.home-hero-section .display-4 {
    color: var(--title-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.home-hero-section .lead {
    color: var(--title-color);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.home-hero-buttons {
    margin-top: 2rem;
}

.home-hero-buttons .btn {
    padding: 0.8rem 2rem;
    font-weight: 500;
    text-transform: none;
    transition: all 0.3s ease;
}

/* 功能区域样式 */
.home-features-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.home-feature-card {
    transition: transform 0.3s ease;
    background: #fff;
    border-radius: 10px;
}

.home-feature-card:hover {
    transform: translateY(-10px);
}

.home-feature-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-feature-title {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.home-feature-text {
    color: #6c757d;
    line-height: 1.6;
}

/* 系统优势样式 */
.home-benefits-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.home-benefits-section img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.home-benefit-item {
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
}

.home-benefit-item:hover {
    transform: translateX(10px);
}

.home-benefit-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.home-benefit-content h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.home-benefit-content p {
    color: #6c757d;
    line-height: 1.6;
}

/* 用户反馈样式 */
.home-testimonials-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.home-testimonial-card {
    margin: 20px 40px;
    border-radius: 10px;
}

.home-testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2c3e50;
}

.home-testimonial-name {
    font-weight: 600;
    color: #2c3e50;
}

.home-testimonial-title {
    font-size: 0.9rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: #0d6efd;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev {
    left: -20px;
}

.carousel-control-next {
    right: -20px;
}

/* 行动号召区域样式 */
.home-cta-section {
    background: linear-gradient(135deg, #0a58ca 0%, #0d6efd 100%);
    padding: 80px 0;
}

.home-cta-section h2 {
    color: var(--title-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.home-cta-section .lead {
    color: var(--title-color);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.home-cta-section .btn {
    padding: 0.8rem 2rem;
    font-weight: 500;
    margin: 0.5rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .home-hero-section {
        padding: 40px 0;
    }
    
    .home-section-title {
        font-size: 2rem;
    }
    
    .home-testimonial-card {
        margin: 20px 10px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
    
    .home-hero-buttons .btn {
        margin: 0.5rem;
        width: 90%;
    }
    
    .home-feature-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .home-section-title {
        font-size: 1.8rem;
    }
    
    .home-hero-section .display-4 {
        font-size: 2rem;
    }
    
    .home-hero-section .lead {
        font-size: 1.1rem;
    }
}