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

body {
	font-family: 'Inter', system-ui, sans-serif;
	background-color: #F9FAFB;
	color: #1D2939;
	-webkit-font-smoothing: antialiased;
}

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

a {
	text-decoration: none;
	color: inherit;
}

button {
	border: none;
	background: none;
	cursor: pointer;
}

/* 颜色定义 */
:root {
	--primary: #165DFF;
	--primary-light: rgba(22, 93, 255, 0.1);
	--primary-dark: rgba(22, 93, 255, 0.9);
	--secondary: #36BFFA;
	--dark: #1D2939;
	--light: #F9FAFB;
	--gray-100: #F3F4F6;
	--gray-200: #E5E7EB;
	--gray-300: #D1D5DB;
	--gray-600: #4B5563;
	--gray-700: #374151;
	--gray-800: #1F2937;
	--green-50: #ECFDF5;
	--green-200: #BBF7D0;
	--green-500: #10B981;
	--green-800: #059669;
	--windows: #0078D6;
	--macos: #555555;
	--android: #3DDC84;
}

/* 工具类 */
.text-shadow {
	text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.transition-all {
	transition: all 0.3s ease;
}

.transition-colors {
	transition: color 0.3s ease;
}

.transition-shadow {
	transition: box-shadow 0.3s ease;
}

.scale-hover:hover {
	transform: scale(1.05);
	transition: transform 0.3s ease;
}

.rounded-lg {
	border-radius: 0.5rem;
}

.rounded-xl {
	border-radius: 0.75rem;
}

.rounded-full {
	border-radius: 50%;
}

.shadow-sm {
	box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.shadow {
	box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.shadow-md {
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.shadow-lg {
	box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.shadow-xl {
	box-shadow: 0 20px 25px rgba(0,0,0,0.1);
}

.hover\:shadow-md:hover {
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.hover\:shadow-xl:hover {
	box-shadow: 0 20px 25px rgba(0,0,0,0.1);
}

.flex {
	display: flex;
}

.flex-col {
	flex-direction: column;
}

.items-center {
	align-items: center;
}

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

.justify-between {
	justify-content: space-between;
}

.space-x-2 > * + * {
	margin-left: 0.5rem;
}

.space-x-4 > * + * {
	margin-left: 1rem;
}

.space-x-8 > * + * {
	margin-left: 2rem;
}

.space-y-2 > * + * {
	margin-top: 0.5rem;
}

.space-y-4 > * + * {
	margin-top: 1rem;
}

.space-y-6 > * + * {
	margin-top: 1.5rem;
}

.space-y-8 > * + * {
	margin-top: 2rem;
}

.space-y-12 > * + * {
	margin-top: 3rem;
}

.space-y-20 > * + * {
	margin-top: 5rem;
}

.p-4 {
	padding: 1rem;
}

.p-6 {
	padding: 1.5rem;
}

.p-8 {
	padding: 2rem;
}

.py-2 {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

.py-3 {
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
}

.py-4 {
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.py-6 {
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
}

.py-8 {
	padding-top: 2rem;
	padding-bottom: 2rem;
}

.py-12 {
	padding-top: 3rem;
	padding-bottom: 3rem;
}

.py-16 {
	padding-top: 4rem;
	padding-bottom: 4rem;
}

.py-24 {
	padding-top: 6rem;
	padding-bottom: 6rem;
}

.px-4 {
	padding-left: 1rem;
	padding-right: 1rem;
}

.px-6 {
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.px-8 {
	padding-left: 2rem;
	padding-right: 2rem;
}

.mb-2 {
	margin-bottom: 0.5rem;
}

.mb-3 {
	margin-bottom: 0.75rem;
}

.mb-4 {
	margin-bottom: 1rem;
}

.mb-6 {
	margin-bottom: 1.5rem;
}

.mb-8 {
	margin-bottom: 2rem;
}

.mb-12 {
	margin-bottom: 3rem;
}

.mt-1 {
	margin-top: 0.25rem;
}

.mt-2 {
	margin-top: 0.5rem;
}

.mt-4 {
	margin-top: 1rem;
}

.mt-6 {
	margin-top: 1.5rem;
}

.mt-8 {
	margin-top: 2rem;
}

.mt-12 {
	margin-top: 3rem;
}

.mr-2 {
	margin-right: 0.5rem;
}

.ml-2 {
	margin-left: 0.5rem;
}

.w-full {
	width: 100%;
}

.w-10 {
	width: 2.5rem;
}

.w-14 {
	width: 3.5rem;
}

.w-16 {
	width: 4rem;
}

.h-10 {
	height: 2.5rem;
}

.h-14 {
	height: 3.5rem;
}

.h-16 {
	height: 4rem;
}

.min-h-screen {
	min-height: 100vh;
}

.aspect-video {
	aspect-ratio: 16 / 9;
}

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

.text-left {
	text-align: left;
}

.font-bold {
	font-weight: 700;
}

.font-semibold {
	font-weight: 600;
}

.font-medium {
	font-weight: 500;
}

.text-white {
	color: white;
}

.text-primary {
	color: var(--primary);
}

.text-dark {
	color: var(--dark);
}

.text-gray-400 {
	color: var(--gray-600);
}

.text-gray-500 {
	color: var(--gray-600);
}

.text-gray-600 {
	color: var(--gray-600);
}

.text-gray-700 {
	color: var(--gray-700);
}

.text-green-500 {
	color: var(--green-500);
}

.text-green-800 {
	color: var(--green-800);
}

.bg-white {
	background-color: white;
}

.bg-light {
	background-color: var(--light);
}

.bg-dark {
	background-color: var(--dark);
}

.bg-primary {
	background-color: var(--primary);
}

.bg-primary-light {
	background-color: var(--primary-light);
}

.bg-gray-200 {
	background-color: var(--gray-200);
}

.bg-green-50 {
	background-color: var(--green-50);
}

.bg-green-200 {
	background-color: var(--green-200);
}

.bg-windows-light {
	background-color: rgba(0, 120, 214, 0.1);
}

.bg-macos-light {
	background-color: rgba(85, 85, 85, 0.1);
}

.bg-android-light {
	background-color: rgba(61, 220, 132, 0.1);
}

.text-windows {
	color: var(--windows);
}

.text-macos {
	color: var(--macos);
}

.text-android {
	color: var(--android);
}

.hover\:bg-primary:hover {
	background-color: var(--primary);
}

.hover\:bg-primary-dark:hover {
	background-color: var(--primary-dark);
}

.hover\:text-primary:hover {
	color: var(--primary);
}

.hover\:text-white:hover {
	color: white;
}

.border {
	border: 1px solid;
}

.border-gray-100 {
	border-color: var(--gray-100);
}

.border-gray-300 {
	border-color: var(--gray-300);
}

.border-gray-800 {
	border-color: var(--gray-800);
}

.border-green-200 {
	border-color: var(--green-200);
}

.border-t {
	border-top: 1px solid;
}

.overflow-hidden {
	overflow: hidden;
}

.relative {
	position: relative;
}

.absolute {
	position: absolute;
}

.fixed {
	position: fixed;
}

.inset-0 {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.left-0 {
	left: 0;
}

.right-0 {
	right: 0;
}

.top-0 {
	top: 0;
}

.bottom-0 {
	bottom: 0;
}

.left-4 {
	left: 0rem;
}

.right-4 {
	right: 0rem;
}

.bottom-4 {
	bottom: 1rem;
}

.top-1\/2 {
	top: 50%;
}

.-translate-y-1\/2 {
	transform: translateY(-50%);
}

.z-50 {
	z-index: 50;
}

.opacity-0 {
	opacity: 0;
}

.backdrop-blur-sm {
	backdrop-filter: blur(4px);
}

.inline-block {
	display: inline-block;
}

.block {
	display: block;
}

.hidden {
	display: none;
}

.max-w-2xl {
	max-width: 42rem;
}

.max-w-4xl {
	max-width: 56rem;
}

.max-w-5xl {
	max-width: 64rem;
}

.max-w-6xl {
	max-width: 72rem;
}

.mx-auto {
	margin-left: auto;
	margin-right: auto;
}

.mx-4 {
	margin-left: 1rem;
	margin-right: 1rem;
}

.leading-tight {
	line-height: 1.25;
}

.focus\:outline-none:focus {
	outline: none;
}

.focus\:ring-2:focus {
	box-shadow: 0 0 0 2px rgba(22, 93, 255, 0.5);
}

.focus\:border-primary:focus {
	border-color: var(--primary);
}

/* 字体大小 */
.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-2xl {
	font-size: 1.5rem;
}

.text-3xl {
	font-size: 1.875rem;
}

.text-4xl {
	font-size: 2.25rem;
}

/* 背景渐变 */
.bg-gradient-to-br {
	background: linear-gradient(to bottom right, var(--primary-light), rgba(54, 191, 250, 0.1));
}

.bg-gradient-to-b {
	background: linear-gradient(to bottom, var(--light), white);
}

.bg-gradient-to-b-reverse {
	background: linear-gradient(to bottom, white, var(--light));
}

/* 自定义复选框 */
.form-checkbox {
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 0.25rem;
	border: 1px solid var(--gray-300);
	accent-color: var(--primary);
}

/* 输入框样式 */
input, textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--gray-300);
	border-radius: 0.5rem;
	font-family: inherit;
	font-size: 1rem;
}

input:focus, textarea:focus {
	outline: none;
	box-shadow: 0 0 0 2px rgba(22, 93, 255, 0.5);
	border-color: var(--primary);
}

textarea {
	resize: vertical;
}

/* 响应式样式 */
@media (min-width: 640px) { /* sm */
	.sm\:grid-cols-2 {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.sm\:flex-row {
		flex-direction: row;
	}
}

@media (min-width: 768px) { /* md */
	.md\:hidden {
		display: none;
	}
	
	.md\:flex {
		display: flex;
	}
	
	.md\:flex-row {
		flex-direction: row;
	}
	
	.md\:flex-row-reverse {
		flex-direction: row-reverse;
	}
	
	.md\:grid-cols-3 {
		grid-template-columns: repeat(3, 1fr);
	}
	
	.md\:grid-cols-4 {
		grid-template-columns: repeat(4, 1fr);
	}
	
	.md\:w-1\/2 {
		width: 50%;
	}
	
	.md\:p-8 {
		padding: 2rem;
	}
	
	.md\:p-12 {
		padding: 3rem;
	}
	
	.md\:py-24 {
		padding-top: 6rem;
		padding-bottom: 6rem;
	}
	
	.md\:gap-12 {
		gap: 3rem;
	}
}

@media (min-width: 1024px) { /* lg */
	.lg\:grid-cols-3 {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* 网格布局 */
.grid {
	display: grid;
	gap: 2rem;
}

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

/* 动画效果 */
@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.fade-in {
	animation: fadeIn 0.5s ease forwards;
}

/* 轮播图样式 */
.carousel-item {
	display: none;
	animation: fadeIn 0.5s ease;
}

.carousel-item.active {
	display: block;
}

.carousel-indicator {
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.5);
	transition: background-color 0.3s ease;
}

.carousel-indicator.active,
.carousel-indicator.bg-primary {
	background-color: var(--primary);
}

.carousel-control {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.8);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	transition: background-color 0.3s ease;
}

.carousel-control:hover {
	background-color: white;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

::-webkit-scrollbar-track {
	background: var(--light);
}

::-webkit-scrollbar-thumb {
	background: var(--gray-300);
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--gray-400);
}

.scale-hover {
	transition: transform 0.2s ease;
}
.scale-hover:hover {
	transform: scale(1.02);
}
.bg-light {
	background-color: #f9fafb;
}
.bg-macos-light {
	background-color: #e8f4f8;
}
.text-macos {
	color: #0071e3;
}
.bg-primary {
	background-color: #0071e3;
}
.bg-primary-dark {
	background-color: #0066cc;
}
.hidden {
	display: none !important;
}