div.view {
	border: 1px solid #444;
	border-radius: 12px;
	white-space: nowrap;
	text-align: center;
	padding: 16px;
	margin: 16px 8px 16px 8px;
	z-index: 1;
	height: 330px;
	width: 290px;
	background: rgba(18, 18, 22, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

div.drop_cell {
	border-style: outset;
	box-sizing: border-box;
}


div.pictures_view {
	height: 100%;
	/* background: none repeat scroll 0% 0% rgba(50,50,50,1); */
	background: url('/images/light_bulp.png');
}

div.pictures_view_row {
	position: relative;
	height: 33%;
	text-align: center;
}

div.pictures_view_cell {
	position: relative;
	width: 33.33333%;
	height: 100%;
	display: inline-block;
	float: left;
}

div#resetBtn {
	text-align: right;
	float: right;
}

.helper {
	display: inline-block;
	min-height: 300px;
	vertical-align: middle;
}

canvas.preview_img {
	/*background: #3A6F9A;*/
	vertical-align: middle;
	max-height: 300px;
	max-width: 290px;
}

body {
	background:
		url("data:image/svg+xml,%3Csvg viewBox='0 0 150 150' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E"),
		radial-gradient(1000px 600px at 20% -10%, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0) 55%),
		radial-gradient(800px 500px at 80% 0%, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0) 60%),
		linear-gradient(180deg, #0b0b0d 0%, #0a0a0c 100%);
	background-attachment: fixed;
	font-family: "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
	color: #e6e6e9;
	margin: 0;
	line-height: 1.6;
	min-height: 100vh;
	position: relative;
}

/* Floating particles overlay */
body::after {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 1;
	background-image:
		radial-gradient(1px 1px at 23px 37px, rgba(255, 255, 255, 0.18), transparent),
		radial-gradient(1.5px 1.5px at 67px 89px, rgba(255, 255, 255, 0.14), transparent),
		radial-gradient(1px 1px at 134px 23px, rgba(255, 255, 255, 0.16), transparent),
		radial-gradient(2px 2px at 189px 67px, rgba(255, 255, 255, 0.12), transparent),
		radial-gradient(1px 1px at 245px 91px, rgba(255, 255, 255, 0.15), transparent),
		radial-gradient(1.5px 1.5px at 312px 45px, rgba(255, 255, 255, 0.13), transparent),
		radial-gradient(1px 1px at 78px 12px, rgba(255, 255, 255, 0.14), transparent),
		radial-gradient(2px 2px at 156px 78px, rgba(255, 255, 255, 0.17), transparent),
		radial-gradient(1px 1px at 278px 34px, rgba(255, 255, 255, 0.12), transparent),
		radial-gradient(1.5px 1.5px at 345px 89px, rgba(255, 255, 255, 0.15), transparent),
		radial-gradient(1px 1px at 45px 56px, rgba(255, 255, 255, 0.13), transparent),
		radial-gradient(1px 1px at 167px 101px, rgba(255, 255, 255, 0.11), transparent),
		radial-gradient(1.5px 1.5px at 223px 18px, rgba(255, 255, 255, 0.14), transparent),
		radial-gradient(1px 1px at 298px 73px, rgba(255, 255, 255, 0.12), transparent),
		radial-gradient(2px 2px at 89px 67px, rgba(255, 255, 255, 0.16), transparent);
	background-size: 400px 120px;
	animation: float-particles 35s ease-in-out infinite;
	opacity: 0.8;
}

@keyframes float-particles {
	0% {
		transform: translateY(0px) translateX(0px) scale(0.4);
		opacity: 0.5;
	}

	20% {
		transform: translateY(-23px) translateX(-11px) scale(0.7);
		opacity: 0.7;
	}

	40% {
		transform: translateY(-51px) translateX(17px) scale(1.1);
		opacity: 0.9;
	}

	60% {
		transform: translateY(-84px) translateX(-6px) scale(1.6);
		opacity: 0.7;
	}

	80% {
		transform: translateY(-108px) translateX(13px) scale(2.1);
		opacity: 0.4;
	}

	100% {
		transform: translateY(-130px) translateX(-4px) scale(2.8);
		opacity: 0.2;
	}
}

