/* === LibertusStudio: Modern Design System === */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
	/* Color System */
	--primary: hsl(260, 15%, 42%);
	--primary-light: hsl(252, 89%, 73%);
	--primary-dark: hsl(260, 48%, 32%);
	--secondary: hsl(207, 75%, 55%);
	--secondary-light: hsl(195, 100%, 75%);
	--secondary-dark: hsl(216, 60%, 26%);
	--accent: hsl(242, 100%, 69%);
	--accent-dark: hsl(242, 45%, 49%);
	--accent-blue: hsl(236, 100%, 62%);
	
	/* Neutral Colors */
	--bg: hsl(234, 24%, 13%);
	--bg-secondary: hsl(235, 36%, 22%);
	--bg-medium: hsl(240, 37%, 22%);
	--bg-light: hsl(240, 32%, 25%);
	--text-primary: hsl(228, 100%, 97%);
	--text-secondary: hsl(202, 51%, 87%);
	--text-muted: hsl(206, 28%, 72%);
	
	/* Feedback Colors */
	--success: hsl(252, 89%, 70%);
	--warning: hsl(48, 95%, 54%);
	--danger: hsl(4, 100%, 50%);
	
	/* Effects */
	--glass-bg: hsla(235, 36%, 22%, 0.85);
	--glass-border: hsla(252, 89%, 73%, 0.12);
	--glass-shadow: 0 8px 32px hsla(242, 100%, 69%, 0.08);
	--glass-highlight: hsla(252, 89%, 73%, 0.05);
	
	/* Shadows */
	--shadow-sm: 0 2px 8px hsla(242, 100%, 69%, 0.06);
	--shadow-md: 0 4px 16px hsla(207, 75%, 55%, 0.1);
	--shadow-lg: 0 8px 32px hsla(207, 75%, 55%, 0.1);
	
	/* Borders */
	--border-radius-sm: 12px;
	--border-radius: 18px;
	--border-radius-lg: 24px;
	--border-radius-xl: 32px;
	
	/* Typography */
	--font-heading: 'Space Grotesk', system-ui, sans-serif;
	--font-body: 'Inter', system-ui, sans-serif;
	--line-height-tight: 1.2;
	--line-height-normal: 1.6;
	--letter-spacing-tight: -0.02em;
	--letter-spacing-wide: 0.02em;
	
	/* Transitions */
	--transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
	--transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
	--transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
	
	/* Layout */
	--container-max: 1200px;
	--container-padding: clamp(1rem, 5vw, 2rem);
	--section-spacing: clamp(3rem, 8vw, 6rem);
	--grid-gap: clamp(1.5rem, 4vw, 2rem);
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 80px;
}

body {
	font-family: var(--font-body);
	background: var(--bg);
	color: var(--text-primary);
	line-height: var(--line-height-normal);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

body.modal-open {
	overflow: hidden !important;
	touch-action: none;
}

.modal {
	pointer-events: none;
}

.modal[style*="display: flex"], .modal[style*="display:flex"] {
	pointer-events: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: var(--line-height-tight);
	letter-spacing: var(--letter-spacing-tight);
	color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
	margin-bottom: 1.5rem;
	max-width: 65ch;
}

a {
	color: var(--accent);
	text-decoration: none;
	transition: color var(--transition-fast);
}

a:hover {
	color: var(--accent-light);
}

/* Container */
.container {
	width: 100%;
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--container-padding);
}

/* Glass Card */
.glass-card {
	background: var(--glass-bg);
	backdrop-filter: blur(12px);
	border: 1px solid var(--glass-border);
	border-radius: var(--border-radius);
	padding: clamp(1.5rem, 4vw, 2rem);
	box-shadow: var(--glass-shadow);
	transition: transform var(--transition-normal),
				box-shadow var(--transition-normal);
}

.glass-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.glass-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--glass-highlight);
	border-radius: inherit;
	opacity: 0;
	transition: opacity var(--transition-normal);
}

.glass-card:hover::before {
	opacity: 1;
}

/* Button */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border-radius: var(--border-radius);
	font-weight: 500;
	font-size: 1rem;
	letter-spacing: var(--letter-spacing-wide);
	background: var(--accent);
	color: var(--text-primary);
	border: none;
	cursor: pointer;
	transition: transform var(--transition-fast),
				background var(--transition-fast),
				box-shadow var(--transition-fast);
	position: relative;
	overflow: hidden;
}

.btn:hover {
	transform: translateY(-2px);
	background: var(--accent-dark);
	box-shadow: 0 4px 16px hsla(242, 100%, 69%, 0.3);
}

.btn-secondary {
	background: transparent;
	border: 1px solid var(--accent);
}

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

/* Grid Layouts */
.grid {
	display: grid;
	gap: var(--grid-gap);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

/* Animations */
@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

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

.slide-up {
	animation: slideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
	:root {
		--container-padding: 1rem;
		--section-spacing: 3rem;
	}
	
	.grid {
		grid-template-columns: 1fr;
	}
}

/* Utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* Navigation */
.navbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: var(--glass-bg);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--glass-border);
	padding: 1rem 0;
	transition: transform var(--transition-normal),
				background var(--transition-normal);
}

.navbar.scrolled {
	transform: translateY(-100%);
}

.navbar.visible {
	transform: translateY(0);
}

.nav-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.logo {
	display: flex;
	align-items: center;
	gap: 1rem;
	text-decoration: none;
	color: var(--text-primary);
	position: relative;
	z-index: 2;
	pointer-events: auto;
}

.logo img {
	width: 48px;
	height: 48px;
	border-radius: var(--border-radius);
	transition: transform var(--transition-fast);
}

.logo:hover img {
	transform: scale(1.05);
}

.logo-text {
	display: flex;
	flex-direction: column;
}

.logo-title {
	font-family: var(--font-heading);
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--text-primary);
	line-height: 1.2;
}

