/**
 * Solutions Bento Grid Page Styles
 *
 * @package    ComLink
 * @subpackage Theme/CSS
 * @since      2.0.0
 */

/* ==========================================
   CSS VARIABLES
   ========================================== */

:root {
	/* Primary - Xanh lá ComLink */
	--comlink-green: #00ff88;
	--comlink-green-dark: #00cc6a;
	--comlink-green-glow: rgba(0, 255, 136, 0.3);
	--comlink-green-subtle: rgba(0, 255, 136, 0.08);

	/* Background */
	--bg-dark: #0a0f1a;
	--bg-darker: #060912;
	--bg-card: rgba(255, 255, 255, 0.03);
	--bg-card-hover: rgba(0, 255, 136, 0.06);

	/* Text */
	--text-primary: #ffffff;
	--text-secondary: rgba(255, 255, 255, 0.85);
	--text-muted: rgba(255, 255, 255, 0.6);

	/* Borders */
	--border-subtle: rgba(255, 255, 255, 0.08);
	--border-accent: rgba(0, 255, 136, 0.3);

	/* Spacing */
	--section-padding: 100px;
	--container-max: 1400px;
	--grid-gap: 16px;
	--card-radius: 20px;
}

/* ==========================================
   RESET & BASE
   ========================================== */

body.comlink-solutions-3d {
	margin: 0 !important;
	padding: 0 !important;
	font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
	background: var(--bg-dark);
	color: var(--text-primary);
	overflow-x: hidden;
	line-height: 1.6;
}

.comlink-solutions-3d * {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* Hide Flatsome elements */
.comlink-solutions-3d #wrapper,
.comlink-solutions-3d .header-wrapper,
.comlink-solutions-3d .footer-wrapper,
.comlink-solutions-3d #header,
.comlink-solutions-3d #footer {
	display: none !important;
}

/* ==========================================
   HEADER (Unique class: cl-header)
   ========================================== */

.cl-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	padding: 15px 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: transparent;
	border-bottom: 1px solid transparent;
	transition: all 0.4s ease;
}

.cl-header.scrolled {
	padding: 10px 40px;
	background: rgba(10, 15, 26, 0.9);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hide header when modal is open */
body.modal-open .cl-header {
	display: none;
}

/* Logo Breathing Animation */
@keyframes logoBreathing {
	0%, 100% {
		filter: drop-shadow(0 0 5px rgba(255, 255, 255, 1))
				drop-shadow(0 0 15px rgba(255, 255, 255, 0.9))
				drop-shadow(0 0 35px rgba(255, 255, 255, 0.7))
				drop-shadow(0 0 60px rgba(255, 255, 255, 0.5))
				drop-shadow(0 0 100px rgba(255, 255, 255, 0.3))
				drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
	}
	50% {
		filter: drop-shadow(0 0 8px rgba(255, 255, 255, 1))
				drop-shadow(0 0 20px rgba(255, 255, 255, 1))
				drop-shadow(0 0 45px rgba(255, 255, 255, 0.85))
				drop-shadow(0 0 80px rgba(255, 255, 255, 0.65))
				drop-shadow(0 0 130px rgba(255, 255, 255, 0.4))
				drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
	}
}

.cl-header__logo img {
	height: 55px;
	width: auto;
	transition: all 0.3s ease;
	animation: logoBreathing 3s ease-in-out infinite;
}

.cl-header__logo:hover img {
	filter: drop-shadow(0 0 10px rgba(255, 255, 255, 1))
			drop-shadow(0 0 25px rgba(255, 255, 255, 1))
			drop-shadow(0 0 50px rgba(255, 255, 255, 0.9))
			drop-shadow(0 0 90px rgba(255, 255, 255, 0.7))
			drop-shadow(0 0 140px rgba(255, 255, 255, 0.5))
			drop-shadow(0 5px 20px rgba(0, 0, 0, 0.6));
}

.cl-header.scrolled .cl-header__logo img {
	height: 45px;
}

.cl-header__nav {
	display: flex;
	align-items: center;
	gap: 35px;
}

.cl-header__nav a {
	color: var(--text-primary);
	text-decoration: none;
	font-size: 15px;
	font-weight: 500;
	position: relative;
	padding: 8px 0;
	transition: all 0.3s ease;
}

.cl-header__nav a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--comlink-green);
	transition: width 0.3s ease;
}

.cl-header__nav a:hover {
	color: var(--comlink-green);
}

.cl-header__nav a:hover::after,
.cl-header__nav a.active::after {
	width: 100%;
}

.cl-header__nav a.active {
	color: var(--comlink-green);
}

/* Mobile menu */
.cl-header__menu-btn {
	display: none;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
	padding: 10px;
	background: none;
	border: none;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
}

.cl-header__menu-btn span {
	width: 25px;
	height: 2px;
	background: white;
	transition: all 0.3s ease;
}

/* ==========================================
   CONTENT WRAPPER
   ========================================== */

.content-wrapper {
	position: relative;
	z-index: 10;
}

.container {
	max-width: var(--container-max);
	margin: 0 auto;
	width: 100%;
	padding: 0 40px;
}

/* ==========================================
   HERO SECTION - BENTO STYLE
   ========================================== */

.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding: 140px 0 80px;
	background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
	position: relative;
	overflow: hidden;
}

/* Hero Video Background */
.hero-video-wrapper {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}

.hero-video {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	transform: translate(-50%, -50%);
	object-fit: cover;
	pointer-events: none;
}

.hero-video-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		180deg,
		rgba(10, 15, 26, 0.5) 0%,
		rgba(10, 15, 26, 0.65) 50%,
		rgba(10, 15, 26, 0.8) 100%
	);
	z-index: 1;
	pointer-events: none;
}

/* Subtle background pattern */
.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: radial-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px);
	background-size: 50px 50px;
	pointer-events: none;
}

