* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--primary-color: #155EEF;
	--primary-hover: #0052a3;
	--text-color: #1a1a1a;
	--text-secondary: #666666;
	--text-light: #999999;
	--bg-color: #ffffff;
	--bg-color2: #e9e9e9;
	--bg-light: #fafafa;
	--bg-sidebar: #f8f9fa;
	--border-color: #e8e8e8;
	--border-light: #f0f0f0;
	--code-bg: #f8f8f8;
	--code-border: #e0e0e0;
	--sidebar-width: 280px;
	--right-sidebar-width: 240px;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	line-height: 1.6;
	color: var(--text-color);
	background-color: var(--bg-color);
	font-size: 15px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Layout */
.layout-wrapper {
	display: flex;
	min-height: 100vh;
}

/* Logo */
.logo {
	border-radius: 8px;
}

/* Header */
header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 64px;
	background: var(--bg-color);
	border-bottom: 1px solid var(--border-color);
	z-index: 1000;
	display: flex;
	align-items: center;
	padding: 0 24px;
}

.header-content {
	width: 100%;
	max-width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	gap: 24px;
	flex-wrap: nowrap;
}

.logo-section {
	display: flex;
	align-items: center;
	gap: 12px;
	position: relative;
}

.logo-link {
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.logo-link:hover {
	transform: scale(1.05);
	opacity: 0.9;
}

.logo-link:focus {
	outline: 2px solid var(--primary-color);
	outline-offset: 2px;
	border-radius: 8px;
}

.logo {
	width: 32px;
	height: 32px;
	display: block;
	flex-shrink: 0;
}

.logo-text {
	font-size: 18px;
	font-weight: 600;
	color: var(--text-color);
	text-decoration: none;
}

.logo-version {
	font-size: 13px;
	color: var(--text-secondary);
	margin-left: 8px;
}

.header-search-box {
	position: relative;
	flex: 1;
	max-width: 400px;
	margin: 0 24px;
	display: flex;
	align-items: center;
}

.header-search-box .search-icon {
	position: absolute;
	left: 12px;
	width: 16px;
	height: 16px;
	color: var(--text-light);
	pointer-events: none;
	z-index: 1;
}

.header-search-box .search-input {
	width: 100%;
	padding: 8px 12px 8px 36px;
	border: 1px solid var(--border-color);
	border-radius: 6px;
	font-size: 14px;
	background: var(--bg-light);
	color: var(--text-color);
	transition: all 0.2s ease;
}

.header-search-box .search-input:focus {
	outline: none;
	border-color: var(--primary-color);
	background: var(--bg-color);
	box-shadow: 0 0 0 3px rgba(21, 94, 239, 0.1);
}

.header-search-box:focus-within .search-icon {
	color: var(--primary-color);
}

.header-search-box .search-input::placeholder {
	color: var(--text-light);
}

/* Mobile Search Toggle Button - Hidden on desktop */
.mobile-search-toggle {
	display: none;
}

/* Mobile Search Overlay - Hidden on desktop */
.mobile-search-overlay {
	display: none;
}

.header-nav {
	display: flex;
	align-items: center;
	gap: 24px;
}

.header-nav a {
	color: var(--text-secondary);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: color 0.2s;
}

.header-nav a:hover {
	color: var(--text-color);
}

.header-nav-premium {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 50%, #ff6b6b 100%);
	background-size: 200% 100%;
	color: white !important;
	padding: 6px 14px;
	border-radius: 20px;
	font-weight: 600 !important;
	box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
	transition: all 0.3s ease;
	animation: gradient-shift 3s ease infinite;
	overflow: hidden;
}

.header-nav-premium::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transition: left 0.5s ease;
}

.header-nav-premium:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(255, 107, 107, 0.6);
	animation: gradient-shift 1.5s ease infinite;
}

.header-nav-premium:hover::before {
	left: 100%;
}

.header-nav-fire-icon {
	display: inline-block;
	font-size: 16px;
	line-height: 1;
	animation: fire-flicker 1.5s ease-in-out infinite;
	filter: drop-shadow(0 0 4px rgba(255, 140, 0, 0.8));
}

.header-nav-premium:hover .header-nav-fire-icon {
	animation: fire-flicker 0.8s ease-in-out infinite;
	filter: drop-shadow(0 0 6px rgba(255, 140, 0, 1));
}

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

@keyframes fire-flicker {
	0%, 100% {
		transform: scale(1) rotate(0deg);
		opacity: 1;
	}
	25% {
		transform: scale(1.1) rotate(-2deg);
		opacity: 0.9;
	}
	50% {
		transform: scale(0.95) rotate(2deg);
		opacity: 1;
	}
	75% {
		transform: scale(1.05) rotate(-1deg);
		opacity: 0.95;
	}
}

/* Header Hamburger Menu Toggle */
/* Header Actions Container */
.header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
}

.mobile-menu-toggle {
	display: none;
	width: 32px;
	height: 32px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 4px;
	z-index: 1002;
	position: relative;
	align-items: center;
	justify-content: center;
}

.mobile-menu-toggle:focus {
	outline-offset: 2px;
	border-radius: 4px;
}