/* Fix scroll white background issue */
html {
	background: #0a0a0c;
	min-height: 100%;
}

/* Ensure main content is above floating particles */
.container,
header,
main,
section,
footer,
.site-nav,
.hero,
.section,
.site-footer,
#tool,
#advantages,
#how-it-works,
#faq {
	position: relative;
	z-index: 2;
}

div.content {
	padding: 32px;
	position: relative;
	margin-left: auto;
	margin-right: auto;
	display: inline-block;
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
	background: rgba(22, 22, 28, 0.45);
	border: 1px solid rgba(255, 255, 255, 0.08);
	-webkit-backdrop-filter: saturate(140%) blur(12px);
	backdrop-filter: saturate(140%) blur(12px);
	color: #fff;
	z-index: 1;
}

div.texture_link {
	font-size: 11px;
	position: absolute;
	margin-top: -200px;
	margin-left: 30px;
	z-index: 0;
	color: #111;
	border-radius: 5px;
	padding: 5px 5px 5px 5px;
	background: none repeat scroll 0% 0% rgba(240, 240, 240, 0.7);
}

div.column {
	display: flex;
	flex-direction: column;
	flex: 1;
	max-width: 330px;
	min-width: 300px;
}

/* 确保所有列的顶部区域等高 */
@media (min-width: 1025px) {
	.tool-section .content {
		align-items: stretch;
	}

	div.column_top {
		flex: 1 0 auto;
	}
}

.helper_column_button {
	display: inline-block;
	min-height: 250px;
	vertical-align: middle;
}

div.column_btn {
	display: none;
}

#column_btn_left,
#column_btn_right {
	display: none !important;
}

div.column_top {
	height: 380px;
	padding: 16px 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	box-sizing: border-box;
	flex: 0 0 auto;
	overflow-y: auto;
	overflow-x: hidden;
}

td.option_text {
	text-align: left;
	padding-left: 20px;
	padding-right: 16px;
	padding-top: 8px;
	padding-bottom: 8px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 14px;
}

td.options {
	text-align: left;
	height: auto;
	min-height: 28px;
	padding-top: 8px;
	padding-bottom: 8px;
}

table.options_top {
	border-spacing: 0px;
	width: 100%;
	margin: 8px 0;
}

div.tabs {
	position: relative;
	margin: 0 0 8px 5px;
	/* normalize spacing so previews align */
	text-align: left;
	height: 35px;
	z-index: 2;
	display: flex;
	flex-wrap: nowrap;
	gap: 2px;
}

.tab-with-help {
	position: relative;
	display: flex;
	align-items: center;
	flex: 1;
}

.help-icon {
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	opacity: 0.7;
	transition: opacity 0.2s ease;
}

.help-icon:hover {
	opacity: 1;
}

.help-icon img {
	width: 14px;
	height: 14px;
	filter: brightness(0.9);
	transition: filter 0.2s ease;
}

.help-icon:hover img {
	filter: brightness(1.2);
}

.instruction-text {
	margin: 16px 0 8px 0;
	font-size: 14px;
	color: #b3b7c0;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	background: rgba(22, 22, 28, 0.6);
	padding: 6px 12px;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	text-align: left;
}

.up-arrow {
	font-size: 16px;
	color: #8a8f99;
	margin-right: 8px;
}

input.tab_button {
	display: flex;
	margin: 0px;
	padding: 4px 6px;
	flex: 1;
	min-width: 0;
	height: 25px;
	z-index: 2;
}

input.tab_button {
	font-family: "Open Sans";
	font-size: 10px;
	color: #111111;
	background: #e5e5e5;
	border-radius: 6px;
	border: 2px solid #333333;
	cursor: pointer;
	padding: 4px 20px 4px 6px;
	/* 右侧留出空间给帮助图标 */
	line-height: 1.2;
	vertical-align: middle;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 25px;
	box-sizing: border-box;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	flex: 1;
	min-width: 0;
}