.hero .container {
	position: relative;
	z-index: 2;
}

.hero-content {
	max-width: 700px;
	margin-bottom: 60px;
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	background: var(--comlink-green-subtle);
	border: 1px solid var(--border-accent);
	border-radius: 30px;
	font-size: 13px;
	color: var(--comlink-green);
	margin-bottom: 25px;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	font-weight: 600;
}

.comlink-solutions-3d h1 {
	font-size: 56px;
	font-weight: 800;
	line-height: 1.1;
	margin-bottom: 24px;
	color: var(--text-primary);
	letter-spacing: -0.02em;
}

.comlink-solutions-3d h1 span {
	background: linear-gradient(135deg, var(--comlink-green), #00d4ff);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-subtitle {
	font-size: 20px;
	line-height: 1.7;
	color: var(--text-secondary);
}

/* Hero Stats - Bento Grid */
.hero-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--grid-gap);
	max-width: 600px;
}

.hero-stat {
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: var(--card-radius);
	padding: 30px;
	text-align: center;
	transition: all 0.3s ease;
}

.hero-stat:hover {
	background: var(--bg-card-hover);
	border-color: var(--border-accent);
	transform: translateY(-4px);
}

.hero-stat-number {
	font-size: 48px;
	font-weight: 800;
	color: var(--comlink-green);
	line-height: 1;
	margin-bottom: 8px;
}

.hero-stat-label {
	font-size: 14px;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* Scroll hint */
.scroll-hint {
	position: absolute;
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	opacity: 0.5;
	animation: bounce 2s infinite;
}

.scroll-hint span {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--text-muted);
}

.scroll-hint-arrow {
	width: 20px;
	height: 20px;
	border-right: 2px solid var(--text-muted);
	border-bottom: 2px solid var(--text-muted);
	transform: rotate(45deg);
}

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

/* ==========================================
   SOLUTIONS SECTIONS
   ========================================== */

.solutions-section {
	padding: var(--section-padding) 0;
	position: relative;
}

.solutions-section:nth-child(even) {
	background: var(--bg-darker);
}

/* Section Header */
.section-header {
	margin-bottom: 50px;
	display: flex;
	align-items: flex-start;
	gap: 20px;
}

.section-indicator {
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, var(--comlink-green-subtle), rgba(0, 212, 255, 0.08));
	border: 1px solid var(--border-accent);
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	font-weight: 800;
	color: var(--comlink-green);
	flex-shrink: 0;
}

.section-header-content h2 {
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 8px;
	color: var(--text-primary);
}

.section-header-content h2 span {
	color: var(--comlink-green);
}

.section-count {
	font-size: 14px;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* Legacy section header support */
.section-header h2 {
	font-size: 36px;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	gap: 15px;
	color: var(--text-primary);
}

.section-header h2 .section-icon {
	display: none;
}

.section-header h2 span {
	color: var(--comlink-green);
}

.section-header > p {
	font-size: 16px;
	color: var(--text-secondary);
	line-height: 1.6;
	margin-left: 80px;
}

/* ==========================================
   BENTO GRID SYSTEM
   ========================================== */

.bento-grid,
.solutions-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: minmax(200px, auto);
	gap: var(--grid-gap);
}

/* ==========================================
   BENTO CARD VARIANTS
   ========================================== */

/* Base Card */
.bento-card,
.solution-card {
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: var(--card-radius);
	padding: 28px;
	position: relative;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	text-decoration: none;
	color: var(--text-primary);
	display: flex;
	flex-direction: column;

	/* Left accent border */
	border-left: 3px solid transparent;
}

.bento-card:hover,
.solution-card:hover {
	background: var(--bg-card-hover);
	border-left-color: var(--comlink-green);
	transform: translateY(-6px);
	box-shadow:
		0 20px 40px rgba(0, 0, 0, 0.3),
		0 0 60px rgba(0, 255, 136, 0.08);
}

/* Card Number Badge */
.card-number,
.solution-card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	font-size: 13px;
	font-weight: 700;
	color: var(--comlink-green);
	background: var(--comlink-green-subtle);
	border: 1px solid var(--border-accent);
	border-radius: 10px;
	margin-bottom: 20px;
	flex-shrink: 0;
}

/* Card Title */
.bento-card h3,
.solution-card h3 {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 10px;
	line-height: 1.4;
	color: var(--text-primary);
	flex-grow: 0;
}

/* Card Description */
.bento-card p,
.solution-card p {
	font-size: 14px;
	color: var(--text-secondary);
	line-height: 1.6;
	margin-bottom: 20px;
	flex-grow: 1;
}

/* Card Link */
.card-link,
.solution-card-link {
	font-size: 14px;
	font-weight: 500;
	color: var(--comlink-green);
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: gap 0.3s ease;
	margin-top: auto;
}

.bento-card:hover .card-link,
.solution-card:hover .solution-card-link {
	gap: 12px;
}

/* ==========================================
   BENTO SIZE VARIANTS
   ========================================== */

/* Large Card - 2x2 */
.bento-lg {
	grid-column: span 2;
	grid-row: span 2;
	background: linear-gradient(
		145deg,
		var(--comlink-green-subtle) 0%,
		var(--bg-card) 50%,
		var(--bg-card) 100%
	);
	border-left: 4px solid var(--comlink-green);
	padding: 36px;
}

.bento-lg .card-number,
.bento-lg .solution-card-icon {
	width: 48px;
	height: 48px;
	font-size: 16px;
	border-radius: 14px;
}

.bento-lg h3 {
	font-size: 26px;
	margin-bottom: 16px;
}

.bento-lg p {
	font-size: 16px;
	margin-bottom: 28px;
}

.bento-lg:hover {
	border-left-color: var(--comlink-green);
	box-shadow:
		0 30px 60px rgba(0, 0, 0, 0.4),
		0 0 80px rgba(0, 255, 136, 0.1);
}

