/*
* Lucky POS 智慧餐饮软件官网样式
* 主色: #FE5B00 (品牌橙)
* 辅色: #0D234D (深蓝)
*/

/* 基础样式重置 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Noto Sans SC', 'Roboto', sans-serif;
	line-height: 1.6;
	color: #333;
	background-color: #fff;
}

a {
	text-decoration: none;
	color: inherit;
	transition: all 0.3s ease;
}

ul {
	list-style: none;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

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

/* 按钮样式 */
.btn {
	display: inline-block;
	padding: 12px 24px;
	border-radius: 4px;
	font-weight: 500;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn-primary {
	background-color: #fe5b00;
	color: white;
	border: none;
}

.btn-primary:hover {
	background-color: #e05100;
	box-shadow: 0 4px 8px rgba(254, 91, 0, 0.3);
}

.btn-secondary {
	background-color: #0d234d;
	color: white;
	border: none;
}

.btn-secondary:hover {
	background-color: #0a1b3d;
	box-shadow: 0 4px 8px rgba(13, 35, 77, 0.3);
}

.btn-outline {
	background-color: transparent;
	color: #fe5b00;
	border: 2px solid #fe5b00;
}

.btn-outline:hover {
	background-color: #fe5b00;
	color: white;
}

/* 标题样式 */
.section-title {
	font-size: 2.5rem;
	text-align: center;
	margin-bottom: 2rem;
	color: #0d234d;
	position: relative;
	padding-bottom: 15px;
}

.section-title:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 3px;
	background-color: #fe5b00;
}

/* Header和Footer样式已移至css/common.css */

/* Hero Carousel Section */
.hero-carousel {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

#particles-js {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1;
	pointer-events: none;
}

.carousel-container {
	position: relative;
	width: 100%;
	height: 480px;
	overflow: hidden;
	z-index: 2;
}

.carousel-slide {
	display: block;
	padding: 80px 0 40px;
	width: 100%;
	min-height: 480px;
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	transition: opacity 0.5s ease-in-out;
	pointer-events: none;
}

.carousel-slide.active {
	opacity: 1 !important;
	pointer-events: auto;
	z-index: 10 !important;
	display: block !important;
}

.carousel-slide .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	min-height: 480px;
}

.hero-content {
	flex: 1;
	padding-right: 40px;
}

.hero-image {
	flex: 1;
	text-align: center;
}

.carousel-slide h1 {
	font-size: 3rem;
	color: #0d234d;
	margin-bottom: 20px;
	line-height: 1.2;
}

.carousel-slide p {
	font-size: 1.2rem;
	color: #555;
	margin-bottom: 30px;
}

.cta-buttons {
	display: flex;
	gap: 15px;
}

/* Carousel Navigation */
.carousel-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	display: flex;
	justify-content: space-between;
	padding: 0 20px;
	pointer-events: none;
	z-index: 20;
}