.logo-subtitle {
	font-size: 0.875rem;
	color: var(--text-muted);
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.nav-link {
	font-size: 1rem;
	font-weight: 500;
	color: var(--text-secondary);
	text-decoration: none;
	padding: 0.5rem 0;
	position: relative;
	transition: color var(--transition-fast);
}

.nav-link::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
	color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
	transform: scaleX(1);
	transform-origin: left;
}

.mobile-menu {
	display: none;
}

/* Hero Section */
.hero {
	min-height: 100vh;
	padding: 8rem 0 4rem;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
}

.hero-bg {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.hero-pattern {
	position: absolute;
	inset: 0;
	background-image: radial-gradient(var(--glass-border) 1px, transparent 1px);
	background-size: 32px 32px;
	opacity: 0.1;
}

.hero-gradient {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		135deg,
		var(--accent) 0%,
		var(--bg) 100%
	);
	opacity: 0.1;
	mix-blend-mode: overlay;
}

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

.hero-title {
	font-size: clamp(2.5rem, 8vw, 4.5rem);
	line-height: 1.1;
	margin-bottom: 1.5rem;
	background: linear-gradient(
		135deg,
		var(--text-primary) 0%,
		var(--accent) 100%
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-subtitle {
	font-size: clamp(1.125rem, 3vw, 1.25rem);
	color: var(--text-secondary);
	margin-bottom: 2.5rem;
	line-height: 1.6;
}

.hero-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 4rem;
}

.hero-features {
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.feature-card {
	text-align: left;
	padding: 2rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.feature-card svg {
	width: 48px;
	height: 48px;
	margin-bottom: 0.5rem;
}

.feature-card h3 {
	font-size: 1.25rem;
	margin-bottom: 0.5rem;
}

.feature-card p {
	font-size: 0.875rem;
	color: var(--text-secondary);
	margin: 0;
}

.hero-scroll {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	color: var(--text-muted);
	font-size: 0.875rem;
	opacity: 0.8;
	transition: opacity var(--transition-fast);
}

.hero-scroll:hover {
	opacity: 1;
}

.hero-scroll svg {
	animation: bounce 2s infinite;
}

@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {
		transform: translateY(0);
	}
	40% {
		transform: translateY(-10px);
	}
	60% {
		transform: translateY(-5px);
	}
}

/* Responsive Design */
@media (max-width: 768px) {
	.nav-links {
		display: none;
	}
	
	.mobile-menu {
		display: block;
	}
	
	.hero-features {
		grid-template-columns: 1fr;
	}
	
	.hero-actions {
		flex-direction: column;
		gap: 1rem;
	}
	
	.btn {
		width: 100%;
		justify-content: center;
	}
}

/* Products Section */
.products {
	padding: 6rem 0;
	background: linear-gradient(
		to bottom,
		var(--bg) 0%,
		var(--bg-secondary) 100%
	);
}

.section-header {
	text-align: center;
	margin-bottom: 4rem;
}

.section-title {
	font-size: clamp(2rem, 5vw, 3rem);
	margin-bottom: 1rem;
	background: linear-gradient(
		135deg,
		var(--text-primary) 0%,
		var(--accent) 100%
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.section-subtitle {
	font-size: 1.125rem;
	color: var(--text-secondary);
}

/* === Product Tabs Redesign === */
.product-tabs {
	position: relative;
	margin-bottom: 4rem;
	z-index: 2;
}
.product-tabs-bg {
	position: absolute;
	left: 0; right: 0; bottom: -18px; height: 48px;
	background: radial-gradient(circle at 50% 0, var(--accent) 0%, transparent 70%),
				url('../img/brand-pattern-cold.svg') center/cover repeat;
	opacity: 0.10;
	z-index: 1;
	pointer-events: none;
	border-radius: var(--border-radius-xl);
}
.tab-buttons {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	position: relative;
	z-index: 2;
	margin-bottom: 0.5rem;
	animation: fadeInTabs 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes fadeInTabs {
	from { opacity: 0; transform: translateY(24px); }
	to { opacity: 1; transform: translateY(0); }
}
.tab-btn {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1.1rem 2.2rem;
	border: none;
	border-radius: var(--border-radius-lg);
	background: linear-gradient(90deg, var(--glass-bg) 60%, var(--accent) 120%);
	color: var(--text-secondary);
	font-size: 1.15rem;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 2px 12px hsla(242, 100%, 69%, 0.06);
	transition: all var(--transition-fast), box-shadow var(--transition-normal);
	position: relative;
	overflow: hidden;
}
.tab-btn-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	color: var(--accent);
	transition: color var(--transition-fast), transform var(--transition-fast);
}
.tab-btn:hover, .tab-btn:focus {
	color: var(--text-primary);
	background: linear-gradient(90deg, var(--accent) 0%, var(--primary-light) 100%);
	box-shadow: 0 4px 24px hsla(242, 100%, 69%, 0.13);
}
.tab-btn:hover .tab-btn-icon, .tab-btn:focus .tab-btn-icon {
	color: var(--text-primary);
	transform: scale(1.15) rotate(-8deg);
}
.tab-btn.active {
	color: var(--text-primary);
	background: linear-gradient(90deg, var(--accent) 0%, var(--primary-light) 100%);
	box-shadow: 0 6px 32px hsla(242, 100%, 69%, 0.18);
	border: 2px solid var(--accent);
}
.tab-btn.active .tab-btn-icon {
	color: var(--primary-light);
	transform: scale(1.18) rotate(0deg);
}
@media (max-width: 900px) {
	.tab-buttons {
		gap: 0.7rem;
		flex-wrap: nowrap;
		overflow-x: auto;
		justify-content: flex-start;
		scrollbar-width: none;
		-ms-overflow-style: none;
	}
	.tab-buttons::-webkit-scrollbar {
		display: none;
	}
	.tab-btn {
		font-size: 1rem;
		padding: 0.8rem 1.2rem;
		min-width: 140px;
	}
}

.tab-content {
	position: relative;
}

.tab-pane {
	display: none;
	animation: fadeIn var(--transition-normal);
}

.tab-pane.active {
	display: block;
}

.product-grid {
	display: grid;
	gap: var(--grid-gap);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.product-card {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 0 !important;
    max-width: 340px;
    max-height: 520px;
    min-height: 420px;
    margin: 0 auto;
    overflow: hidden;
}

.product-card:hover .product-icon {
	transform: scale(0.9);
}

.product-icon {
	margin-bottom: 0.5rem;
	transition: transform var(--transition-normal);
    opacity: 0.8;
}

.product-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: var(--border-radius-sm);
    margin: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow: auto;
}

.product-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.tag {
	font-size: 0.75rem;
	font-weight: 500;
	padding: 0.25rem 0.75rem;
	border-radius: 99px;
	background-color: var(--bg-light);
	color: var(--text-secondary);
}

.product-title {
	font-size: 1.25rem;
	margin-top: 0.5rem;
}

.product-description {
	font-size: 0.9rem;
	color: var(--text-muted);
	flex-grow: 1;
}

.product-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid var(--glass-border);
}

.product-meta {
	display: flex;
	align-items: center;
	gap: 1rem;
	font-size: 0.9rem;
}

.product-price {
	font-weight: 600;
	color: var(--text-primary);
}

.product-rating {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	color: var(--text-secondary);
}

.product-rating svg {
	width: 16px;
	height: 16px;
	fill: var(--warning);
}

.details-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.section-footer {
	text-align: center;
	margin-top: 4rem;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Responsive Design */
@media (max-width: 768px) {
	.tab-buttons {
		flex-direction: column;
		align-items: stretch;
	}
	
	.tab-btn {
		justify-content: center;
	}
	
	.product-grid {
		grid-template-columns: 1fr;
	}
}

/* Footer */
.footer {
	padding-top: var(--section-spacing);
	position: relative;
	background: var(--bg-secondary);
	margin-top: var(--section-spacing);
	border-top: 1px solid var(--glass-border);
}

.footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 300px;
	background: linear-gradient(180deg, var(--bg-medium) 0%, transparent 100%);
	z-index: 0;
	pointer-events: none;
}

.footer .container {
	position: relative;
	z-index: 1;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: var(--grid-gap);
	margin-bottom: var(--section-spacing);
}

.footer-column-card {
	background: var(--glass-bg);
	border: 1px solid var(--glass-border);
	border-radius: var(--border-radius);
	padding: var(--grid-gap);
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	transition: var(--transition-normal);
}

.footer-column-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-lg);
	border-color: hsla(252, 89%, 73%, 0.2);
}

.footer-logo {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.5rem;
}

.footer-logo img {
	border-radius: var(--border-radius-sm);
	transition: var(--transition-normal);
}

.footer-logo:hover img {
	transform: scale(1.05);
}

.footer-description {
	font-size: 0.95rem;
	color: var(--text-muted);
	margin: 0;
	line-height: 1.5;
}

.social-links {
	display: flex;
	gap: 0.75rem;
	margin-top: auto; /* Pushes social links to the bottom */
}

.social-link {
	color: var(--text-muted);
	transition: var(--transition-normal);
}

.social-link:hover {
	color: var(--accent);
	transform: scale(1.1);
}

.footer-column-card h3 {
	font-size: 1.25rem;
	color: var(--text-primary);
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--glass-border);
	margin-bottom: 0.5rem;
}

