/* 产品中心页面专用样式 */

/* 页面整体样式 */
.products-page {
	background: #fff;
	color: #333;
}

/* Hero区域样式 - 与core-business保持一致 */
.products-hero {
	background: linear-gradient(135deg, #0b2952 0%, #1a4a7a 50%, #0b2952 100%);
	background-image: 
		radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
		linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.02) 50%, transparent 70%);
	position: relative;
	padding: 120px 0 80px 0;
	text-align: center;
	overflow: hidden;
}

/* Header背景图样式 - 确保覆盖所有内部元素 */
.products-hero.with-bg-image {
	background: url('./prodbg1.jpg');
	background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
	min-height: 60vh;
}

.products-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient( #92a7c4, rgba(146, 167, 196, 0.3), transparent);
	pointer-events: none;
}

.products-hero h1 {
	font-size: clamp(36px, 6vw, 40px);
	font-weight: 700;
	color: #fff;
	margin: 0 0 20px 0;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	position: relative;
	z-index: 2;
}

.products-hero p {
	font-size: clamp(18px, 3vw, 24px);
	color: rgba(255, 255, 255, 0.9);
	margin: 0;
	position: relative;
	z-index: 2;
	font-weight: 300;
}

/* Header内层置顶样式 - 确保强制置顶 */
.header-inner.fixed-top {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	width: 100% !important;
	z-index: 9999 !important;
	
	backdrop-filter: blur(10px);
	transition: all 0.3s ease;
}

/* 导航栏背景图样式 - 与header共用背景图，确保透明融合 */
.header-inner.fixed-top.with-bg-image {
	
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	
	/* padding: 15px 0; */
	min-height: 70px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* 确保header内部所有元素都显示在背景图之上 */
.products-hero .container {
	position: relative;
	z-index: 10;
}

.products-hero .header-inner {
	position: relative;
	z-index: 20;
}

.products-hero .hero-content {
	position: relative;
	z-index: 15;
	margin-left: 0;
	text-align: center;
}

/* 确保页面内容不被置顶导航栏遮挡 */
.products-hero {
	padding-top: 120px; /* 为置顶导航栏留出空间 */
}

/* 当导航栏置顶时，调整hero内容的上边距 */
.products-hero.with-bg-image .hero-content {
	margin-top: 20px;
}


/* 主要内容区域 */
.products-content {
	padding: 80px 0;
	background: #fff;
}

/* 内容区域顶部间距（用于固定header时） */
.products-content.with-fixed-header {
	background: linear-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.8)), url(./aboutbg2.png) center / cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* 区域标题样式 */
.section-header {
	position: relative;
	text-align: center;
	margin-bottom: 10px;
}

.section-bg-text {
	font-size: 5rem;
	font-weight: 700;
	color: rgba(11, 41, 82, 0.08);
	position: absolute;
	top: 40%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
	white-space: nowrap;
}

.section-bg-text-right {
	position: absolute;
	top: -30px;
	right: 0;
	font-size: clamp(60px, 12vw, 140px);
	font-weight: 300;
	color: rgba(0, 0, 0, 0.05);
	z-index: 1;
	letter-spacing: 4px;
	line-height: 1;
}

.section-title {
	position: relative;
	z-index: 2;
	font-size: clamp(28px, 5vw, 20px);
	font-weight: 600;
	color: #000;
	margin: 0;
	padding-top: 10px;
}

.section-description {
	font-size: clamp(6px, 2.5vw, 12px);
	color: rgba(138, 138, 138, 1);
	text-align: center;
	max-width: 600px;
	margin: 0 auto 60px auto;
	line-height: 1.6;
}

/* 产品网格布局 */
.products-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	margin-top: 60px;
}

/* 产品卡片样式 */
.product-card {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 0;
	padding: 30px;
	box-shadow: none;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	cursor: pointer;
}

.product-card:hover,
.product-card.selected {
	background: linear-gradient(135deg, #2684c6 0%, #1e6ba8 50%, #165aa3 100%);
	color: #fff;
	transform: translateY(-5px) scale(1.02);
	/* box-shadow: 0 20px 40px rgba(38, 132, 198, 0.3), 0 10px 20px rgba(0, 0, 0, 0.1); */
	border-color: #2684c6;
}

/* 悬浮和选中状态下的文本颜色 */
.product-card:hover *,
.product-card.selected * {
	color: #fff !important;
}

/* 产品卡片头部 */
.product-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 20px;
}

.product-title {
	font-size: 20px;
	font-weight: 600;
	color: #333;
	margin: 0;
	line-height: 1.3;
}

.bank-logo {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
}

.bank-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 8px;
}

/* 产品特性标签 */
.product-features {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 25px;
}

.feature-tag {
	color: rgba(232, 190, 147, 1);
	font-size: 12px;
	font-weight: 500;
	padding: 6px 12px;
	border-radius: 5px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	border: rgba(232, 190, 147, 1) 1px solid;
}

.product-card:hover .feature-tag {
	background-color: #fff;
	color: rgba(31, 95, 166, 1) !important;
	border-color: rgba(0, 0, 0, 0) !important;
	transform: none;
}

/* 产品指标 */
.product-metrics {
	display: flex;
	flex-direction: row;
	gap: 15px;
	margin-bottom: 25px;
}

.metric-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 12px 0;
	border-bottom: none;
	flex: 1;
}

.metric-item:last-child {
	border-bottom: none;
}

.metric-label {
	font-size: 14px;
	color: #666;
	font-weight: 500;
	margin-bottom: 8px;
	text-align: center;
}

.metric-value {
	font-size: 16px;
	color: #333;
	font-weight: 600;
	text-align: center;
}

/* 产品操作按钮 */
.product-action {
	text-align: center;
	opacity: 0;
	transform: translateY(10px);
	transition: all 0.3s ease;
}

