:root {
	/* Colors */
	--primary: #4a72ff;
	--primary-light: rgba(74, 114, 255, 0.05);
	--dark: #0c1b4d;
	--dark-light: rgba(12, 27, 77, 0.6);
	--dark-extra-light: rgba(12, 27, 77, 0.1);
	--spacing: #ffd39f;
	--white: #f4f7ff;

	/* Shadow */
	--primary-shadow: 0 5px 15px 15px rgba(74, 114, 255, 0.1);

	/* Font Sizes */
	--font-size-xxs: 12px;
	--font-size-xs: 14px;
	--font-size-s: 16px;
	--font-size-m: 18px;
	--font-size-xl: 24px;
	--font-size-xxl: 28px;
	--font-size-xxxl: 34px;
}

body {
	line-height: 1.5;
	background: linear-gradient(180deg, #eef2ff, rgba(238, 242, 255, 0));
	min-height: 100vh;
	font-family: "Dm Sans", sans-serif;
	font-size: var(--font-size-s);
	color: var(--dark-light);
}
html,
	body {
		overflow: auto;
		/* 允许滚动 */
	}

	::-webkit-scrollbar {
		width: 0px;
		/* 隐藏垂直滚动条 */
		height: 0px;
		/* 隐藏水平滚动条 */
	}
.logo {
	width: 70px;
}

.container {
	max-width: 1024px;
	width: 94%;
	margin-left: auto;
	margin-right: auto;
}

.button {
	padding: 16px 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: 8px;
}

.primary-button {
	background-color: var(--primary);
	color: var(--white);
	box-shadow: var(--primary-shadow);
}

.secondary-button {
	background-color: var(--primary-light);
	color: var(--primary);
}

/* Header */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
	height: 80px;
    background-color: transparent; /* 初始背景透明 */
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px;
    transition: background-color 0.4s ease;
    z-index: 1000; 
}
 
header.scrolled {
	height: 80px;
    background-color: white; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
}

.logo img {
	height: 60px;
	margin-left: 300px;
}

nav {
	display: flex;
	gap: 62px;
	margin-right: 150px;
}

nav a {
	color: var(--dark);
	text-decoration: none;
	font-size: 16px;
}

nav a:hover,
nav a.active {
	font-weight: 500;
}

.button.primary-button {
	background-color: #007bff;
	color: white;
	border: none;
	padding: 12px 24px;
	cursor: pointer;
	font-size: 16px;
}

.button.primary-button:hover {
	background-color: #0056b3;
}

/* 添加一些内容来演示滚动效果 */
.content {
	padding-top: 80px;
	/* 确保内容不会被固定的header遮挡 */
	padding-left: 20px;
	padding-right: 20px;
}

.section {
	margin-bottom: 50px;
}

section {
	margin-top: 72px;
	margin-bottom: 72px;
}

section .section-introduction {
	margin-left: auto;
	margin-right: auto;
	max-width: 50ch;
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

section .section-sub-title {
	text-transform: uppercase;
	letter-spacing: 1.5px;
	font-size: var(--font-size-xs);
	color: var(--dark);
}

section .section-title {
	font-size: var(--font-size-xxl);
	color: var(--dark);
}

/* Hero */

#hero {
	display: flex;
	align-items: center;
	gap: 24px;
	height: 100vh;
	margin-top: 0px;
}

#hero>* {
	flex: 1;
}

.hero-sub-title {
	text-transform: uppercase;
	letter-spacing: 1.5px;
	font-size: var(--font-size-xs);
	color: var(--primary);
	margin-bottom: 16px;
}

.hero-title {
	font-size: var(--font-size-xxxl);
	color: var(--dark);
	margin-bottom: 16px;
}

.hero-actions {
	display: flex;
	gap: 24px;
	margin-top: 24px;
}

.hero-analytics {
	margin-top: 48px;
	display: flex;
	gap: 48px;
}

.hero-analytic-item {
	display: flex;
	gap: 16px;
}

.hero-analytic-item h5 {
	font-size: var(--font-size-xxs);
	text-transform: uppercase;
}

.hero-analytic-item h3 {
	font-size: var(--font-size-xl);
	color: var(--dark);
}

/* Companies */

#companies {
	display: flex;
	align-items: center;
	gap: 40px;
	padding: 40px;
	background-color: var(--primary-light);
	border-radius: 8px;
}

#companies .company-item img {
	filter: grayscale(1);
	opacity: 0.2;
	transition: all 250ms ease-in-out;
	margin-left: 20px;
	margin-right: 30px;
}

#companies .company-item:hover img {
	filter: grayscale(0);
	opacity: 1;
}

/* Features Horizontal */
#features-horizontal{
	/* border: 10px transparent solid; */
	
	height: 100vh;
	padding-top: 80px;
}
#section-introduction{
	margin-bottom: 50px;
}
#section-introduction p{
	margin: 20px;
}
#section-body{
	margin-top: 150px;
}
#features-horizontal .section-body {
	display: flex;
	align-items: center;
	gap: 32px;
	text-align: center;
	/* border: 10px red solid; */
}