/* Wide Card - 2x1 */
.bento-wide {
	grid-column: span 2;
}

/* Tall Card - 1x2 */
.bento-tall {
	grid-row: span 2;
}

/* ==========================================
   FOOTER
   ========================================== */

.comlink-solutions-3d footer {
	padding: 80px 0 40px;
	border-top: 1px solid var(--border-subtle);
	background: var(--bg-darker);
}

.footer-content {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 40px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}

.footer-section {
	padding: 24px;
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: var(--card-radius);
}

.footer-section .office-icon {
	width: 36px;
	height: 36px;
	margin-bottom: 16px;
	color: #a855f7;
}

.footer-section .office-icon svg {
	width: 100%;
	height: 100%;
	stroke: #a855f7;
}

.footer-section h4 {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 12px;
	color: #00ff88;
}

.footer-section p,
.footer-section a {
	font-size: 14px;
	line-height: 1.8;
	color: var(--text-secondary);
	text-decoration: none;
	display: block;
}

.footer-section a:hover {
	color: var(--comlink-green);
}

.footer-bottom {
	max-width: var(--container-max);
	margin: 50px auto 0;
	padding: 30px 40px 0;
	border-top: 1px solid var(--border-subtle);
	text-align: center;
}

.footer-social {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-bottom: 24px;
}

.footer-social a {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: 12px;
	color: var(--text-primary);
	text-decoration: none;
	transition: all 0.3s ease;
}

.footer-social a:hover {
	background: var(--comlink-green-subtle);
	border-color: var(--border-accent);
	color: var(--comlink-green);
	transform: translateY(-3px);
}

.footer-social a svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.footer-bottom p {
	font-size: 14px;
	color: var(--text-muted);
}

/* ==========================================
   HIDE 3D ELEMENTS
   ========================================== */

#threejs-canvas,
.scroll-indicator {
	display: none !important;
}

/* ==========================================
   RESPONSIVE - LARGE DESKTOP
   ========================================== */

@media (max-width: 1400px) {
	:root {
		--container-max: 1200px;
	}
}

/* ==========================================
   RESPONSIVE - DESKTOP
   ========================================== */

@media (max-width: 1200px) {
	.bento-grid,
	.solutions-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.bento-lg {
		grid-column: span 2;
		grid-row: span 2;
	}

	.comlink-solutions-3d h1 {
		font-size: 48px;
	}
}

/* ==========================================
   RESPONSIVE - TABLET
   ========================================== */

@media (max-width: 900px) {
	:root {
		--section-padding: 70px;
		--grid-gap: 14px;
	}

	.cl-header__nav {
		display: none;
		position: fixed;
		top: 70px;
		left: 0;
		right: 0;
		background: rgba(10, 15, 26, 0.98);
		backdrop-filter: blur(20px);
		flex-direction: column;
		padding: 30px;
		gap: 20px;
		border-bottom: 1px solid var(--border-subtle);
		z-index: 999;
	}

	.cl-header__nav.active {
		display: flex;
	}

	.cl-header__menu-btn {
		display: flex;
	}

	.cl-header {
		padding: 15px 20px;
	}

	.container {
		padding: 0 24px;
	}

	.bento-grid,
	.solutions-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.bento-lg {
		grid-column: span 2;
		grid-row: span 1;
	}

	.bento-wide {
		grid-column: span 2;
	}

	.comlink-solutions-3d h1 {
		font-size: 40px;
	}

	.section-header-content h2,
	.section-header h2 {
		font-size: 28px;
	}

	.hero-stats {
		max-width: 100%;
	}

	.section-header > p {
		margin-left: 0;
		margin-top: 16px;
	}
}

/* ==========================================
   RESPONSIVE - MOBILE
   ========================================== */

