/* ==========================================
	全局样式
	========================================== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
	line-height: 1.6;
	color: #333;
	background: #f8f9fa;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ==========================================
	头部导航栏
	========================================== */
.site-header {
	background: linear-gradient(135deg, #1a3a6c 0%, #0d2a52 100%);
	color: white;
	padding: 15px 0;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.brand-section {
	display: flex;
	align-items: center;
	gap: 20px;
}

.site-logo {
	display: flex;
	align-items: center;
	gap: 15px;
}

.logo-img {
	height: 50px;
	width: auto;
	object-fit: contain;
	border-radius: 6px;
	transition: width 0.2s, height 0.2s;
}
	.logo-img {
		width: 56px;
		height: 56px;
		object-fit: cover;
		border-radius: 6px;
	}
	.site-name {
		font-size: 28px;
	}

.site-name {
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -0.5px;
}

.site-slogan {
	font-size: 16px;
	opacity: 0.9;
	margin-top: 4px;
}

.main-nav {
	display: flex;
	gap: 28px;
}

.nav-item {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	font-weight: 500;
	font-size: 17px;
	padding: 8px 12px;
	border-radius: 6px;
	transition: all 0.3s;
	position: relative;
}

.nav-item:hover,
.nav-item.active {
	color: white;
	background: rgba(255, 255, 255, 0.1);
}

.nav-item.active::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 50%;
	transform: translateX(-50%);
	width: 8px;
	height: 8px;
	background: #ffd700;
	border-radius: 50%;
}

/* ==========================================
	英雄区域
	========================================== */
.hero-section {
	background: linear-gradient(rgba(13, 42, 82, 0.9), rgba(26, 58, 108, 0.95)), url('https://pet66.com/images/hero-bg.jpg');
	background-size: cover;
	background-position: center;
	color: white;
	padding: 100px 0;
	text-align: center;
}

.hero-content {
	max-width: 800px;
	margin: 0 auto;
}

.hero-title {
	font-size: 48px;
	font-weight: 800;
	margin-bottom: 20px;
	letter-spacing: -1px;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
	font-size: 24px;
	opacity: 0.95;
	margin-bottom: 40px;
	line-height: 1.5;
}

.hero-cta {
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
}

.btn {
	display: inline-block;
	padding: 16px 40px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 18px;
	text-decoration: none;
	transition: all 0.3s;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 10px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-supplier {
	background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
	color: #1a3a6c;
}

.btn-supplier:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.btn-buyer {
	background: linear-gradient(135deg, #4a90e2 0%, #2c5fb3 100%);
	color: white;
}

.btn-buyer:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
}

/* ==========================================
	服务模块
	========================================== */
.services-section {
	padding: 80px 0;
	background: white;
}

.section-header {
	text-align: center;
	margin-bottom: 60px;
}

.section-title {
	font-size: 36px;
	font-weight: 700;
	color: #1a3a6c;
	position: relative;
	display: inline-block;
	padding-bottom: 15px;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 4px;
	background: linear-gradient(90deg, #ffd700, #ffaa00);
	border-radius: 2px;
}

.section-subtitle {
	font-size: 19px;
	color: #5a6c82;
	margin-top: 15px;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 32px;
	max-width: 1100px;
	margin: 0 auto;
}

.service-card {
	background: #f8f9fa;
	border-radius: 12px;
	padding: 36px 30px;
	text-align: center;
	transition: all 0.3s;
	border: 1px solid #e9ecef;
	position: relative;
	overflow: hidden;
}

.service-card.featured {
    border: 2px solid #ffd700;
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: visible;
}

.service-card.featured::before {
    content: "🔥";
    position: absolute;
    top: -12px;
    right: -12px;
    font-size: 24px;
    background: #ffd700;
    color: #1a3a6c;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 10;
    animation: pulse 2s infinite;
}

.service-card.featured .service-title {
    color: #d4af37;
}

.service-card.featured .service-icon {
    color: #d4af37;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.service-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 5px;
	background: linear-gradient(90deg, #ffd700, #ffaa00);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s;
}

.service-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
	border-color: #d4af37;
}

.service-card:hover::before {
	transform: scaleX(1);
}

.service-icon {
	font-size: 48px;
	margin-bottom: 20px;
	color: #1a3a6c;
}

.service-title {
	font-size: 24px;
	font-weight: 700;
	color: #1a3a6c;
	margin-bottom: 15px;
}

.service-desc {
	color: #5a6c82;
	font-size: 16px;
	line-height: 1.7;
	margin-bottom: 20px;
}

.service-link {
	display: inline-block;
	color: #d4af37;
	font-weight: 600;
	text-decoration: none;
	padding: 8px 16px;
	border-radius: 6px;
	border: 1px solid #d4af37;
	transition: all 0.3s;
}

.service-link:hover {
	background: #d4af37;
	color: white;
}

/* ==========================================
	资讯模块
	========================================== */
.news-section {
	padding: 80px 0;
	background: #f8f9fa;
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	max-width: 1100px;
	margin: 0 auto;
}

.news-card {
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	transition: all 0.3s;
}

.news-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.news-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.news-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.news-card:hover .news-thumbnail {
    transform: scale(1.05);
}

.news-content {
	padding: 24px;
}

.news-category {
	display: inline-block;
	background: #e9ecef;
	color: #5a6c82;
	font-size: 14px;
	padding: 4px 12px;
	border-radius: 20px;
	margin-bottom: 12px;
}

.news-title {
	font-size: 20px;
	font-weight: 700;
	color: #1a3a6c;
	margin-bottom: 12px;
	line-height: 1.4;
}

.news-excerpt {
	color: #5a6c82;
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 16px;
}

.news-meta {
	display: flex;
	justify-content: space-between;
	color: #8693a7;
	font-size: 14px;
}

.news-link {
	display: inline-block;
	color: #d4af37;
	font-weight: 600;
	text-decoration: none;
	margin-top: 12px;
}

.news-link:hover {
	text-decoration: underline;
}

/* ==========================================
	价值主张
	========================================== */
.value-section {
	padding: 80px 0;
	background: linear-gradient(135deg, #1a3a6c 0%, #0d2a52 100%);
	color: white;
	text-align: center;
}

.value-title {
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 20px;
}

.value-desc {
	font-size: 20px;
	opacity: 0.9;
	max-width: 800px;
	margin: 0 auto 40px;
	line-height: 1.6;
}

.value-stats {
	display: flex;
	justify-content: center;
	gap: 60px;
	flex-wrap: wrap;
	margin-top: 30px;
}

.stat-item {
	text-align: center;
}

.stat-number {
	font-size: 42px;
	font-weight: 800;
	color: #ffd700;
	line-height: 1;
}

.stat-label {
	font-size: 18px;
	opacity: 0.9;
	margin-top: 8px;
}

/* ==========================================
	页脚
	========================================== */
.site-footer {
	background: #0d2a52;
	color: rgba(255, 255, 255, 0.7);
	padding: 60px 0 30px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 40px;
}

.footer-column h4 {
	color: white;
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 25px;
	position: relative;
	padding-bottom: 10px;
}

.footer-column h4::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40px;
	height: 3px;
	background: #ffd700;
}

.footer-links {
	list-style: none;
}

.footer-links li {
	margin-bottom: 12px;
}

.footer-links a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: all 0.3s;
	display: block;
	padding: 4px 0;
}

.footer-links a:hover {
	color: #ffd700;
	padding-left: 8px;
}

.footer-contact p {
	margin-bottom: 12px;
	line-height: 1.7;
}

.footer-email-img {
	display: inline-block;
	margin-top: 8px;
	border: none;
}

.footer-bottom {
	text-align: center;
	padding-top: 40px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	margin-top: 40px;
	font-size: 14px;
	opacity: 0.7;
}

.footer-copyright {
	margin-bottom: 8px;
}

.footer-links-inline {
	display: flex;
	justify-content: center;
	gap: 24px;
	margin-top: 12px;
	flex-wrap: wrap;
}

.footer-links-inline a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: all 0.3s;
}

.footer-links-inline a:hover {
	color: #ffd700;
}

/* ==========================================
	响应式设计
	========================================== */
@media (max-width: 1024px) {
	.header-content {
		flex-direction: column;
		gap: 16px;
	}
	
	.brand-section {
		flex-direction: column;
		text-align: center;
		gap: 8px;
	}
	
	.main-nav {
		flex-wrap: wrap;
		justify-content: center;
		gap: 12px;
	}
	
	.nav-item {
		padding: 6px 10px;
		font-size: 15px;
	}
	
	.hero-title {
		font-size: 36px;
	}
	
	.hero-subtitle {
		font-size: 19px;
	}
	
	.btn {
		padding: 14px 28px;
		font-size: 16px;
	}
	
	.section-title {
		font-size: 28px;
	}
	
	.section-subtitle {
		font-size: 17px;
	}
	
	.value-title {
		font-size: 28px;
	}
	
	.value-desc {
		font-size: 17px;
	}
	
	.stat-number {
		font-size: 36px;
	}
	
	.stat-label {
		font-size: 16px;
	}
}

@media (max-width: 600px) {
	.footer-content {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: repeat(2, auto);
		gap: 24px 16px;
		align-items: stretch;
	}
	.footer-column, .footer-column.footer-contact {
		font-size: 14px;
		min-width: 0;
		word-break: break-word;
	}
	.footer-column h4 {
		font-size: 16px;
		margin-bottom: 14px;
	}
	.footer-links a {
		font-size: 13px;
	}
	.footer-contact p, .footer-contact a {
		font-size: 13px;
	}
	.footer-content > .footer-column,
	.footer-content > .footer-column.footer-contact {
		/* 让前两个在第一行，后两个在第二行 */
	}
	.footer-content > .footer-column:nth-child(1) {
		grid-row: 1; grid-column: 1;
	}
	.footer-content > .footer-column:nth-child(2) {
		grid-row: 1; grid-column: 2;
	}
	.footer-content > .footer-column:nth-child(3) {
		grid-row: 2; grid-column: 1;
	}
	.footer-content > .footer-column:nth-child(4) {
		grid-row: 2; grid-column: 2;
	}
}

@media (max-width: 560px) {
	.footer-content {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: repeat(2, auto);
		gap: 16px 8px;
		align-items: stretch;
	}
	.footer-column, .footer-column.footer-contact {
		font-size: 13px;
		padding: 0 2px;
		min-width: 0;
		word-break: break-word;
		width: 100%;
		box-sizing: border-box;
		text-align: left;
	}
	.footer-column h4 {
		font-size: 15px;
		margin-bottom: 10px;
	}
	.footer-links a {
		font-size: 12px;
	}
	.footer-contact p, .footer-contact a {
		font-size: 12px;
	}
}

@media (max-width: 480px) {
	.site-slogan {
		display: none !important;
	}
	.main-nav .nav-item:first-child {
		/* 隐藏emoji，仅显示文字 */
		font-size: 17px;
		padding-left: 0;
	}
	.main-nav .nav-item:first-child {
		/* 用伪元素隐藏emoji */
		/* 只保留文字部分 */
	}
	.main-nav .nav-item .nav-emoji {
		display: none;
	}
	/* 其他链接emoji不隐藏 */
	.main-nav .nav-item:first-child {
		/* 方案2：用unicode-range隐藏emoji，或用更细粒度的结构 */
	}
	/* ...existing code... */
	.hero-section {
		padding: 60px 0;
	}
	.hero-title {
		font-size: 28px;
	}
	.hero-subtitle {
		font-size: 17px;
	}
	.hero-cta {
		flex-direction: column;
		align-items: center;
	}
	.btn {
		width: 100%;
		max-width: 320px;
	}
	.services-section,
	.news-section,
	.value-section {
		padding: 50px 0;
	}
	.section-title {
		font-size: 24px;
	}
	.news-grid,
	.services-grid {
		grid-template-columns: 1fr;
	}
	.value-stats {
		gap: 30px;
	}
}