:root {
	--primary: #8e24aa;
	--primary-light: #c158dc;
	--secondary: #00b0ff;
	--bg-dark: #030305;
	--bg-card: rgba(20, 20, 25, 0.6);
	--border: rgba(255, 255, 255, 0.1);
	--text-white: #ffffff;
	--text-gray: #a0a0ab;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	background-color: var(--bg-dark);
	color: var(--text-white);
	font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
	overflow-x: hidden;
	min-width: 1200px;
}

/* 极简平滑滚动 */
html {
	scroll-behavior: smooth;
}

/* --- 导航栏 --- */
nav {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1000;
	padding: 10px 8%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: rgba(3, 3, 5, 0.7);
	backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--border);
	min-width: 1200px;
}

.logo {
	font-size: 1.5rem;
	font-weight: 900;
	letter-spacing: 2px;
	background: linear-gradient(90deg, #fff, var(--primary));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.nav-links {
	display: flex;
	align-items: center;
}

.nav-links a {
	color: var(--text-gray);
	text-decoration: none;
	margin-left: 2rem;
	font-size: 0.9rem;
	transition: 0.3s;
}

.nav-links a:hover {
	color: var(--primary-light);
}

nav .classifyRightP,
nav .classifyRightP a,
nav .classifyRightP div {
	color: #fff !important;
}

nav .classifyRightP.personO {
	margin-top: 0 !important;
}

nav .classifyRightP.personO>a>div {
	align-items: center !important;
	height: 36px;
	line-height: 36px !important;
}

/* --- Hero 区域 --- */
.hero {
	position: relative;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 10%;
	overflow: hidden;
}

#canvas-bg {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.hero-main {
	z-index: 10;
	text-align: center;
	max-width: 900px;
}

.badge {
	display: inline-block;
	padding: 6px 16px;
	background: rgba(142, 36, 170, 0.15);
	border: 1px solid var(--primary);
	border-radius: 30px;
	color: var(--primary-light);
	font-size: 0.85rem;
	margin-bottom: 1.5rem;
}

.hero-main h1 {
	font-size: clamp(2.5rem, 8vw, 5rem);
	font-weight: 800;
	line-height: 1.1;
	margin-bottom: 2rem;
	letter-spacing: -2px;
}

.hero-main p {
	font-size: 1.25rem;
	color: var(--text-gray);
	margin-bottom: 3rem;
	line-height: 1.6;
}

.cta-group {
	display: flex;
	gap: 1.5rem;
	justify-content: center;
}

.btn {
	padding: 18px 40px;
	border-radius: 5px;
	font-weight: 600;
	text-decoration: none;
	transition: 0.4s;
	cursor: pointer;
}

.btn-fill {
	background: var(--primary);
	color: #fff;
	box-shadow: 0 10px 30px rgba(142, 36, 170, 0.3);
}

.btn-fill:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 40px rgba(142, 36, 170, 0.5);
}

.btn-outline {
	border: 1px solid var(--border);
	color: #fff;
}

.btn-outline:hover {
	background: var(--border);
}

/* --- 信任看板 --- */
.trust-section {
	padding: 4rem 10%;
	background: #08080a;
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	border-bottom: 1px solid var(--border);
}

.stat-box {
	text-align: center;
	padding: 20px;
}

.stat-box h3 {
	font-size: 2.5rem;
	color: var(--secondary);
	margin-bottom: 5px;
}

.stat-box p {
	font-size: 0.8rem;
	color: var(--text-gray);
	letter-spacing: 2px;
}

/* --- 解决方案 (丰富内容) --- */
.section {
	padding: 100px 10%;
}

.section-tag {
	color: var(--primary);
	font-weight: 700;
	font-size: 0.9rem;
	text-transform: uppercase;
	margin-bottom: 1rem;
	display: block;
}

.section-title {
	font-size: 2.5rem;
	margin-bottom: 4rem;
	max-width: 600px;
}

.solutions-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.sol-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	padding: 40px;
	border-radius: 15px;
	transition: 0.4s;
	position: relative;
	/* 确保流光挂在组件上 */
	overflow: hidden;
	z-index: 1;
	/* 开启层级上下文 */
}

@property --angle {
	syntax: '<angle>';
	initial-value: 0deg;
	inherits: false;
}

