/* ================================================================
   岳西人网 - 首页样式
   品牌色：绿色 #2D7A5F，红色 #C84A3E，背景 #FEFDFB
   字体：Noto Serif SC（标题），Noto Sans SC（正文）
   ================================================================ */

/* ================================================================
   基础变量
   ================================================================ */
:root {
	--color-green: #2D7A5F;
	--color-green-light: #3D9B7F;
	--color-green-bg: #E8F5EE;
	--color-red: #C84A3E;
	--color-red-light: #E06B5F;
	--color-red-bg: #FDECEA;
	--color-bg: #FEFDFB;
	--color-bg-alt: #F7F5F0;
	--color-text: #2C2C2C;
	--color-text-light: #6B7280;
	--color-text-lighter: #9CA3AF;
	--color-border: #E8E5DE;
	--font-serif: 'Noto Serif SC', 'Songti SC', serif;
	--font-sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
	--shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
	--shadow-md: 0 8px 24px rgba(0,0,0,0.08);
	--shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
	--radius-sm: 8px;
	--radius-md: 16px;
	--radius-lg: 24px;
	--transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================================================================
   滚动显示动画
   ================================================================ */
.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
	opacity: 1;
	transform: translateY(0);
}

/* ================================================================
   通用按钮
   ================================================================ */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 32px;
	font-size: 15px;
	font-weight: 600;
	font-family: var(--font-sans);
	border-radius: var(--radius-sm);
	text-decoration: none;
	transition: all var(--transition);
	cursor: pointer;
	border: 2px solid transparent;
}

.btn-primary {
	background: var(--color-green);
	color: #fff;
	border-color: var(--color-green);
}

.btn-primary:hover {
	background: var(--color-green-light);
	border-color: var(--color-green-light);
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(45, 122, 95, 0.3);
}

.btn-outline {
	background: transparent;
	color: var(--color-green);
	border-color: var(--color-green);
}

.btn-outline:hover {
	background: var(--color-green);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(45, 122, 95, 0.3);
}

.btn-outline-light {
	background: transparent;
	color: #fff;
	border-color: rgba(255,255,255,0.6);
}

.btn-outline-light:hover {
	background: #fff;
	color: var(--color-green);
	border-color: #fff;
	transform: translateY(-2px);
}

/* ================================================================
   通用区块标题
   ================================================================ */
.section-header {
	text-align: center;
	margin-bottom: 56px;
}

.section-tag {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	font-family: var(--font-sans);
	letter-spacing: 3px;
	color: var(--color-green);
	background: var(--color-green-bg);
	padding: 6px 16px;
	border-radius: 20px;
	margin-bottom: 16px;
}

.section-title {
	font-family: var(--font-serif);
	font-size: 36px;
	font-weight: 700;
	color: var(--color-text);
	margin: 0 0 12px 0;
	line-height: 1.3;
}

.section-desc {
	font-size: 16px;
	color: var(--color-text-light);
	margin: 0;
	line-height: 1.6;
}

/* ================================================================
   Hero 区域 - 全屏背景图风格
   ================================================================ */
.hero {
	position: relative;
	height: 720px;
	min-height: 600px;
	max-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

/* 背景图 */
.hero-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hero-bg-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.25) 0%,
		rgba(0, 0, 0, 0.35) 50%,
		rgba(0, 0, 0, 0.45) 100%
	);
	z-index: 1;
}

/* 内容区域 */
.hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
	color: #fff;
	padding: 0 24px;
	max-width: 800px;
}

.hero-tag {
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.25em;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 20px;
	text-transform: uppercase;
}