@media (max-width: 768px) {
	:root {
		--section-padding: 60px;
		--card-radius: 16px;
	}

	.footer-content {
		grid-template-columns: 1fr;
		gap: 16px;
		padding: 0 24px;
	}

	.footer-bottom {
		padding: 24px;
	}

	.comlink-solutions-3d footer {
		padding: 50px 0 30px;
	}

	.hero {
		padding: 120px 0 60px;
	}

	.hero-content {
		margin-bottom: 40px;
	}

	.hero-stats {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.hero-stat {
		padding: 24px;
		display: flex;
		align-items: center;
		gap: 20px;
		text-align: left;
	}

	.hero-stat-number {
		font-size: 36px;
	}

	.section-header {
		flex-direction: column;
		gap: 16px;
	}

	.section-indicator {
		width: 50px;
		height: 50px;
		font-size: 20px;
	}
}

/* ==========================================
   RESPONSIVE - SMALL MOBILE
   ========================================== */

@media (max-width: 480px) {
	:root {
		--grid-gap: 12px;
	}

	.bento-grid,
	.solutions-grid {
		grid-template-columns: 1fr;
	}

	.bento-lg,
	.bento-wide,
	.bento-tall {
		grid-column: span 1;
		grid-row: span 1;
	}

	.bento-lg {
		padding: 28px;
	}

	.bento-lg h3 {
		font-size: 22px;
	}

	.container {
		padding: 0 16px;
	}

	.comlink-solutions-3d h1 {
		font-size: 32px;
	}

	.hero-subtitle {
		font-size: 17px;
	}

	.scroll-hint {
		display: none;
	}

	.section-header-content h2,
	.section-header h2 {
		font-size: 24px;
	}

	.bento-card,
	.solution-card {
		padding: 24px;
	}

	.solution-card h3 {
		font-size: 16px;
	}

	.solution-card p {
		font-size: 13px;
	}
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* Focus states */
.bento-card:focus,
.solution-card:focus,
.cl-header__nav a:focus,
.footer-social a:focus {
	outline: 2px solid var(--comlink-green);
	outline-offset: 2px;
}

/* ==========================================
   PRINT STYLES
   ========================================== */

@media print {
	.cl-header,
	.scroll-hint,
	#threejs-canvas {
		display: none !important;
	}

	.hero {
		min-height: auto;
		padding: 40px 0;
	}

	.bento-grid,
	.solutions-grid {
		display: block;
	}

	.bento-card,
	.solution-card {
		page-break-inside: avoid;
		margin-bottom: 20px;
		border: 1px solid #ccc;
	}
}

/* ==========================================
   GSAP PARALLAX OPTIMIZATIONS
   ========================================== */

/* Hardware acceleration for parallax elements */
.hero-content,
.hero-stats,
.hero-stat,
.scroll-hint,
.section-header,
.section-indicator,
.solution-card,
footer,
.footer-content,
.footer-section,
.footer-social a {
	will-change: transform, opacity;
	transform: translateZ(0);
	backface-visibility: hidden;
}

/* Ensure smooth transforms */
.hero {
	transform-style: preserve-3d;
	perspective: 1000px;
}

/* Initial states - GSAP will animate from these */
.js-loaded .hero-content,
.js-loaded .hero-stats,
.js-loaded .section-header,
.js-loaded .solution-card,
.js-loaded .footer-content,
.js-loaded .footer-section {
	/* GSAP handles visibility, ensure elements are ready */
	visibility: visible;
}

/* Smooth transitions for interactive elements */
.solution-card {
	transition:
		background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
		border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
		box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Remove default transitions when GSAP is controlling transforms */
.js-loaded .solution-card {
	transition:
		background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
		border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
		box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover still works with CSS */
.js-loaded .solution-card:hover {
	background: var(--bg-card-hover);
	border-left-color: var(--comlink-green);
	box-shadow:
		0 20px 40px rgba(0, 0, 0, 0.3),
		0 0 60px rgba(0, 255, 136, 0.08);
}

/* Section indicator glow effect on scroll */
.section-indicator {
	transition: box-shadow 0.3s ease;
}

.section-indicator.active {
	box-shadow:
		0 0 20px rgba(0, 255, 136, 0.3),
		0 0 40px rgba(0, 255, 136, 0.1);
}

/* Footer social icons hover enhancement */
.footer-social a {
	transition:
		background 0.3s ease,
		border-color 0.3s ease,
		color 0.3s ease,
		box-shadow 0.3s ease;
}

.footer-social a:hover {
	box-shadow: 0 4px 20px rgba(0, 255, 136, 0.2);
}

/* ==========================================
   REDUCED MOTION - ACCESSIBILITY
   ========================================== */

@media (prefers-reduced-motion: reduce) {
	.hero-content,
	.hero-stats,
	.hero-stat,
	.scroll-hint,
	.section-header,
	.section-indicator,
	.solution-card,
	footer,
	.footer-content,
	.footer-section,
	.footer-social a {
		will-change: auto;
		transform: none !important;
		opacity: 1 !important;
	}

	.solution-card,
	.footer-social a {
		transition-duration: 0.01ms !important;
	}

	.scroll-progress,
	.floating-particles {
		display: none !important;
	}
}

/* ==========================================
   SCROLL PROGRESS BAR
   ========================================== */

.scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	z-index: 9999;
	background: rgba(255, 255, 255, 0.1);
	pointer-events: none;
}

.scroll-progress-bar {
	height: 100%;
	background: linear-gradient(90deg, var(--comlink-green), #00d4ff, var(--comlink-green));
	background-size: 200% 100%;
	transform-origin: left center;
	transform: scaleX(0);
	animation: progressGradient 3s ease infinite;
}

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

/* ==========================================
   FLOATING PARTICLES
   ========================================== */

.floating-particles {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 1;
	overflow: hidden;
}

.particle {
	position: absolute;
	background: var(--comlink-green);
	border-radius: 50%;
	opacity: 0.15;
	animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {
	0%, 100% {
		transform: translateY(0) rotate(0deg);
		opacity: 0.15;
	}
	25% {
		opacity: 0.3;
	}
	50% {
		transform: translateY(-30px) rotate(180deg);
		opacity: 0.15;
	}
	75% {
		opacity: 0.25;
	}
}

/* ==========================================
   HERO TEXT ANIMATION SUPPORT
   ========================================== */

.comlink-solutions-3d h1 {
	perspective: 1000px;
}

.comlink-solutions-3d h1 .word {
	display: inline-block;
	transform-style: preserve-3d;
}

/* Hero dot pattern parallax support */
.hero::before {
	transform: translateY(var(--dot-offset, 0));
	transition: transform 0.1s linear;
}

/* ==========================================
   3D CARD EFFECTS
   ========================================== */

.solution-card {
	transform-style: preserve-3d;
	perspective: 1000px;
}

.solution-card:hover {
	z-index: 10;
}

/* Card inner content subtle 3D */
.solution-card h3,
.solution-card p,
.solution-card-link {
	transform: translateZ(20px);
}

.solution-card-icon {
	transform: translateZ(30px);
}

/* Featured card glow on reveal */
.solution-card.bento-lg {
	position: relative;
}

.solution-card.bento-lg::after {
	content: '';
	position: absolute;
	inset: -1px;
	background: linear-gradient(135deg, var(--comlink-green-glow), transparent 50%);
	border-radius: var(--card-radius);
	opacity: 0;
	transition: opacity 0.5s ease;
	pointer-events: none;
	z-index: -1;
}

.js-loaded .solution-card.bento-lg::after {
	opacity: 1;
}

/* ==========================================
   SECTION TITLE CLIP PATH ANIMATION
   ========================================== */

.section-header-content h2 {
	will-change: clip-path, opacity;
}

/* Section indicator glow pulse */
@keyframes indicatorPulse {
	0%, 100% {
		box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4);
	}
	50% {
		box-shadow: 0 0 20px 5px rgba(0, 255, 136, 0.2);
	}
}

.section-indicator {
	animation: indicatorPulse 3s ease-in-out infinite;
}

/* ==========================================
   ENHANCED HOVER STATES WITH 3D
   ========================================== */

.hero-stat {
	transform-style: preserve-3d;
	perspective: 800px;
}

.hero-stat:hover {
	transform: translateY(-8px) rotateX(5deg);
}

.hero-stat-number {
	transform: translateZ(15px);
}

/* ==========================================
   SMOOTH BODY BACKGROUND TRANSITION
   ========================================== */

body.comlink-solutions-3d {
	transition: background-color 0.8s ease;
}

/* ==========================================
   MOBILE ADJUSTMENTS FOR EFFECTS
   ========================================== */

@media (max-width: 768px) {
	.floating-particles {
		opacity: 0.5;
	}

	.particle {
		animation-duration: 12s;
	}

	.scroll-progress {
		height: 2px;
	}

	/* Reduce 3D effects on mobile for performance */
	.hero,
	.solution-card,
	.hero-stat {
		perspective: none;
		transform-style: flat;
	}

	.solution-card h3,
	.solution-card p,
	.solution-card-link,
	.solution-card-icon,
	.hero-stat-number {
		transform: none;
	}
}

/* ==========================================
   BENTO SECTION - SOLUTIONS HUB
   ========================================== */

.bento-section {
	padding: 80px 0 100px;
	background: var(--bg-dark);
}

/* ==========================================
   SEARCH & FILTER BAR
   ========================================== */

.search-filter-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 30px;
}

.search-box {
	position: relative;
	flex: 1;
	max-width: 400px;
}

.search-box .search-icon {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	color: #a855f7;
	pointer-events: none;
	z-index: 2;
}

.search-box input {
	width: 100%;
	padding: 14px 16px 14px 48px;
	background: rgba(168, 85, 247, 0.05);
	border: 2px solid #a855f7;
	border-radius: 16px;
	color: #fff;
	font-size: 15px;
	font-family: inherit;
	outline: none;
	transition: all 0.3s ease;
}

.search-box input::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.search-box input:focus {
	background: rgba(168, 85, 247, 0.1);
	box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.15);
}

/* Search Results Dropdown */
.search-results {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	background: rgba(15, 20, 35, 0.98);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(168, 85, 247, 0.3);
	border-radius: 12px;
	max-height: 400px;
	overflow-y: auto;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	z-index: 100;
}

.search-results.active {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.search-result-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	cursor: pointer;
	transition: background 0.2s ease;
	text-decoration: none;
	color: var(--text-primary);
}

.search-result-item:hover {
	background: rgba(168, 85, 247, 0.1);
}

.search-result-item .result-icon {
	font-size: 20px;
}

.search-result-item .result-info {
	flex: 1;
}

.search-result-item .result-title {
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 2px;
}

.search-result-item .result-category {
	font-size: 12px;
	color: var(--text-muted);
}

.search-no-results {
	padding: 20px;
	text-align: center;
	color: var(--text-muted);
	font-size: 14px;
}

/* View Toggle */
.view-toggle {
	display: flex;
	gap: 4px;
	padding: 4px;
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: 12px;
}

.view-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: transparent;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	color: var(--text-muted);
	transition: all 0.2s ease;
}