input.tab_button:disabled {
	font-family: "Open Sans";
	font-size: 10px;
	color: #eeeeee;
	background: #666666;
	border-radius: 6px;
	border: 2px solid #444444;
	cursor: default;
	padding: 4px 20px 4px 6px;
	/* 右侧留出空间给帮助图标 */
	line-height: 1.2;
	vertical-align: middle;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 25px;
	box-sizing: border-box;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	flex: 1;
	min-width: 0;
}

div.texture_container {
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	display: flex;
	flex-direction: column;
}

/* 确保下方区域对齐的样式 */
.column-bottom-content {
	margin-top: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-bottom: 20px;
}


div.stepnumber {
	display: inline-block;
	vertical-align: top;
	border: 1px solid;
	border-radius: 10px;
	width: 30px;
	margin-left: auto;
	margin-right: auto;
	/* background-color:#aaaaaa; */
}

div.imprint {
	float: right;
	margin-top: 80px;
	border: 1px solid;
	display: inline-block;
	border-radius: 20px;
}

div.imprinttext {
	width: 60px;
	margin-top: -10px;
	margin-left: 15px;
	background: white;
}

footer,
footer p {
	color: inherit;
}

.site-footer {
	position: static;
	width: 100%;
	padding: 60px 0 40px;
	background: rgba(12, 12, 14, 0.9);
	border-top: 1px solid #1f1f24;
	color: #9ca3af;
	font-size: 14px;
	margin-top: 80px;
}

.footer-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	text-align: center;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
	margin: 16px 0;
}

.footer-copyright {
	order: -1;
	font-weight: 500;
	color: #b3b7c0;
}

.footer-links a {
	color: #9ca3af;
	text-decoration: none;
	padding: 8px 12px;
	border-radius: 6px;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.footer-links a:hover {
	color: #fff;
	background-color: rgba(255, 255, 255, 0.1);
}

.footer-tutorials {
	font-size: 14px;
	color: #888;
	max-width: 600px;
	line-height: 1.5;
}

.footer-tutorials a {
	color: #4a90e2;
	text-decoration: none;
	font-weight: 500;
}

.footer-tutorials a:hover {
	color: #357abd;
	text-decoration: underline;
}

/* Tutorials Page Styles */
.tutorial-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 32px;
	margin-top: 48px;
}

.tutorial-card {
	background: rgba(18, 18, 22, 0.7);
	border: 1px solid #1f1f24;
	border-radius: 16px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: all 0.3s ease;
	display: block;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tutorial-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
	border-color: #2a2a33;
}

.tutorial-card img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-bottom: 1px solid #1f1f24;
}

.tutorial-card .card-body {
	padding: 24px;
	text-align: left;
}

.tutorial-card h3 {
	font-family: "Georgia", "Times New Roman", serif;
	font-size: 20px;
	font-weight: 400;
	margin: 0 0 12px 0;
	color: #fff;
	line-height: 1.3;
}

.tutorial-card p {
	color: #a3a7af;
	font-size: 16px;
	line-height: 1.5;
	margin: 0 0 20px 0;
}

.tutorial-card .btn {
	margin-top: auto;
}

/* Article Styles */
.article {
	max-width: 800px;
	margin: 0 auto;
	text-align: left;
	background: rgba(18, 18, 22, 0.4);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 16px;
	padding: 48px;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.article h1 {
	font-family: "Georgia", "Times New Roman", serif;
	font-size: 36px;
	font-weight: 400;
	margin: 0 0 24px 0;
	color: #fff;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.article h2 {
	font-family: "Georgia", "Times New Roman", serif;
	font-size: 24px;
	font-weight: 400;
	margin: 40px 0 16px 0;
	color: #fff;
	line-height: 1.3;
	border-bottom: 1px solid #2a2a33;
	padding-bottom: 8px;
}

.article h2:first-of-type {
	margin-top: 32px;
}

.article p {
	color: #c7c9d1;
	font-size: 16px;
	line-height: 1.7;
	margin: 0 0 20px 0;
}

.article ul,
.article ol {
	color: #c7c9d1;
	font-size: 16px;
	line-height: 1.7;
	margin: 0 0 20px 0;
	padding-left: 24px;
}

.article li {
	margin-bottom: 8px;
}

.article strong {
	color: #fff;
	font-weight: 600;
}

.article em {
	color: #4a90e2;
	font-style: normal;
	font-weight: 500;
}

.article a {
	color: #4a90e2;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease;
}

.article a:hover {
	border-bottom-color: #4a90e2;
}

.article img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	border: 1px solid #2a2a33;
	margin: 20px 0;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.article .btn {
	display: inline-block;
	margin: 8px 8px 8px 0;
}

/* Tutorial Search */
#tutorial-search {
	max-width: 520px;
	width: 100%;
	padding: 12px 16px;
	border-radius: 12px;
	border: 1px solid #2f2f39;
	background: rgba(20, 20, 26, 0.8);
	color: #fff;
	font-size: 16px;
	transition: all 0.3s ease;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

#tutorial-search:focus {
	outline: none;
	border-color: #4a90e2;
	box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

#tutorial-search::placeholder {
	color: #6b7280;
}