.hero-title {
	font-family: var(--font-serif);
	font-size: 52px;
	font-weight: 700;
	color: #fff;
	margin: 0 0 24px 0;
	line-height: 1.2;
	letter-spacing: 4px;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-desc {
	font-size: 17px;
	line-height: 1.9;
	color: rgba(255, 255, 255, 0.9);
	margin: 0 0 40px 0;
	font-weight: 400;
}

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

/* 金色按钮 */
.btn-gold {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 36px;
	font-size: 15px;
	font-weight: 600;
	font-family: var(--font-sans);
	border-radius: 4px;
	text-decoration: none;
	transition: all 0.3s;
	cursor: pointer;
	border: none;
	background: #C9A962;
	color: #fff;
	box-shadow: 0 4px 16px rgba(201, 169, 98, 0.35);
}

.btn-gold:hover {
	background: #D4B876;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(201, 169, 98, 0.45);
}

/* 淡入动画 */
.fade-up {
	opacity: 0;
	transform: translateY(30px);
	animation: fadeUp 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ================================================================
   品牌故事区域
   ================================================================ */

/* ================================================================
   品牌故事区域
   ================================================================ */
.brand-story {
	padding: 100px 0;
	background: var(--color-bg);
}

.brand-story-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.brand-story-img {
	position: relative;
}

.brand-story-img img {
	width: 100%;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
}

.brand-story-img-deco {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 16px;
	left: 16px;
	border-radius: var(--radius-lg);
	border: 2px solid var(--color-green);
	opacity: 0.2;
	z-index: -1;
}

.brand-story-content .section-tag {
	margin-bottom: 12px;
}

.brand-story-content .section-title {
	text-align: left;
	margin-bottom: 24px;
}

.brand-story-text {
	font-size: 15px;
	line-height: 1.8;
	color: var(--color-text-light);
	margin: 0 0 16px 0;
}

.brand-story-features {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 32px;
}

.brand-story-feature {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 20px;
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	transition: all var(--transition);
}

.brand-story-feature:hover {
	border-color: var(--color-green);
	box-shadow: var(--shadow-sm);
	transform: translateX(4px);
}

.feature-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--color-green-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.feature-icon i {
	font-size: 22px;
	color: var(--color-green);
}

.feature-text h4 {
	font-family: var(--font-serif);
	font-size: 16px;
	font-weight: 700;
	color: var(--color-text);
	margin: 0 0 2px 0;
}

.feature-text p {
	font-size: 13px;
	color: var(--color-text-lighter);
	margin: 0;
}

/* ================================================================
   IP形象详情区域
   ================================================================ */
.ip-showcase {
	padding: 100px 0;
	background: var(--color-bg-alt);
}

.ip-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px;
}

.ip-card {
	background: #fff;
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--color-border);
	transition: all var(--transition);
	display: flex;
	flex-direction: column;
}

.ip-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-lg);
	border-color: transparent;
}

.ip-card-img {
	width: 100%;
	height: 320px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-green-bg);
	overflow: hidden;
}

.ip-card-img img {
	max-height: 280px;
	object-fit: contain;
	transition: transform 0.5s ease;
}

.ip-card:hover .ip-card-img img {
	transform: scale(1.05);
}

.ip-card-body {
	padding: 32px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.ip-card-name {
	font-family: var(--font-serif);
	font-size: 24px;
	font-weight: 700;
	color: var(--color-text);
	margin: 0 0 4px 0;
}

.ip-card-role {
	font-size: 13px;
	font-weight: 500;
	color: var(--color-green);
	background: var(--color-green-bg);
	padding: 4px 12px;
	border-radius: 12px;
	display: inline-block;
	width: fit-content;
	margin-bottom: 16px;
}

.ip-card-desc {
	font-size: 14px;
	line-height: 1.8;
	color: var(--color-text-light);
	margin: 0 0 20px 0;
	flex: 1;
}

.ip-card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ip-tag {
	font-size: 12px;
	font-weight: 500;
	color: var(--color-text-lighter);
	background: var(--color-bg-alt);
	padding: 4px 12px;
	border-radius: 12px;
}

/* ================================================================
   岳西好物展示区域
   ================================================================ */
.yuexi-goods {
	padding: 100px 0;
	background: var(--color-bg);
}

.goods-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.goods-card {
	background: #fff;
	border-radius: var(--radius-md);
	overflow: hidden;
	border: 1px solid var(--color-border);
	transition: all var(--transition);
}

.goods-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-lg);
	border-color: transparent;
}

.goods-card-img {
	width: 100%;
	height: 220px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.goods-card-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	color: rgba(255,255,255,0.8);
}

.goods-card-placeholder i {
	font-size: 40px;
}

.goods-card-placeholder span {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 1px;
}

.goods-card-body {
	padding: 24px;
}

.goods-card-title {
	font-family: var(--font-serif);
	font-size: 18px;
	font-weight: 700;
	color: var(--color-text);
	margin: 0 0 8px 0;
}

.goods-card-desc {
	font-size: 14px;
	line-height: 1.7;
	color: var(--color-text-light);
	margin: 0 0 12px 0;
}

.goods-card-tag {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	color: var(--color-red);
	background: var(--color-red-bg);
	padding: 4px 12px;
	border-radius: 12px;
}

/* ================================================================
   作品展示区域 - 瀑布流
   ================================================================ */
.works-showcase {
	padding: 100px 0;
	background: var(--color-bg-alt);
}

.works-masonry {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 200px;
	gap: 16px;
}

.works-item {
	border-radius: var(--radius-md);
	overflow: hidden;
	position: relative;
	cursor: pointer;
	transition: all var(--transition);
}

