/**
 * 首页专属样式
 */

/* ===== Hero 首屏 ===== */
.edu-hero {
    position: relative; min-height: 100vh; display: flex;
    align-items: center; justify-content: center; overflow: hidden;
    padding-top: 64px; /* 避免被 fixed 导航栏遮挡 */
    background: linear-gradient(135deg, var(--edu-primary) 0%, #0d1f3c 40%, var(--edu-tech-blue) 100%);
}
.edu-hero__particles {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
}
.edu-hero__content {
    position: relative; z-index: 2; text-align: center; padding: 0 24px;
    max-width: 800px; margin: 0 auto;
}
.edu-hero__title {
    font-size: 3rem; font-weight: 800; color: #fff; line-height: 1.25;
    margin-bottom: 20px; letter-spacing: -0.01em;
}
.edu-hero__title span { color: var(--edu-gold); }
.edu-hero__subtitle {
    font-size: 1.25rem; color: rgba(255,255,255,0.7); margin-bottom: 40px;
    line-height: 1.6;
}
.edu-hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }

/* ===== 业务入口卡片（样式已在 main.css 统一定义，此处不再重复） ===== */

/* ===== 优势特点 ===== */
.edu-features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.edu-feature-card {
    text-align: center; padding: 40px 24px;
    background: #fff; border-radius: var(--edu-radius);
    box-shadow: var(--edu-shadow); transition: all 0.3s;
}
.edu-feature-card:hover { transform: translateY(-4px); box-shadow: var(--edu-shadow-hover); }
.edu-feature-card__icon {
    width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
    background: var(--edu-bg-light);
}
.edu-feature-card__icon--gold { background: rgba(201,168,76,0.1); color: var(--edu-gold); }
.edu-feature-card__icon--blue { background: rgba(0,102,255,0.1); color: var(--edu-cta); }
.edu-feature-card__icon--green { background: rgba(0,168,107,0.1); color: var(--edu-green); }
.edu-feature-card__title { font-size: 1.125rem; font-weight: 600; margin-bottom: 8px; color: var(--edu-primary); }
.edu-feature-card__desc { font-size: 0.875rem; color: var(--edu-text-muted); line-height: 1.6; }

/* ===== 评价轮播 ===== */
.edu-reviews { position: relative; overflow: hidden; padding: 0 24px; }
.edu-reviews__track {
    display: flex; gap: 20px; transition: transform 0.5s ease;
}
.edu-review-card {
    flex: 0 0 calc(33.333% - 14px); min-width: 280px;
    background: #fff; border-radius: var(--edu-radius);
    padding: 24px; box-shadow: var(--edu-shadow);
    border-left: 3px solid var(--edu-gold);
}
.edu-review-card__text {
    font-size: 0.9rem; color: var(--edu-text); line-height: 1.7;
    margin-bottom: 16px; font-style: italic;
}
.edu-review-card__author { font-weight: 600; font-size: 0.875rem; color: var(--edu-primary); }
.edu-review-card__role { font-size: 0.75rem; color: var(--edu-text-muted); }

/* ===== 底部 CTA：测评 + 预约 ===== */
.edu-footer-cta__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
    margin-bottom: 8px;
}

.edu-footer-cta__buttons .edu-btn {
    min-width: 180px;
    padding: 16px 32px;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .edu-hero { padding-top: 70px; } /* 导航栏 56px + 额外间距，确保不被遮挡 */
    .edu-hero__title { font-size: 2rem; }
    .edu-hero__subtitle { font-size: 1rem; }
    .edu-features-grid { grid-template-columns: 1fr; }
    .edu-review-card { flex: 0 0 85vw; }
    .edu-footer-cta__buttons {
        gap: 12px;
    }
    .edu-footer-cta__buttons .edu-btn {
        min-width: 160px;
        padding: 14px 24px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .edu-footer-cta__buttons {
        flex-direction: column;
        align-items: center;
    }
    .edu-footer-cta__buttons .edu-btn {
        width: 100%;
        max-width: 280px;
    }
}
