/* =================================== */
/* 全局变量 & 基础样式 */
/* =================================== */
:root {
	--primary: #0A4AAA;
	--primary-light: #E1EDFF;
	--accent: #B89658;
	--dark: #0F172A;
	--gray: #475569;
	--light-gray: #94a9c3;
	--light: #F8FAFC;
	--radius: 18px;
	--shadow: 0 8px 30px rgba(10,74,170,0.08);
	/* 全局统一卡片动效参数 */
	--card-transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
	--card-hover-translate: translateY(-8px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "Microsoft YaHei", sans-serif; line-height: 1.7; color: var(--dark); overflow-x: hidden; }
img { max-width: 100%; display: block; height: auto; }
ul, li { list-style: none; }

.container { max-width: 1300px; width: 100%; margin: 0 auto; }
.section { padding: 80px 0; }

/* 公共标题样式 */
.section__title { font-size: 40px; font-weight: 700; text-align: center; margin-bottom: 20px; position: relative; }
.section__title span { background: linear-gradient(90deg, #0A4AAA, #2F80ED); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section__title::after { content: ""; width: 80px; height: 4px; background: linear-gradient(90deg, #0A4AAA, #2F80ED); position: absolute; left: 50%; transform: translateX(-50%); bottom: -18px; border-radius: 99px; }
.section__subtitle { text-align: center; font-size: 18px; color: var(--gray); max-width: 800px; margin: 0 auto 50px; line-height: 1.8; }

/* 滚动动画 */
.scroll-animate { opacity: 0; transform: translateY(40px); transition: var(--card-transition); will-change: transform, opacity; }
.scroll-animate.active { opacity: 1; transform: translateY(0); }

/* 全局卡片通用样式：统一过渡 */
.pain-card, .course-card, .detail-card, .strength-card, .case-card {
	transition: var(--card-transition);
}
/* 全局卡片悬浮：统一位移动画 */
.pain-card:hover, .course-card:hover, .detail-card:hover, .strength-card:hover, .case-card:hover {
	transform: var(--card-hover-translate);
}

/* =================================== */
/* 首屏 Banner */
/* =================================== */
@keyframes bannerFade { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.banner { width: 100%; padding: 70px 0; background: -webkit-linear-gradient(135deg, #0A4AAA, #2F80ED); background: linear-gradient(135deg, #0A4AAA, #2F80ED); min-height: 70vh; display: flex; align-items: center; animation: bannerFade 0.8s ease forwards; overflow: visible; }
.banner__container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.banner__content { width: 60%; text-align: left; }
.banner__sub { font-size: 16px; color: #FFD166; margin-bottom: 12px; font-weight: 400; }
.banner__title { font-size: 56px; line-height: 1.3; color: #fff; margin-bottom: 14px; font-weight: 700; }
.banner__title span { color: #FFD166; }
.banner__slogan { font-size: 22px; color: #E8F1FF; margin: 0 0 18px; font-weight: 600; }
.banner__desc { font-size: 18px; color: #DCE8FB; margin-bottom: 32px; line-height: 1.8; }
.banner__trust { display: flex; gap: 30px; margin-bottom: 36px; flex-wrap: wrap; }
.banner__trust li { font-size: 16px; color: #E8F1FF; }
.banner__btns { display: flex; gap: 18px; flex-wrap: wrap; }
.btn { padding: 15px 30px; border-radius: 50px; font-size: 16px; font-weight: 500; transition: 0.3s ease; display: inline-block; text-decoration: none; }
.btn--primary { background: #FF6C00; color: #fff; border: none; }
.btn--primary:hover { background: #e05f00; color: #fff; box-shadow: 0 6px 16px rgba(255, 108, 0, 0.25); transform: translateY(-8px); }
.btn--outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn--outline:hover { background: #fff; color: #0A4AAA; transform: translateY(-8px); }
.note { margin-top: 16px; font-size: 14px; color: #a0b3d1; }
.banner__media { width: 40%; display: flex; justify-content: flex-end; }
.banner-course { width: 90%; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12); }
.banner-course__top { position: relative; }
.banner-course__top img { width: 100%; }
.banner-course__tag { position: absolute; top: 0; left: 0; background: #ffd166; padding: 5px 15px; border-radius: 0 0 18px 0; color: #333; }
.banner-course__num { position: absolute; top: 10px; right: 15px; color: #fff; text-align: right; }
.banner-course__num span { display: block; font-size: 12px; }
.banner-course__body { padding: 20px; }
.banner-course__title { font-size: 18px; font-weight: 700; line-height: 1.5; margin-bottom: 10px; }
.banner-course__title a { color: #333; text-decoration: none; }
.banner-course__time { font-size: 14px; color: #888; line-height: 1.6; margin-bottom: 15px; }
.banner-course__price { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.banner-course__price .price-left { align-items: center; gap: 15px; color: #888; }
.banner-course__price span { color: #c81010; font-size: 18px; font-weight: bold; }
.banner-course__price del { color: #888; font-size: 14px; padding-left: 10px; }
.banner-course__btn { background: #c81010; color: #fff; padding: 5px 15px; border-radius: 20px; font-size: 14px; font-weight: 500; transition: 0.3s; }
.banner-course__btn:hover { background: #a90c0c; color: #fff; transform: translateY(-8px); transition: 0.3s; }

/* =================================== */
/* 痛点板块 */
/* =================================== */
.pain-points { background: var(--light); }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pain-card { background: #fff; padding: 40px 30px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(10, 74, 170, .06); }
.pain-card i { font-size: 40px; color: var(--primary); margin-bottom: 18px; }
.pain-card__title { font-size: 24px; margin-bottom: 14px; font-weight: 700; }
.pain-card__desc { font-size: 18px; color: var(--gray); line-height: 1.7; }
.pain-footer { text-align: center; margin-top: 60px; font-size: 24px; font-weight: 600; }

/* =================================== */
/* 课程板块 */
/* =================================== */
.course-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.course-card { background: linear-gradient(135deg, #0037ad, #0058d0); text-align: center; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.course-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.course-card__desc { color: #fff; font-size: 18px; padding: 15px; }

/* =================================== */
/* 课程详情板块 */
/* =================================== */
.course-detail { background: var(--light); }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
.detail-card { background: #fff; padding: 50px 40px; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 3px solid var(--primary); }
.detail-card__title { font-size: 24px; margin-bottom: 14px; font-weight: 700; }
.detail-card__subtitle { font-size: 16px; color: var(--gray); margin-bottom: 20px; }
.detail-card p { font-size: 18px; margin-bottom: 24px; }
.detail-card ul { margin: 24px 0; padding-left: 0; }
.detail-card li { margin-bottom: 12px; position: relative; padding-left: 30px; color: var(--gray); font-size: 16px; line-height: 1.6; list-style: none; }
.detail-card li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; position: absolute; left: 0; color: var(--primary); font-weight: bold; font-size: 18px; }
.detail-card__tip { margin-top: 24px; color: var(--accent); font-weight: 600; font-size: 18px; }

/* =================================== */
/* 讲师板块 */
/* =================================== */
.teacher { width: 100%; background: #000; padding: 80px 0 0; color: #fff; }
.teacher-box { max-width: 1300px; margin: 0 auto; display: flex; align-items: center; flex-wrap: wrap; }
.teacher-l { width: 40%; padding-right: 50px; display: flex; justify-content: flex-end; }
.teacher-l img { max-height: 600px; object-fit: contain; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
.teacher-r { width: 60%; }
.teacher-r .title { font-size: 50px; font-weight: 600; margin: 20px 0; color: #fff; }
.teacher-r .tag { font-size: 26px; line-height: 40px; color: #eee; display: block; }
.teacher-r .info { font-size: 18px; padding: 20px 0; line-height: 30px; }
.teacher-r .desc { font-size: 16px; color: #ccc; padding-top: 20px; line-height: 1.8; }

/* =================================== */
/* 实力板块 */
/* =================================== */
.strength-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.strength-card { padding: 45px 30px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(10, 74, 170, .06); }
.strength-card i { font-size: 44px; color: var(--primary); margin-bottom: 22px; }
.strength-card__title { font-size: 24px; margin-bottom: 14px; font-weight: 700; }
.strength-card__desc { color: var(--gray); line-height: 1.8; font-size: 18px; }

/* =================================== */
/* 案例板块 */
/* =================================== */
.cases { background: var(--light); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case-card { background: #fff; padding: 40px 32px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(10, 74, 170, .06); position: relative; }
.case-card::before { content: "\201C"; font-size: 80px; color: rgba(10, 74, 170, .1); position: absolute; top: 10px; left: 20px; }
.case-card__title { font-weight: 700; font-size: 18px; margin-bottom: 15px; }
.case-card__before { font-size: 16px; color: var(--light-gray); margin-bottom: 10px; line-height: 1.6; }
.case-card__after { font-size: 16px; color: var(--gray); margin-bottom: 15px; line-height: 1.6; }
.case-card__content { font-size: 16px; padding-top: 16px; border-top: 1px dashed #999; margin-top: 10px; line-height: 1.6; }
.case-card__name { color: var(--primary); font-weight: 600; margin-top: 18px; text-align: right; }

/* =================================== */
/* FAQ板块 */
/* =================================== */
.faq-item { max-width: 900px; margin: 0 auto 24px; padding-bottom: 20px; border-bottom: 1px solid #E2E8F0; }
.faq-item__title { font-size: 20px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.faq-item__title i { color: var(--primary); }
.faq-item__desc { color: var(--gray); font-size: 16px; line-height: 1.8; }

/* =================================== */
/* 报名板块 */
/* =================================== */
.lesson_apply_section { width: 100%; background: #0F172A; padding: 100px 0; }
.lesson_apply_container { max-width: 1300px; width: 100%; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: flex-start; }
.apply_col { flex: 0 0 auto; }
.col_left { width: 40%; display: flex; justify-content: flex-start; }
.col_right { width: 55%; color: #fff; margin-left: auto; }
.lesson_info_card { display: flex; align-items: flex-start; }
.lesson_thumb_box { width: 125px; height: 125px; position: relative; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.lesson_verify_icon { position: absolute; width: 20px; height: 20px; z-index: 9; }
.lesson_thumb_img { width: 100%; height: 100%; object-fit: cover; }
.lesson_info_body { padding-left: 20px; color: #999; }
.lesson_info_title { font-size: 22px; color: #fff; margin-bottom: 10px; }
.lesson_info_meta { margin-bottom: 10px; }
.lesson_hits { color: #999; }
.lesson_info_summary { font-size: 16px; line-height: 1.6; }
.form_qr_wrap { display: flex; align-items: center; width: 100%; gap: 30px; }
.lesson_form_box { flex: 1; }
.lesson_qrcode_wrap { flex: 0 0 180px; text-align: center; color: #ccc; }
.lesson_qrcode_wrap img { width: 150px; height: 150px; margin: 0 auto 10px; object-fit: contain; }
.lesson_qrcode_wrap p { font-size: 16px; }
.form_box_header { margin-bottom: 20px; }
.form_box_header span { font-size: 24px; font-weight: bold; }
.form_box_header p { color: #999; font-size: 16px; margin-top: 8px; }
.form_box_header p i { color: #f00; margin-right: 6px; }

/* =================================== */
/* 底部 */
/* =================================== */
.footer { text-align: center; padding: 50px 0; background: #fff; }
.footer p { font-size: 24px; color: #0A4AAA; opacity: 0.9; font-weight: bold; }

/* =================================== */
/* 平板响应式 769px ~ 1024px */
/* =================================== */
@media only screen and (max-width: 1024px) and (min-width: 769px) {
	.section { padding: 60px 20px; }
	.section__title { font-size: 34px; }
	.section__subtitle { font-size: 17px; }
	.banner__container, .banner__content, .banner__media { flex-direction: column; width: 100%; gap: 40px; text-align: center; justify-content: center; }
	.banner-course { width: 90%; margin: auto;}
	.banner-course__body {padding: 20px; text-align: left;}
	.banner__trust, .banner__btns { justify-content: center; }
	.banner__title { font-size: 48px; }
	.banner__slogan { font-size: 20px; }
	.banner__desc { font-size: 17px; }
	.pain-grid, .course-grid, .strength-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
	.pain-card__title, .detail-card__title, .strength-card__title { font-size: 22px; }
	.pain-card__desc, .detail-card p, .detail-card li, .strength-card__desc { font-size: 17px; }
	.pain-footer { font-size: 22px; }
	.teacher-box { padding: 0 20px; }
	.teacher-l { width: 55%; padding-right: 30px; }
	.teacher-r { width: 45%; padding-bottom: 30px; }
	.teacher-r .title { font-size: 42px; }
	.teacher-r .tag { font-size: 22px; }
	
	/* 报名板块：隐藏左侧+二维码，仅保留表单 */
	.lesson_apply_section {padding: 60px 0;}
	.col_left, .lesson_qrcode_wrap { display: none !important; }
	.col_right, .lesson_form_box { width: 90% !important;margin: 0 auto; }
	.lesson_apply_container { justify-content: center !important; }
}

/* =================================== */
/* 手机响应式 0 ~ 768px */
/* =================================== */
@media only screen and (max-width: 768px) {
	.container { padding: 0 15px; }
	.section { padding: 20px 0; }
	.section__title { font-size: 26px; margin-bottom: 15px; }
	.section__subtitle { font-size: 16px; }
	.pain-footer {margin-top: 20px;font-size: 14px;
 
}
	/* Banner手机端优化 */
	.banner { display: flex !important; min-height: auto !important; padding: 40px 0 !important; }
	.banner__container { flex-direction: column !important; gap: 30px !important; }
	.banner__content, .banner__media { width: 100% !important; text-align: center !important; justify-content: center !important; }
	.banner__sub { font-size: 14px; margin-bottom: 10px; letter-spacing: 1px; }
	.banner__title { font-size: 30px; line-height: 1.4; margin-bottom: 12px; font-weight: 900 !important; }
	.banner__slogan { font-size: 17px; margin: 0 0 15px; line-height: 1.5; }
	.banner__desc { font-size: 15px; line-height: 1.7; margin-bottom: 24px; }
	.banner__trust { gap: 16px 24px; margin-bottom: 28px; justify-content: center; }
	.banner__trust li { font-size: 14px; }
	.banner__btns { flex-direction: column; align-items: center; gap: 14px; }
	.btn { width: 220px; padding: 12px 28px; font-size: 15px; }
	.note { margin-top: 12px; font-size: 13px; }
	.banner-course { width: 100%;}
	.banner-course__body {padding: 15px; text-align: left;}
	
	.pain-card, .detail-card, .strength-card, .case-card {padding: 20px;}
	.pain-card__title, .detail-card__title, .strength-card__title{font-size: 20px;margin-bottom: 10px;}
	.pain-card__desc, .strength-card__desc {font-size: 16px;}
	.detail-card li {margin-bottom: 10px;}

	/* 网格全部单列适配 */
	.pain-grid, .course-grid, .detail-grid, .strength-grid, .case-grid { grid-template-columns: 1fr; }

	/* 讲师板块手机适配 */
	.teacher-box { flex-direction: column; padding: 0 15px 20px; }
	.teacher-l, .teacher-r { width: 100%; padding: 0; text-align: center; justify-content: center; }
	.teacher-l img { margin: 0 auto 30px; }
	.teacher-r .title { font-size: 36px; }
	.teacher-r .tag { font-size: 20px; }

	/* 报名板块：隐藏左侧+二维码，仅保留表单 */
	.lesson_apply_section {padding: 60px 0;}
	.col_left, .lesson_qrcode_wrap { display: none !important; }
	.col_right, .lesson_form_box { width: 90% !important;margin: 0 auto; }
	.lesson_apply_container { justify-content: center !important; }
}