:root {
	/* New White & Black Theme */
	--c-theme-primary: #000000;
	/* Black for main elements, headings */
	--c-theme-secondary: #333333;
	/* Dark Gray for accents */
	--c-theme-background: #FFFFFF;
	/* White background */
	--c-theme-text-on-dark: #FFFFFF;
	/* White text for dark backgrounds */
	--c-theme-text-on-light: #000000;
	/* Black text for light backgrounds */
	--c-theme-accent-gray: #555555;
	/* A general accent gray for text */
	--c-theme-border: #d1d5db;
	/* Light gray for borders (Tailwind gray-300) */
	--c-theme-card-bg: #f9fafb;
	/* Very light gray for cards (Tailwind gray-50) */
	--c-theme-glass-bg: rgba(0, 0, 0, 0.02);
	/* Subtle dark tint for glass on light bg */
	--c-theme-glass-border: rgba(0, 0, 0, 0.05);
	--c-theme-light-gray-bg: #f3f4f6;
	/* Tailwind gray-100 */
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Inter", sans-serif;
	background: var(--c-theme-background);
	color: var(--c-theme-text-on-light);
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* Gradient headline text - now solid black */
.gradient-text {
	color: var(--c-theme-primary);
}

/* Glassmorphic card */
.glass {
	background: var(--c-theme-glass-bg);
	backdrop-filter: blur(12px) saturate(150%);
	-webkit-backdrop-filter: blur(12px) saturate(150%);
	border: 1px solid var(--c-theme-glass-border);
}

/* Button */
.btn-primary {
	background: linear-gradient(90deg, var(--c-theme-primary), var(--c-theme-secondary));
	color: var(--c-theme-text-on-dark);
}

.btn-primary:hover {
	filter: brightness(1.3);
	/* Lighter black */
	transform: translateY(-4px);
}

.btn-secondary {
	background: linear-gradient(90deg, var(--c-theme-secondary), var(--c-theme-primary));
	color: var(--c-theme-text-on-dark);
}

.btn-secondary:hover {
	filter: brightness(1.3);
	/* Lighter black */
	transform: translateY(-4px);
}

/* 3D GUI 이미지 스타일 */
.gui-3d-container {
	position: relative;
	perspective: 1000px;
	margin: 3rem auto;
	max-width: 320px;
	z-index: 10;
}

.gui-3d-image {
	opacity: 0.8;
	/* 80% 투명도 */
	border-radius: 15px;
	/* 15도 모서리 둥글게 */
	transform: rotateY(5deg) rotateX(5deg);
	/* 3D 효과를 위한 회전 */
	box-shadow:
		0 20px 40px rgba(0, 0, 0, 0.3),
		/* 아래쪽 그림자 */
		-15px 15px 30px rgba(0, 0, 0, 0.2),
		/* 왼쪽 그림자 */
		15px 15px 30px rgba(0, 0, 0, 0.1),
		/* 오른쪽 그림자 */
		0 -5px 15px rgba(255, 255, 255, 0.1);
	/* 위쪽 하이라이트 */
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	width: 100%;
	height: auto;
}

.gui-3d-image:hover {
	transform: rotateY(0deg) rotateX(0deg) translateZ(10px);
	box-shadow:
		0 25px 50px rgba(0, 0, 0, 0.4),
		-20px 20px 40px rgba(0, 0, 0, 0.3),
		20px 20px 40px rgba(0, 0, 0, 0.2),
		0 -10px 20px rgba(255, 255, 255, 0.15);
}

/* 3D 효과를 강조하기 위한 반사 효과 */
.gui-3d-reflection {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 50%);
	border-radius: 15px;
	pointer-events: none;
}

/* ================= CTA BUTTON STYLES ================= */

/* Main CTA button with glow effect */
.cta-btn-glow {
	position: relative;
	animation: pulse-glow 2s ease-in-out infinite;
}

.cta-btn-glow::before {
	content: '';
	position: absolute;
	inset: -4px;
	border-radius: inherit;
	background: linear-gradient(90deg, #facc15, #f97316, #ef4444, #facc15);
	background-size: 300% 300%;
	animation: gradient-shift 3s ease infinite;
	filter: blur(12px);
	opacity: 0.6;
	z-index: -1;
}

/* Small CTA button for pricing card */
.cta-btn-small {
	position: relative;
	overflow: hidden;
}

.cta-btn-small::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	animation: shimmer 2s infinite;
}

/* Floating CTA button */
.floating-cta {
	animation: float-bounce 2s ease-in-out infinite;
}

.floating-cta a {
	backdrop-filter: blur(10px);
	background-size: 200% 200%;
	animation: gradient-shift 3s ease infinite;
}

/* ================= ANIMATIONS ================= */

@keyframes pulse-glow {
	0%, 100% {
		box-shadow:
			0 0 20px rgba(250, 204, 21, 0.4),
			0 0 40px rgba(249, 115, 22, 0.3),
			0 0 60px rgba(239, 68, 68, 0.2);
	}
	50% {
		box-shadow:
			0 0 30px rgba(250, 204, 21, 0.6),
			0 0 60px rgba(249, 115, 22, 0.4),
			0 0 90px rgba(239, 68, 68, 0.3);
	}
}

@keyframes gradient-shift {
	0%, 100% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
}

@keyframes shimmer {
	0% {
		left: -100%;
	}
	100% {
		left: 100%;
	}
}

@keyframes float-bounce {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-10px);
	}
}

@keyframes pulse-slow {
	0%, 100% {
		opacity: 0.3;
		transform: scale(1);
	}
	50% {
		opacity: 0.5;
		transform: scale(1.1);
	}
}

/* Mobile responsive adjustments */
@media (max-width: 640px) {
	.floating-cta {
		bottom: 4rem;
		right: 1rem;
	}

	.floating-cta a {
		padding: 0.75rem 1.25rem;
		font-size: 0.875rem;
	}
}
