:root {
	--deep-blue: #020617;
	--accent: #22D3EE;
	--accent-purple: #A78BFA;
	--text: #F8FAFC;
}

/* ===== 基本布局 ===== */
.relative {
	position: relative;
}

.absolute {
	position: absolute;
}

.inset-0 {
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.w-full {
	width: 100%;
}

.h-full {
	height: 100%;
}

.flex {
	display: flex;
}

.inline-flex {
	display: inline-flex;
}

.grid {
	display: grid;
}

.flex-col {
	flex-direction: column;
}

.items-center {
	align-items: center;
}

.items-start {
	align-items: flex-start;
}

.justify-center {
	justify-content: center;
}

.flex-1 {
	flex: 1 1 0%;
}

.flex-shrink-0 {
	flex-shrink: 0;
}

.self-end {
	align-self: flex-end;
}

.mt-auto {
	margin-top: auto;
}

.gap-1 {
	gap: 0.25rem;
}

.gap-2 {
	gap: 0.5rem;
}

.gap-3 {
	gap: 0.75rem;
}

.gap-4 {
	gap: 1rem;
}

.gap-6 {
	gap: 1.5rem;
}

.space-y-2>*+* {
	margin-top: 0.5rem;
}

.space-y-5>*+* {
	margin-top: 1.25rem;
}

.overflow-hidden {
	overflow: hidden;
}

.pointer-events-none {
	pointer-events: none;
}

.mx-auto {
	margin-left: auto;
	margin-right: auto;
}

.text-center {
	text-align: center;
}

/* ===== 间距 ===== */
.mt-1 {
	margin-top: 0.25rem;
}

.mt-2 {
	margin-top: 0.5rem;
}

.mt-3 {
	margin-top: 0.75rem;
}

.mt-4 {
	margin-top: 1rem;
}

.mb-1 {
	margin-bottom: 0.25rem;
}

.mb-2 {
	margin-bottom: 0.5rem;
}

.mb-3 {
	margin-bottom: 0.75rem;
}

.mb-4 {
	margin-bottom: 1rem;
}

.mb-5 {
	margin-bottom: 1.25rem;
}

.mb-8 {
	margin-bottom: 2rem;
}

.mb-12 {
	margin-bottom: 3rem;
}

.ml-3 {
	margin-left: 0.75rem;
}

.p-4 {
	padding: 1rem;
}

.p-5 {
	padding: 1.25rem;
}

.p-6 {
	padding: 1.5rem;
}

.px-3 {
	padding-left: 0.75rem;
	padding-right: 0.75rem;
}

.px-4 {
	padding-left: 1rem;
	padding-right: 1rem;
}

.px-6 {
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.py-1 {
	padding-top: 0.25rem;
	padding-bottom: 0.25rem;
}

.py-4 {
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.py-20 {
	padding-top: 5rem;
	padding-bottom: 5rem;
}

.pt-4 {
	padding-top: 1rem;
}

/* ===== 文本 ===== */
.text-xs {
	font-size: 0.75rem;
}

.text-sm {
	font-size: 0.875rem;
}

.text-base {
	font-size: 1rem;
}

.text-lg {
	font-size: 1.125rem;
}

.text-xl {
	font-size: 1.25rem;
}

.text-3xl {
	font-size: 1.875rem;
}

.font-bold {
	font-weight: 700;
}

.font-extrabold {
	font-weight: 800;
}

.font-semibold {
	font-weight: 600;
}

.font-medium {
	font-weight: 500;
}

.font-mono {
	font-family: 'SF Mono', 'Fira Code', 'JetBrains Mono', 'Consolas', monospace;
}

.uppercase {
	text-transform: uppercase;
}

.tracking-tight {
	letter-spacing: -0.025em;
}

.tracking-widest {
	letter-spacing: 0.1em;
}

.leading-tight {
	line-height: 1.25;
}

.leading-relaxed {
	line-height: 1.625;
}

.text-white {
	color: #F8FAFC;
}

.text-white\/30 {
	color: rgba(255, 255, 255, 0.3);
}

.text-white\/50 {
	color: rgba(255, 255, 255, 0.5);
}

.text-white\/60 {
	color: rgba(255, 255, 255, 0.6);
}

.text-white\/70 {
	color: rgba(255, 255, 255, 0.7);
}

.text-white\/80 {
	color: rgba(255, 255, 255, 0.8);
}

.text-accent {
	color: #22D3EE;
}

.text-accent\/60 {
	color: rgba(34, 211, 238, 0.6);
}

.text-accent-purple {
	color: #A78BFA;
}

.text-accent-purple\/60 {
	color: rgba(167, 139, 250, 0.6);
}

.text-green-400 {
	color: #4ADE80;
}

/* ===== 背景 ===== */
.bg-white\/\[0\.02\] {
	background-color: rgba(255, 255, 255, 0.02);
}

.bg-white\/\[0\.03\] {
	background-color: rgba(255, 255, 255, 0.03);
}

.bg-accent\/10 {
	background-color: rgba(34, 211, 238, 0.1);
}

.bg-accent\/20 {
	background-color: rgba(34, 211, 238, 0.2);
}

.bg-accent-purple\/10 {
	background-color: rgba(167, 139, 250, 0.1);
}

.bg-gradient-to-br {
	background-image: linear-gradient(to bottom right, var(--tw-gradient-from), var(--tw-gradient-to));
}

.from-accent\/20 {
	--tw-gradient-from: rgba(34, 211, 238, 0.2);
	--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(34, 211, 238, 0));
}

.to-purple-500\/20 {
	--tw-gradient-to: rgba(168, 85, 247, 0.2);
}

/* ===== 边框 ===== */
.border {
	border-width: 1px;
}

.border-t {
	border-top-width: 1px;
}

.border-white\/5 {
	border-color: rgba(255, 255, 255, 0.05);
}

.border-accent\/20 {
	border-color: rgba(34, 211, 238, 0.2);
}

.border-accent\/30 {
	border-color: rgba(34, 211, 238, 0.3);
}

.border-accent\/40 {
	border-color: rgba(34, 211, 238, 0.4);
}

.border-accent-purple\/10 {
	border-color: rgba(167, 139, 250, 0.1);
}

.border-accent-purple\/20 {
	border-color: rgba(167, 139, 250, 0.2);
}

.rounded-xl {
	border-radius: 0.75rem;
}

.rounded-2xl {
	border-radius: 1rem;
}

.rounded-full {
	border-radius: 50%;
}

/* ===== 尺寸 ===== */
.w-1\.5 {
	width: 0.375rem;
}

.h-1\.5 {
	height: 0.375rem;
}

.w-3 {
	width: 0.75rem;
}

.h-3 {
	height: 0.75rem;
}

.w-6 {
	width: 1.5rem;
}

.h-6 {
	height: 1.5rem;
}

.w-8 {
	width: 2rem;
}

.h-8 {
	height: 2rem;
}

.w-12 {
	width: 3rem;
}

.h-12 {
	height: 3rem;
}

.w-14 {
	width: 3.5rem;
}

.h-14 {
	height: 3.5rem;
}

/* ===== 特效 ===== */
.backdrop-blur-sm {
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.backdrop-blur-md {
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.opacity-20 {
	opacity: 0.2;
}

.transition-transform {
	transition-property: transform;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
	transition-duration: 150ms;
}

.transition-all {
	transition-property: all;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
	transition-duration: 150ms;
}

.transition-colors {
	transition-property: color, background-color, border-color;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
	transition-duration: 150ms;
}

.duration-300 {
	transition-duration: 300ms;
}

.cursor-default {
	cursor: default;
}

/* ===== 悬停效果 ===== */
.hover\:scale-\[1\.02\]:hover {
	transform: scale(1.02);
}

.hover\:-translate-y-2:hover {
	transform: translateY(-0.5rem);
}

.hover\:border-accent\/30:hover {
	border-color: rgba(34, 211, 238, 0.3);
}

.hover\:text-white:hover {
	color: #F8FAFC;
}

/* ===== 定位 ===== */
.-top-2 {
	top: -0.5rem;
}

.-right-2 {
	right: -0.5rem;
}

.z-10 {
	z-index: 10;
}

.z-20 {
	z-index: 20;
}

/* ===== 阴影 ===== */
.shadow-\[0_0_15px_rgba\(34\,211\,238\,0\.5\)\] {
	box-shadow: 0 0 15px rgba(34, 211, 238, 0.5);
}

/* ===== 最大宽度 ===== */
.max-w-7xl {
	max-width: 80rem;
}

.max-w-2xl {
	max-width: 42rem;
}

/* ===== 网格 ===== */
.grid-cols-1 {
	grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
	.md\:grid-cols-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.lg\:grid-cols-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.lg\:py-28 {
		padding-top: 7rem;
		padding-bottom: 7rem;
	}

	.lg\:px-8 {
		padding-left: 2rem;
		padding-right: 2rem;
	}

	.lg\:mb-16 {
		margin-bottom: 4rem;
	}

	.lg\:text-5xl {
		font-size: 3rem;
	}

	.scenes-section {
		padding-top: 2.75rem;
		padding-bottom: 5.5rem;
	}

	.scenes-heading {
		margin-bottom: 3rem;
	}
}

@media (min-width: 640px) {
	.sm\:px-6 {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}

	.sm\:text-4xl {
		font-size: 2.25rem;
	}

	.sm\:text-lg {
		font-size: 1.125rem;
	}
}

/* ===== 自定义动画 ===== */
@keyframes breath {

	0%,
	100% {
		opacity: 1;
		transform: scale(1);
	}

	50% {
		opacity: 0.7;
		transform: scale(1.05);
	}
}

@keyframes borderFlow {
	0% {
		background-position: 0% 0%;
	}

	100% {
		background-position: 200% 0%;
	}
}

.hot-badge {
	animation: breath 2s ease-in-out infinite;
}

.scenes-section {
	padding-top: 2.125rem;
	padding-bottom: 4.25rem;
}

.scenes-heading {
	margin-bottom: 2.5rem;
}

.border-glow-animated {
	position: relative;
	border: 1px solid transparent;
	background-clip: padding-box;
}

.border-glow-animated::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1.5px;
	background: linear-gradient(90deg,
			rgba(34, 211, 238, 0.3),
			rgba(34, 211, 238, 0.8),
			rgba(167, 139, 250, 0.8),
			rgba(34, 211, 238, 0.3));
	background-size: 200% 100%;
	animation: borderFlow 3s linear infinite;
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

.ai-framework-icon {
	filter: grayscale(1) brightness(0.5);
	transition: filter 0.3s;
}

.ai-framework-icon:hover {
	filter: grayscale(0) brightness(1);
}

/* ===== 场景矩阵布局 - 一排三个 ===== */
.scenes-grid {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.scenes-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.scenes-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* 场景卡片基础样式 */
.scene-card {
	position: relative;
	background-color: rgba(255, 255, 255, 0.02);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 1rem;
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	transition: all 0.3s ease;
}

.scene-card:hover {
	transform: translateY(-0.5rem);
	border-color: rgba(34, 211, 238, 0.3);
}

/* 特色卡片（AI模型训练）特殊样式 */
.scene-card.featured {
	background-color: rgba(255, 255, 255, 0.03);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.scene-card.featured:hover {
	transform: scale(1.02);
}