.mobile-menu-toggle svg {
	position: absolute;
	width: 24px;
	height: 24px;
	color: var(--text-color);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu-toggle .sidebar-icon {
	opacity: 1;
	transform: rotate(0deg);
}

.mobile-menu-toggle .close-icon {
	opacity: 0;
	transform: rotate(90deg);
}

.mobile-menu-toggle[aria-expanded="true"] .sidebar-icon {
	opacity: 0;
	transform: rotate(-90deg);
}

.mobile-menu-toggle[aria-expanded="true"] .close-icon {
	opacity: 1;
	transform: rotate(0deg);
}

.header-menu-toggle {
	display: none;
	width: 32px;
	height: 32px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 4px;
	z-index: 1001;
	position: relative;
	align-items: center;
	justify-content: center;
}

.header-menu-toggle:focus {
	outline-offset: 2px;
	border-radius: 4px;
}

.header-menu-toggle svg {
	position: absolute;
	width: 24px;
	height: 24px;
	color: var(--text-color);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.header-menu-toggle .menu-icon {
	opacity: 1;
	transform: scale(1);
}

.header-menu-toggle .close-icon {
	opacity: 0;
	transform: scale(0) rotate(90deg);
}

.header-menu-toggle[aria-expanded="true"] .menu-icon {
	opacity: 0;
	transform: scale(0) rotate(-90deg);
}

.header-menu-toggle[aria-expanded="true"] .close-icon {
	opacity: 1;
	transform: scale(1) rotate(0deg);
}

/* Left Sidebar */
.sidebar {
	width: var(--sidebar-width);
	background: var(--bg-sidebar);
	border-right: 1px solid var(--border-color);
	position: fixed;
	left: 0;
	top: 64px;
	height: calc(100vh - 64px);
	overflow-y: auto;
	padding: 24px 0;
	z-index: 100;
}

/* Search Results */
.search-results {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	background: var(--bg-color);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	max-height: 500px;
	overflow-y: auto;
	z-index: 1001;
	display: none;
	scrollbar-width: thin;
	scrollbar-color: var(--border-color) var(--bg-light);
}

.search-results.active {
	display: block;
}

.search-results::-webkit-scrollbar {
	width: 8px;
}

.search-results::-webkit-scrollbar-track {
	background: var(--bg-light);
	border-radius: 4px;
}

.search-results::-webkit-scrollbar-thumb {
	background: var(--border-color);
	border-radius: 4px;
}

.search-results::-webkit-scrollbar-thumb:hover {
	background: var(--text-light);
}

.search-result-item {
	padding: 12px 16px;
	border-bottom: 1px solid var(--border-light);
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.search-result-item:last-child {
	border-bottom: none;
}

.search-result-item:hover,
.search-result-item.active {
	background-color: var(--bg-light);
}

.search-result-item:focus {
	outline: 2px solid var(--primary-color);
	outline-offset: -2px;
}

.search-result-title {
	font-weight: 600;
	font-size: 14px;
	color: var(--text-color);
	margin-bottom: 4px;
	line-height: 1.4;
}

.search-result-title mark {
	background-color: #fff3cd;
	color: var(--text-color);
	padding: 0 2px;
	border-radius: 2px;
	font-weight: 700;
}

.search-result-content {
	font-size: 13px;
	color: var(--text-secondary);
	line-height: 1.5;
	margin-bottom: 6px;
}

.search-result-content mark {
	background-color: #fff3cd;
	color: var(--text-color);
	padding: 0 2px;
	border-radius: 2px;
	font-weight: 600;
}

.search-result-section {
	font-size: 11px;
	color: var(--text-light);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-top: 4px;
}

.search-result-empty {
	padding: 24px 16px;
	text-align: center;
	color: var(--text-light);
	font-size: 14px;
}

/* Search highlight animation */
.search-highlight {
	animation: searchHighlight 1.5s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 4px;
	padding: 0px;
	transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes searchHighlight {
	0% {
		background-color: #ffd54f;
		box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.2);
	}
	60% {
		background-color: #fff3cd;
		box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.1);
	}
	100% {
		background-color: transparent;
		box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
	}
}

.sidebar-nav {
	padding: 0 12px;
}

.nav-section {
	margin-bottom: 24px;
}

.nav-section-title {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--text-light);
	padding: 8px 12px;
	margin-bottom: 4px;
}

.nav-link {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	color: var(--text-secondary);
	text-decoration: none;
	border-radius: 6px;
	font-size: 14px;
	transition: all 0.2s;
	margin-bottom: 2px;
}

.nav-link:hover {
	background: var(--bg-light);
	color: var(--text-color);
}

.nav-link.active {
	background: var(--primary-color);
	color: white;
	font-weight: 500;
}

.nav-link-icon {
	width: 16px;
	opacity: 0.6;
}

.nav-link.active .nav-link-icon {
	opacity: 1;
}

.nav-subsection {
	margin-left: 8px;
	padding-left: 16px;
	border-left: 1px solid var(--border-light);
}

.nav-subsection .nav-link {
	padding-left: 8px;
	font-size: 13px;
}

.nav-subsection .nav-link.active {
	background: var(--bg-color2);
	color: var(--text-secondary);
    font-weight: 500;
}

.nav-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 2px 8px;
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	background: linear-gradient(135deg, var(--primary-color), #4A90E2);
	color: white;
	border-radius: 10px;
	margin-left: auto;
	box-shadow: 0 2px 4px rgba(21, 94, 239, 0.3);
	animation: pulse 2s ease-in-out infinite;
}

.nav-link.active .nav-badge {
	background: rgba(255, 255, 255, 0.2);
	box-shadow: 0 2px 4px rgba(255, 255, 255, 0.2);
}

@keyframes pulse {
	0%, 100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.8;
		transform: scale(1.05);
	}
}

/* Main Content */
.main-content {
	flex: 1;
	margin-left: var(--sidebar-width);
	margin-right: var(--right-sidebar-width);
	padding: 32px 48px;
	margin-top: 64px;
	max-width: calc(100% - var(--sidebar-width) - var(--right-sidebar-width));
	width: 100%;
	box-sizing: border-box;
	overflow-x: hidden;
	min-width: 0;
}

.content-header {
	margin-bottom: 32px;
}

.content-category {
	font-size: 14px;
	color: var(--text-secondary);
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 500;
}

h1 {
	font-size: 3rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin-bottom: 16px;
	color: var(--text-color);
	line-height: 1.2;
}

.content-description {
	font-size: 18px;
	color: var(--text-secondary);
	line-height: 1.6;
	margin-bottom: 32px;
}

section {
	margin-bottom: 48px;
	scroll-margin-top: 100px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	overflow-x: hidden;
}

section#generate-integration-code {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	overflow-x: hidden;
}

h2 {
	font-size: 2rem;
	font-weight: 600;
	margin-bottom: 16px;
	color: var(--text-color);
	letter-spacing: -0.01em;
	line-height: 1.3;
}

h3 {
	font-size: 1.5rem;
	font-weight: 600;
	margin-top: 32px;
	margin-bottom: 16px;
	color: var(--text-color);
	line-height: 1.4;
}

h4 {
	font-size: 1.125rem;
	font-weight: 600;
	margin-top: 24px;
	margin-bottom: 12px;
	color: var(--text-color);
	line-height: 1.5;
}

p {
	margin-bottom: 16px;
	color: var(--text-color);
	font-size: 15px;
	line-height: 1.7;
}

ul, ol {
	margin-left: 24px;
	margin-bottom: 20px;
}

li {
	margin-bottom: 8px;
	color: var(--text-color);
	line-height: 1.7;
}

/* Code Blocks */
pre {
	background: var(--code-bg);
	border: 1px solid var(--code-border);
	border-radius: 6px;
	padding: 16px;
	overflow-x: auto;
	margin: 20px 0;
	font-size: 14px;
	line-height: 1.6;
	position: relative;
}

code {
	font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', 'Droid Sans Mono', 'Source Code Pro', monospace;
	font-size: 14px;
	background: var(--code-bg);
	padding: 2px 6px;
	border-radius: 4px;
	color: var(--text-color);
	border: 1px solid var(--code-border);
	word-break: break-word;
	overflow-wrap: break-word;
}

pre code {
	background: none;
	padding: 0;
	border: none;
}

/* Code Copy Button */
.code-copy-button {
	position: absolute;
	top: 8px;
	right: 8px;
	background: var(--primary-color);
	color: white;
	border: none;
	border-radius: 4px;
	padding: 6px 12px;
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
	opacity: 0;
	transition: opacity 0.2s ease, background 0.2s ease;
	z-index: 10;
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	overflow: hidden;
}

.code-copy-button::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.3),
		transparent
	);
	transition: left 0.5s ease;
	z-index: 1;
}

.code-copy-button:hover::before {
	left: 100%;
}

.code-copy-button > * {
	position: relative;
	z-index: 2;
}

pre:hover .code-copy-button,
pre:focus-within .code-copy-button {
	opacity: 1;
}

/* Always show on touch devices */
@media (hover: none) {
	.code-copy-button {
		opacity: 1;
	}
}

.code-copy-button:hover {
	background: var(--primary-hover);
}

.code-copy-button:active {
	transform: scale(0.98);
}

.code-copy-button:focus {
	outline: 2px solid var(--primary-color);
	outline-offset: 2px;
}

.code-copy-button.copied {
	background: #28a745;
	opacity: 1;
}

.code-copy-button.copied:hover {
	background: #218838;
}

.code-copy-button svg {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

/* Cards */
.card {
	background: var(--bg-color);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	padding: 24px;
	margin: 24px 0;
	overflow-wrap: break-word;
	word-wrap: break-word;
}

.card h3,
.card h4 {
	margin-top: 0;
}

.card h3 {
	font-size: 1.25rem;
	margin-bottom: 12px;
}

.card h4 {
	font-size: 1.0625rem;
	margin-bottom: 8px;
	word-break: break-word;
	overflow-wrap: break-word;
	line-height: 1.5;
}

.card h4 code {
	word-break: break-all;
	white-space: normal;
}

/* Video Container */
.video-container {
	margin: 32px 0;
	border-radius: 8px;
	overflow: hidden;
	background: var(--bg-light);
	border: 3px solid #000000;
	width: 80%;
}

/* Custom Video Player */
.custom-video-player {
	position: relative;
	width: 100%;
	background: #000;
	border-radius: 8px;
	overflow: hidden;
}

.custom-video-player video {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}

.video-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.3);
	opacity: 1;
	transition: opacity 0.3s ease;
	z-index: 2;
	cursor: pointer;
	pointer-events: auto;
}