.carousel-prev,
.carousel-next {
	background: rgba(255, 255, 255, 0.9);
	border: none;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	pointer-events: auto;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel-prev:hover,
.carousel-next:hover {
	background: #fe5b00;
	color: white;
	transform: scale(1.1);
}

.carousel-prev i,
.carousel-next i {
	font-size: 18px;
}

/* Carousel Indicators */
.carousel-indicators {
	position: absolute;
	bottom: 30px;
	z-index: 20;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
}

.indicator {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	transition: all 0.3s ease;
}

.indicator.active {
	background: #fe5b00;
	transform: scale(1.2);
}

.indicator:hover {
	background: rgba(254, 91, 0, 0.7);
}

/* Carousel Slide 2 Background */
.carousel-slide-bg-2 {
	background-image: url('../images/专业设备.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	min-height: 480px;
	width: 100%;
	top: 0;
	left: 0;
}

.carousel-slide-bg-2.active {
	opacity: 1 !important;
	z-index: 15 !important;
	display: block !important;
}

/* Carousel Slide 3 Background */
.carousel-slide-bg-3 {
	background-image: url('../images/背景图片 3.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	min-height: 480px;
	width: 100%;
	top: 0;
	left: 0;
}

.carousel-slide-bg-3.active {
	opacity: 1 !important;
	z-index: 15 !important;
	display: block !important;
}

.carousel-slide-bg-3 .carousel-overlay {
	background: linear-gradient(135deg, rgba(13, 35, 77, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.carousel-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(13, 35, 77, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
	z-index: 1;
}

.carousel-slide-bg-2 .carousel-container,
.carousel-slide-bg-3 .carousel-container {
	position: relative;
	z-index: 2;
	height: 100%;
	min-height: 480px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding: 0 50px;
	max-width: 1200px;
	margin: 0 auto;
}

.carousel-slide-bg-2 .hero-content,
.carousel-slide-bg-3 .hero-content {
	color: white;
	max-width: 600px;
	background: rgba(0, 0, 0, 0.6);
	padding: 40px;
	border-radius: 12px;
	backdrop-filter: blur(5px);
	position: relative;
	z-index: 3;
	transform: translateY(-30px);
}

.carousel-slide-bg-2 h1,
.carousel-slide-bg-3 h1 {
	color: white !important;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	margin-bottom: 20px;
}

.carousel-slide-bg-3 .btn {
	background: rgba(254, 91, 0, 0.9);
	border: 2px solid rgba(254, 91, 0, 0.9);
	color: white;
	text-shadow: none;
	backdrop-filter: blur(5px);
	transition: all 0.3s ease;
}

.carousel-slide-bg-3 .btn:hover {
	background: rgba(254, 91, 0, 1);
	border-color: rgba(254, 91, 0, 1);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(254, 91, 0, 0.4);
}

.carousel-slide-bg-3 .btn-secondary {
	background: rgba(255, 255, 255, 0.1);
	border: 2px solid rgba(255, 255, 255, 0.3);
	color: white;
	backdrop-filter: blur(10px);
}

.carousel-slide-bg-3 .btn-secondary:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.5);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.carousel-slide-bg-2 p,
.carousel-slide-bg-3 p {
	color: rgba(255, 255, 255, 0.95) !important;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
	margin-bottom: 30px;
}

.carousel-slide-bg-2 .cta-buttons,
.carousel-slide-bg-3 .cta-buttons {
	position: relative;
	z-index: 4;
}

/* 移除重复的按钮样式定义，使用上面的单独定义 */

/* 移除重复的第三张轮播样式定义 */

/* Section Header */
.section-header {
	text-align: center;
	margin-bottom: 60px;
}

.section-header h2 {
	color: #0d234d;
	font-size: 2.5rem;
	margin-bottom: 20px;
	position: relative;
	display: inline-block;
}

.section-header h2:after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 4px;
	background-color: #fe5b00;
}

.section-header p {
	max-width: 800px;
	margin: 0 auto;
	color: #555;
	font-size: 1.1rem;
}

/* Features Section */
.features {
	padding: 80px 0;
	background-color: #fff;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}

@media (max-width: 1200px) {
	.features-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.features-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.features-grid {
		grid-template-columns: 1fr;
	}
}

.feature-card {
	text-align: center;
	padding: 30px 20px;
	border-radius: 8px;
	transition: all 0.3s ease;
	background-color: #f8f9fa;
}

.feature-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
	margin-bottom: 20px;
}

.feature-icon img {
	width: 60px;
	height: 60px;
	margin: 0 auto;
}

.feature-card h3 {
	color: #0d234d;
	margin-bottom: 15px;
	font-size: 1.5rem;
}

/* Solutions Preview */
.solutions-preview {
	padding: 80px 0;
	background-color: #f8f9fa;
}

.solutions-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	align-items: stretch;
}

@media (max-width: 768px) {
	.solutions-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.solutions-grid {
		grid-template-columns: 1fr;
	}
}

.solution-card {
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	background-color: white;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.solution-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.solution-card img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}

.solution-content {
	padding: 20px;
	display: flex;
	flex-direction: column;
	height: 100%;
	text-align: center;
}

.solution-content h3 {
	margin: 0 0 15px 0;
	color: #0d234d;
	font-size: 1.5rem;
}

.solution-content p {
	margin: 0 0 20px 0;
	color: #555;
	flex-grow: 1;
	line-height: 1.6;
}

.btn-text {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #fe5b00;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.3s ease;
	margin-top: auto;
	justify-content: center;
}

.btn-text:hover {
	color: #e05100;
	transform: translateX(5px);
}

.btn-text i {
	transition: transform 0.3s ease;
}

.btn-text:hover i {
	transform: translateX(3px);
}

.solution-card .btn {
	margin: 0 20px 20px;
}

/* Video Demo Section */
.video-demo {
	padding: 80px 0;
	background-color: #fff;
}

.video-container {
	max-width: 800px;
	margin: 0 auto;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	margin-bottom: 40px;
}

.video-wrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
	height: 0;
	overflow: hidden;
}

.video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.video-placeholder {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
	height: 0;
	background-color: #000;
}

.video-placeholder img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.7;
}

.play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80px;
	height: 80px;
	background-color: rgba(254, 91, 0, 0.9);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
}

.play-button i {
	color: white;
	font-size: 30px;
}

.play-button:hover {
	background-color: #fe5b00;
	transform: translate(-50%, -50%) scale(1.1);
}

.video-features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	max-width: 800px;
	margin: 0 auto;
}

