@charset "utf-8";
/* ========== 全局重置 ========== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
body {
	margin-right: auto;
	margin-left: auto;
	font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
	background-color: #f4f5f7;
	color: #1e293b;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    letter-spacing: 0.01em; 
}
html {
	scroll-behavior: smooth;
}
/* ========== 导航 ========== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
   background: linear-gradient(to right, #eaf4ff, #ffffff);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid #e0e4e8;
    z-index: 9999;/* 最高层级 */
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    padding: 0 24px;
}
.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0066cc;
    letter-spacing: 1px;
	display: flex;
    align-items: center;
    gap: 1px;
}
.logo-tag {
    font-size: 0.85rem;       /* 精致小字 */
    font-weight: 600;         /* 半粗，清晰不飘 */
    color: #0066cc;           /* 创维蓝，与品牌统一 */
    letter-spacing: 0.03em;
    white-space: nowrap;
    background: rgba(0,102,204,0.06);  /* 极淡蓝底，增加层次 */
    padding: 4px 12px;
    border-radius: 20px;
}
.logo img {
    height: 80px;
    width: auto;
    display: block;
}
.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}
.nav-links a {
    font-weight: 600;                    /* 加粗，更饱满 */
    font-size: 0.95rem;
    text-decoration: none;
    color: #0f172a;                      /* 深黑，不发虚 */
    transition: color 0.3s;
    letter-spacing: 0.02em;              /* 稍加字距，更精致 */
}
.nav-links a:hover {
    color: #0066cc;
}
/* 导航当前页高亮下划线 */
.nav-links a[href*="index"]::after,
.nav-links a:hover::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: #0066cc;
    margin-top: 4px;
    transition: width 0.3s;
}
/* ========== 全宽 Features 容器 ========== */
#features .container {
	max-width: none;
	padding: 0 40px;
}
/* ========== 轮播 ========== */
.hero-slider {
	position: relative;
	width: 100%;
	height: 90vh;
	margin-top: 64px;
	overflow: hidden;
	background: #f4f5f7;
}
.slider-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
}
.slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 0.8s;
}
.slide.active {
	opacity: 1;
}
.slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.slide-caption {
	position: absolute;
	bottom: 20%;
	left: 10%;
	color: #fff;
	text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}
.slide-caption h1 {
	font-size: 3rem;
	margin-bottom: 10px;
}
.slide-caption p {
	font-size: 1.25rem;
	color: #eee;
}
.slider-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0,0,0,0.4);
	border: none;
	color: #fff;
	font-size: 2rem;
	padding: 10px 16px;
	cursor: pointer;
	z-index: 10;
	transition: background 0.3s;
}
.slider-arrow:hover {
	background: rgba(0,0,0,0.7);
}
.prev {
	left: 20px;
}
.next {
	right: 20px;
}
.slider-dots {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 12px;
	z-index: 10;
}
.dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255,255,255,0.5);
	cursor: pointer;
}
.dot.active {
	background: #0066cc;
}
/* ========== 区块通用 ========== */
section {
	padding: 80px 0;
	position: relative;
	z-index: 1;
}
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	position: relative;
	z-index: 1;
}
h2 {
	font-size: 2.4rem;
	color: #0f172a;
	margin-bottom: 16px;
	text-align: center;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.subtitle {
	font-size: 1.1rem;
	color: #64748b;
	margin-bottom: 50px;
	text-align: center;
}
/* ========== 产品特点卡片 ========== */
.grid-4 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	margin-top: 20px;
}
.card-link {
	display: block;
	text-decoration: none;
	color: inherit;
	height: 100%;
}
.card {
	background: #f4f5f7;               /* 默认与背景同色 */
	border: 1px solid #e0e4e8;
	border-radius: 16px;
	padding: 20px;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 24px;
	height: auto;
	box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
	transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.card-link:hover .card {
	background-color: #ffffff;          /* 悬停变白 */
	border-color: #0066cc;
	box-shadow: 0 4px 8px rgba(0,0,0,0.06), 0 12px 24px rgba(0,0,0,0.06);
	transform: translateY(-4px);
}
.card-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}
.card-body h3 {
	font-size: 1.4rem;
	font-weight: 600;
	line-height: 1.4;
	color: #0f172a;
	letter-spacing: 0.02em;
	margin: 0 0 8px 0;
}
.card-body p {
	font-size: 0.9rem;
	line-height: 1.6;
	color: #64748b;
	margin: 0;
}
.card-top-img {
	width: 45%;
	max-width: 200px;
	aspect-ratio: 4 / 3;
	border-radius: 12px;
	overflow: hidden;
	background: #f0f0f0;
	flex-shrink: 0;
	position: relative;
}
.card-top-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
/* 图片暗角效果，悬停时显现 */
.card-top-img::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(ellipse at center, rgba(0,0,0,0) 50%, rgba(0,0,0,0.3) 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
	z-index: 2;
}
.card-link:hover .card-top-img::after {
	opacity: 1;
}
.card-link:hover .card-top-img img {
	filter: brightness(1) contrast(1.1);
	transform: scale(1.03);
	transition: filter 0.3s, transform 0.3s;
}