.custom-video-player.playing .video-overlay {
	opacity: 0;
	pointer-events: none;
}

.custom-video-player.playing .video-overlay .play-pause-btn {
	pointer-events: auto;
}

.custom-video-player:hover .video-overlay {
	opacity: 1;
	pointer-events: auto;
}

.play-pause-btn {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	pointer-events: auto;
	position: relative;
	z-index: 10;
}

.play-pause-btn:hover {
	background: rgba(255, 255, 255, 1);
	transform: scale(1.1);
}

.play-pause-btn svg {
	width: 32px;
	height: 32px;
	color: var(--primary-color);
}

.play-pause-btn .pause-icon {
	display: none;
}

.custom-video-player.playing .play-pause-btn .play-icon {
	display: none;
}

.custom-video-player.playing .play-pause-btn .pause-icon {
	display: block;
}

.video-controls {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
	padding: 16px;
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 3;
}

.custom-video-player:hover .video-controls,
.custom-video-player.controls-visible .video-controls {
	opacity: 1;
}

.controls-top {
	margin-bottom: 12px;
}

.progress-container {
	width: 100%;
	cursor: pointer;
}

.progress-bar {
	position: relative;
	width: 100%;
	height: 6px;
	background: rgba(255, 255, 255, 0.3);
	border-radius: 3px;
	cursor: pointer;
	transition: height 0.2s ease;
}

.progress-container:hover .progress-bar {
	height: 8px;
}

.progress-filled {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	background: var(--primary-color);
	border-radius: 3px;
	width: 0%;
	transition: width 0.1s linear;
}

.progress-handle {
	position: absolute;
	top: 50%;
	left: 0%;
	width: 14px;
	height: 14px;
	background: var(--primary-color);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	opacity: 0;
	transition: opacity 0.2s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.progress-container:hover .progress-handle {
	opacity: 1;
}

.controls-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.controls-left,
.controls-right {
	display: flex;
	align-items: center;
	gap: 12px;
}

.control-btn {
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	transition: all 0.2s ease;
	border-radius: 4px;
}

.control-btn:hover {
	background: rgba(255, 255, 255, 0.1);
}

.control-btn svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.control-btn .pause-icon {
	display: none;
}

.custom-video-player.playing .control-btn .play-icon {
	display: none;
}

.custom-video-player.playing .control-btn .pause-icon {
	display: block;
}

.time-display {
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 4px;
}

.time-separator {
	opacity: 0.7;
}

.volume-control {
	display: flex;
	align-items: center;
	gap: 8px;
	position: relative;
}

.volume-slider-container {
	width: 0;
	overflow: hidden;
	transition: width 0.3s ease;
}

.volume-control:hover .volume-slider-container {
	width: 80px;
}

.volume-slider {
	position: relative;
	width: 80px;
	height: 4px;
	background: rgba(255, 255, 255, 0.3);
	border-radius: 2px;
	cursor: pointer;
}

.volume-progress {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	background: #fff;
	border-radius: 2px;
	width: 100%;
	transition: width 0.1s linear;
}

.volume-handle {
	position: absolute;
	top: 50%;
	right: 0;
	width: 12px;
	height: 12px;
	background: #fff;
	border-radius: 50%;
	transform: translate(50%, -50%);
	opacity: 0;
	transition: opacity 0.2s ease;
}

.volume-slider:hover .volume-handle {
	opacity: 1;
}

.volume-btn .volume-muted-icon {
	display: none;
}

.custom-video-player.muted .volume-btn .volume-high-icon {
	display: none;
}

.custom-video-player.muted .volume-btn .volume-muted-icon {
	display: block;
}

.video-loading {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.7);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 4;
}

.custom-video-player.loading .video-loading {
	display: flex;
}

.loading-spinner {
	width: 48px;
	height: 48px;
	border: 4px solid rgba(255, 255, 255, 0.3);
	border-top-color: var(--primary-color);
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.custom-video-player.fullscreen {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 9999;
	border-radius: 0;
}

.custom-video-player.fullscreen video {
	height: 100vh;
	object-fit: contain;
}

/* Features Grid */
.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
	margin: 32px 0;
}

.feature-card {
	background: var(--bg-color);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	padding: 24px;
	transition: all 0.2s;
}

.feature-card:hover {
	border-color: var(--primary-color);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.feature-card h4 {
	color: var(--text-color);
	margin-top: 0;
	margin-bottom: 12px;
	font-size: 1.125rem;
}

.feature-card p {
	color: var(--text-secondary);
	margin-bottom: 0;
	font-size: 14px;
	line-height: 1.6;
}

/* Table */
table {
	width: 100%;
	border-collapse: collapse;
	margin: 24px 0;
	background: var(--bg-color);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	overflow: hidden;
	font-size: 14px;
}

table th,
table td {
	padding: 12px 16px;
	text-align: left;
	border-bottom: 1px solid var(--border-color);
}

table th {
	background: var(--bg-light);
	font-weight: 600;
	color: var(--text-color);
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

table tr:last-child td {
	border-bottom: none;
}

table tr {
	transition: background 0.15s;
}

table tr:hover {
	background: var(--bg-light);
	cursor: pointer;
}

table td code {
	font-size: 13px;
	background: var(--code-bg);
	padding: 2px 6px;
	border: 1px solid var(--code-border);
}

/* Right Sidebar - Sidebar */
.right-sidebar {
	width: var(--right-sidebar-width);
	background: var(--bg-color);
	border-left: 1px solid var(--border-color);
	position: fixed;
	right: 0;
	top: 64px;
	height: calc(100vh - 64px);
	overflow-y: auto;
	padding: 24px;
	z-index: 100;
}

.on-this-page {
	font-size: 13px;
}

.on-this-page-title {
	font-weight: 600;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--text-light);
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.on-this-page-section {
	margin-bottom: 24px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--border-light);
}

.on-this-page-section:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.on-this-page-section h4 {
	font-size: 14px;
	font-weight: 600;
	color: var(--text-color);
	margin-bottom: 12px;
	margin-top: 0;
}

.on-this-page-section p {
	font-size: 13px;
	line-height: 1.6;
	color: var(--text-secondary);
	margin-bottom: 12px;
}

.on-this-page-section ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.on-this-page-section ul li {
	font-size: 13px;
	line-height: 1.6;
	color: var(--text-secondary);
	margin-bottom: 8px;
	padding-left: 16px;
	position: relative;
}

.on-this-page-section ul li:before {
	content: "•";
	color: var(--primary-color);
	position: absolute;
	left: 0;
}

.links-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.links-list li {
	margin-bottom: 8px;
	padding-left: 0;
}

.links-list li:before {
	display: none;
}

.links-list a {
	color: var(--text-secondary);
	text-decoration: none;
	font-size: 13px;
	transition: color 0.2s;
	display: inline-block;
}

.links-list a:hover {
	color: var(--primary-color);
	text-decoration: underline;
}

.youtube-link {
	display: inline-block;
	margin-top: 8px;
	padding: 8px 16px;
	background: var(--primary-color);
	color: white;
	text-decoration: none;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 500;
	transition: background 0.2s;
	position: relative;
	overflow: hidden;
}

.youtube-link::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.3),
		transparent
	);
	transition: left 0.5s ease;
}