.view-btn:hover {
	color: var(--text-primary);
	background: rgba(255, 255, 255, 0.05);
}

.view-btn.active {
	color: var(--comlink-green);
	background: var(--comlink-green-subtle);
}

.view-btn svg {
	width: 20px;
	height: 20px;
}

/* ==========================================
   BENTO STATS BAR
   ========================================== */

.bento-stats-bar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 16px 24px;
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: 14px;
	margin-bottom: 30px;
}

.bento-stat-item {
	display: flex;
	align-items: center;
	gap: 8px;
}

.bento-stat-item .stat-number {
	font-size: 20px;
	font-weight: 700;
	color: var(--comlink-green);
}

.bento-stat-item .stat-label {
	font-size: 14px;
	color: var(--text-muted);
}

.stat-divider {
	color: var(--text-muted);
	font-size: 20px;
	margin: 0 12px;
}

/* ==========================================
   BENTO GRID - MAIN LAYOUT
   ========================================== */

#bento-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: minmax(180px, auto);
	gap: 16px;
}

/* ==========================================
   BENTO SIZE VARIANTS
   ========================================== */

.bento-card.bento-2x2 {
	grid-column: span 2;
	grid-row: span 2;
}

.bento-card.bento-2x1 {
	grid-column: span 2;
}

.bento-card.bento-1x1 {
	/* Default - no override needed */
}

.bento-card.bento-1x1-small {
	padding: 20px;
}

/* ==========================================
   CATEGORY GRADIENT COLORS
   ========================================== */

.bento-card.gradient-healthcare {
	background: linear-gradient(145deg, rgba(239, 68, 68, 0.12), rgba(220, 38, 38, 0.04));
	border-left: 4px solid #ef4444;
}

.bento-card.gradient-healthcare:hover {
	background: linear-gradient(145deg, rgba(239, 68, 68, 0.18), rgba(220, 38, 38, 0.08));
	box-shadow: 0 20px 40px rgba(239, 68, 68, 0.15);
}

.bento-card.gradient-education {
	background: linear-gradient(145deg, rgba(59, 130, 246, 0.12), rgba(37, 99, 235, 0.04));
	border-left: 4px solid #3b82f6;
}

