/* =========================================================
   ImpactPrediction / JanePrediction 局部模块优化
   使用方式：放到现有 CSS 最后面
   目标：简洁、干净、稍微高级一点，不改布局，不改轮播
   ========================================================= */

/* ---------- 基础变量 ---------- */
:root {
	--site-primary: #0648b3;
	--site-primary-hover: #0a57d6;
	--site-dark: #0d1431;
	--site-text: #4a5073;
	--site-muted: #7f89a8;
	--site-line: rgba(6, 72, 179, 0.08);
	--site-line-dark: rgba(255, 255, 255, 0.10);
	--site-bg-soft: #f7f9fc;
	--site-card-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
	--site-card-shadow-hover: 0 16px 38px rgba(15, 23, 42, 0.10);
	--site-radius: 14px;
	--site-radius-sm: 10px;
}

/* ---------- 全局轻微收敛 ---------- */
body {
	color: var(--site-text) !important;
}

p {
	line-height: 1.82 !important;
}

.section.section-lg {
	padding-top: 5rem !important;
	padding-bottom: 5rem !important;
}

h1, h2, h3, h4, h5, h6 {
	color: #20263a;
	letter-spacing: -0.02em;
}

img {
	border-radius: 10px;
}

/* ---------- 下拉菜单 ---------- */
.dropdown-menu {
	border: 1px solid rgba(10, 22, 50, 0.08) !important;
	border-radius: 14px !important;
	box-shadow: 0 18px 40px rgba(18, 30, 58, 0.14) !important;
}

.dropdown-menu .list-group-item {
	border: 0 !important;
	border-radius: 10px;
	transition: background .2s ease, transform .2s ease;
}

.dropdown-menu .list-group-item:hover {
	background: #f5f8ff !important;
}

.dropdown-menu .text-dark {
	color: #1f2b45 !important;
}

.dropdown-menu .small {
	color: #7d88a7 !important;
}

/* ---------- 顶部大标题区 / section-header ---------- */
.section-header {
	position: relative;
	overflow: hidden;
}

.section-header.bg-primary {
	background: linear-gradient(135deg, #0648b3 0%, #0d1431 100%) !important;
}

.section-header .display-2, .section-header .display-3 {
	letter-spacing: -0.03em;
}

.section-header .lead {
	color: rgba(255, 255, 255, 0.82) !important;
}

.pattern.bottom, .pattern.pattern-soft.top {
	opacity: 0.28;
}

/* ---------- 白底功能卡片 ---------- */
.card.bg-white.shadow-soft, .card.border-light.p-4, .card.card-sm.card-body.border.border-light.rounded
	{
	border: 1px solid rgba(6, 72, 179, 0.08) !important;
	border-radius: var(--site-radius) !important;
	box-shadow: var(--site-card-shadow) !important;
	background: #fff !important;
	transition: box-shadow .22s ease, transform .22s ease, border-color .22s
		ease;
}

.card.bg-white.shadow-soft:hover, .card.border-light.p-4:hover, .card.card-sm.card-body.border.border-light.rounded:hover
	{
	box-shadow: var(--site-card-shadow-hover) !important;
	border-color: rgba(6, 72, 179, 0.14) !important;
}

.card.bg-white.shadow-soft .px-3, .card.bg-white.shadow-soft .px-lg-4 {
	padding-top: 2rem !important;
	padding-bottom: 2rem !important;
}

.card .icon.icon-lg {
	width: 62px;
	height: 62px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(6, 72, 179, 0.08);
	color: var(--site-primary);
	margin-bottom: 18px !important;
}

.card h5, .card .h3, .card .h6 {
	letter-spacing: -0.01em;
}

.card p {
	color: #6e7b99 !important;
}

/* ---------- 深色功能模块 ---------- */
.bg-color-dark-scale-2.rounded {
	background: linear-gradient(180deg, rgba(27, 35, 66, 0.98),
		rgba(18, 25, 47, 0.98)) !important;
	border: 1px solid var(--site-line-dark) !important;
	border-radius: 16px !important;
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18) !important;
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s
		ease;
}

.bg-color-dark-scale-2.rounded:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24) !important;
	border-color: rgba(255, 255, 255, 0.14) !important;
}

.bg-color-dark-scale-2.rounded h4 {
	color: #ffffff !important;
}

.bg-color-dark-scale-2.rounded p, .bg-color-dark-scale-2.rounded .custom-text-color-1
	{
	color: rgba(255, 255, 255, 0.72) !important;
}

.bg-color-dark-scale-2.rounded .icon-bg {
	opacity: 0.88;
}

/* ---------- 表格区（月记录 / 历史记录） ---------- */
.table {
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: var(--site-card-shadow);
	margin-bottom: 0 !important;
}

.table thead th {
	background: #f7f9fd !important;
	color: #24314f !important;
	font-weight: 600 !important;
	border-top: 0 !important;
	border-bottom: 1px solid rgba(6, 72, 179, 0.08) !important;
	padding-top: 14px !important;
	padding-bottom: 14px !important;
	white-space: nowrap;
}

