:root {
	--primary-color: #004ea2;
	--primary-light: #2c80ff;
	--primary-dark: #003b7a;
	--secondary-color: #1f2833;
	--light-bg: #f8fafc;
	--dark-bg: #111827;
	--text-dark: #1f2937;
	--text-medium: #4b5563;
	--border-color: #e5e7eb;
	--gradient-tech: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
	--gradient-tech2: linear-gradient(to right, #004ea2 0%, #175daa 40%, #26d0ce 100%);
	--module-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	--gradient-main: linear-gradient(135deg, #004ea2 0%, #2c80ff 100%);
	--gradient-dark: linear-gradient(rgba(17, 24, 39, 0.85), rgba(17, 24, 39, 0.92));
	--hover-shadow: 0 8px 24px rgba(0, 78, 162, 0.15);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Microsoft YaHei", "Segoe UI", sans-serif;
}

body {
	color: var(--text-dark);
	background-color: var(--light-bg);
	line-height: 1.6;
	scroll-behavior: smooth;
}

a {
	text-decoration: none;
	color: inherit;
}

ul {
	list-style: none;
}

.container {
	width: 1152px;
	margin: 0 auto;
	padding: 0 15px;
}

/* 导航栏 - 与首页完全一致 */
.header-nav {
	background-color: #ffffff;
	border-bottom: 1px solid var(--border-color);
	box-shadow: var(--module-shadow);
	position: sticky;
	top: 0;
	z-index: 999;
}

.nav-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 70px;
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
}

.logo-img {
	width: 160px;
	height: 54px;
	object-fit: contain;
}

.nav-menu {
	display: flex;
	gap: 35px;
	align-items: center;
}

.nav-item {
	font-size: 15px;
	font-weight: 500;
	color: var(--text-dark);
	transition: color 0.3s;
	cursor: pointer;
	position: relative;
	padding: 20px 0;
}

.nav-item.active {
	color: #004ea2 !important;
	font-weight: 500 !important;
}

.nav-item:hover {
	color: var(--primary-color);
}

.nav-item.has-dropdown {
	padding-right: 15px;
}

.nav-item.has-dropdown::after {
	content: "\f078";
	font-family: "Font Awesome 6 Free";
	font-weight: 600;
	font-size: 10px;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}

.dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background-color: white;
	min-width: 250px;
	border-radius: 6px;
	box-shadow: var(--module-shadow);
	border: 1px solid var(--border-color);
	padding: 8px 0;
	display: none;
	z-index: 9999;
}

.nav-item.has-dropdown:hover .dropdown-menu {
	display: block;
}

.dropdown-menu:hover {
	display: block;
}

.dropdown-menu li a {
	display: block;
	padding: 12px 20px;
	font-size: 14px;
	color: var(--text-dark);
	transition: all 0.3s;
}

.dropdown-menu li a:hover {
	background-color: var(--light-bg);
	color: var(--primary-color);
	padding-left: 24px;
}

/* 右侧功能区 - 与首页完全一致 */
.nav-right {
	display: flex;
	align-items: center;
	gap: 25px;
	font-size: 15px;
	font-weight: 500;
}

/* 课程咨询按钮样式优化 - 添加二维码悬停功能 */
.contact-phone {
	background: var(--gradient-main);
	color: white;
	padding: 10px 20px;
	border-radius: 30px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(0, 78, 162, 0.2);
	position: relative;
}

.contact-phone:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(0, 78, 162, 0.3);
	background: var(--primary-dark);
	color: white;
}

/* 二维码悬停弹出效果 */
.qr-popup {
	position: absolute;
	top: 100%;
	right: 0;
	background: white;
	padding: 15px;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	display: none;
	z-index: 1000;
	margin-top: 10px;
	width: 180px;
	text-align: center;
	border: 1px solid var(--border-color);
}