.footer-links {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.footer-links a {
	color: var(--text-secondary);
	transition: var(--transition-fast);
	display: inline-block;
}

.footer-links a:hover {
	color: var(--accent);
	transform: translateX(4px);
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.contact-form input {
	background: var(--bg);
	border: 1px solid var(--glass-border);
	color: var(--text-primary);
	padding: 0.75rem;
	border-radius: var(--border-radius-sm);
	font-family: var(--font-body);
	font-size: 1rem;
	transition: var(--transition-fast);
}

.contact-form input::placeholder {
	color: var(--text-muted);
}

.contact-form input:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px hsla(242, 100%, 69%, 0.2);
}

.contact-form .btn {
	width: 100%;
	justify-content: center;
}

.form-caption {
	font-size: 0.8rem;
	color: var(--text-muted);
	text-align: center;
	margin: 0;
}

.footer-bottom {
	border-top: 1px solid var(--glass-border);
	padding: 2rem 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
	font-size: 0.9rem;
	color: var(--text-muted);
}

.footer-bottom p {
	margin: 0;
}

.footer-legal {
	display: flex;
	gap: 1.5rem;
}

.footer-legal a {
	color: var(--text-muted);
	transition: color var(--transition-fast);
}

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

@media (max-width: 768px) {
	.footer-grid {
		grid-template-columns: 1fr;
	}
	
	.footer-bottom {
		flex-direction: column;
		text-align: center;
	}
}

/* === Custom Dev Card Redesign === */
.custom-dev-card {
	display: grid;
	grid-template-columns: 1.1fr 1.5fr;
	gap: 3rem;
	align-items: center;
	position: relative;
	min-height: 340px;
	overflow: visible;
	box-shadow: var(--shadow-lg);
	background: var(--glass-bg);
}
.custom-dev-image-col {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 260px;
}
.custom-dev-illustration-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	border-radius: var(--border-radius-lg);
	background: radial-gradient(circle at 60% 40%, var(--accent) 0%, transparent 70%),
				url('../img/brand-pattern-cold.svg') center/cover repeat;
	opacity: 0.18;
	pointer-events: none;
}
.custom-dev-illustration {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 220px;
	filter: drop-shadow(0 8px 32px hsla(242, 100%, 69%, 0.12));
}
.custom-dev-content-col {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	z-index: 2;
}
.custom-dev-title {
	font-size: 2rem;
	margin-bottom: 0.5rem;
	background: linear-gradient(90deg, var(--accent) 0%, var(--primary-light) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.custom-dev-text {
	color: var(--text-secondary);
	font-size: 1.125rem;
	margin-bottom: 0.5rem;
}
.custom-dev-features-grid {
	display: flex;
	gap: 1.5rem;
	margin-bottom: 1rem;
	flex-wrap: wrap;
}
.custom-dev-feature-card {
	background: var(--glass-bg);
	border: 1px solid var(--glass-border);
	border-radius: var(--border-radius);
	box-shadow: var(--shadow-sm);
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem 1.25rem;
	min-width: 180px;
	transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}
.custom-dev-feature-card:hover {
	box-shadow: var(--shadow-lg);
	transform: translateY(-2px) scale(1.03);
}
.custom-dev-feature-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
}
.custom-dev-feature-text {
	font-size: 1rem;
	color: var(--text-primary);
	font-weight: 500;
}
.custom-dev-btn {
	margin-top: 0.5rem;
	font-size: 1.1rem;
	padding: 0.9rem 2.2rem;
}
@media (max-width: 900px) {
	.custom-dev-card {
		grid-template-columns: 1fr;
		gap: 2rem;
		min-height: unset;
	}
	.custom-dev-image-col {
		min-height: 180px;
		margin-bottom: 1rem;
	}
	.custom-dev-content-col {
		gap: 1.2rem;
	}
	.custom-dev-features-grid {
		flex-direction: column;
		gap: 1rem;
	}
	.custom-dev-feature-card {
		min-width: unset;
		width: 100%;
		justify-content: flex-start;
	}
}

/* === CTA Content Redesign === */
.cta-content {
	display: grid;
	grid-template-columns: 1.1fr 1.5fr;
	gap: 3rem;
	align-items: center;
	min-height: 280px;
	position: relative;
	overflow: visible;
	box-shadow: var(--shadow-lg);
	background: var(--glass-bg);
}
.cta-visual-col {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 180px;
}
.cta-illustration-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	border-radius: var(--border-radius-lg);
	background: radial-gradient(circle at 60% 40%, var(--accent) 0%, transparent 70%),
				url('../img/brand-pattern-cold.svg') center/cover repeat;
	opacity: 0.16;
	pointer-events: none;
}
.cta-illustration {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 180px;
	filter: drop-shadow(0 8px 32px hsla(242, 100%, 69%, 0.10));
}
.cta-text-col {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	z-index: 2;
}
.cta-title {
	font-size: 2rem;
	margin-bottom: 0.5rem;
	background: linear-gradient(90deg, var(--accent) 0%, var(--primary-light) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.cta-text {
	color: var(--text-secondary);
	font-size: 1.125rem;
	margin-bottom: 0.5rem;
}
.cta-btn {
	margin-top: 0.5rem;
	font-size: 1.1rem;
	padding: 0.9rem 2.2rem;
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
}
.cta-btn svg {
	transition: transform var(--transition-fast);
}
.cta-btn:hover svg {
	transform: translateX(4px) scale(1.08);
}
@media (max-width: 900px) {
	.cta-content {
		grid-template-columns: 1fr;
		gap: 2rem;
		min-height: unset;
	}
	.cta-visual-col {
		min-height: 120px;
		margin-bottom: 1rem;
	}
	.cta-text-col {
		gap: 1.1rem;
	}
}

/* === Reviews Tabs Redesign === */
.reviews-tabs {
	position: relative;
	margin-bottom: 3rem;
	z-index: 2;
}
.reviews-tabs-bg {
	position: absolute;
	left: 0; right: 0; bottom: -18px; height: 48px;
	background: radial-gradient(circle at 50% 0, var(--accent) 0%, transparent 70%),
				url('../img/brand-pattern-cold.svg') center/cover repeat;
	opacity: 0.10;
	z-index: 1;
	pointer-events: none;
	border-radius: var(--border-radius-xl);
}
.reviews-tabs .tab-buttons {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	position: relative;
	z-index: 2;
	margin-bottom: 0.5rem;
	animation: fadeInTabs 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reviews-tabs .tab-btn {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1.1rem 2.2rem;
	border: none;
	border-radius: var(--border-radius-lg);
	background: linear-gradient(90deg, var(--glass-bg) 60%, var(--accent) 120%);
	color: var(--text-secondary);
	font-size: 1.15rem;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 2px 12px hsla(242, 100%, 69%, 0.06);
	transition: all var(--transition-fast), box-shadow var(--transition-normal);
	position: relative;
	overflow: hidden;
}
.reviews-tabs .tab-btn-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	color: var(--accent);
	transition: color var(--transition-fast), transform var(--transition-fast);
}
.reviews-tabs .tab-btn:hover, .reviews-tabs .tab-btn:focus {
	color: var(--text-primary);
	background: linear-gradient(90deg, var(--accent) 0%, var(--primary-light) 100%);
	box-shadow: 0 4px 24px hsla(242, 100%, 69%, 0.13);
}
.reviews-tabs .tab-btn:hover .tab-btn-icon, .reviews-tabs .tab-btn:focus .tab-btn-icon {
	color: var(--text-primary);
	transform: scale(1.15) rotate(-8deg);
}
.reviews-tabs .tab-btn.active {
	color: var(--text-primary);
	background: linear-gradient(90deg, var(--accent) 0%, var(--primary-light) 100%);
	box-shadow: 0 6px 32px hsla(242, 100%, 69%, 0.18);
	border: 2px solid var(--accent);
}
.reviews-tabs .tab-btn.active .tab-btn-icon {
	color: var(--primary-light);
	transform: scale(1.18) rotate(0deg);
}
@media (max-width: 900px) {
	.reviews-tabs .tab-buttons {
		gap: 0.7rem;
		flex-wrap: nowrap;
		overflow-x: auto;
		justify-content: flex-start;
		scrollbar-width: none;
		-ms-overflow-style: none;
	}
	.reviews-tabs .tab-buttons::-webkit-scrollbar {
		display: none;
	}
	.reviews-tabs .tab-btn {
		font-size: 1rem;
		padding: 0.8rem 1.2rem;
		min-width: 140px;
	}
}

/* === Reviews Grid & Card Redesign === */
.reviews-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 2.2rem;
	margin-bottom: 2.5rem;
	position: relative;
	z-index: 2;
}
.review-card {
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
	background: var(--glass-bg);
	border: 1px solid var(--glass-border);
	border-radius: var(--border-radius-lg);
	box-shadow: var(--shadow-md);
	padding: 2rem 1.5rem 1.5rem 1.5rem;
	position: relative;
	overflow: visible;
	transition: box-shadow var(--transition-fast), transform var(--transition-fast);
	min-height: 220px;
}
.review-card::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(120deg, var(--accent) 0%, transparent 80%);
	opacity: 0.07;
	z-index: 0;
	pointer-events: none;
}
.review-card:hover {
	box-shadow: var(--shadow-lg);
	transform: translateY(-4px) scale(1.02);
}
.review-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.2rem;
}
.review-author {
	display: flex;
	align-items: center;
	gap: 1rem;
}
.review-author img {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--accent);
	box-shadow: 0 2px 8px hsla(242, 100%, 69%, 0.10);
}
.author-info {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}
.author-info cite {
	font-style: normal;
	font-weight: 600;
	color: var(--text-primary);
	font-size: 1.1rem;
}
.author-info span {
	color: var(--text-secondary);
	font-size: 0.95rem;
}
.author-info span .role-admin {
	color: var(--danger);
	font-weight: 600;
}
.author-info span .role-staff {
	color: var(--secondary);
	font-weight: 600;
}
.author-info span .role-buyer {
	color: var(--success);
	font-weight: 600;
}
.review-rating {
	display: flex;
	align-items: center;
	gap: 0.3rem;
	font-size: 1.1rem;
	color: var(--accent);
	font-weight: 600;
}
.review-content {
	font-size: 1.08rem;
	color: var(--text-primary);
	line-height: 1.5;
	z-index: 2;
}
.review-meta {
	margin-top: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1.2rem;
	color: var(--text-muted);
	font-size: 0.98rem;
}
.review-meta .review-product {
	color: var(--accent);
	font-weight: 500;
}