/* Responsive Tutorials */
@media (max-width: 768px) {
	.tutorial-grid {
		grid-template-columns: 1fr;
		gap: 24px;
		margin-top: 32px;
	}

	.tutorial-card {
		margin: 0 16px;
	}

	.article {
		margin: 0 16px;
		padding: 32px 24px;
		border-radius: 12px;
	}

	.article h1 {
		font-size: 28px;
	}

	.article h2 {
		font-size: 20px;
		margin-top: 32px;
	}

	#tutorial-search {
		margin: 0 16px;
		max-width: calc(100% - 32px);
	}
}

/* Additional Article Elements */
.article code {
	background: rgba(74, 144, 226, 0.1);
	color: #4a90e2;
	padding: 2px 6px;
	border-radius: 4px;
	font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
	font-size: 14px;
}

.article pre {
	background: rgba(12, 12, 14, 0.8);
	border: 1px solid #2a2a33;
	border-radius: 8px;
	padding: 16px;
	overflow-x: auto;
	margin: 20px 0;
}

.article pre code {
	background: none;
	color: #c7c9d1;
	padding: 0;
}

.article blockquote {
	border-left: 4px solid #4a90e2;
	margin: 20px 0;
	padding: 16px 20px;
	background: rgba(74, 144, 226, 0.05);
	border-radius: 0 8px 8px 0;
}

.article blockquote p {
	margin: 0;
	color: #b3b7c0;
	font-style: italic;
}

/* Tutorial Navigation */
.tutorial-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid #2a2a33;
	flex-wrap: wrap;
	gap: 16px;
}

.tutorial-nav .btn {
	margin: 0;
}

@media (max-width: 480px) {
	.tutorial-nav {
		flex-direction: column;
		align-items: stretch;
	}

	.tutorial-nav .btn {
		text-align: center;
	}
}

/* Landing sections */
.container {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px;
}

.section {
	padding: 80px 0;
}

.section h2 {
	font-family: "Georgia", "Times New Roman", serif;
	font-size: 36px;
	margin: 0 0 40px 0;
	letter-spacing: -0.02em;
	font-weight: 400;
}

.section-alt {
	background: rgba(14, 14, 18, 0.6);
	border-top: 1px solid #1f1f24;
	border-bottom: 1px solid #1f1f24;
}

.hero {
	padding: 100px 0 60px;
	background: radial-gradient(1200px 600px at 50% -10%, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0) 60%);
}

.hero .hero-content {
	max-width: 920px;
	margin: 0 auto;
	text-align: center;
}

.hero h1 {
	font-family: "Georgia", "Times New Roman", serif;
	font-weight: 400;
	font-size: 48px;
	line-height: 1.2;
	margin: 0 0 24px 0;
	letter-spacing: -0.02em;
	color: #fff;
}

.hero p {
	color: #b3b7c0;
	font-size: 20px;
	margin: 0 0 32px 0;
	line-height: 1.6;
}

.hero .hero-meta {
	color: #8a8f99;
	font-size: 16px;
	margin-top: 16px;
}

.hero .hero-ctas {
	margin-top: 40px;
}