.youtube-link:hover {
	background: var(--primary-hover);
	color: white;
	text-decoration: none;
}

.youtube-link:hover::before {
	left: 100%;
}

.toc-section {
	margin-bottom: 16px;
}

.toc-section-title {
	font-weight: 600;
	font-size: 13px;
	color: var(--text-color);
	margin-bottom: 8px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	user-select: none;
}

.toc-section-title:hover {
	color: var(--primary-color);
}

.toc-toggle {
	font-size: 10px;
	transition: transform 0.2s;
}

.toc-section.expanded .toc-toggle {
	transform: rotate(90deg);
}

.toc-links {
	list-style: none;
	margin: 0;
	padding-left: 12px;
	display: none;
}

.toc-section.expanded .toc-links {
	display: block;
}

.toc-links li {
	margin-bottom: 6px;
}

.toc-links a {
	color: var(--text-secondary);
	text-decoration: none;
	font-size: 13px;
	line-height: 1.5;
	display: block;
	padding: 4px 0;
	transition: color 0.2s;
}

.toc-links a:hover {
	color: var(--primary-color);
}

.toc-links a.active {
	color: var(--primary-color);
	font-weight: 500;
}

/* Footer */
footer {
	background: var(--bg-light);
	border-top: 1px solid var(--border-color);
	color: var(--text-secondary);
	text-align: center;
	padding: 32px 0;
	margin-top: 64px;
	/* margin-left: var(--sidebar-width); */
}

footer p {
	margin-bottom: 8px;
	font-size: 14px;
}

footer a {
	color: var(--primary-color);
	text-decoration: none;
}

footer a:hover {
	text-decoration: underline;
}

/* Links */
a {
	color: var(--primary-color);
	text-decoration: none;
	transition: color 0.2s;
}

a:hover {
	color: var(--primary-hover);
	text-decoration: underline;
}

/* Blockquote */
blockquote {
	border-left: 3px solid var(--primary-color);
	padding-left: 20px;
	margin: 24px 0;
	font-style: italic;
	color: var(--text-secondary);
	background: var(--bg-light);
	padding: 20px;
	border-radius: 0 6px 6px 0;
}

/* Scrollbar */
::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
	background: var(--text-light);
}

/* Responsive - Tablet and Below */
@media (max-width: 1200px) {
	.right-sidebar {
		display: none;
	}
	
	.main-content {
		margin-right: 0;
		max-width: calc(100% - var(--sidebar-width));
		padding: 32px 40px;
	}
	
	footer {
		margin-right: 0;
		max-width: calc(100% - var(--sidebar-width));
	}
}

/* Responsive - Tablet */
@media (max-width: 992px) {
	.header-search-box {
		max-width: 300px;
		margin: 0 16px;
	}
	.main-content {
		padding: 28px 32px;
	}
	
	.features-grid {
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
		gap: 20px;
	}
	
	.card {
		padding: 20px;
	}
	
	table {
		font-size: 13px;
	}
	
	table th,
	table td {
		padding: 10px 12px;
	}
}