.bento-card.gradient-education:hover {
	background: linear-gradient(145deg, rgba(59, 130, 246, 0.18), rgba(37, 99, 235, 0.08));
	box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.bento-card.gradient-iot {
	background: linear-gradient(145deg, rgba(34, 197, 94, 0.12), rgba(22, 163, 74, 0.04));
	border-left: 4px solid #22c55e;
}

.bento-card.gradient-iot:hover {
	background: linear-gradient(145deg, rgba(34, 197, 94, 0.18), rgba(22, 163, 74, 0.08));
	box-shadow: 0 20px 40px rgba(34, 197, 94, 0.15);
}

.bento-card.gradient-enterprise {
	background: linear-gradient(145deg, rgba(168, 85, 247, 0.12), rgba(139, 92, 246, 0.04));
	border-left: 4px solid #a855f7;
}

.bento-card.gradient-enterprise:hover {
	background: linear-gradient(145deg, rgba(168, 85, 247, 0.18), rgba(139, 92, 246, 0.08));
	box-shadow: 0 20px 40px rgba(168, 85, 247, 0.15);
}

.bento-card.gradient-infrastructure {
	background: linear-gradient(145deg, rgba(251, 146, 60, 0.12), rgba(234, 88, 12, 0.04));
	border-left: 4px solid #fb923c;
}

.bento-card.gradient-infrastructure:hover {
	background: linear-gradient(145deg, rgba(251, 146, 60, 0.18), rgba(234, 88, 12, 0.08));
	box-shadow: 0 20px 40px rgba(251, 146, 60, 0.15);
}

.bento-card.gradient-telecom {
	background: linear-gradient(145deg, rgba(14, 165, 233, 0.12), rgba(2, 132, 199, 0.04));
	border-left: 4px solid #0ea5e9;
}

.bento-card.gradient-telecom:hover {
	background: linear-gradient(145deg, rgba(14, 165, 233, 0.18), rgba(2, 132, 199, 0.08));
	box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
}

.bento-card.gradient-media {
	background: linear-gradient(145deg, rgba(236, 72, 153, 0.12), rgba(219, 39, 119, 0.04));
	border-left: 4px solid #ec4899;
}

.bento-card.gradient-media:hover {
	background: linear-gradient(145deg, rgba(236, 72, 153, 0.18), rgba(219, 39, 119, 0.08));
	box-shadow: 0 20px 40px rgba(236, 72, 153, 0.15);
}

.bento-card.gradient-tracking {
	background: linear-gradient(145deg, rgba(245, 158, 11, 0.12), rgba(217, 119, 6, 0.04));
	border-left: 4px solid #f59e0b;
}

.bento-card.gradient-tracking:hover {
	background: linear-gradient(145deg, rgba(245, 158, 11, 0.18), rgba(217, 119, 6, 0.08));
	box-shadow: 0 20px 40px rgba(245, 158, 11, 0.15);
}

.bento-card.gradient-network {
	background: linear-gradient(145deg, rgba(6, 182, 212, 0.12), rgba(8, 145, 178, 0.04));
	border-left: 4px solid #06b6d4;
}

.bento-card.gradient-network:hover {
	background: linear-gradient(145deg, rgba(6, 182, 212, 0.18), rgba(8, 145, 178, 0.08));
	box-shadow: 0 20px 40px rgba(6, 182, 212, 0.15);
}

/* ==========================================
   BENTO CARD CONTENT
   ========================================== */

.bento-card {
	position: relative;
	cursor: pointer;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-card-content {
	display: flex;
	flex-direction: column;
	height: 100%;
	position: relative;
	z-index: 2;
}

.bento-icon {
	font-size: 36px;
	margin-bottom: 16px;
	transition: transform 0.3s ease;
}

.bento-card.bento-2x2 .bento-icon {
	font-size: 48px;
	margin-bottom: 20px;
}

.bento-card:hover .bento-icon {
	transform: scale(1.1);
}

.bento-title {
	font-size: 18px;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 8px;
	line-height: 1.3;
}

.bento-card.bento-2x2 .bento-title {
	font-size: 24px;
	margin-bottom: 12px;
}

.bento-desc {
	font-size: 14px;
	color: var(--text-secondary);
	line-height: 1.5;
	margin-bottom: 12px;
	flex-grow: 1;
}

.bento-card.bento-2x2 .bento-desc {
	font-size: 15px;
}

.bento-count {
	font-size: 13px;
	color: var(--text-muted);
	font-weight: 500;
	margin-bottom: 16px;
}

/* Bento Preview - Hover State */
.bento-preview {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
	opacity: 0;
	transform: translateY(10px);
	transition: all 0.3s ease;
}

.bento-card:hover .bento-preview {
	opacity: 1;
	transform: translateY(0);
}

.preview-item {
	padding: 6px 10px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	font-size: 11px;
	color: var(--text-secondary);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100px;
}

.preview-item.preview-more {
	background: rgba(0, 255, 136, 0.1);
	border-color: rgba(0, 255, 136, 0.2);
	color: var(--comlink-green);
	font-weight: 600;
}

/* Bento CTA */
.bento-cta {
	font-size: 14px;
	font-weight: 500;
	color: var(--comlink-green);
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	opacity: 0;
	transform: translateX(-10px);
	transition: all 0.3s ease;
}

.bento-card:hover .bento-cta {
	opacity: 1;
	transform: translateX(0);
}

/* ==========================================
   LIST VIEW
   ========================================== */

.list-view {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.list-category {
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: 16px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.list-category:hover {
	border-color: rgba(255, 255, 255, 0.15);
}

.list-category-header {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px 24px;
	cursor: pointer;
	transition: background 0.2s ease;
}

.list-category-header:hover {
	background: rgba(255, 255, 255, 0.02);
}

.list-icon {
	font-size: 28px;
}

.list-category-info {
	flex: 1;
}

.list-category-info h3 {
	font-size: 16px;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 4px;
}

.list-count {
	font-size: 13px;
	color: var(--text-muted);
}

.list-expand-btn {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: 10px;
	cursor: pointer;
	color: var(--text-muted);
	transition: all 0.3s ease;
}

.list-expand-btn:hover {
	color: var(--comlink-green);
	border-color: var(--border-accent);
}

.list-expand-btn svg {
	width: 18px;
	height: 18px;
	transition: transform 0.3s ease;
}

.list-category.expanded .list-expand-btn svg {
	transform: rotate(180deg);
}

/* List Solutions - Accordion Content */
.list-solutions {
	display: none;
	padding: 0 24px 20px;
	border-top: 1px solid var(--border-subtle);
}

.list-category.expanded .list-solutions {
	display: block;
}

.list-solution-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	margin-top: 8px;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid var(--border-subtle);
	border-radius: 12px;
	text-decoration: none;
	color: var(--text-primary);
	transition: all 0.2s ease;
}

.list-solution-item:hover {
	background: var(--comlink-green-subtle);
	border-color: var(--border-accent);
}

.list-solution-title {
	font-size: 14px;
	font-weight: 500;
	flex: 1;
}

.list-solution-desc {
	font-size: 13px;
	color: var(--text-muted);
	flex: 2;
}

.list-arrow {
	width: 18px;
	height: 18px;
	color: var(--text-muted);
	transition: transform 0.2s ease;
}

.list-solution-item:hover .list-arrow {
	transform: translateX(4px);
	color: var(--comlink-green);
}

/* ==========================================
   CAROUSEL MODAL
   ========================================== */

.carousel-modal {
	position: fixed;
	inset: 0;
	z-index: 99990;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: all 0.4s ease;
}

.carousel-modal.active {
	opacity: 1;
	visibility: visible;
}

.carousel-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(8px);
}

.carousel-modal-content {
	position: relative;
	width: 100%;
	max-width: 1200px;
	max-height: 80vh;
	background: rgba(15, 20, 35, 0.98);
	border: 1px solid var(--border-subtle);
	border-radius: 24px 24px 0 0;
	padding: 30px;
	transform: translateY(100%);
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	overflow: hidden;
}

.carousel-modal.active .carousel-modal-content {
	transform: translateY(0);
}

.carousel-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
}

.carousel-title-wrapper {
	display: flex;
	align-items: center;
	gap: 12px;
}

.carousel-icon {
	font-size: 32px;
}

.carousel-title {
	font-size: 24px;
	font-weight: 600;
	color: var(--text-primary);
}

.carousel-count {
	font-size: 14px;
	color: var(--text-muted);
	padding: 6px 12px;
	background: var(--bg-card);
	border-radius: 20px;
}

.carousel-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.carousel-view-all {
	padding: 10px 20px;
	background: var(--comlink-green-subtle);
	border: 1px solid var(--border-accent);
	border-radius: 10px;
	color: var(--comlink-green);
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
}

.carousel-view-all:hover {
	background: var(--comlink-green);
	color: var(--bg-dark);
}

.carousel-close {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: 12px;
	cursor: pointer;
	color: var(--text-muted);
	transition: all 0.2s ease;
}

.carousel-close:hover {
	color: #ef4444;
	border-color: rgba(239, 68, 68, 0.3);
	background: rgba(239, 68, 68, 0.1);
}

.carousel-close svg {
	width: 20px;
	height: 20px;
}

/* Carousel Track */
.carousel-wrapper {
	display: flex;
	align-items: center;
	gap: 16px;
}

.carousel-nav {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: 14px;
	cursor: pointer;
	color: var(--text-muted);
	transition: all 0.2s ease;
	flex-shrink: 0;
}

.carousel-nav:hover {
	color: var(--comlink-green);
	border-color: var(--border-accent);
	background: var(--comlink-green-subtle);
}

.carousel-nav:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.carousel-nav svg {
	width: 24px;
	height: 24px;
}

.carousel-track-container {
	flex: 1;
	overflow: hidden;
}

.carousel-track {
	display: flex;
	gap: 16px;
	transition: transform 0.4s ease;
}

.carousel-card {
	flex: 0 0 280px;
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: 16px;
	padding: 24px;
	text-decoration: none;
	color: var(--text-primary);
	transition: all 0.3s ease;
}

.carousel-card:hover {
	border-color: var(--border-accent);
	background: var(--bg-card-hover);
	transform: translateY(-4px);
}

.carousel-card-icon {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--comlink-green-subtle);
	border: 1px solid var(--border-accent);
	border-radius: 12px;
	font-size: 24px;
	margin-bottom: 16px;
}