.product-card:hover .product-action,
.product-card:active .product-action {
	opacity: 1;
	transform: translateY(0);
}

/* 产品页面特定的按钮样式 - 使用更具体的选择器 */
.product-card .btn {
	display: inline-block;
	text-decoration: none;
	padding: 0;
	border: none;
	background: none !important;
	font-size: 16px;
	font-weight: 600;
	transition: all 0.3s ease;
	color: #e7d280;
}

.product-card .btn.primary {
	color: #e7d280;
	font-weight: 700;
	background: none !important;
}

.product-card .btn.primary:hover {
	color: #d4c070;
	transform: translateX(5px);
	background: none !important;
}

/* 产品卡片选中状态 - 白底蓝字 */
.product-card:active,
.product-card.selected {
	background: white !important;
}

.product-card:active .product-title,
.product-card.selected .product-title {
	color: #2563eb !important;
}

.product-card:active .product-subtitle,
.product-card.selected .product-subtitle {
	color: #1d4ed8 !important;
}

/* 特征标签选中状态 - 使用更高优先级的选择器 */
.product-card:active .product-features .feature-tag,
.product-card.selected .product-features .feature-tag,
.product-card:active:hover .product-features .feature-tag,
.product-card.selected:hover .product-features .feature-tag {
	background: #dbeafe !important;
	color: #1e40af !important;
	border-color: #dbeafe !important;
	transform: none !important;
}

.product-card:active .btn,
.product-card.selected .btn {
	color: #2563eb !important;
}

.product-card:active .btn.primary,
.product-card.selected .btn.primary {
	color: #1d4ed8 !important;
}

/* 卡片装饰效果 */
.product-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	/* background: linear-gradient(90deg, #ffd700 0%, #ffb347 50%, #ffd700 100%); */
	opacity: 0;
	transition: opacity 0.3s ease;
}

.product-card:hover::before {
	opacity: 1;
}

/* 卡片背景装饰 */
.product-card::after {
	content: '';
	position: absolute;
	top: -50px;
	right: -50px;
	width: 100px;
	height: 100px;
	background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
	border-radius: 50%;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.product-card:hover::after {
	opacity: 1;
}

/* 响应式设计 */
@media (max-width: 1024px) {
	.products-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 0;
	}
}

@media (max-width: 768px) {
	.products-hero {
		padding: 100px 0 60px 0;
	}
	
	.products-content {
		padding: 60px 0;
	}
	
	.products-grid {
		grid-template-columns: 1fr;
		gap: 0;
	}
	
	.product-card {
		padding: 25px;
	}
	
	.section-bg-text,
	.section-bg-text-right {
		font-size: 3rem;
	}
}

@media (max-width: 480px) {
	/* 修复header-inner在手机端的宽度问题 */
	.header-inner.fixed-top {
		padding: 0.9rem 15px !important;
		box-sizing: border-box;
		width: 100% !important;
		max-width: 100vw !important;
		overflow: hidden;
	}
	
	.products-hero {
		padding: 80px 0 40px 0;
	}
	
	.products-content {
		padding: 40px 0;
	}
	
	.product-card {
		padding: 20px;
	}
	
	.product-title {
		font-size: 18px;
	}
	
	.bank-logo {
		width: 35px;
		height: 35px;
	}
	
	.feature-tag {
		font-size: 11px;
		padding: 5px 10px;
	}
	
	.product-metrics {
		flex-direction: column;
		gap: 10px;
	}
	
	.metric-item {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		padding: 8px 0;
		border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	}
	
	.metric-item:last-child {
		border-bottom: none;
	}
	
	.metric-label {
		font-size: 13px;
		margin-bottom: 0;
		text-align: left;
	}
	
	.metric-value {
		font-size: 15px;
		text-align: right;
	}
	
	.section-bg-text,
	.section-bg-text-right {
		font-size: 2.5rem;
	}
}

/* 页脚样式 - 与core-business.html完全一致 */
.company-address {
	margin-top: 15px;
}

.address-label {
	font-size: 0.9rem;
	color: #ffffff;
	margin-bottom: 5px;
	opacity: 0.9;
}

.address-text {
	font-size: 0.85rem;
	color: #ffffff;
	line-height: 1.4;
	opacity: 0.8;
}

.contact-icons {
	display: flex;
	gap: 15px;
	align-items: center;
}

.contact-icon {
	width: 24px;
	height: 24px;
	opacity: 0.9;
	transition: opacity 0.3s ease;
}

.contact-icon:hover {
	opacity: 1;
}

/* 页脚布局样式 */
.footer-top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-top: 50px;
	margin-bottom: 40px;
	gap: 40px;
}

.footer-left {
	display: flex;
	flex-direction: column;
	gap: 20px;
	flex: 0 0 auto;
}

.footer-logo {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.company-address {
	margin-top: 0;
}

.footer-cols {
	flex: 1;
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 30px;
}

.footer-cols .col {
	display: flex;
	flex-direction: column;
}

.footer-cols .col h4 {
	margin-bottom: 15px;
	font-size: 1.1rem;
	font-weight: 600;
	color: white;
}

.footer-cols .col a {
	display: block;
	color: white;
	text-decoration: none;
	padding: 5px 0;
	font-size: 0.8rem;
	transition: color 0.3s ease;
}

.footer-cols .col a:hover {
	color: var(--brand);
}

.contact-icons {
	display: flex;
	flex-direction: row;
	gap: 12px;
	flex: 0 0 auto;
	align-items: center;
	justify-content: flex-start;
}

/* 动画效果 */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.product-card {
	animation: fadeInUp 0.6s ease-out;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

/* 悬停时的3D效果已移除，使用新的悬浮样式 */