/* Responsive - Mobile */
@media (max-width: 768px) {
	:root {
		--sidebar-width: 280px;
	}
	
	/* Header */
	header {
		padding: 0 12px;
		height: 60px;
		overflow: hidden;
		box-sizing: border-box;
	}
	
	.logo {
		width: 28px;
		height: 28px;
		flex-shrink: 0;
	}
	
	.logo-text {
		font-size: 16px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		max-width: 120px;
	}
	
	.logo-version {
		font-size: 11px;
		margin-left: 6px;
		flex-shrink: 0;
	}
	
	.header-search-box {
		display: none;
	}

	.mobile-search-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		min-width: 40px;
		padding: 0;
		border: 1px solid var(--border-color);
		border-radius: 6px;
		background: var(--bg-light);
		color: var(--text-color);
		cursor: pointer;
		transition: all 0.2s ease;
		flex-shrink: 0;
	}

	.mobile-search-toggle:hover {
		background: var(--bg-color);
		border-color: var(--primary-color);
		color: var(--primary-color);
	}

	.mobile-search-toggle .search-icon {
		width: 20px;
		height: 20px;
	}

	.mobile-search-overlay {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: rgba(0, 0, 0, 0.5);
		z-index: 1004;
		display: none;
		align-items: flex-start;
		justify-content: center;
		padding-top: 80px;
		opacity: 0;
		transition: opacity 0.3s ease;
	}

	.mobile-search-overlay.active {
		display: flex;
		opacity: 1;
	}

	.mobile-search-box {
		position: relative;
		width: 90%;
		max-width: 500px;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		background: var(--bg-color);
		border: 1px solid var(--border-color);
		border-radius: 8px;
		padding: 12px 16px;
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
	}

	.mobile-search-input-wrapper {
		position: relative;
		display: flex;
		align-items: center;
		width: 100%;
	}

	.mobile-search-box .search-icon {
		position: absolute;
		left: 16px;
		width: 20px;
		height: 20px;
		color: var(--text-light);
		pointer-events: none;
		z-index: 1;
	}

	.mobile-search-input {
		flex: 1;
		padding: 10px 40px 10px 44px;
		border: none;
		border-radius: 6px;
		font-size: 16px;
		background: transparent;
		color: var(--text-color);
		outline: none;
	}

	.mobile-search-input::placeholder {
		color: var(--text-light);
	}

	.mobile-search-close {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 32px;
		height: 32px;
		padding: 0;
		border: none;
		background: transparent;
		color: var(--text-secondary);
		cursor: pointer;
		margin-left: 8px;
		border-radius: 4px;
		transition: all 0.2s ease;
		flex-shrink: 0;
	}

	.mobile-search-close:hover {
		background: var(--bg-light);
		color: var(--text-color);
	}

	.mobile-search-results {
		position: absolute;
		top: calc(100% + 8px);
		left: 0;
		right: 0;
		background: var(--bg-color);
		border: 1px solid var(--border-color);
		border-radius: 8px;
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
		max-height: calc(100vh - 200px);
		overflow-y: auto;
		z-index: 1;
	}
	
	.header-content {
		gap: 8px;
		min-width: 0;
		overflow: hidden;
		flex-wrap: nowrap;
	}
	
	.logo-section {
		min-width: 0;
		flex-shrink: 1;
		overflow: hidden;
	}
	
	.header-nav {
		position: fixed;
		top: 60px;
		right: 0;
		width: 280px;
		max-width: 85vw;
		height: calc(100vh - 60px);
		background: var(--bg-color);
		border-left: 1px solid var(--border-color);
		box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 24px 0;
		overflow-y: auto;
		transform: translateX(100%);
		transition: transform 0.3s ease;
		z-index: 1002;
	}
	
	.header-nav.active {
		transform: translateX(0);
	}
	
	/* Body overlay when header nav is open */
	body.header-nav-open::after {
		content: '';
		position: fixed;
		top: 60px;
		left: 0;
		right: 0;
		bottom: 0;
		background: rgba(0, 0, 0, 0.5);
		opacity: 1;
		pointer-events: all;
		transition: opacity 0.3s ease;
	}
	
	.header-nav a {
		padding: 14px 20px;
		border-bottom: 1px solid var(--border-light);
		font-size: 15px;
		min-height: 44px;
		display: flex;
		align-items: center;
		color: var(--text-color);
		text-decoration: none;
		transition: background 0.2s;
	}
	
	.header-nav-premium {
		padding: 12px 20px;
		margin: 8px 0;
		justify-content: center;
		border-bottom: none !important;
		box-shadow: 0 4px 12px rgba(255, 107, 107, 0.5);
	}
	
	.header-nav-fire-icon {
		font-size: 18px;
	}
	
	.header-nav a:hover {
		background: var(--bg-light);
	}
	
	.header-nav a:last-child {
		border-bottom: none;
	}
	
	.header-nav-premium {
		padding: 8px 16px;
		font-size: 15px;
		margin: 4px 0;
		justify-content: center;
	}
	
	.header-nav-fire-icon {
		font-size: 18px;
	}
	
	.header-actions {
		display: flex;
		align-items: center;
		gap: 6px;
		margin-left: auto;
		position: relative;
		z-index: 1003;
		flex-shrink: 0;
	}
	
	.mobile-menu-toggle,
	.header-menu-toggle {
		width: 40px;
		height: 40px;
		min-width: 40px;
		flex-shrink: 0;
	}
	
	.header-menu-toggle {
		display: flex;
		position: relative;
		z-index: 1003;
	}
	
	.mobile-menu-toggle {
		display: flex;
		position: relative;
		z-index: 1003;
	}
	
	/* Sidebar */
	.sidebar {
		width: var(--sidebar-width);
		top: 60px;
		height: calc(100vh - 60px);
		transform: translateX(-100%);
		transition: transform 0.3s ease;
		z-index: 1001;
		box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
	}
	
	.sidebar.open {
		transform: translateX(0);
	}
	
	/* Body overlay when sidebar is open */
	body.sidebar-open::before {
		content: '';
		position: fixed;
		top: 60px;
		left: 0;
		right: 0;
		bottom: 0;
		background: rgba(0, 0, 0, 0.5);
		z-index: 1000;
		opacity: 1;
		pointer-events: all;
		transition: opacity 0.3s ease;
	}
	
	.search-results {
		left: 0;
		right: 0;
		max-height: 400px;
		top: calc(100% + 4px);
	}
	
	/* Main Content */
	.main-content {
		margin-left: 0;
		margin-right: 0;
		max-width: 100%;
		padding: 24px 16px;
		margin-top: 60px;
	}
	
	/* Typography */
	h1 {
		font-size: 2rem;
		margin-bottom: 12px;
	}
	
	h2 {
		font-size: 1.75rem;
		margin-bottom: 12px;
	}
	
	h3 {
		font-size: 1.25rem;
		margin-top: 24px;
		margin-bottom: 12px;
	}
	
	h4 {
		font-size: 1.0625rem;
		margin-top: 20px;
		margin-bottom: 10px;
	}
	
	.content-description {
		font-size: 16px;
		margin-bottom: 24px;
	}
	
	p {
		font-size: 15px;
		margin-bottom: 14px;
	}
	
	/* Cards */
	.card {
		padding: 20px 16px;
		margin: 20px 0;
		border-radius: 6px;
		overflow-wrap: break-word;
		word-wrap: break-word;
	}
	
	.card h4 {
		font-size: 1rem;
		line-height: 1.5;
		word-break: break-word;
		overflow-wrap: break-word;
	}
	
	.card h4 code {
		font-size: 0.9em;
		white-space: normal;
		word-break: break-all;
		display: inline;
	}
	
	/* Features Grid */
	.features-grid {
		grid-template-columns: 1fr;
		gap: 16px;
		margin: 24px 0;
	}
	
	.feature-card {
		padding: 20px 16px;
	}
	
	/* Code Blocks */
	pre {
		padding: 12px;
		font-size: 13px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		margin: 16px 0;
	}
	
	.code-copy-button {
		top: 6px;
		right: 6px;
		padding: 5px 10px;
		font-size: 11px;
	}
	
	.code-copy-button svg {
		width: 12px;
		height: 12px;
	}
	
	code {
		font-size: 13px;
		padding: 2px 4px;
		word-break: break-word;
		overflow-wrap: break-word;
		display: inline-block;
		max-width: 100%;
	}
	
	/* Card headings with code - handle long filter hook names */
	.card h4 {
		word-break: break-word;
		overflow-wrap: break-word;
		line-height: 1.5;
		margin-bottom: 12px;
	}
	
	.card h4 code {
		white-space: normal;
		word-break: break-all;
		display: inline;
		line-height: 1.5;
		font-size: 0.9em;
		padding: 3px 5px;
	}
	
	/* Ensure paragraphs with inline code wrap properly */
	.card p {
		word-break: break-word;
		overflow-wrap: break-word;
		margin-bottom: 12px;
		line-height: 1.6;
	}
	
	.card p code {
		white-space: normal;
		word-break: break-all;
		font-size: 0.9em;
		padding: 2px 4px;
	}
	
	.card p:last-child {
		margin-bottom: 0;
	}
	
	/* Tables */
	table {
		font-size: 12px;
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		margin: 20px 0;
	}
	
	table th,
	table td {
		padding: 8px 10px;
		min-width: 100px;
	}
	
	table th {
		font-size: 11px;
	}
	
	/* Lists */
	ul, ol {
		margin-left: 20px;
		margin-bottom: 16px;
	}
	
	li {
		margin-bottom: 6px;
	}
	
	/* Sections */
	section {
		margin-bottom: 40px;
		scroll-margin-top: 80px;
	}
	
	.content-header {
		margin-bottom: 24px;
	}
	
	/* Footer */
	footer {
		margin-left: 0;
		margin-right: 0;
		padding: 24px 16px;
		text-align: center;
		max-width: -webkit-fill-available;
	}
	
	footer p {
		margin-bottom: 12px;
		font-size: 14px;
	}
	
	/* Right Sidebar - Already hidden but ensure it's not taking space */
	.right-sidebar {
		display: none;
	}
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
	header {
		padding: 0 12px;
		height: 56px;
	}
	
	.logo-section {
		gap: 8px;
	}
	
	.logo {
		width: 24px;
		height: 24px;
	}
	
	.logo-text {
		font-size: 14px;
	}
	
	.logo-version {
		display: none; /* Hide version on very small screens */
	}
	
	.main-content {
		margin-top: 56px;
		padding: 20px 12px;
	}
	
	h1 {
		font-size: 1.75rem;
	}
	
	h2 {
		font-size: 1.5rem;
	}
	
	h3 {
		font-size: 1.125rem;
	}
	
	.content-description {
		font-size: 15px;
	}
	
	.card {
		padding: 16px 12px;
	}
	
	.card h4 {
		font-size: 0.9375rem;
	}
	
	.card h4 code {
		font-size: 0.85em;
	}
	
	.feature-card {
		padding: 16px 12px;
	}
	
	pre {
		padding: 10px;
		font-size: 12px;
	}
	
	table {
		font-size: 11px;
	}
	
	table th,
	table td {
		padding: 6px 8px;
	}
	
	.sidebar {
		width: 100%;
		max-width: 320px;
		top: 56px;
		height: -webkit-fill-available;
	}
	
	body.sidebar-open::before {
		top: 56px;
	}
	
	.header-nav {
		top: 56px;
		height: -webkit-fill-available;
		width: 100%;
		max-width: 320px;
	}
	
	body.header-nav-open::after {
		top: 56px;
	}
}

/* Mobile menu toggle - hidden on desktop, shown on mobile (styles are in @media query above) */

