:root {
	--gradient-primary: linear-gradient(135deg, #ff9a56, #ff6b9d, #c471ed, #7b68ee);
	--bg-dark: #fafbfc;
	--navbar-bg: rgba(255, 255, 255, 0.9);
	--border-color: rgba(0, 0, 0, 0.08);
	--text-primary: #1f2937;
	--text-secondary: #4b5563;
	--category-bg-productivity: #e3f2fd;
	--category-fg-productivity: #1565c0;
	--category-bg-ai: #f3e5f5;
	--category-fg-ai: #7b1fa2;
	--category-bg-development: #e8f5e8;
	--category-fg-development: #2e7d32;
	--category-bg-media: #fff3e0;
	--category-fg-media: #ef6c00;
	--category-bg-utilities: #fce4ec;
	--category-fg-utilities: #c2185b;
	--category-bg-integration: #f1f8e9;
	--category-fg-integration: #558b2f;
	--bs-popover-max-width: 500px;

	/* Font Families */
	--font-family-fallback:
		-apple-system, /* San Francisco in Safari (on Mac OS X and iOS); Neue Helvetica and Lucida Grande on older versions of Mac OS X. */
	BlinkMacSystemFont, /* Equivalent of -apple-system, for Chrome on Mac OS X. */
	"Segoe UI", /* Windows (Vista+) and Windows Phone. */
	"Cantarell", /* GNOME-based Linux desktops, not preinstalled in the out-of-the-box Ubuntu experience. */
	"Ubuntu", /* All versions of Ubuntu. */
	"Noto Sans", /* Fallback, DE-neutral system font for Linux, also the default for KDE and XDG (standard sans-serif replacing the old DejaVu Sans). */
	"Roboto", /* Android (Ice Cream Sandwich (4.0)+) and Chrome OS. */
	system-ui, /* Default UI font on a given platform. */
	'Helvetica Neue', Helvetica, Arial, sans-serif; /* Fallback */
	--font-family-text: "Segoe UI Variable Text", "Seoge UI Variable Static Text", var(--font-family-fallback);
	--font-family-small: "Segoe UI Variable Small", "Seoge UI Variable Static Small", var(--font-family-fallback);
	--font-family-display: "Segoe UI Variable Display", "Seoge UI Variable Static Display", var(--font-family-fallback);
}

html * {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	background: var(--bg-dark);
	color: var(--text-primary);
	font-family: var(--font-family-small) !important;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-family-display);
}

.gradient {
	background: var(--gradient-primary);
}

.gradient-text {
	background: var(--gradient-primary);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	display: inline-block;
}

.shimmer-text {
	background: linear-gradient(
		90deg,
		rgb(31, 41, 55) 0%,
		rgb(31, 41, 55) 40%,
		#ff9a56 45%,
		#ff6b9d 50%,
		#c471ed 55%,
		#7b68ee 60%,
		rgb(31, 41, 55) 65%,
		rgb(31, 41, 55) 100%
	);
	background-size: 300% 100%;
	background-position: 100% 0;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	display: inline-block;
	animation: shimmer 5s linear infinite;
}

@keyframes shimmer {
	20% {
		background-position: top right;
	}
	48.57% {
		background-position: top left;
	}
	48.58%, 100% {
		background-position: top right;
	}
}

.btn-gradient {
	background: var(--gradient-primary);
	border: none;
	color: white;
	font-weight: 600;
	transition: all 0.3s ease;
	border-radius: 25px;
	padding: 0.5rem 1.5rem;
}

	.btn-gradient:hover {
		transform: translateY(-1px);
		box-shadow: 0 8px 25px rgba(255, 154, 86, 0.4);
		color: white;
	}

.btn-round {
	border-radius: 25px !important;
}

/* Custom Button Styles */
.btn-secondary-custom {
	background: rgba(255, 154, 86, 0.1);
	border: 2px solid rgba(255, 154, 86, 0.3);
	color: #ff9a56;
	font-weight: 600;
	border-radius: 12px;
	transition: all 0.3s ease;
}

	.btn-secondary-custom:hover {
		background: rgba(255, 154, 86, 0.2);
		border-color: #ff9a56;
		color: #e8824a;
		transform: translateY(-1px);
		box-shadow: 0 4px 15px rgba(255, 154, 86, 0.25);
	}

.btn-tertiary-custom {
	background: rgba(123, 104, 238, 0.1);
	border: 2px solid rgba(123, 104, 238, 0.3);
	color: #7b68ee;
	font-weight: 600;
	border-radius: 12px;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-block;
	text-align: center;
}

	.btn-tertiary-custom:hover {
		background: rgba(123, 104, 238, 0.2);
		border-color: #7b68ee;
		color: #6c5ce7;
		text-decoration: none;
		transform: translateY(-1px);
		box-shadow: 0 4px 15px rgba(123, 104, 238, 0.25);
	}