/* === Reviews Pagination === */
.reviews-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	margin-bottom: 1.5rem;
}
.reviews-pagination .btn {
	min-width: 44px;
	min-height: 44px;
	font-size: 1.1rem;
	border-radius: var(--border-radius);
	padding: 0.5rem 1.1rem;
	transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}
.reviews-pagination .btn.active {
	background: var(--accent);
	color: var(--text-primary);
	box-shadow: 0 2px 12px hsla(242, 100%, 69%, 0.13);
	border: 2px solid var(--accent);
}
.reviews-pagination .btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
.reviews-pagination .pagination-numbers {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
@media (max-width: 900px) {
	.reviews-list {
		grid-template-columns: 1fr;
		gap: 1.2rem;
	}
	.review-card {
		padding: 1.2rem 1rem 1rem 1rem;
	}
}

/* === Featured Review Redesign === */
.featured-content {
	display: grid;
	grid-template-columns: 0.8fr 2fr;
	gap: 2.5rem;
	align-items: center;
	min-height: 260px;
	position: relative;
	overflow: visible;
	box-shadow: var(--shadow-lg);
	background: var(--glass-bg);
	margin-bottom: 3.5rem;
}
.featured-visual-col {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 180px;
}
.featured-illustration-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	border-radius: var(--border-radius-xl);
	background: radial-gradient(circle at 60% 40%, var(--accent) 0%, transparent 70%),
				url('../img/brand-pattern-cold.svg') center/cover repeat;
	opacity: 0.13;
	pointer-events: none;
}
.featured-quote-icon {
	position: relative;
	z-index: 1;
	width: 72px;
	height: 72px;
	filter: drop-shadow(0 8px 32px hsla(242, 100%, 69%, 0.10));
}
.featured-quote-col {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	z-index: 2;
}
.featured-quote-block {
	margin: 0;
	padding: 0;
	border: none;
	background: none;
}
.featured-quote-text {
	font-size: 1.25rem;
	color: var(--text-primary);
	font-style: italic;
	margin-bottom: 1.2rem;
	line-height: 1.6;
	background: linear-gradient(90deg, var(--accent) 0%, var(--primary-light) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.featured-quote-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}
.featured-quote-footer .quote-author {
	display: flex;
	align-items: center;
	gap: 1rem;
}
.featured-quote-footer .quote-author img {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--accent);
	box-shadow: 0 2px 8px hsla(242, 100%, 69%, 0.10);
}
.featured-quote-footer .author-info {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}
.featured-quote-footer .author-info cite {
	font-style: normal;
	font-weight: 600;
	color: var(--text-primary);
	font-size: 1.1rem;
}
.featured-quote-footer .author-info span {
	color: var(--text-secondary);
	font-size: 0.95rem;
}
.featured-quote-footer .quote-rating {
	display: flex;
	align-items: center;
	gap: 0.3rem;
	font-size: 1.1rem;
	color: var(--accent);
	font-weight: 600;
}
@media (max-width: 900px) {
	.featured-content {
		grid-template-columns: 1fr;
		gap: 1.2rem;
		min-height: unset;
	}
	.featured-visual-col {
		min-height: 120px;
		margin-bottom: 1rem;
	}
	.featured-quote-col {
		gap: 1.1rem;
	}
	.featured-quote-footer {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}
}