.btn {
	display: inline-block;
	padding: 16px 28px;
	border-radius: 12px;
	border: 1px solid transparent;
	text-decoration: none;
	font-weight: 600;
	font-size: 16px;
	margin: 0 8px;
	transition: all 0.3s ease;
}

.btn-primary {
	background: #fff;
	color: #111;
}

.btn-primary:hover {
	box-shadow: 0 8px 28px rgba(255, 255, 255, 0.15);
	transform: translateY(-2px);
}

.btn-secondary {
	color: #fff;
	border-color: #2a2a33;
	background: #15151a;
	margin-left: 10px;
}

.btn-secondary:hover {
	border-color: #3a3a44;
	background: #1a1a21;
	transform: translateY(-2px);
}

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

.feature {
	background: rgba(18, 18, 22, 0.7);
	border: 1px solid #1f1f24;
	border-radius: 16px;
	padding: 32px 24px;
	text-align: left;
}

.feature h3 {
	font-family: "Georgia", "Times New Roman", serif;
	margin: 0 0 16px 0;
	font-size: 20px;
	color: #fff;
	font-weight: 400;
}

.feature p {
	margin: 0;
	color: #a3a7af;
	font-size: 16px;
	line-height: 1.6;
}

.steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 40px;
}

.step {
	background: rgba(18, 18, 22, 0.7);
	border: 1px solid #1f1f24;
	border-radius: 16px;
	padding: 32px 24px;
	text-align: left;
}

.step-num {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: #ffffff;
	color: #111;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	margin-bottom: 16px;
	font-size: 18px;
}

.step h3 {
	font-family: "Georgia", "Times New Roman", serif;
	margin: 0 0 16px 0;
	font-size: 20px;
	color: #fff;
	font-weight: 400;
}

.step p {
	margin: 0;
	color: #a3a7af;
	font-size: 16px;
	line-height: 1.6;
}

.faq {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	text-align: left;
	margin-top: 40px;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.qa {
	background: rgba(18, 18, 22, 0.7);
	border: 1px solid #1f1f24;
	border-radius: 16px;
	padding: 32px 24px;
}

.qa h3 {
	font-family: "Georgia", "Times New Roman", serif;
	margin: 0 0 16px 0;
	font-size: 18px;
	color: #fff;
	font-weight: 400;
}

.qa p {
	margin: 0;
	color: #a3a7af;
	font-size: 16px;
	line-height: 1.6;
}

/* Tool section wrapper */
.tool-section {
	padding: 60px 0;
}

.tool-section .content {
	max-width: 1200px;
	margin-top: 40px;
	display: grid;
	grid-template-columns: repeat(3, minmax(320px, 1fr));
	gap: 24px;
	align-items: start;
	position: relative;
	/* for absolute-positioned column toggles */
}

/* Tool columns - 恢复flex布局 */
.tool-section .content>.column {
	background: rgba(22, 22, 28, 0.45);
	border-radius: 14px;
	-webkit-backdrop-filter: saturate(140%) blur(10px);
	backdrop-filter: saturate(140%) blur(10px);
	padding: 16px;
	display: flex;
	flex-direction: column;
}

/* Place left/right column toggle buttons as overlays so they don't break the grid */
#column_btn_left {
	position: absolute;
	left: -8px;
	top: 50%;
	transform: translateY(-50%);
}

#column_btn_right {
	position: absolute;
	right: -8px;
	top: 50%;
	transform: translateY(-50%);
}

/* Normalize preview top alignment across three columns */
/* Preview alignment handled by layout.js; reset any hardcoded offsets */
.tool-section #column_height .view,
.tool-section .texture_container>.view,
.tool-section #preview .view {
	margin-top: 0;
}

/* Legal pages */
.legal {
	text-align: left;
}

.legal h1 {
	margin-top: 0;
	margin-bottom: 12px;
}

.legal h2 {
	margin-top: 20px;
	margin-bottom: 8px;
	font-size: 18px;
}

.legal p {
	color: #c7c9d1;
}

.legal ul {
	margin: 0 0 8px 16px;
	color: #c7c9d1;
}

.container {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 20px;
}

.section {
	padding: 56px 0;
}