@keyframes rotate-angle {
	to {
		--angle: 360deg;
	}
}

.sol-card::before {
	content: '';
	position: absolute;
	inset: -50%;
	/* 扩大范围，防止旋转时露出黑角 */
	z-index: -2;
	background: conic-gradient(from var(--angle),
			transparent 70%,
			#bf5af2 85%,
			#5ac8fa 95%,
			transparent 100%);
	opacity: 0;
	transition: opacity 0.4s ease;
}

.sol-card:hover::before {
	opacity: 1;
	animation: rotate-angle 2s linear infinite;
	/* 激活旋转 */
}

.sol-card::after {
	content: '';
	position: absolute;
	inset: 2px;
	/* 这里的数值就是你边框的粗细 */
	background-color: #000;
	border-radius: inherit;
	/* 自动继承父级圆角 */
	z-index: -1;
}

/*.sol-card:hover {*/
/*    border-color: var(--primary);*/
/*    background: rgba(142, 36, 170, 0.05);*/
/*}*/

.sol-icon {
	width: 50px;
	height: 50px;
	background: rgba(0, 176, 255, 0.1);
	border-radius: 10px;
	margin-bottom: 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--secondary);
	font-weight: 900;
}

.sol-card h4 {
	font-size: 1.4rem;
	margin-bottom: 1rem;
}

.sol-card ul {
	list-style: none;
	color: var(--text-gray);
	font-size: 0.95rem;
}

.sol-card ul li {
	margin-bottom: 8px;
	display: flex;
	align-items: center;
}

.sol-card ul li::before {
	content: "✓";
	color: var(--primary);
	margin-right: 10px;
	font-weight: bold;
}

/* --- 技术架构区 --- */
.tech-block {
	background: linear-gradient(180deg, #08080a 0%, #030305 100%);
	border-radius: 30px;
	padding: 60px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
	border: 1px solid var(--border);
}

.tech-features div {
	margin-bottom: 30px;
}

.tech-features h5 {
	font-size: 1.1rem;
	margin-bottom: 10px;
	color: var(--text-white);
}

.tech-features p {
	color: var(--text-gray);
	font-size: 0.9rem;
}

/* --- FAQ 部分 --- */
.faq-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
}

.faq-item {
	padding: 25px;
	border-bottom: 1px solid var(--border);
}

.faq-item h5 {
	font-size: 1.1rem;
	margin-bottom: 10px;
	color: var(--primary-light);
}

.faq-item p {
	color: var(--text-gray);
	font-size: 0.9rem;
}

/* --- 页脚 --- */
footer {
	padding: 80px 10% 40px;
	border-top: 1px solid var(--border);
}

.footer-top {
	display: flex;
	justify-content: space-between;
	margin-bottom: 60px;
	flex-wrap: wrap;
	gap: 40px;
}

.footer-brand p {
	color: var(--text-gray);
	margin-top: 15px;
	max-width: 300px;
}

.footer-links h6 {
	margin-bottom: 20px;
	font-size: 1rem;
}

.footer-links p {
	color: var(--text-gray);
	font-size: 0.9rem;
	margin-bottom: 10px;
	cursor: pointer;
}

@media (max-width: 768px) {
	.tech-block {
		grid-template-columns: 1fr;
	}

	.hero-main h1 {
		font-size: 3rem;
	}
}


/*产品购买*/
.productPurchaseNew {
	position: absolute;
	left: 0;
	top: 60px;
	background-color: #000;
	color: #fff;
	border-bottom: 1px solid #8e24aa;
}

.ppn-item {
	border: 1px solid #000;
}

.ppn-item:hover {
	background-color: #fff;
	color: #000;
}

.ppn-item:nth-child(6) {
	background-color: #000;
	color: #fff;
	border: 1px solid #000;
}

.ppn-item:nth-child(6):hover {
	background-color: #fff;
	color: #000;
}


/* 文档&新闻下拉菜单样式 */
.docNewsDropdown {
	position: absolute;
	top: 34px !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	background: #000000;
	border: 1px solid #8e24aa;
	border-radius: 8px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
	width: 132px !important;
	min-width: 132px;
	height: auto !important;
	padding: 6px 0;
	box-sizing: border-box;
	overflow: hidden;
	z-index: 1100;
}