.qr-popup::before {
	content: '';
	position: absolute;
	bottom: 100%;
	right: 20px;
	border-width: 8px;
	border-style: solid;
	border-color: transparent transparent white transparent;
}

.contact-phone:hover .qr-popup {
	display: block;
}

.qr-popup img {
	width: 150px;
	height: 150px;
	margin-bottom: 8px;
	border-radius: 4px;
}

.qr-popup p {
	font-size: 12px;
	color: var(--text-medium);
	margin: 0;
}

/* 移动端导航切换按钮 */
.mobile-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 24px;
	color: var(--text-dark);
	cursor: pointer;
}

/* === 优化的课程头部区域 === */
.course-header {
	padding: 80px 0 60px;
	background: linear-gradient(135deg, rgba(26, 41, 128, 0.08) 0%, rgba(38, 208, 206, 0.08) 100%),
		url('../img/java-ai.avif');
	background-size: cover;
	background-position: center;
	position: relative;
	overflow: hidden;
}

.course-header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(0, 78, 162, 0.85) 0%, rgba(26, 41, 128, 0.9) 100%);
	z-index: 1;
}

.course-header-content {
	position: relative;
	z-index: 2;
	color: white;
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
}

.course-badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.15);
	color: white;
	padding: 8px 20px;
	border-radius: 30px;
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 25px;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.course-main-title {
	font-size: 48px;
	font-weight: 800;
	margin-bottom: 20px;
	line-height: 1.2;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.course-subtitle {
	font-size: 20px;
	margin-bottom: 40px;
	opacity: 0.95;
	line-height: 1.6;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.course-highlights {
	display: flex;
	justify-content: center;
	gap: 30px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.highlight-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
	min-width: 160px;
}

.highlight-icon {
	width: 60px;
	height: 60px;
	background: rgba(255, 255, 255, 0.15);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	transition: all 0.3s ease;
}

.highlight-item:hover .highlight-icon {
	background: rgba(255, 255, 255, 0.25);
	transform: translateY(-5px);
}

.highlight-text {
	font-size: 15px;
	font-weight: 500;
}

.course-cta {
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
}

.btn-primary,
.btn-outline {
	padding: 16px 36px;
	border-radius: 12px;
	font-weight: 600;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.3s;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border: none;
	min-width: 200px;
}

.btn-primary {
	background: white;
	color: var(--primary-color);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
	background: rgba(255, 255, 255, 0.95);
}

.btn-outline {
	background: transparent;
	color: white;
	border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
	background: rgba(255, 255, 255, 0.1);
	transform: translateY(-3px);
	border-color: white;
}

/* === 优化的课程概述区域 === */
.course-overview {
	padding: 80px 0;
	background-color: white;
	position: relative;
}

.section-title {
	font-size: 40px;
	font-weight: 800;
	color: var(--secondary-color);
	margin-bottom: 20px;
	position: relative;
	padding-bottom: 15px;
	text-align: center;
}

.section-title::after {
	content: "";
	display: block;
	width: 80px;
	height: 4px;
	background: var(--gradient-main);
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	border-radius: 2px;
}

.section-subtitle {
	font-size: 18px;
	color: var(--text-medium);
	margin-bottom: 50px;
	max-width: 800px;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.7;
}

.overview-features {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
	margin-bottom: 60px;
}

.feature-card {
	background: var(--light-bg);
	border-radius: 16px;
	padding: 35px;
	border: 1px solid var(--border-color);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.feature-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: var(--gradient-main);
}

.feature-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--hover-shadow);
	border-color: var(--primary-color);
}

.feature-icon {
	width: 70px;
	height: 70px;
	background: linear-gradient(135deg, rgba(0, 78, 162, 0.1) 0%, rgba(26, 41, 128, 0.1) 100%);
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary-color);
	font-size: 30px;
	margin-bottom: 25px;
}

.feature-card h3 {
	font-size: 22px;
	font-weight: 700;
	color: var(--secondary-color);
	margin-bottom: 15px;
}