/* === Contact Methods Redesign === */
.contact-methods-grid {
	display: flex;
	gap: 2.5rem;
	justify-content: center;
	margin: 2.5rem 0 2.5rem 0;
	position: relative;
	z-index: 2;
	flex-wrap: wrap;
}
.contact-method-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.2rem;
	min-width: 220px;
	max-width: 320px;
	padding: 2.2rem 1.5rem 1.5rem 1.5rem;
	background: var(--glass-bg);
	border: 1px solid var(--glass-border);
	border-radius: var(--border-radius-xl);
	box-shadow: var(--shadow-md);
	position: relative;
	overflow: visible;
	transition: box-shadow var(--transition-fast), transform var(--transition-fast);
	text-align: center;
	cursor: pointer;
}
.contact-method-card::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(120deg, var(--accent) 0%, transparent 80%);
	opacity: 0.07;
	z-index: 0;
	pointer-events: none;
}
.contact-method-card:hover {
	box-shadow: var(--shadow-lg);
	transform: translateY(-4px) scale(1.03);
}
.contact-method-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	background: radial-gradient(circle at 60% 40%, var(--accent) 0%, transparent 70%);
	border-radius: 50%;
	margin-bottom: 0.5rem;
	z-index: 1;
}
.contact-method-info h3 {
	font-size: 1.25rem;
	margin-bottom: 0.3rem;
	color: var(--text-primary);
}
.contact-method-info p {
	color: var(--text-secondary);
	font-size: 1.05rem;
}
@media (max-width: 900px) {
	.contact-methods-grid {
		flex-direction: column;
		align-items: center;
		gap: 1.2rem;
	}
	.contact-method-card {
		min-width: unset;
		width: 100%;
		max-width: 400px;
	}
}