.carousel-card h4 {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 8px;
	line-height: 1.4;
}

.carousel-card p {
	font-size: 14px;
	color: var(--text-secondary);
	line-height: 1.5;
}

/* Carousel Dots */
.carousel-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 24px;
}

.carousel-dot {
	width: 8px;
	height: 8px;
	background: var(--border-subtle);
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.2s ease;
}

.carousel-dot:hover {
	background: var(--text-muted);
}

.carousel-dot.active {
	width: 24px;
	border-radius: 4px;
	background: var(--comlink-green);
}

/* ==========================================
   FULL LIST MODAL
   ========================================== */

.fulllist-modal {
	position: fixed;
	inset: 0;
	z-index: 99991;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px;
	opacity: 0;
	visibility: hidden;
	transition: all 0.4s ease;
}

.fulllist-modal.active {
	opacity: 1;
	visibility: visible;
}

.fulllist-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(10px);
}

.fulllist-modal-content {
	position: relative;
	width: 100%;
	max-width: 1000px;
	max-height: 90vh;
	background: rgba(15, 20, 35, 0.98);
	border: 1px solid var(--border-subtle);
	border-radius: 24px;
	padding: 30px;
	overflow-y: auto;
	transform: scale(0.9);
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.fulllist-modal.active .fulllist-modal-content {
	transform: scale(1);
}

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

.fulllist-title-wrapper {
	display: flex;
	align-items: center;
	gap: 12px;
}

.fulllist-icon {
	font-size: 32px;
}

.fulllist-title {
	font-size: 24px;
	font-weight: 600;
	color: var(--text-primary);
}

.fulllist-close {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: 12px;
	cursor: pointer;
	color: var(--text-muted);
	transition: all 0.2s ease;
}

.fulllist-close:hover {
	color: #ef4444;
	border-color: rgba(239, 68, 68, 0.3);
	background: rgba(239, 68, 68, 0.1);
}

.fulllist-close svg {
	width: 20px;
	height: 20px;
}

.fulllist-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
}