.feature-card p {
	color: var(--text-medium);
	line-height: 1.7;
	font-size: 15px;
}

/* 核心亮点展示 */
.core-highlights {
	background: linear-gradient(135deg, #f6f9ff 0%, #edf4ff 100%);
	border-radius: 16px;
	padding: 40px;
	margin-top: 40px;
}

.core-highlights h3 {
	font-size: 26px;
	color: var(--primary-color);
	margin-bottom: 25px;
	text-align: center;
}

.highlight-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 25px;
}

.highlight-item-card {
	background: white;
	border-radius: 12px;
	padding: 25px;
	text-align: center;
	border: 1px solid var(--border-color);
	transition: all 0.3s ease;
}

.highlight-item-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--hover-shadow);
	border-color: var(--primary-color);
}

.highlight-item-card i {
	font-size: 32px;
	color: var(--primary-color);
	margin-bottom: 15px;
	display: block;
}

.highlight-item-card h4 {
	font-size: 18px;
	font-weight: 600;
	color: var(--secondary-color);
	margin-bottom: 10px;
}

.highlight-item-card p {
	color: var(--text-medium);
	font-size: 14px;
	line-height: 1.5;
}

/* 课程体系区域 */
.course-system {
	padding: 80px 0;
	background: linear-gradient(135deg, rgba(26, 41, 128, 0.02) 0%, rgba(38, 208, 206, 0.02) 100%);
}

.stages-container {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.stage-item {
	background: white;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: var(--module-shadow);
	border: 1px solid var(--border-color);
	transition: all 0.3s ease;
}

.stage-item:hover {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stage-header {
	background: linear-gradient(135deg, #1a6fd0 0%, #0a4a8a 100%);
	color: white;
	padding: 25px 35px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
}

.stage-title {
	display: flex;
	align-items: center;
	gap: 15px;
	flex: 1;
}

.stage-number {
	width: 44px;
	height: 44px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 18px;
}

.stage-name {
	font-size: 22px;
	font-weight: 600;
}

.stage-header-right {
	display: flex;
	align-items: center;
	gap: 20px;
}

.stage-duration {
	font-size: 14px;
	opacity: 0.9;
	background: rgba(255, 255, 255, 0.1);
	padding: 8px 15px;
	border-radius: 20px;
}

.stage-toggle {
	background: none;
	border: none;
	color: white;
	font-size: 24px;
	cursor: pointer;
	transition: transform 0.3s;
}

.stage-toggle.rotated {
	transform: rotate(180deg);
}

.stage-content {
	padding: 0;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s ease, padding 0.5s ease;
}

.stage-content.expanded {
	padding: 35px;
	max-height: 5000px;
}

.stage-objective {
	background: rgba(26, 111, 208, 0.05);
	padding: 25px;
	border-radius: 12px;
	margin-bottom: 30px;
	border-left: 4px solid var(--primary-color);
}

.stage-objective h4 {
	color: var(--primary-color);
	font-size: 18px;
	margin-bottom: 15px;
	font-weight: 600;
}

.stage-objective p {
	color: var(--text-dark);
	line-height: 1.6;
	font-size: 15px;
}

.modules-grid {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 25px;
}

.module-card {
	background: var(--light-bg);
	border-radius: 12px;
	padding: 25px;
	border: 1px solid var(--border-color);
	transition: all 0.3s ease;
}

.module-card:hover {
	border-color: var(--primary-color);
	background: white;
	transform: translateY(-3px);
}

.module-card h4 {
	color: var(--primary-color);
	font-size: 18px;
	margin-bottom: 15px;
	font-weight: 600;
}

.module-topics {
	color: var(--text-medium);
	font-size: 15px;
	line-height: 1.6;
}

.module-topics strong {
	color: var(--text-dark);
	font-weight: 600;
}

.module-detail {
	margin-top: 15px;
	padding: 15px;
	background: rgba(255, 247, 230, 0.5);
	border-radius: 8px;
	border-left: 3px solid #ffa726;
	font-size: 14px;
}

/* 证书区域 */
.certificates-section {
	padding: 80px 0;
	background: linear-gradient(135deg, rgba(26, 41, 128, 0.02) 0%, rgba(38, 208, 206, 0.02) 100%);
}

.certificates-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 25px;
}

.certificate-item {
	background: white;
	border-radius: 16px;
	padding: 30px;
	border: 1px solid var(--border-color);
	display: flex;
	align-items: center;
	gap: 25px;
	transition: all 0.3s ease;
}

.certificate-item:hover {
	transform: translateY(-5px);
	box-shadow: var(--hover-shadow);
	border-color: var(--primary-color);
}

.certificate-icon {
	width: 70px;
	height: 70px;
	background: rgba(0, 78, 162, 0.1);
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary-color);
	font-size: 28px;
	flex-shrink: 0;
}

.certificate-info h4 {
	color: var(--primary-color);
	font-size: 18px;
	margin-bottom: 8px;
	font-weight: 600;
}

.certificate-info p {
	color: var(--text-medium);
	font-size: 15px;
}

/* 就业岗位区域 */
.career-positions {
	padding: 80px 0;
	background-color: white;
}

.positions-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.position-card {
	background: var(--light-bg);
	border-radius: 16px;
	padding: 30px;
	text-align: center;
	border: 1px solid var(--border-color);
	transition: all 0.3s ease;
}

.position-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--hover-shadow);
	border-color: var(--primary-color);
	background: white;
}