#features-horizontal .section-body .feature-item-title {
	font-size: var(--font-size-m);
	color: var(--dark);
	margin-bottom: 8px;
}

#features-horizontal .feature-item {
	flex: 1;
}

#features-horizontal .section-body .feature-item-image {
	max-height: 180px;
	margin-bottom: 16px;
}

#features-horizontal .section-body img {
	margin-left: auto;
	margin-right: auto;
}

/* Features Vertical */

#features-vertical {
	display: flex;
	align-items: center;
	/* border: 1px red solid; */
	padding-top: 80px;
	height: 100vh;
}

#features-vertical>* {
	flex: 1;
}

#features-vertical .section-introduction {
	text-align: left;
	margin-bottom: 24px;
}

#features-vertical .section-body {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

#features-vertical .feature-item {
	display: flex;
	align-items: flex-start;
	gap: 24px;
}

#features-vertical .feature-item-image {
	padding: 16px;
	background-color: var(--dark-extra-light);
	border-radius: 8px;
}

#features-vertical .feature-item-body h3 {
	color: var(--dark);
}

/* Stores */

#stores {
	background-color: var(--primary);
	padding: 100px 80px;
	border-radius: 16px;
	box-shadow: var(--primary-shadow);
	position: relative;
}

#stores .section-introduction {
	margin-left: unset;
	color: var(--white);
	margin-right: unset;
	text-align: left;
}

#stores .section-introduction ul {
	list-style: disc;
	margin-left: 16px;
	opacity: 0.5;
}

#stores .section-introduction h3,
#stores .section-introduction h2 {
	color: var(--white);
}

#stores .section-body {
	display: flex;
	gap: 24px;
	margin-top: 24px;
}

.store-image {
	position: absolute;
	right: 88px;
	top: 0;
	bottom: 0;
	max-height: 100%;
}

/* FAQ */
#faq{
	/* border: 10px red solid; */
	height: 100vh;
	padding-top: 80px;
}
#faq .section-body {
	display: flex;
	flex-direction: column;
	gap: 32px;
	max-width: 65ch;
	margin-left: auto;
	margin-right: auto;
	margin-top: 36px;
}

#faq .faq-item {
	border-radius: 8px;
	cursor: pointer;
}

#faq .faq-item .faq-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: var(--dark);
	border-bottom: 1px solid var(--dark-extra-light);
	padding: 24px;
}

#faq .faq-item .faq-body {
	font-size: 0;
	opacity: 0;
	padding: 0;
	transition: opacity 250ms, font-size 500ms 250ms, padding 500ms 250ms;
}

#faq .faq-item.active {
	background-color: var(--primary);
	box-shadow: var(--primary-shadow);
	color: var(--white);
}

#faq .faq-item.active svg {
	transform: rotate(180deg);
	transition: all 300ms;
}

#faq .faq-item.active svg path {
	stroke: var(--white);
}

#faq .faq-item.active .faq-body {
	color: var(--white);
	padding: 24px;
	font-size: inherit;
	opacity: 1;
	transition: opacity 500ms 250ms, font-size 250ms, padding 250ms;
}

#faq .faq-item.active .faq-header {
	border-color: rgba(255, 255, 255, 0.2);
	color: var(--white);
}

/* Footer */

footer {
	background-color: var(--primary-light);
	padding-top: 72px;
	padding-bottom: 72px;
	margin-bottom: 0;
}

footer .container {
	display: flex;
	gap: 24px;
}

footer .company-item {
	flex: 2;
}

footer .sitemap,
footer .social-media {
	flex: 1;
}

footer .title {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--dark);
	font-weight: 700;
	margin-bottom: 8px;
}

footer .company-item .copyright {
	margin-top: 8px;
	text-transform: uppercase;
}

footer .sitemap ul {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-weight: 700;
}

footer .social-media ul {
	display: flex;
	gap: 24px;
	margin-top: 24px;
}

footer .social-media li {
	background-color: var(--dark-extra-light);
	padding: 8px;
	border-radius: 4px;
}

@media (max-width: 768px) {
	#hero {
		flex-direction: column-reverse;
	}

	#features-horizontal .section-body {
		flex-direction: column;
	}

	#features-vertical {
		flex-direction: column;
	}

	.store-image {
		display: none;
	}

	.section-introduction,
	#faq .section-body {
		max-width: 100%;
	}

	footer .container {
		flex-direction: column;
	}
}


.footer_img {
	display: flex;
	gap: 10px;
}

.footer_img img {
	width: 38px;
	height: 38px;
	border: 1px #c1c1c1 solid;
	padding: 3px;
	border-radius: 5px;
	transition: filter 0.3s ease;
	margin: 5px;
	/* 添加过渡效果 */
}

.footer_img img:hover {
	border: 1px #000000 solid;
	padding: 3px;
	border-radius: 5px;
	background-color: #f6f8ff;
	filter: brightness(50%);
	/* 降低亮度至50% */
}

.tell {
	width: 100%;
	text-align: center;
}