/* Code Generator Styles */
.code-generator-wrapper {
	display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
    row-gap: 32px;
    margin: 32px 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

@media (max-width: 1200px) {
	.code-generator-wrapper {
		column-gap: 24px;
		row-gap: 24px;
	}
}

.code-generator-form {
	background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-bottom: none;
    border-radius: 8px 8px 0px 0px;
    padding: 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    min-width: 0;
}

.code-generator-form h3 {
	margin-top: 0;
	margin-bottom: 24px;
	font-size: 1.25rem;
}

.generator-section {
	margin-bottom: 32px;
}

.generator-section:last-child {
	margin-bottom: 0;
}

.generator-section h4 {
	font-size: 1.0625rem;
	margin-bottom: 16px;
	color: var(--text-color);
	font-weight: 600;
}

.checkbox-group {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px;
	border: 1px solid var(--border-color);
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.2s ease;
	background: var(--bg-light);
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	min-width: 0;
	flex-wrap: nowrap;
}

.checkbox-label:hover {
	background: var(--bg-color2);
	border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"] {
	margin-top: 2px;
	flex-shrink: 0;
	cursor: pointer;
	width: 18px;
	height: 18px;
	accent-color: var(--primary-color);
}

.checkbox-label span:first-of-type {
	flex: 1;
	font-weight: 500;
	color: var(--text-color);
	width: 100%;
	word-wrap: break-word;
	overflow-wrap: break-word;
	line-height: 1.5;
}

.hook-name {
	font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
	font-size: 0.8125rem;
	color: var(--text-secondary);
	background: var(--code-bg);
	padding: 4px 8px;
	border-radius: 4px;
	white-space: nowrap;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	box-sizing: border-box;
	word-break: break-all;
	overflow-wrap: break-word;
}

.form-group {
	margin-bottom: 16px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
	color: var(--text-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="url"] {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--border-color);
	border-radius: 6px;
	font-size: 0.9375rem;
	font-family: inherit;
	transition: border-color 0.2s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="url"]:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(21, 94, 239, 0.1);
}

.form-group label input[type="checkbox"] {
	margin-right: 8px;
	width: 18px;
	height: 18px;
	accent-color: var(--primary-color);
	cursor: pointer;
}

.generator-actions {
	display: flex;
	gap: 12px;
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid var(--border-color);
}

.btn {
	padding: 10px 20px;
	border: none;
	border-radius: 6px;
	font-size: 0.9375rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	font-family: inherit;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	position: relative;
	overflow: hidden;
}

.btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.3),
		transparent
	);
	transition: left 0.5s ease;
	z-index: 1;
}

.btn:hover::before {
	left: 100%;
}

.btn > * {
	position: relative;
	z-index: 2;
}

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

.btn-primary:hover {
	background: var(--primary-hover);
}


.btn-secondary {
	background: var(--bg-color2);
	color: var(--text-color);
	border: 1px solid var(--border-color);
}

.btn-secondary:hover {
	background: var(--bg-color);
	border-color: var(--primary-color);
	color: var(--primary-color);
}

.btn-small {
	padding: 6px 12px;
	font-size: 0.8125rem;
}

.code-generator-output {
	background: var(--bg-color);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	height: fit-content;
	max-height: calc(100vh - 200px);
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	overflow: hidden;
	min-width: 0;
}

.output-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 24px;
	border-bottom: 1px solid var(--border-color);
}

.output-header h3 {
	margin: 0;
	font-size: 1.0625rem;
}

.output-actions {
	display: flex;
	gap: 8px;
}

.code-output-wrapper {
	flex: 1;
	overflow-x: auto;
	overflow-y: auto;
	padding: 24px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	min-width: 0;
}

.code-output-wrapper pre {
	margin: 0;
	padding: 0;
	background: transparent;
	border: none;
	overflow-x: auto;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.code-output-wrapper code {
	font-size: 0.875rem;
	line-height: 1.6;
	color: var(--text-color);
	white-space: pre;
	word-wrap: break-word;
	overflow-wrap: break-word;
	max-width: 100%;
	display: block;
	font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
}

/* Floating Code Customization Footer */
.code-customization-footer {
	grid-column: 1 / -1;
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border-color);
    border-radius: 0px 0px 8px 8px;
    box-sizing: border-box;
    -webkit-backdrop-filter: blur(10px);
}

.code-customization-content {
	max-width: 100%;
	padding: 20px 24px;
}

.code-customization-content h4 {
	margin: 0 0 16px 0;
	font-size: 1.0625rem;
	color: var(--text-color);
	font-weight: 600;
}

.customization-controls {
	display: flex;
	gap: 24px;
	align-items: flex-end;
	flex-wrap: wrap;
}

.customization-controls .form-group {
	margin-bottom: 0;
	flex: 0 0 auto;
}

.customization-controls .form-group:first-child {
	flex: 1;
	min-width: 200px;
}

.customization-controls .form-group label {
	margin-bottom: 8px;
	display: block;
	font-weight: 500;
	color: var(--text-color);
	font-size: 0.875rem;
}

.customization-controls .form-group input[type="text"] {
	width: 100%;
	min-width: 150px;
}

.customization-controls .form-group label input[type="checkbox"] {
	margin-right: 8px;
	width: 18px;
	height: 18px;
	accent-color: var(--primary-color);
	cursor: pointer;
}

.code-customization-footer .generator-actions {
	display: flex;
	gap: 12px;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--border-color);
	flex-wrap: wrap;
}

/* Responsive - Code Generator */
@media (max-width: 1024px) {
	.code-generator-wrapper {
		grid-template-columns: 1fr;
		column-gap: 0;
		row-gap: 24px;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		overflow: hidden;
	}
	
	.code-generator-form,
	.code-generator-output {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		min-width: 0;
	}
	
	.code-generator-form {
		border-radius: 8px;
		border-bottom: 1px solid var(--border-color);
	}
	
	.code-generator-output {
		max-height: 600px;
	}
	
	.checkbox-label {
		display: block;
		position: relative;
		padding-left: 28px;
	}
	
	.checkbox-label input[type="checkbox"] {
		position: absolute;
		left: 12px;
		top: 14px;
		margin: 0;
		width: 18px;
		height: 18px;
	}
	
	.checkbox-label span:first-of-type {
		display: inline;
		width: 100%;
		margin-bottom: 8px;
		word-wrap: break-word;
		overflow-wrap: break-word;
		white-space: normal;
		line-height: 1.5;
	}
	
	.hook-name {
		display: inline-block;
		width: 100%;
		max-width: 100%;
		white-space: normal;
		word-break: break-word;
		overflow-wrap: break-word;
		text-overflow: clip;
		margin-top: 8px;
		margin-left: 0;
		box-sizing: border-box;
		overflow: visible;
		line-height: 1.4;
	}

	.code-customization-footer {
		position: relative;
		margin-bottom: 24px;
	}

	.code-customization-content {
		padding: 16px 20px;
	}

	.customization-controls {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
	}

	.customization-controls .form-group {
		width: 100%;
		flex: 1 1 100%;
	}

	.customization-controls .form-group:first-child {
		flex: 1 1 100%;
		min-width: 100%;
	}

	.customization-controls .form-group input[type="text"] {
		width: 100%;
		min-width: 100%;
	}

	.code-customization-footer .generator-actions {
		margin-top: 16px;
		padding-top: 16px;
		flex-wrap: wrap;
	}

	.code-customization-footer .generator-actions .btn {
		flex: 1 1 auto;
		min-width: 120px;
	}
}

/* Tablet specific styles */
@media (min-width: 769px) and (max-width: 1024px) {
	.code-generator-wrapper {
		column-gap: 20px;
		row-gap: 20px;
	}
	
	.code-generator-form {
		padding: 20px;
	}
	
	.checkbox-label {
		display: block;
		padding: 12px;
		padding-left: 34px;
		position: relative;
	}
	
	.checkbox-label input[type="checkbox"] {
		position: absolute;
		left: 12px;
		top: 14px;
		margin: 0;
		width: 18px;
		height: 18px;
	}
	
	.checkbox-label span:first-of-type {
		display: inline;
		word-wrap: break-word;
		overflow-wrap: break-word;
		white-space: normal;
		line-height: 1.5;
		margin-bottom: 8px;
	}
	
	.hook-name {
		display: inline-block;
		font-size: 0.75rem;
		padding: 4px 8px;
		width: 100%;
		max-width: 100%;
		white-space: normal;
		word-break: break-word;
		overflow-wrap: break-word;
		overflow: visible;
		text-overflow: clip;
		margin-top: 8px;
		margin-left: 0;
		box-sizing: border-box;
		line-height: 1.4;
	}
}