.section h2 {
	font-size: 28px;
	margin: 0 0 24px 0;
	letter-spacing: -0.02em;
}

.section-alt {
	background: rgba(14, 14, 18, 0.4);
	border-top: 1px solid #1f1f24;
	border-bottom: 1px solid #1f1f24;
	backdrop-filter: blur(4px);
}

.hero {
	padding: 96px 0 48px;
	background: radial-gradient(1200px 600px at 50% -10%, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0) 60%);
}

.hero .hero-content {
	max-width: 920px;
	margin: 0 auto;
}

.hero h1 {
	font-weight: 800;
	font-size: 40px;
	line-height: 1.1;
	margin: 0 0 12px 0;
	letter-spacing: -0.02em;
	color: #fff;
}

.hero p {
	color: #b3b7c0;
	font-size: 18px;
	margin: 0 0 20px 0;
}

.hero .hero-meta {
	color: #8a8f99;
	font-size: 14px;
	margin-top: 8px;
}

.btn {
	display: inline-block;
	padding: 12px 20px;
	border-radius: 10px;
	border: 1px solid transparent;
	text-decoration: none;
	font-weight: 600;
}

.btn-primary {
	background: #fff;
	color: #111;
}

.btn-primary:hover {
	box-shadow: 0 8px 28px rgba(255, 255, 255, 0.15);
}

.btn-secondary {
	color: #fff;
	border-color: #2a2a33;
	background: rgba(21, 21, 26, 0.6);
	margin-left: 10px;
}

.btn-secondary:hover {
	border-color: #3a3a44;
	background: rgba(26, 26, 33, 0.8);
}

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