.works-item:hover {
	transform: scale(1.02);
	box-shadow: var(--shadow-lg);
}

.works-item--tall {
	grid-row: span 2;
}

.works-item--wide {
	grid-column: span 2;
}

.works-item-inner {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	padding: 20px;
	background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.4) 100%);
	opacity: 0;
	transition: opacity var(--transition);
}

.works-item:hover .works-item-inner {
	opacity: 1;
}

.works-item-label {
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	letter-spacing: 1px;
}

/* ================================================================
   合作CTA区域
   ================================================================ */
.cta-section {
	padding: 100px 0;
	background: linear-gradient(135deg, var(--color-green) 0%, #1A5C46 100%);
}

.cta-inner {
	display: flex;
	align-items: center;
	gap: 60px;
}

.cta-ip {
	flex-shrink: 0;
	width: 280px;
}

.cta-ip img {
	width: 100%;
	object-fit: contain;
	filter: drop-shadow(0 8px 24px rgba(0,0,0,0.2));
	animation: float 4s ease-in-out infinite;
}

.cta-content {
	flex: 1;
}

.cta-title {
	font-family: var(--font-serif);
	font-size: 36px;
	font-weight: 700;
	color: #fff;
	margin: 0 0 16px 0;
	line-height: 1.3;
}

.cta-desc {
	font-size: 16px;
	line-height: 1.8;
	color: rgba(255,255,255,0.8);
	margin: 0 0 32px 0;
}

.cta-actions {
	display: flex;
	gap: 16px;
}

/* ================================================================
   响应式 - 平板
   ================================================================ */
@media (max-width: 1024px) {
	.hero-container {
		grid-template-columns: 1fr;
		gap: 40px;
		padding: 0 32px;
	}

	.hero {
		min-height: auto;
		padding: 100px 0 60px;
	}

	.hero-right {
		min-height: 360px;
	}

	.hero-ip-wrapper {
		width: 300px;
		height: 300px;
	}

	.hero-ip {
		max-width: 200px;
		max-height: 200px;
	}

	.brand-story-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.brand-story-img {
		order: -1;
	}

	.brand-story-content .section-title {
		text-align: center;
	}

	.brand-story-content .section-tag {
		display: block;
		text-align: center;
	}

	.brand-story-text {
		text-align: center;
	}

	.brand-story-features {
		align-items: center;
	}

	.goods-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.works-masonry {
		grid-template-columns: repeat(3, 1fr);
	}

	.cta-inner {
		flex-direction: column;
		text-align: center;
	}

	.cta-ip {
		width: 200px;
	}

	.cta-actions {
		justify-content: center;
	}

	.hero-scroll-hint {
		display: none;
	}
}

/* ================================================================
   响应式 - 手机
   ================================================================ */
@media (max-width: 750px) {
	.hero {
		padding: 80px 0 40px;
	}

	.hero-container {
		padding: 0 20px;
	}

	.hero-title-main {
		font-size: 36px;
	}

	.hero-title-sub {
		font-size: 16px;
	}

	.hero-desc {
		font-size: 14px;
	}

	.hero-actions {
		flex-direction: column;
	}

	.hero-actions .btn {
		width: 100%;
	}

	.hero-stats {
		flex-direction: column;
		gap: 16px;
		padding: 20px;
	}

	.hero-stat-divider {
		width: 40px;
		height: 1px;
	}

	.hero-right {
		min-height: 280px;
	}

	.hero-ip-wrapper {
		width: 240px;
		height: 240px;
	}

	.hero-ip {
		max-width: 160px;
		max-height: 160px;
	}

	.hero-deco-circle--1 {
		width: 200px;
		height: 200px;
	}

	.hero-deco-circle--2 {
		width: 140px;
		height: 140px;
	}

	.platform-bar-inner {
		flex-direction: column;
		gap: 16px;
		padding: 0 20px;
	}

	.platform-links {
		flex-wrap: wrap;
		justify-content: center;
	}

	.section-title {
		font-size: 28px;
	}

	.brand-story,
	.ip-showcase,
	.yuexi-goods,
	.works-showcase,
	.cta-section {
		padding: 60px 0;
	}

	.ip-cards {
		grid-template-columns: 1fr;
	}

	.goods-grid {
		grid-template-columns: 1fr;
	}

	.works-masonry {
		grid-template-columns: repeat(2, 1fr);
		grid-auto-rows: 160px;
	}

	.works-item--wide {
		grid-column: span 1;
	}

	.cta-title {
		font-size: 28px;
	}

	.cta-actions {
		flex-direction: column;
	}

	.cta-actions .btn {
		width: 100%;
	}
}