/* === Contact Info Redesign === */
.contact-info {
	padding: 2.5rem 2rem 2rem 2rem;
	background: var(--glass-bg);
	border-radius: var(--border-radius-xl);
	box-shadow: var(--shadow-lg);
	position: relative;
	overflow: visible;
	margin-bottom: 2.5rem;
}
.contact-info-title {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 2rem;
	background: linear-gradient(90deg, var(--accent), var(--accent2, #6c63ff));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-fill-color: transparent;
}
.contact-info-grid {
	display: flex;
	gap: 2.5rem;
	justify-content: space-between;
	flex-wrap: wrap;
}
.info-item-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: var(--glass-bg);
	border-radius: var(--border-radius-lg);
	box-shadow: var(--shadow-md);
	padding: 1.5rem 1.2rem;
	min-width: 180px;
	max-width: 260px;
	flex: 1 1 200px;
	position: relative;
	text-align: center;
	transition: box-shadow var(--transition-fast), transform var(--transition-fast);
	z-index: 1;
}
.info-item-card::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(120deg, var(--accent) 0%, transparent 80%);
	opacity: 0.08;
	z-index: 0;
	pointer-events: none;
}
.info-item-card:hover {
	box-shadow: var(--shadow-lg);
	transform: translateY(-4px) scale(1.03);
}
.info-item-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	background: radial-gradient(circle at 60% 40%, var(--accent) 0%, transparent 70%);
	border-radius: 50%;
	margin-bottom: 0.7rem;
	z-index: 1;
}
.info-item-content h3 {
	font-size: 1.15rem;
	font-weight: 600;
	margin-bottom: 0.2rem;
	color: var(--text-primary);
}
.info-item-content p {
	color: var(--text-secondary);
	font-size: 1.02rem;
}
@media (max-width: 900px) {
	.contact-info-grid {
		flex-direction: column;
		align-items: center;
		gap: 1.2rem;
	}
	.info-item-card {
		min-width: unset;
		width: 100%;
		max-width: 400px;
	}
}

/* === FAQ Item Redesign === */
.faq-item.visible {
	display: block;
	background: var(--glass-bg);
	border-radius: var(--border-radius-xl);
	box-shadow: var(--shadow-md);
	margin-bottom: 2rem;
	padding: 2rem 1.5rem 1.5rem 1.5rem;
	position: relative;
	overflow: visible;
	transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}