.table td {
	color: #55627f;
	vertical-align: middle !important;
	border-top: 1px solid rgba(6, 72, 179, 0.06) !important;
	padding-top: 13px !important;
	padding-bottom: 13px !important;
}

.table tbody tr {
	transition: background .18s ease;
}

.table tbody tr:hover {
	background: #fafcff !important;
}

.table tbody tr[style*="color:#fd397a"] {
	background: rgba(253, 57, 122, 0.03);
}

.table tbody tr[style*="color:#fd397a"] td {
	color: #d81b60 !important;
	font-weight: 500;
}

/* ---------- FAQ 折叠卡 ---------- */
.accordion-panel-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	cursor: pointer;
}

.card.card-sm.card-body .accordion-panel-header .h6 {
	color: #24314f !important;
	margin-bottom: 0 !important;
}

.card.card-sm.card-body .icon {
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(6, 72, 179, 0.07);
	color: var(--site-primary);
	flex-shrink: 0;
}

.card.card-sm.card-body .collapse .pt-3 {
	border-top: 1px solid rgba(6, 72, 179, 0.06);
	margin-top: 14px;
	padding-top: 14px !important;
}

.card.card-sm.card-body .collapse p {
	color: #6c7895 !important;
}

/* ---------- 下载区优化 ---------- */
.section.section-lg.bg-soft {
	background: linear-gradient(180deg, #f7f9fc 0%, #f3f6fb 100%) !important;
}

/* 按钮整体间距 */
.section.section-lg.bg-soft .btn {
	margin-right: 12px !important;
	margin-top: 8px !important;
}

/* 下载按钮 */
.section.section-lg.bg-soft .btn.btn-secondary {
	background: linear-gradient(135deg, #0d1431 0%, #1a2a57 100%) !important;
	border: none !important;
	color: #fff !important;
	padding: 12px 28px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	letter-spacing: 0.6px;
	border-radius: 14px !important;
	box-shadow: 0 8px 18px rgba(13, 20, 49, 0.20), inset 0 1px 0
		rgba(255, 255, 255, 0.08);
	transition: transform .18s ease, box-shadow .18s ease, background .18s
		ease;
}

/* hover效果 */
.section.section-lg.bg-soft .btn.btn-secondary:hover {
	background: linear-gradient(135deg, #0648b3 0%, #0d5eff 100%) !important;
	transform: translateY(-3px);
	box-shadow: 0 14px 30px rgba(6, 72, 179, 0.30), inset 0 1px 0
		rgba(255, 255, 255, 0.10);
}

/* 点击效果 */
.section.section-lg.bg-soft .btn.btn-secondary:active {
	transform: translateY(-1px);
	box-shadow: 0 6px 12px rgba(6, 72, 179, 0.25);
}

/* ---------- 会员价格卡 ---------- */
.price-list .list-group-item {
	border: 0 !important;
	border-bottom: 1px dashed rgba(6, 72, 179, 0.08) !important;
	color: #5d6a88 !important;
	padding-top: 12px !important;
	padding-bottom: 12px !important;
}

.price-list .list-group-item:last-child {
	border-bottom: 0 !important;
}

.card-header.bg-white {
	border-bottom: 0 !important;
	padding-bottom: 8px !important;
}

.card-header .h3 {
	color: #1f2b45 !important;
}

/* ---------- 通用按钮 ---------- */
.btn {
	font-weight: 600 !important;
	letter-spacing: 0.01em;
}

.btn.btn-primary {
	background: var(--site-primary) !important;
	border-color: var(--site-primary) !important;
	box-shadow: 0 8px 20px rgba(6, 72, 179, 0.18);
}

.btn.btn-primary:hover {
	background: var(--site-primary-hover) !important;
	border-color: var(--site-primary-hover) !important;
}

.animate-up-2:hover {
	transform: translateY(-2px) !important;
}

/* ---------- 图标模块 ---------- */
.icon-shape.icon-shape-primary {
	background: rgba(6, 72, 179, 0.08) !important;
	color: var(--site-primary) !important;
	box-shadow: none !important;
}

.wdl-svg-icon {
	width: 1.8rem !important;
}

.wdl-svg-icon path {
	fill: var(--site-primary) !important;
}

/* ---------- 页脚 ---------- */
.footer.section {
	background: linear-gradient(135deg, #0d1431 0%, #0648b3 100%) !important;
}

.footer.section p, .footer.section a, .footer.section .font-small {
	color: rgba(255, 255, 255, 0.82) !important;
}

.footer.section h6 {
	color: #fff !important;
}

.footer.section .links-vertical li {
	margin-bottom: 8px;
}

.footer.section .links-vertical a:hover {
	color: #fff !important;
	opacity: 1;
}

.footer.section hr {
	border-color: rgba(255, 255, 255, 0.12) !important;
}