/* 移动端卡片堆叠 */
@media (max-width: 640px) {
.grid-4 {
	grid-template-columns: 1fr;
}
.card {
	flex-direction: column-reverse;
	gap: 12px;
}
.card-top-img {
	width: 100%;
	max-width: none;
}
}
/* ========== 核心产品 ========== */
.product-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    background: #f4f5f7;               /* 默认与背景同色 */
    border-radius: 20px;
    padding: 40px;
    margin-top: 30px;
    border: 1px solid #e0e4e8;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.product-showcase:hover {
    background-color: #ffffff;          /* 悬停变白 */
    border-color: #0066cc;
    box-shadow: 0 4px 8px rgba(0,0,0,0.06), 0 12px 24px rgba(0,0,0,0.06);
    transform: translateY(-4px);
}
.product-img {
	flex: 1 1 280px;
	background: #f0f0f0;
	height: 240px;
	border-radius: 14px;
	overflow: hidden;
}
.product-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.product-info {
	flex: 1 1 300px;
}
.product-info h3 {
	font-size: 1.8rem;
	margin-bottom: 12px;
	color: #0f172a;
}
.product-info ul {
	list-style: none;
	margin-top: 16px;
}
.product-info li {
	padding: 6px 0;
	color: #64748b;
}
.product-info li::before {
	content: '✓ ';
	color: #0066cc;
	font-weight: bold;
	margin-right: 8px;
}
/* ========== 新闻资讯 ========== */
.news-layout {
	display: flex;
	gap: 40px;
	margin-top: 30px;
	align-items: stretch;
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
	flex-direction: row;
	flex-wrap: nowrap;
}
.news-list {
	flex: 1 1 55%;
	min-width: 0;
	background: #ffffff;
	border: 1px solid #e0e4e8;
	border-radius: 16px;
	padding: 20px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
	display: flex;
	flex-direction: column;
	transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.news-list ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.news-item {
	display: flex;
	align-items: baseline;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid #e0e4e8;
	cursor: pointer;
	transition: background 0.2s;
}
.news-item:hover {
	background: #f8faf9;
}
.news-date {
	font-size: 0.85rem;
	color: #0066cc;
	white-space: nowrap;
	min-width: 90px;
	text-decoration: none;
}
a.news-date:hover {
	color: #004b8c;
	text-decoration: underline;
}
.news-title {
	color: #1e293b;
	font-size: 0.95rem;
	font-weight: 500;
	cursor: pointer;
}
.news-more {
	display: inline-block;
	margin-top: 20px;
	color: #0066cc;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s, transform 0.2s;
}
.news-more:hover {
	color: #b5651d;
	transform: translateX(4px);
}
.news-image {
	flex: 0 0 45%;
	max-width: 45%;
	min-width: 300px;
	background: #ffffff;
	border: 1px solid #e0e4e8;
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
	transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	order: 2;
	height: 100%;
}
.case-image-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	flex-shrink: 0;
}
.case-image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.case-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 30px 20px 20px;
	background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
	color: #fff;
	z-index: 2;
}
.case-tag {
	display: inline-block;
	background: rgba(255,255,255,0.2);
	backdrop-filter: blur(5px);
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 500;
	margin-bottom: 10px;
	letter-spacing: 0.5px;
}
.case-overlay h4 {
	font-size: 1.1rem;
	font-weight: 600;
	margin: 0 0 6px;
	color: #fff;
	text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.case-overlay p {
	font-size: 0.85rem;
	margin: 0;
	color: rgba(255,255,255,0.9);
	text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.image-caption {
	padding: 10px 16px;
	color: #64748b;
	font-size: 0.85rem;
	background: #fafafa;
	border-top: 1px solid #e0e4e8;
	margin-top: auto;
}
 @media (max-width: 768px) {
.news-layout {
	flex-direction: column;
}
.news-image {
	max-width: 100%;
	min-width: 0;
	order: 0;
}
}
/* ========== 联系我们 ========== */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    background: #ffffff;
    border: 1px solid #e0e4e8;
    border-radius: 16px;
    padding: 36px 28px;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.about-content p {
    color: #1e293b;            /* 由原来的浅灰 #64748b 改为深色，不发虚 */
    font-weight: 500;          /* 加粗一点，更饱满 */
    margin-bottom: 12px;
}
.about-content > div {
    flex: 1 1 250px;
}
/* ========== 按钮 ========== */
.btn-primary {
    display: inline-block;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #b5651d, #8b4513);
    color: #fff;
    padding: 12px 32px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: box-shadow 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s;
}
.btn-primary:hover::before {
    left: 125%;
}
.btn-primary:hover {
    box-shadow: 0 8px 20px rgba(181,101,29,0.3);
    transform: translateY(-2px);
}
/* ========== 侧边悬浮按钮 ========== */
.side-buttons {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
}
.side-btn {
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 1px solid #e0e4e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #0066cc;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}
.side-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
@media (max-width: 768px) {
.side-buttons {
	display: none;
}
}
/* ========== 渐显动画 ========== */
.reveal {
	opacity: 0;
	transition: opacity 1.2s ease, transform 1.2s ease;
}
.slide-left {
	transform: translateX(-80px);
}
.slide-right {
	transform: translateX(80px);
}
.reveal.visible {
	opacity: 1;
	transform: translateX(0);
}
/* ========== 页面纹理 ========== */
body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),  linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
	background-size: 40px 40px;
	pointer-events: none;
	z-index: -1;
}
/* ========== 段落优化 ========== */
p {
	line-height: 1.8;
	letter-spacing: 0.01em;
}
/* ========== 页脚 ========== */
footer {
	text-align: center;
	padding: 28px 0;
	border-top: 1px solid #e0e4e8;
	color: #94a3b8;
	font-size: 0.9rem;
	position: relative;
	z-index: 1;
}
.btn-card-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 16px auto 0 auto;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #1e293b;
    background: #ffffff;
    border: none;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-card-more:hover {
    background: #f4f5f7;
    color: #0f172a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}
/* ========== 下拉菜单 ========== */
/* 清除全局导航下划线 */
.nav-links a {
    text-decoration: none !important;
}
.nav-links a::after {
    display: none !important;   /* 移除之前的高亮下划线 */
}

/* ========== 高级下拉菜单 ========== */
.dropdown {
    position: relative;
}

.dropbtn {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    text-decoration: none;
    color: #1e293b;
    transition: color 0.2s;
}
.dropdown:hover .dropbtn {
    color: #0066cc;
}

/* 下拉面板 */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 0.5px solid rgba(0,0,0,0.08);
    border-radius: 20px;
    padding: 12px 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.02);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1001;
    list-style: none;
    margin: 0;
}

/* 小三角装饰 */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 0.5px solid rgba(0,0,0,0.06);
    border-right: none;
    border-bottom: none;
    border-radius: 3px;
}

/* 菜单项 */
.dropdown-menu li a {
    display: flex;
    align-items: center;
    padding: 10px 18px;
    margin: 2px 4px;
    border-radius: 12px;
    color: #1e293b;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.dropdown-menu li a:hover {
    background: #e6f0fa;
    color: #0066cc;
    transform: translateX(2px);
}

/* 显示状态 */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}