.faq-item.visible:hover {
	box-shadow: var(--shadow-lg);
	transform: translateY(-2px) scale(1.01);
}
.faq-header {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	margin-bottom: 1.1rem;
	position: relative;
}
.faq-icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: radial-gradient(circle at 60% 40%, var(--accent) 0%, transparent 70%);
	border-radius: 50%;
	box-shadow: 0 2px 8px 0 var(--accent-a10, #6c63ff22);
}
.faq-header h3 {
	font-size: 1.18rem;
	font-weight: 600;
	color: var(--text-primary);
	flex: 1;
	margin: 0;
}
.faq-toggle {
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.3rem;
	border-radius: 50%;
	transition: background 0.2s;
	margin-left: 0.5rem;
}
.faq-toggle:hover {
	background: var(--accent-a10, #6c63ff11);
}
.faq-content {
	font-size: 1.05rem;
	color: var(--text-secondary);
	padding-left: 3.5rem;
	animation: fadeInFAQ 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes fadeInFAQ {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: none; }
}
@media (max-width: 700px) {
	.faq-item.visible {
		padding: 1.2rem 0.7rem 1rem 0.7rem;
	}
	.faq-header {
		gap: 0.7rem;
	}
	.faq-content {
		padding-left: 0;
	}
}

/* === Support Content Redesign === */
.support-content {
	display: grid;
	grid-template-columns: 1.1fr 1.5fr;
	gap: 3rem;
	align-items: center;
	min-height: 260px;
	position: relative;
	overflow: visible;
	box-shadow: var(--shadow-lg);
	background: var(--glass-bg);
	margin-bottom: 3.5rem;
}
.support-image-col {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 180px;
}
.support-illustration-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	border-radius: var(--border-radius-xl);
	background: radial-gradient(circle at 60% 40%, var(--accent) 0%, transparent 70%),
				url('../img/brand-pattern-cold.svg') center/cover repeat;
	opacity: 0.13;
	pointer-events: none;
}
.support-illustration {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 220px;
	height: auto;
	filter: drop-shadow(0 4px 24px var(--accent-a10, #6c63ff22));
}
.support-info-col {
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
	z-index: 2;
}
.support-title {
	font-size: 1.7rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
	background: linear-gradient(90deg, var(--accent), var(--accent2, #6c63ff));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-fill-color: transparent;
}
.support-text {
	color: var(--text-secondary);
	font-size: 1.08rem;
	margin-bottom: 0.5rem;
}
.support-list {
	list-style: none;
	padding: 0;
	margin: 0 0 1.2rem 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.support-list-icon {
	color: var(--accent);
	font-size: 1.1em;
	margin-right: 0.5em;
}
.support-btn {
	margin-top: 0.5rem;
	font-size: 1.08rem;
	padding: 0.8em 2.2em;
}
@media (max-width: 900px) {
	.support-content {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		min-height: unset;
	}
	.support-image-col {
		min-height: 120px;
		margin-bottom: 1.2rem;
	}
	.support-info-col {
		align-items: center;
		text-align: center;
	}
}

/* === Why Choose Us Redesign === */
.why-section {
	margin: 0 auto var(--section-spacing) auto;
	padding: 0 var(--container-padding);
}
.why-title {
	font-size: 2.2rem;
	font-weight: 700;
	margin-bottom: 2.5rem;
	background: linear-gradient(90deg, var(--accent), var(--accent2, #6c63ff));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-fill-color: transparent;
}
.why-features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 2.2rem;
	margin: 0 auto;
	max-width: 1100px;
}
.why-feature-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	background: var(--glass-bg);
	border-radius: var(--border-radius-xl);
	box-shadow: var(--shadow-md);
	padding: 2.2rem 1.5rem 1.5rem 1.5rem;
	position: relative;
	overflow: visible;
	transition: box-shadow var(--transition-fast), transform var(--transition-fast);
	z-index: 1;
	min-height: 220px;
	text-align: left;
}
.why-feature-card::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(120deg, var(--accent) 0%, transparent 80%);
	opacity: 0.07;
	z-index: 0;
	pointer-events: none;
}
.why-feature-card:hover {
	box-shadow: var(--shadow-lg);
	transform: translateY(-4px) scale(1.03);
}
.why-feature-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	background: radial-gradient(circle at 60% 40%, var(--accent) 0%, transparent 70%);
	border-radius: 50%;
	margin-bottom: 1.1rem;
	z-index: 1;
}
.why-feature-card h3 {
	font-size: 1.18rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
	color: var(--text-primary);
}
.why-feature-card p {
	color: var(--text-secondary);
	font-size: 1.05rem;
	margin-bottom: 0;
}
@media (max-width: 900px) {
	.why-features-grid {
		grid-template-columns: 1fr;
		gap: 1.2rem;
	}
	.why-feature-card {
		padding: 1.2rem 1rem 1rem 1rem;
		min-height: unset;
	}
}

/* === About Section Redesign === */
.about-section {
	margin: 0 auto var(--section-spacing) auto;
	padding: 0 var(--container-padding);
}
.about-section .section-title {
	margin-bottom: 1rem;
}

.about-section .section-subtitle {
	max-width: 60ch;
	margin: 0 auto 3rem auto;
}

.about-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: stretch;
}

@media (min-width: 992px) {
	.about-grid {
		grid-template-columns: 0.8fr 1.2fr;
		gap: 2.5rem;
	}
}

.about-visual-card {
	padding: 2.5rem 2rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.about-visual-card .about-illustration {
	max-width: 150px;
	margin-bottom: 1.5rem;
}

.about-visual-card .about-subtitle {
	font-size: 1.5rem;
	color: var(--text-primary);
	margin-bottom: 1rem;
}

.about-visual-card p {
	color: var(--text-secondary);
	max-width: 45ch;
	margin-bottom: 0;
}

.about-values-stack {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	height: 100%;
}

.about-value-card {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding: 1.5rem;
	flex: 1;
}

.about-value-card .about-value-icon {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
}

.about-value-card .value-text h4 {
	font-size: 1.1rem;
	margin-bottom: 0.25rem;
	color: var(--text-primary);
}

.about-value-card .value-text p {
	margin-bottom: 0;
	color: var(--text-secondary);
	font-size: 0.95rem;
}

@media (max-width: 900px) {
	.about-values-grid {
		flex-direction: column;
		gap: 1rem;
		align-items: stretch;
	}
	.about-value-card {
		min-width: unset;
		width: 100%;
		justify-content: flex-start;
	}
}

/* Privacy Policy & Terms Styles */
.content-grid {
    display: grid;
    gap: var(--grid-gap);
    max-width: 800px;
    margin: 0 auto;
}

.content-card {
    position: relative;
    overflow: hidden;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.card-header h2 {
    font-size: 1.5rem;
    margin: 0;
}

.card-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    opacity: 0.8;
}

.feature-list {
    list-style: none;
    margin: 1rem 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.feature-icon {
    color: var(--accent);
    font-size: 1.25rem;
    line-height: 1.5;
}

.privacy-section,
.terms-section {
    padding: var(--section-spacing) 0;
}

@media (max-width: 768px) {
    .card-header {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .card-icon {
        margin-bottom: 0.5rem;
    }
}

/* === Tag Filter for Products === */
.product-tag-filter {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  box-shadow: var(--glass-shadow);
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.5s;
}
.product-tag-filter .tag {
  font-size: 1rem;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: 99px;
  background: var(--bg-light);
  color: var(--text-secondary);
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition-fast), color var(--transition-fast), border var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  box-shadow: 0 2px 8px hsla(242, 100%, 69%, 0.06);
  user-select: none;
}
.product-tag-filter .tag:hover,
.product-tag-filter .tag:focus {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 16px hsla(242, 100%, 69%, 0.15);
}
.product-tag-filter .tag-active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 16px hsla(242, 100%, 69%, 0.18);
  transform: scale(1.08);
  z-index: 1;
}
.product-tag-filter .tag-blue { background: var(--secondary); color: #fff; }
.product-tag-filter .tag-purple { background: var(--accent); color: #fff; }
.product-tag-filter .tag-green { background: var(--success); color: #fff; }
.product-tag-filter .tag-red { background: var(--danger); color: #fff; }
.product-tag-filter .tag-yellow { background: var(--warning); color: #fff; }
.product-tag-filter .tag-all { background: var(--bg-light); color: var(--text-secondary); }
.product-tag-filter .tag-all.tag-active { background: var(--accent-dark); color: #fff; }
@media (max-width: 600px) {
  .product-tag-filter {
    padding: 0.5rem 0.5rem;
    gap: 0.5rem;
  }
  .product-tag-filter .tag {
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
  }
}

/* === Product Modal (галерея, инфо, памятка, кнопка) === */
.modal {
  position: fixed;
  z-index: 2000;
  left: 0; top: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.modal[style*="display: block"], .modal[style*="display:block"] {
  pointer-events: auto;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 22, 34, 0.65);
  backdrop-filter: blur(6px);
  z-index: 1;
  animation: fadeIn 0.3s;
}
.modal-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 95vw;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius-xl);
  animation: fadeIn 0.4s cubic-bezier(0.2,0.8,0.2,1);
  padding: 2.2rem 2rem 1.5rem 2rem;
  background: var(--glass-bg);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  pointer-events: auto;
}
.modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-muted);
  cursor: pointer;
  z-index: 3;
  transition: color var(--transition-fast);
}
.modal-close:hover {
  color: var(--accent);
}
.modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.modal-product-gallery {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  position: relative;
  min-height: 120px;
}
.modal-gallery-img {
  max-width: 320px;
  max-height: 180px;
  width: 100%;
  object-fit: contain;
  border-radius: var(--border-radius-lg);
  background: var(--bg-light);
  box-shadow: 0 2px 12px hsla(242, 100%, 69%, 0.10);
}
.modal-product-maininfo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}
.modal-product-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 0.2rem;
}
.modal-section-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary-light);
  margin: 0.7rem 0 0.3rem 0;
  text-align: left;
}
.modal-product-description-block,
.modal-product-notes-block {
  width: 100%;
  margin-bottom: 0.7rem;
  background: var(--glass-bg);
  border-radius: var(--border-radius);
  padding: 0.7rem 1rem 0.7rem 1rem;
  box-shadow: 0 1px 6px hsla(242, 100%, 69%, 0.04);
}
.modal-product-description {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin: 0;
  text-align: left;
}
.modal-product-notes {
  list-style: disc inside;
  color: var(--text-muted);
  font-size: 0.98rem;
  margin: 0.2rem 0 0 0;
  padding: 0 0 0 1.2rem;
  text-align: left;
}
.modal-product-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.2rem;
}
@media (max-width: 600px) {
  .modal-gallery-img {
    max-width: 98vw;
    max-height: 120px;
  }
  .modal-product-description-block,
  .modal-product-notes-block {
    padding: 0.5rem 0.4rem 0.5rem 0.7rem;
  }
}