.feature {
	background: rgba(18, 18, 22, 0.4);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	padding: 18px;
	text-align: left;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.feature h3 {
	margin: 0 0 8px 0;
	font-size: 18px;
	color: #fff;
}

.feature p {
	margin: 0;
	color: #a3a7af;
}

.steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.step {
	background: rgba(18, 18, 22, 0.4);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	padding: 18px;
	text-align: left;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.step-num {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: #ffffff;
	color: #111;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	margin-bottom: 8px;
}

.step h3 {
	margin: 0 0 8px 0;
	font-size: 18px;
	color: #fff;
}

.step p {
	margin: 0;
	color: #a3a7af;
}

.faq {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	text-align: left;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.qa {
	background: rgba(18, 18, 22, 0.4);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	padding: 18px;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.qa h3 {
	margin: 0 0 8px 0;
	font-size: 16px;
	color: #fff;
}

.qa p {
	margin: 0;
	color: #a3a7af;
}

/* Tool section wrapper */
.tool-section {
	padding: 60px 0;
}

.tool-section .content {
	max-width: 1200px;
	margin-top: 40px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 16px;
}

/* Top navigation (glass, sticky) */
.site-nav {
	position: sticky;
	top: 0;
	z-index: 50;
	-webkit-backdrop-filter: blur(12px) saturate(140%);
	backdrop-filter: blur(12px) saturate(140%);
	background: rgba(12, 12, 16, 0.4);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
}

.brand {
	font-family: "Georgia", "Times New Roman", serif;
	font-weight: 400;
	font-size: 20px;
	color: #fff;
	text-decoration: none;
	letter-spacing: -0.01em;
}

.nav-links a {
	color: #c3c6cf;
	text-decoration: none;
	margin: 0 12px;
	padding: 10px 14px;
	border-radius: 8px;
	transition: background 0.2s, color 0.2s;
	font-size: 15px;
}

.nav-links a:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
	margin-left: 16px;
}

/* Buttons and inputs inside tool area */
input.tab_button {
	background: linear-gradient(180deg, #2a2a33, #1c1c22);
	color: #f0f0f3;
	border-color: #2f2f39;
}

input.tab_button:disabled {
	background: linear-gradient(180deg, #373742, #2a2a33);
	color: #b9bac1;
	border-color: #3a3a46;
}

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

	.steps {
		grid-template-columns: repeat(3, 1fr);
	}

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

	/* reset preview alignment compensation on narrow screens */
	.tool-section #column_height .view,
	.tool-section .texture_container>.view {
		margin-top: 0;
	}

	/* grid → single column */
	.tool-section .content {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

@media (max-width: 1024px) {
	.tool-section .content {
		flex-direction: column;
		align-items: center;
		gap: 24px;
	}

	div.column {
		max-width: 90%;
		min-width: auto;
		width: 100%;
	}

	div.column_top {
		height: auto;
		min-height: 200px;
	}

	div.column_btn {
		display: none;
	}
}

@media (max-width: 768px) {
	.container {
		padding: 0 16px;
	}

	.section {
		padding: 60px 0;
	}

	.hero {
		padding: 80px 0 40px;
	}

	.hero h1 {
		font-size: 36px;
	}

	.hero p {
		font-size: 18px;
	}

	.features {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.steps {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.faq {
		gap: 16px;
	}

	.feature,
	.step,
	.qa {
		padding: 24px 20px;
	}

	/* 工具区域移动端优化 */
	.tool-section .content {
		max-width: 100%;
	}

	div.column {
		max-width: 100%;
		min-width: auto;
		width: 100%;
		margin: 0;
		min-height: 0;
	}

	div.column_top {
		height: auto;
		min-height: 180px;
	}

	div.view {
		width: 100%;
		max-width: 350px;
		height: auto;
		margin: 12px auto;
	}

	canvas.preview_img {
		max-width: 100%;
		height: auto;
	}

	div.content {
		padding: 24px 16px;
	}

	.nav-inner {
		height: 60px;
	}

	.nav-links a {
		margin: 0 6px;
		padding: 8px 12px;
	}

	/* 隐藏左右切换按钮 */
	div.column_btn {
		display: none;
	}
}

.preview-controls {
	text-align: center;
	margin: 16px 0;
}

.btn-enlarge {
	display: inline-block;
	padding: 8px 16px;
	background: rgba(74, 144, 226, 0.9);
	color: white;
	text-decoration: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	border: 1px solid rgba(255, 255, 255, 0.2);
	transition: all 0.3s ease;
}

.btn-enlarge:hover {
	background: rgba(53, 122, 189, 1);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

/* 添加更好的焦点状态和动画 */
.feature,
.step,
.qa {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover,
.step:hover,
.qa:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* 改善工具区域的视觉层次 */
div.view:hover {
	border-color: #666;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 改善表单元素的间距 */
input[type="range"] {
	margin: 4px 0;
}

input[type="number"],
input[type="text"],
select {
	padding: 6px 8px;
	border-radius: 6px;
	border: 1px solid #444;
	background: rgba(22, 22, 28, 0.8);
	color: #fff;
	margin: 2px 0;
}

/* 改善按钮样式 */
button.download {
	padding: 12px 20px;
	border-radius: 8px;
	border: 1px solid #555;
	background: #4a90e2;
	color: white;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	vertical-align: middle;
}

button.download:hover {
	background: #357abd;
	box-shadow: 0 2px 8px rgba(74, 144, 226, 0.4);
}

/* Social Share Buttons */
.social-share {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 24px;
	padding: 16px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.share-text {
	font-size: 14px;
	color: #8a8f99;
	margin-right: 8px;
}

.social-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	text-decoration: none;
	transition: all 0.3s ease;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.twitter-btn {
	background: #1da1f2;
}

.twitter-btn:hover {
	background: #0d8bd9;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(29, 161, 242, 0.3);
}

.facebook-btn {
	background: #1877f2;
}

.facebook-btn:hover {
	background: #0b65d9;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.linkedin-btn {
	background: #0077b5;
}

.linkedin-btn:hover {
	background: #005885;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
}

.reddit-btn {
	background: #ff4500;
}

.reddit-btn:hover {
	background: #e03d00;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(255, 69, 0, 0.3);
}

@media (max-width: 768px) {
	.social-share {
		flex-wrap: wrap;
		gap: 8px;
	}

	.share-text {
		width: 100%;
		text-align: center;
		margin-bottom: 8px;
		margin-right: 0;
	}

	.social-btn {
		width: 36px;
		height: 36px;
	}
}