.position-icon {
	width: 70px;
	height: 70px;
	background: var(--gradient-main);
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 28px;
	margin: 0 auto 20px;
	transition: all 0.3s ease;
}

.position-card:hover .position-icon {
	transform: scale(1.1);
}

.position-title {
	font-size: 20px;
	font-weight: 700;
	color: var(--secondary-color);
	margin-bottom: 15px;
}

.position-desc {
	font-size: 15px;
	color: var(--text-medium);
	line-height: 1.6;
}

/* CTA区域 */
.course-cta-section {
	padding: 100px 0;
	background: var(--gradient-tech),
		radial-gradient(circle at 30% 20%, rgba(26, 41, 128, 0.4) 0%, transparent 50%),
		radial-gradient(circle at 70% 80%, rgba(38, 208, 206, 0.3) 0%, transparent 50%);
	color: white;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.course-cta-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('https://images.unsplash.com/photo-1620712943543-bcc4688e7485?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
	background-size: cover;
	background-position: center;
	opacity: 0.1;
	z-index: 1;
}

.course-cta-section .container {
	position: relative;
	z-index: 2;
}

.course-cta-section .section-title {
	color: white;
	text-align: center;
}

.course-cta-section .section-title::after {
	background: white;
	left: 50%;
	transform: translateX(-50%);
}

.course-cta-section .section-subtitle {
	color: rgba(255, 255, 255, 0.9);
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	font-size: 18px;
}

.cta-buttons {
	display: flex;
	justify-content: center;
	gap: 25px;
	margin-top: 40px;
	flex-wrap: wrap;
}

.btn-light {
	background: white;
	color: var(--primary-color);
	padding: 16px 40px;
	border-radius: 50px;
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	transition: all 0.3s ease;
	box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1);
	font-size: 16px;
}

.btn-light:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 30px rgba(255, 255, 255, 0.2);
	color: var(--primary-color);
}

.btn-light i,
.btn-primary i {
	margin-right: 10px;
}

/* 底部信息 */
.footer {
	background-color: var(--secondary-color);
	color: rgba(255, 255, 255, 0.8);
	padding: 50px 0 20px;
}