/* Анимация модального окна */
.modal-animate .modal-content {
  animation: modalFadeIn 0.35s cubic-bezier(0.2,0.8,0.2,1);
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.97) translateY(30px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
/* Стрелки галереи */
.modal-gallery-prev, .modal-gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--glass-bg);
  border: none;
  color: var(--accent);
  font-size: 2rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s, color 0.2s;
  opacity: 0.85;
}
.modal-gallery-prev { left: 0.2rem; }
.modal-gallery-next { right: 0.2rem; }
.modal-gallery-prev:hover, .modal-gallery-next:hover {
  background: var(--accent);
  color: #fff;
}

/* === Fullscreen gallery overlay === */
#modal-fullscreen-overlay {
  display: none;
  position: fixed;
  z-index: 3000;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  align-items: center;
  justify-content: center;
  background: none;
  transition: background 0.25s;
  pointer-events: none;
}
#modal-fullscreen-overlay[style*="display: flex"], #modal-fullscreen-overlay.active {
  pointer-events: auto;
  background: rgba(20,22,34,0.92);
}
.modal-fullscreen-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20,22,34,0.92);
  z-index: 1;
  animation: fadeIn 0.3s;
  pointer-events: auto;
}
#modal-fullscreen-img {
  position: relative;
  z-index: 2;
  max-width: 96vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--border-radius-xl, 18px);
  box-shadow: 0 4px 32px rgba(0,0,0,0.25);
  background: var(--bg-light, #fff);
  transition: box-shadow 0.2s;
  cursor: zoom-out;
  animation: modalFadeIn 0.3s;
  pointer-events: auto;
}
.modal-fullscreen-close {
  position: absolute;
  top: 2.2rem;
  right: 2.2rem;
  z-index: 3;
  background: rgba(30,30,40,0.7);
  border: none;
  color: #fff;
  font-size: 2.5rem;
  border-radius: 50%;
  width: 3.2rem;
  height: 3.2rem;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-fullscreen-close:hover {
  background: var(--accent, #3a4fff);
  color: #fff;
}
.modal-fullscreen-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(30,30,40,0.7);
  border: none;
  color: #fff;
  font-size: 2.2rem;
  border-radius: 50%;
  width: 2.8rem;
  height: 2.8rem;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}
.modal-fullscreen-arrow:hover {
  background: var(--accent, #3a4fff);
  color: #fff;
}
.modal-fullscreen-prev { left: 1.2rem; }
.modal-fullscreen-next { right: 1.2rem; }
@media (max-width: 600px) {
  #modal-fullscreen-img {
    max-width: 100vw;
    max-height: 80vh;
  }
  .modal-fullscreen-close {
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    width: 2.2rem;
    height: 2.2rem;
  }
  .modal-fullscreen-prev { left: 0.2rem; }
  .modal-fullscreen-next { right: 0.2rem; }
}

.role-admin { color: var(--danger) !important; font-weight: 600; }
.role-staff { color: var(--secondary) !important; font-weight: 600; }
.role-buyer { color: var(--success) !important; font-weight: 600; }