@media (max-width: 768px) {
	.code-generator-wrapper {
		margin: 24px 0;
		gap: 16px;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		padding: 0;
		overflow: hidden;
	}
	
	.code-generator-form,
	.code-generator-output {
		padding: 12px;
		border-bottom: 1px solid var(--border-color);
		border-radius: 8px;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		overflow-x: hidden;
		overflow-y: auto;
		min-width: 0;
	}
	
	.code-generator-form h3 {
		font-size: 1.125rem;
		margin-bottom: 16px;
	}
	
	.generator-section {
		margin-bottom: 20px;
	}
	
	.generator-section h4 {
		font-size: 1rem;
		margin-bottom: 12px;
	}
	
	.checkbox-label {
		display: block;
		padding: 12px;
		padding-left: 38px;
		position: relative;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}
	
	.checkbox-label input[type="checkbox"] {
		position: absolute;
		left: 12px;
		top: 14px;
		margin: 0;
		width: 20px;
		height: 20px;
		min-width: 20px;
		min-height: 20px;
	}
	
	.checkbox-label span:first-of-type {
		display: inline;
		word-wrap: break-word;
		overflow-wrap: break-word;
		line-height: 1.5;
		font-size: 0.9375rem;
		margin: 0;
		margin-bottom: 8px;
		white-space: normal;
	}
	
	.hook-name {
		display: inline-block;
		font-size: 0.75rem;
		padding: 4px 8px;
		word-break: break-word;
		overflow-wrap: break-word;
		white-space: normal;
		width: 100%;
		max-width: 100%;
		margin-top: 8px;
		margin-left: 0;
		text-overflow: clip;
		overflow: visible;
		line-height: 1.4;
		box-sizing: border-box;
	}
	
	.generator-actions {
		flex-direction: column;
		gap: 8px;
		margin-top: 16px;
		padding-top: 16px;
	}
	
	.btn {
		width: 100%;
		font-size: 0.875rem;
		padding: 10px 16px;
	}
	
	.output-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		padding: 12px 16px;
	}
	
	.output-actions {
		width: 100%;
		gap: 8px;
	}
	
	.output-actions .btn {
		flex: 1;
		font-size: 0.8125rem;
		padding: 6px 12px;
	}

	.code-customization-footer {
		position: relative;
		border-radius: 8px;
		margin-top: 16px;
		margin-bottom: 16px;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		left: 0;
		right: 0;
	}

	.code-customization-content {
		padding: 16px;
	}

	.code-customization-content h4 {
		font-size: 0.9375rem;
		margin-bottom: 16px;
		line-height: 1.4;
	}

	.customization-controls {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		width: 100%;
	}

	.customization-controls .form-group {
		width: 100%;
		flex: 1 1 100%;
		margin-bottom: 0;
	}

	.customization-controls .form-group:first-child {
		flex: 1 1 100%;
		min-width: 100%;
	}

	.customization-controls .form-group label {
		font-size: 0.875rem;
		margin-bottom: 8px;
		display: block;
		line-height: 1.5;
	}

	.customization-controls .form-group input[type="text"] {
		width: 100%;
		min-width: 100%;
		padding: 10px 12px;
		font-size: 0.875rem;
		box-sizing: border-box;
	}

	.customization-controls .form-group label input[type="checkbox"] {
		margin-right: 8px;
		width: 18px;
		height: 18px;
		min-width: 18px;
		min-height: 18px;
		flex-shrink: 0;
		cursor: pointer;
	}

	.customization-controls .form-group label {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		cursor: pointer;
		user-select: none;
		-webkit-tap-highlight-color: transparent;
	}

	.code-customization-footer .generator-actions {
		flex-direction: column;
		margin-top: 16px;
		padding-top: 16px;
		gap: 10px;
		width: 100%;
	}

	.code-customization-footer .generator-actions .btn {
		width: 100%;
		font-size: 0.875rem;
		padding: 12px 16px;
		min-height: 44px;
		box-sizing: border-box;
		touch-action: manipulation;
	}
}

/* Tablet specific styles */
@media (min-width: 481px) and (max-width: 768px) {
	.code-customization-content {
		padding: 18px;
	}

	.customization-controls {
		gap: 18px;
	}

	.code-customization-footer .generator-actions {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.code-customization-footer .generator-actions .btn {
		flex: 1 1 calc(50% - 5px);
		min-width: calc(50% - 5px);
		max-width: 100%;
	}
}

/* Small mobile devices */
@media (max-width: 480px) {
	.code-generator-wrapper {
		margin: 16px 0;
		gap: 16px;
		row-gap: 16px;
	}
	
	.code-generator-form,
	.code-generator-output {
		padding: 12px;
	}
	
	.code-generator-form h3 {
		font-size: 1rem;
		margin-bottom: 12px;
	}
	
	.generator-section {
		margin-bottom: 16px;
	}
	
	.generator-section h4 {
		font-size: 0.9375rem;
		margin-bottom: 10px;
	}
	
	.checkbox-label {
		display: block;
		padding: 10px;
		padding-left: 34px;
		position: relative;
	}
	
	.checkbox-label input[type="checkbox"] {
		position: absolute;
		left: 10px;
		top: 12px;
		margin: 0;
		width: 18px;
		height: 18px;
		min-width: 18px;
		min-height: 18px;
	}
	
	.checkbox-label span:first-of-type {
		display: inline;
		font-size: 0.875rem;
		margin: 0;
		margin-bottom: 6px;
		white-space: normal;
		word-wrap: break-word;
		overflow-wrap: break-word;
		line-height: 1.5;
	}
	
	.hook-name {
		display: inline-block;
		font-size: 0.6875rem;
		padding: 3px 6px;
		width: 100%;
		max-width: 100%;
		margin-left: 0;
		margin-top: 6px;
		word-break: break-word;
		overflow-wrap: break-word;
		white-space: normal;
		overflow: visible;
		box-sizing: border-box;
		line-height: 1.4;
	}
	
	.code-customization-footer {
		margin-left: -16px;
		margin-right: -16px;
		width: calc(100% + 32px);
		max-width: calc(100% + 32px);
		border-radius: 0;
		border-left: none;
		border-right: none;
	}

	.code-customization-content {
		padding: 14px 16px;
	}

	.code-customization-content h4 {
		font-size: 0.875rem;
		margin-bottom: 14px;
	}

	.customization-controls {
		gap: 14px;
	}

	.customization-controls .form-group label {
		font-size: 0.8125rem;
	}

	.customization-controls .form-group input[type="text"] {
		padding: 10px;
		font-size: 0.875rem;
	}

	.code-customization-footer .generator-actions {
		margin-top: 14px;
		padding-top: 14px;
		gap: 8px;
	}

	.code-customization-footer .generator-actions .btn {
		font-size: 0.8125rem;
		padding: 11px 14px;
		min-height: 44px;
	}
}

/* Promo Card Styles */
.promo-card {
	position: relative;
	overflow: hidden;
	margin-bottom: 32px;
	border-radius: 12px;
/*	box-shadow: 0 4px 12px rgba(21, 94, 239, 0.3); */
}

.promo-card::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
	pointer-events: none;
}