.docNewsDropdown a {
	display: block;
	margin-left: 0 !important;
	color: inherit;
	text-decoration: none;
}

.docNewsDropdown .dropdown-item {
	width: 100%;
	min-width: 0;
	padding: 8px 16px;
	color: #fff !important;
	font-size: 13px !important;
	line-height: 18px !important;
	text-align: center;
	white-space: nowrap !important;
	box-sizing: border-box;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.docNewsDropdown .dropdown-item:hover {
	color: var(--primary) !important;
	background-color: #000;
}

/*联系客服*/
#kefuStyle {
	background-color: #8e24aa;
}

.footerMainB {
	background-color: #000;
}

.footerMainBCenter {
	text-align: left;
}


/* --- 联系方式板块 (核心修改) --- */
.contact-section {
	background: linear-gradient(180deg, #030305, #080810);
	padding: 120px 10%;
}

.contact-container {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 40px;
	align-items: start;
}

.contact-info-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.contact-item {
	background: var(--bg-card);
	border: 1px solid var(--border);
	padding: 30px;
	border-radius: 12px;
	transition: 0.3s ease;
	text-decoration: none;
	color: inherit;
}

.contact-item:hover {
	border-color: var(--secondary);
	background: rgba(0, 176, 255, 0.08);
	box-shadow: 0 10px 30px rgba(0, 176, 255, 0.1);
}

.contact-label {
	color: var(--text-gray);
	font-size: 0.75rem;
	text-transform: uppercase;
	margin-bottom: 10px;
	display: block;
	letter-spacing: 1px;
}

.contact-value {
	font-size: 1.2rem;
	font-weight: 700;
	color: #fff;
	display: block;
}

.contact-item i {
	font-style: normal;
	font-size: 24px;
	display: block;
	margin-bottom: 15px;
}

/* 抖音专属展示条 */
.douyin-banner {
	grid-column: span 2;
	background: linear-gradient(90deg, #000, #1a1a1a);
	border: 1px solid #fe2c55;
	padding: 30px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 10px;
}

.douyin-icon {
	width: 50px;
	height: 50px;
	background: #fe2c55;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	font-weight: bold;
}

/* 右侧 CTA 表单/引流 */
.contact-cta {
	background: var(--primary);
	padding: 40px;
	border-radius: 16px;
	color: white;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.contact-cta h3 {
	font-size: 1.8rem;
	margin-bottom: 15px;
}

.contact-cta p {
	opacity: 0.9;
	font-size: 0.95rem;
	line-height: 1.6;
	margin-bottom: 25px;
}

.btn-white {
	background: white;
	color: var(--primary);
	padding: 12px 25px;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 700;
	text-align: center;
	display: inline-block;
}

/* --- 页脚 --- */
footer {
	padding: 60px 10%;
	border-top: 1px solid var(--border);
	text-align: center;
	color: var(--text-gray);
	font-size: 0.85rem;
}

@media (max-width: 968px) {
	.contact-container {
		grid-template-columns: 1fr;
	}

	.contact-info-grid {
		grid-template-columns: 1fr;
	}

	.douyin-banner {
		grid-column: span 1;
	}
}


/* [中部]：IDE 代码编辑器 */
.editor-window {
	/*background: #1e1e1e;*/
	border-radius: 16px;
	overflow: hidden;
	/*box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);*/
	/*border: 1px solid rgba(255, 255, 255, 0.05);*/
	/*margin-bottom: 20px;*/
	/*height: 380px;*/
	width: 100%;
}

.editor-header {
	background: #2d2d2d;
	padding: 10px 16px;
	display: flex;
	align-items: center;
	gap: 7px;
}

.dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
}

.dot-r {
	background: #ff5f56;
}

.dot-y {
	background: #ffbd2e;
}

.dot-g {
	background: #27c93f;
}

.file-name {
	color: #86868b;
	font-size: 11px;
	margin-left: 10px;
	font-family: monospace;
}

.code-content {
	padding: 20px 25px;
	font-family: 'Fira Code', 'Courier New', monospace;
	font-size: 12px;
	line-height: 1.6;
	color: #d4d4d4;
}

.keyword {
	color: #569cd6;
}

.string {
	color: #ce9178;
}

.comment {
	color: #6a9955;
}

.type {
	color: #4ec9b0;
}

.val {
	color: #b5cea8;
}