.video-feature {
	text-align: center;
	padding: 20px;
	background-color: #f8f9fa;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.video-feature:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.video-feature i {
	font-size: 2rem;
	color: #fe5b00;
	margin-bottom: 15px;
}

.video-feature h3 {
	color: #0d234d;
	font-size: 1.2rem;
}

@media (max-width: 768px) {
	.video-features {
		grid-template-columns: 1fr;
	}
}

/* Partners Section */
.partners {
	padding: 60px 0;
	background-color: #f8f9fa;
}

.partners-logo {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 30px;
}

.partners-logo-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-bottom: 40px;
}

@media (max-width: 768px) {
	.partners-logo-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.partners-logo-grid {
		grid-template-columns: 1fr;
	}
}

.partner {
	flex: 1;
	min-width: 150px;
	text-align: center;
	filter: grayscale(100%);
	opacity: 0.7;
	transition: all 0.3s ease;
}

.partner:hover {
	filter: grayscale(0);
	opacity: 1;
}

.partner img {
	max-height: 60px;
	margin: 0 auto;
}

.partner-logo {
	text-align: center;
	filter: grayscale(100%);
	opacity: 0.7;
	transition: all 0.3s ease;
	padding: 30px 20px;
	background-color: white;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 120px;
}

.partner-logo:hover {
	filter: grayscale(0);
	opacity: 1;
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.partner-logo img {
	max-height: 80px;
	max-width: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.partner-cta {
	text-align: center;
	margin-top: 40px;
}

.partner-cta p {
	font-size: 1.1rem;
	color: #555;
	margin-bottom: 20px;
}

/* Testimonials */
.testimonials {
	padding: 80px 0;
	background-color: #fff;
}

.testimonials-slider {
	max-width: 800px;
	margin: 0 auto;
	position: relative;
}

.testimonial-slide {
	display: none;
}

.testimonial-slide:first-child {
	display: block;
}

.testimonial {
	padding: 30px;
	border-radius: 8px;
	background-color: #f8f9fa;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	margin: 0 auto;
}

.testimonial-content {
	background-color: #f8f9fa;
	border-radius: 8px;
	padding: 30px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	margin-bottom: 20px;
}

.testimonial-content p {
	font-style: italic;
	color: #555;
	font-size: 1.1rem;
	line-height: 1.8;
}

.testimonial-author {
	display: flex;
	align-items: center;
}

.testimonial-author img {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	margin-right: 15px;
	object-fit: cover;
}

.author-info h4 {
	color: #0d234d;
	margin-bottom: 5px;
}

.author-info p {
	color: #777;
	font-size: 0.9rem;
}

.testimonial-dots {
	display: flex;
	justify-content: center;
	margin-top: 30px;
}

.dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #ccc;
	margin: 0 5px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.dot.active {
	background-color: #fe5b00;
}

/* CTA Section */
.cta-section {
	padding: 80px 0;
	background: #fe5b00;
	color: white;
	text-align: center;
}

.cta-section h2 {
	font-size: 2.5rem;
	margin-bottom: 20px;
}

.cta-section p {
	font-size: 1.2rem;
	margin-bottom: 30px;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.cta-section .cta-buttons {
	justify-content: center;
}

.cta-section .btn-primary {
	background: transparent;
	border: 2px solid #fff;
	color: #fff;
	padding: 12px 30px;
	font-size: 16px;
	border-radius: 5px;
	transition: all 0.3s ease;
}

.cta-section .btn-primary:hover {
	background: #fff;
	color: #fe5b00;
	border-color: #fff;
	transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 1024px) {
	.carousel-slide h1 {
		font-size: 2.5rem;
	}

	.carousel-nav {
		padding: 0 10px;
	}

	.carousel-prev,
	.carousel-next {
		width: 45px;
		height: 45px;
	}
}

@media (max-width: 768px) {
	.carousel-slide .container {
		flex-direction: column;
	}

	.hero-content {
		padding-right: 0;
		text-align: center;
		margin-bottom: 40px;
	}

	.carousel-slide {
		padding: 120px 0 60px;
		min-height: 500px;
	}

	.carousel-nav {
		display: none;
	}

	.carousel-indicators {
		bottom: 20px;
	}

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

	.features-grid,
	.solutions-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.carousel-slide h1 {
		font-size: 2rem;
	}

	.carousel-slide {
		padding: 100px 0 50px;
		min-height: 400px;
	}

	.carousel-slide p {
		font-size: 1rem;
	}

	.section-title {
		font-size: 2rem;
	}

	.cta-buttons {
		flex-direction: column;
		gap: 10px;
	}

	.btn {
		width: 100%;
	}

	.partners-logo {
		justify-content: center;
	}

	.partner {
		min-width: 120px;
	}
}