.fulllist-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px;
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: 12px;
	text-decoration: none;
	color: var(--text-primary);
	transition: all 0.2s ease;
}

.fulllist-item:hover {
	border-color: var(--border-accent);
	background: var(--comlink-green-subtle);
}

.fulllist-item-icon {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 255, 136, 0.1);
	border-radius: 10px;
	font-size: 18px;
	flex-shrink: 0;
}

.fulllist-item-content h5 {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 4px;
}

.fulllist-item-content p {
	font-size: 13px;
	color: var(--text-muted);
	line-height: 1.4;
}

/* ==========================================
   BENTO RESPONSIVE - LARGE DESKTOP
   ========================================== */

@media (max-width: 1200px) {
	#bento-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.bento-card.bento-2x2 {
		grid-column: span 2;
		grid-row: span 2;
	}
}

/* ==========================================
   BENTO RESPONSIVE - TABLET
   ========================================== */

@media (max-width: 900px) {
	.bento-section {
		padding: 60px 0 80px;
	}

	.search-filter-bar {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
	}

	.search-box {
		max-width: none;
	}

	.view-toggle {
		justify-content: center;
	}

	.bento-stats-bar {
		flex-wrap: wrap;
		gap: 12px;
	}

	.stat-divider {
		display: none;
	}

	#bento-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.bento-card.bento-2x2 {
		grid-column: span 2;
		grid-row: span 1;
	}

	.bento-card.bento-2x1 {
		grid-column: span 2;
	}

	.carousel-modal-content {
		padding: 24px;
		border-radius: 20px 20px 0 0;
	}

	.carousel-card {
		flex: 0 0 250px;
	}

	.fulllist-modal {
		padding: 20px;
	}

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

/* ==========================================
   BENTO RESPONSIVE - MOBILE
   ========================================== */

@media (max-width: 768px) {
	.bento-section {
		padding: 50px 0 60px;
	}

	#bento-grid {
		grid-template-columns: 1fr;
	}

	.bento-card.bento-2x2,
	.bento-card.bento-2x1,
	.bento-card.bento-1x1 {
		grid-column: span 1;
		grid-row: span 1;
	}

	.bento-card.bento-2x2 .bento-icon {
		font-size: 36px;
	}

	.bento-card.bento-2x2 .bento-title {
		font-size: 20px;
	}

	/* Always show preview and CTA on mobile */
	.bento-preview,
	.bento-cta {
		opacity: 1;
		transform: none;
	}

	/* List view better on mobile */
	.list-solution-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.list-solution-title,
	.list-solution-desc {
		flex: none;
	}

	.list-arrow {
		position: absolute;
		right: 16px;
		top: 50%;
		transform: translateY(-50%);
	}

	/* Carousel mobile */
	.carousel-modal-content {
		padding-top: 80px;
	}

	.carousel-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.carousel-actions {
		width: 100%;
		justify-content: space-between;
	}

	.carousel-nav {
		display: none;
	}

	.carousel-track-container {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x mandatory;
	}

	.carousel-card {
		flex: 0 0 85vw;
		scroll-snap-align: center;
	}

	/* Full list modal mobile */
	.fulllist-modal {
		padding: 0;
	}

	.fulllist-modal-content {
		max-height: 100vh;
		border-radius: 0;
		padding-top: 80px;
	}

	.fulllist-header {
		position: sticky;
		top: 0;
		background: rgba(15, 20, 35, 0.98);
		z-index: 10;
		margin: -30px -30px 24px;
		padding: 20px 24px;
	}
}

/* ==========================================
   BENTO RESPONSIVE - SMALL MOBILE
   ========================================== */

@media (max-width: 480px) {
	.bento-section {
		padding: 40px 0 50px;
	}

	.search-box input {
		padding: 12px 12px 12px 44px;
		font-size: 14px;
	}

	.bento-stats-bar {
		padding: 14px 16px;
	}

	.bento-stat-item .stat-number {
		font-size: 18px;
	}

	.bento-stat-item .stat-label {
		font-size: 12px;
	}

	.bento-card {
		padding: 20px;
	}

	.bento-icon {
		font-size: 28px;
		margin-bottom: 12px;
	}

	.bento-title {
		font-size: 16px;
	}

	.bento-desc {
		font-size: 13px;
	}

	.preview-item {
		padding: 4px 8px;
		font-size: 10px;
	}

	.carousel-modal-content {
		padding: 20px;
	}

	.carousel-title {
		font-size: 18px;
	}

	.carousel-card {
		flex: 0 0 90vw;
		padding: 20px;
	}

	.fulllist-modal-content {
		padding: 20px;
	}

	.fulllist-header {
		margin: -20px -20px 20px;
		padding: 16px 20px;
	}

	.fulllist-title {
		font-size: 18px;
	}
}

/* ==========================================
   FIX: Override contain:strict từ performance plugin
   Nguyên nhân: Plugin performance inject CSS "contain: strict"
   gây height collapse và ngăn render cards ngoài viewport
   ========================================== */
.carousel-track,
.carousel-track-container,
#carousel-track {
	contain: none !important;
	min-height: 200px;
}

.carousel-wrapper {
	contain: none !important;
	min-height: 220px;
}

.carousel-card {
	contain: none !important;
	min-height: 180px;
}

.carousel-modal,
.carousel-modal-content {
	contain: none !important;
}