.btn-quaternary-custom {
	background: rgba(255, 107, 157, 0.1);
	border: 2px solid rgba(255, 107, 157, 0.3);
	color: #ff6b9d;
	font-weight: 600;
	border-radius: 12px;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-block;
	text-align: center;
	width: 100%;
}

	.btn-quaternary-custom:hover {
		background: rgba(255, 107, 157, 0.2);
		border-color: #ff6b9d;
		color: #e8558a;
		text-decoration: none;
		transform: translateY(-1px);
		box-shadow: 0 4px 15px rgba(255, 107, 157, 0.25);
	}

.colorful-section {
	background: linear-gradient(135deg, #ff9a56, #ff6b9d, #c471ed, #7b68ee);
	padding: 6rem 0;
	position: relative;
	overflow: hidden;
}

	.colorful-section .colorful-card {
		background: rgba(255, 255, 255, 0.25);
		backdrop-filter: blur(20px);
		border: 1px solid rgba(255, 255, 255, 0.3);
		border-radius: 25px;
		padding: 3rem;
		position: relative;
		z-index: 10;
		box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
	}

.waves {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 550px;
	pointer-events: none;
	margin-bottom: 0;
}

.moving-waves > use {
	animation: waveMove 40s cubic-bezier(.55, .5, .45, .5) infinite
}

	.moving-waves > use:first-child {
		animation-delay: -5s;
		animation-duration: 21s
	}

	.moving-waves > use:nth-child(2) {
		animation-delay: -20s;
		animation-duration: 25s
	}

	.moving-waves > use:nth-child(3) {
		animation-delay: -10s;
		animation-duration: 35s
	}

	.moving-waves > use:nth-child(4) {
		animation-delay: -20s;
		animation-duration: 40s
	}

	.moving-waves > use:nth-child(5) {
		animation-delay: -35s;
		animation-duration: 45s
	}

	.moving-waves > use:nth-child(6) {
		animation-delay: -3s;
		animation-duration: 50s
	}

@keyframes waveMove {
	0% {
		transform: translate3d(-90px, 0, 0)
	}

	to {
		transform: translate3d(85px, 0, 0)
	}
}

/* Responsive adjustments */
@media (max-width: 768px) {
	/* Fix for AOS horizontal scroll on mobile */
	.container {
		overflow-x: hidden;
	}

	section {
		overflow-x: hidden;
		width: 100%;
	}
}

.blazor-error-boundary {
	background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
	padding: 1rem 1rem 1rem 3.7rem;
	color: white;
}

	.blazor-error-boundary::after {
		content: "An error has occurred."
	}

/* Comparison Table (shared across Pricing, Compare pages) */
.comparison-table-wrapper {
	overflow-x: auto;
	max-width: 100%;
	border-radius: 16px;
	border: 1px solid var(--border-color);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.comparison-table {
	width: 100%;
	min-width: 700px;
	border-collapse: collapse;
	background: white;
}

	.comparison-table thead {
		background: linear-gradient(135deg, rgba(255, 154, 86, 0.1) 0%, rgba(123, 104, 238, 0.1) 50%, rgba(255, 107, 157, 0.1) 100%);
		position: sticky;
		top: 0;
		z-index: 10;
	}

	.comparison-table th,
	.comparison-table td {
		padding: 1rem 1.25rem;
		text-align: center;
		border-bottom: 1px solid var(--border-color);
	}

	.comparison-table th {
		font-weight: 600;
		font-size: 0.95rem;
	}

	.comparison-table .feature-column {
		text-align: left;
		width: 40%;
	}

	.comparison-table .plan-column {
		width: 20%;
	}

	.comparison-table tbody tr:hover {
		background: rgba(0, 0, 0, 0.05);
	}

	.comparison-table .category-row {
		background: linear-gradient(135deg, rgba(255, 154, 86, 0.1) 0%, rgba(123, 104, 238, 0.1) 50%, rgba(255, 107, 157, 0.1) 100%);
	}

		.comparison-table .category-row td {
			font-weight: 600;
			text-align: left;
			color: var(--text-primary);
			font-size: 0.9rem;
			text-transform: uppercase;
			letter-spacing: 0.5px;
		}

	.comparison-table td:first-child {
		text-align: left;
		color: var(--text-secondary);
	}

	.comparison-table i {
		font-size: 1.1rem;
	}

@media (max-width: 768px) {
	.comparison-table th,
	.comparison-table td {
		padding: 0.75rem 0.5rem;
		font-size: 0.85rem;
	}

	.comparison-table .feature-column {
		width: 50%;
	}
}