.promo-card-primary {
	background: linear-gradient(135deg, #155EEF 0%, #0d47a1 100%);
	color: white;
	padding: 24px;
}

.promo-card-spacing {
	margin-bottom: 32px;
}

.promo-card-content {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	position: relative;
	z-index: 1;
}

.promo-card-text {
	flex: 1;
	min-width: 200px;
}

.promo-card-title {
	margin: 0 0 8px 0;
	color: white;
	font-size: 1.25rem;
	display: flex;
	align-items: center;
	gap: 8px;
}

.promo-card-badge {
	background: rgba(255, 255, 255, 0.2);
	padding: 2px 8px;
	border-radius: 12px;
	font-size: 0.75rem;
	font-weight: 600;
}

.promo-card-description {
	margin: 0;
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.9375rem;
	line-height: 1.6;
}

.promo-card-list {
	margin: 12px 0;
	padding-left: 24px;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.9375rem;
}

.promo-card-list li {
	margin-bottom: 4px;
}

.promo-card-action {
	flex-shrink: 0;
}

.promo-card-button {
	display: inline-block;
	background: white;
	color: #155EEF;
	padding: 12px 24px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9375rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	white-space: nowrap;
	position: relative;
	overflow: hidden;
}

.promo-card-button::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(21, 94, 239, 0.2),
		transparent
	);
	transition: left 0.5s ease;
	z-index: 1;
}

.header-nav-premium {
	margin-left: 20px;
	margin-right: 20px;
}

.promo-card-button:hover::before {
	left: 100%;
}

.promo-card-button > * {
	position: relative;
	z-index: 2;
}

.promo-card-button-subtitle {
	font-size: 0.875rem;
	opacity: 0.9;
	font-weight: 500;
}

/* SmartOCS Cloud Promo Card - Enhanced Design */
.promo-card-cloud {
	background: linear-gradient(135deg, #173bdc 0%, #1a56d1 50%, #243d99 100%);
	border-radius: 16px;
	padding: 0;
	overflow: hidden;
	position: relative;
	box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
	margin-bottom: 32px;
}

.promo-card-cloud::before {
	content: '';
	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.05) 100%);
	pointer-events: none;
}

.promo-card-cloud::after {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}

.promo-card-cloud-header {
	padding: 32px 32px 24px;
	position: relative;
	z-index: 1;
}

.promo-card-cloud-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(255, 255, 255, 0.25);
	backdrop-filter: blur(10px);
	padding: 6px 14px;
	border-radius: 20px;
	margin-bottom: 16px;
	font-size: 0.8125rem;
	font-weight: 600;
	color: white;
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.promo-card-cloud-badge-icon {
	font-size: 1rem;
	line-height: 1;
}

.promo-card-cloud-badge-text {
	letter-spacing: 0.5px;
}

.promo-card-cloud-title {
	margin: 0 0 8px 0;
	color: white;
	font-size: 2rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 12px;
	line-height: 1.2;
}

.promo-card-cloud-icon {
	font-size: 2.5rem;
	line-height: 1;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.promo-card-cloud-subtitle {
	margin: 0;
	color: rgba(255, 255, 255, 0.9);
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0.3px;
}

.promo-card-cloud-content {
	padding: 0 32px 24px;
	position: relative;
	z-index: 1;
}

.promo-card-cloud-description {
	margin: 0 0 24px 0;
	color: rgba(255, 255, 255, 0.95);
	font-size: 1rem;
	line-height: 1.7;
	font-weight: 400;
}

.promo-card-cloud-features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 12px;
}

.promo-card-cloud-feature {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: rgba(255, 255, 255, 0.95);
	font-size: 0.9375rem;
	line-height: 1.6;
}

.promo-card-cloud-feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	background: rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	font-size: 0.75rem;
	font-weight: 700;
	color: white;
	flex-shrink: 0;
	margin-top: 2px;
}

.promo-card-cloud-footer {
	padding: 24px 32px 32px;
	background: rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(10px);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	position: relative;
	z-index: 1;
}

.promo-card-cloud-button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: white;
	color: #667eea;
	padding: 14px 28px;
	border-radius: 12px;
	text-decoration: none;
	font-weight: 700;
	font-size: 1rem;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	position: relative;
	overflow: hidden;
}

.promo-card-cloud-button::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
	transition: left 0.5s ease;
}

.promo-card-cloud-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.promo-card-cloud-button:hover::before {
	left: 100%;
}

.promo-card-cloud-button-text {
	position: relative;
	z-index: 2;
}

.promo-card-cloud-button-arrow {
	position: relative;
	z-index: 2;
	font-size: 1.25rem;
	transition: transform 0.3s ease;
}

.promo-card-cloud-button:hover .promo-card-cloud-button-arrow {
	transform: translateX(4px);
}

.promo-card-cloud-note {
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.5px;
}

/* Responsive SmartOCS Cloud Card */
@media (max-width: 768px) {
	.promo-card-cloud-header {
		padding: 24px 20px 20px;
	}
	
	.promo-card-cloud-title {
		font-size: 1.5rem;
		flex-wrap: wrap;
	}
	
	.promo-card-cloud-icon {
		font-size: 2rem;
	}
	
	.promo-card-cloud-content {
		padding: 0 20px 20px;
	}
	
	.promo-card-cloud-features {
		grid-template-columns: 1fr;
		gap: 10px;
	}
	
	.promo-card-cloud-footer {
		padding: 20px;
		flex-direction: column;
		align-items: stretch;
	}
	
	.promo-card-cloud-button {
		width: 100%;
		justify-content: center;
	}
	
	.promo-card-cloud-note {
		text-align: center;
	}
}


/* Responsive Promo Card */
@media (max-width: 768px) {
	.promo-card-primary {
		padding: 20px;
		margin-bottom: 24px;
	}
	
	.promo-card-title {
		font-size: 1.125rem;
		flex-wrap: wrap;
	}
	
	.promo-card-content {
		flex-direction: column;
		align-items: stretch;
	}
	
	.promo-card-text {
		margin-bottom: 16px;
	}
	
	.promo-card-button {
		width: 100%;
		text-align: center;
		display: block;
	}
}

/* Smooth Scrolling */
html {
	scroll-behavior: smooth;
}

/* Selection */
::selection {
	background: var(--primary-color);
	color: white;
}

/* Focus States */
/* Focus styles can be added here if needed */

/* Back to Top Button */
.back-to-top {
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 48px;
	height: 48px;
	background: var(--primary-color);
	color: white;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	transition: all 0.3s ease;
	z-index: 999;
	padding: 0;
	overflow: hidden;
}

.back-to-top::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.3),
		transparent
	);
	transition: left 0.5s ease;
	z-index: 1;
	border-radius: 50%;
}

.back-to-top:hover::before {
	left: 100%;
}

.back-to-top svg {
	position: relative;
	z-index: 2;
}

.back-to-top:hover {
	background: var(--primary-hover);
}

.back-to-top:active {
	transform: translateY(0);
}

.back-to-top:focus {
	outline: 2px solid var(--primary-color);
	outline-offset: 2px;
}

.back-to-top.visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.back-to-top svg {
	width: 20px;
	height: 20px;
	display: block;
	position: relative;
	z-index: 2;
}

/* Responsive - Back to Top Button */
@media (max-width: 768px) {
	.back-to-top {
		bottom: 20px;
		right: 20px;
		width: 44px;
		height: 44px;
	}
	
	.back-to-top svg {
		width: 18px;
		height: 18px;
	}
}

@media (max-width: 480px) {
	.back-to-top {
		bottom: 16px;
		right: 16px;
		width: 40px;
		height: 40px;
	}
	
	.back-to-top svg {
		width: 16px;
		height: 16px;
	}
}