.footer-layout {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr 1.5fr 1fr;
	gap: 30px;
	margin-bottom: 30px;
	padding-bottom: 30px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col {
	display: flex;
	flex-direction: column;
}

.footer-title {
	font-size: 16px;
	font-weight: 600;
	color: white;
	margin-bottom: 15px;
}

.footer-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.footer-list li {
	font-size: 13px;
	margin-bottom: 8px;
	cursor: pointer;
	transition: color 0.3s;
}

.footer-list li:hover {
	color: var(--primary-color);
}

.contact-column {
	display: flex;
	flex-direction: column;
}

.hotline-box {
	background: rgba(255, 255, 255, 0.05);
	padding: 15px;
	border-radius: 8px;
	margin-top: 10px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	margin-bottom: 10px;
}

.footer-contact i {
	color: var(--primary-light);
}

.qr-column {
	text-align: center;
}

.qr-code {
	text-align: center;
}

.qr-code img {
	width: 120px;
	height: 120px;
	border-radius: 8px;
	background: white;
	padding: 8px;
}

.qr-code p {
	font-size: 12px;
	margin-top: 8px;
	color: rgba(255, 255, 255, 0.7);
}

.copyright {
	text-align: center;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.7);
}

/* 响应式设计 */
@media (max-width: 1200px) {
	.container {
		width: 95%;
	}

	.overview-features,
	.positions-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.highlight-list {
		grid-template-columns: repeat(2, 1fr);
	}

	.modules-grid {
		grid-template-columns: 1fr;
	}

	.certificates-grid {
		grid-template-columns: 1fr;
	}

	.footer-layout {
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
	}
}

@media (max-width: 768px) {
	.mobile-toggle {
		display: block;
	}

	.nav-menu {
		position: fixed;
		top: 70px;
		left: -100%;
		width: 100%;
		height: calc(100vh - 70px);
		background: white;
		flex-direction: column;
		align-items: flex-start;
		padding: 30px;
		transition: left 0.3s ease;
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
		overflow-y: auto;
		z-index: 998;
		gap: 0;
	}

	.nav-menu.active {
		left: 0;
	}

	.nav-item {
		margin: 0 0 15px 0;
		width: 100%;
		padding: 10px 0;
	}

	.dropdown-menu {
		position: static;
		box-shadow: none;
		border: none;
		padding-left: 20px;
		display: none;
		margin-top: 10px;
	}

	.nav-item.has-dropdown:hover .dropdown-menu,
	.nav-item.has-dropdown.active .dropdown-menu {
		display: block;
	}

	.nav-item.has-dropdown::after {
		right: 20px;
	}

	.section-title {
		font-size: 32px;
	}

	.course-main-title {
		font-size: 36px;
	}

	.course-subtitle {
		font-size: 18px;
	}

	.overview-features,
	.positions-grid,
	.highlight-list {
		grid-template-columns: 1fr;
	}

	.feature-card {
		padding: 25px;
	}

	.cta-buttons {
		flex-direction: column;
		align-items: center;
	}

	.btn-light,
	.btn-primary,
	.btn-outline {
		width: 100%;
		max-width: 300px;
		justify-content: center;
	}

	.stage-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
		padding: 20px;
	}

	.stage-header-right {
		width: 100%;
		justify-content: space-between;
	}

	.footer-layout {
		grid-template-columns: repeat(2, 1fr);
		gap: 30px;
	}

	.nav-right {
		display: none;
	}

	.highlight-item {
		min-width: 140px;
	}
}

@media (max-width: 576px) {
	.course-main-title {
		font-size: 28px;
	}

	.course-subtitle {
		font-size: 16px;
	}

	.course-badge {
		font-size: 12px;
		padding: 6px 15px;
	}

	.highlight-item {
		min-width: 120px;
	}

	.highlight-icon {
		width: 50px;
		height: 50px;
		font-size: 20px;
	}

	.section-title {
		font-size: 28px;
	}

	.footer-layout {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.qr-column {
		align-items: center;
	}
}