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

:root {
	--bg-primary: #0a0a0f;
	--bg-secondary: #111118;
	--bg-tertiary: #1a1a24;
	--text-primary: #f0f0f5;
	--text-secondary: #b8b8c8;
	--text-muted: #8888a0;
	--accent: #6c5ce7;
	--accent-light: #a29bfe;
	--accent-glow: rgba(108, 92, 231, 0.3);
	--success: #00d2a0;
	--danger: #ff6b6b;
	--warning: #ffd93d;
	--border: rgba(255, 255, 255, 0.08);
	--gradient-1: linear-gradient(135deg, #6c5ce7, #a29bfe);
	--gradient-2: linear-gradient(135deg, #00d2a0, #6c5ce7);
}

html {
	scroll-behavior: smooth;
	scroll-snap-type: y proximity;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	background-color: var(--bg-primary);
	color: var(--text-primary);
	overflow-x: hidden;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

/* ===== LOADING SCREEN ===== */
#loader {
	position: fixed;
	inset: 0;
	background: var(--bg-primary);
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader.hidden {
	opacity: 0;
	visibility: hidden;
}

.loader-ring {
	width: 60px;
	height: 60px;
	border: 3px solid var(--border);
	border-top-color: var(--accent);
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

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

/* ===== HAMBURGER MENU ===== */
.nav-btn {
	position: fixed;
	top: 30px;
	right: 30px;
	z-index: 9999;
	width: 44px;
	height: 44px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 6px;
	background: rgba(10, 10, 15, 0.8);
	backdrop-filter: blur(20px);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 10px;
	transition: all 0.3s ease;
}

.nav-btn:hover {
	border-color: var(--accent);
	box-shadow: 0 0 20px var(--accent-glow);
}

.nav-btn i {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--text-primary);
	border-radius: 2px;
	transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
	transform-origin: center;
}

.nav-btn.active i:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.nav-btn.active i:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

.nav-btn.active i:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* ===== SIDE PANEL ===== */
.side-panel {
	position: fixed;
	top: 0;
	right: -400px;
	width: 380px;
	max-width: 90vw;
	height: 100vh;
	background: var(--bg-secondary);
	border-left: 1px solid var(--border);
	z-index: 9998;
	transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
	overflow-y: auto;
	padding: 100px 40px 40px;
}

.side-panel.open {
	right: 0;
}

.side-panel::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at top right, var(--accent-glow), transparent 70%);
	opacity: 0.3;
	pointer-events: none;
}

.side-panel nav {
	position: relative;
	z-index: 1;
}

.side-panel nav a {
	display: block;
	color: var(--text-secondary);
	text-decoration: none;
	font-size: 1.1rem;
	font-weight: 500;
	padding: 16px 0;
	border-bottom: 1px solid var(--border);
	transition: all 0.3s ease;
	position: relative;
	padding-left: 0;
}

.side-panel nav a::before {
	content: '';
	position: absolute;
	left: -20px;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 2px;
	background: var(--accent);
	transition: width 0.3s ease;
}

.side-panel nav a:hover {
	color: var(--text-primary);
	padding-left: 20px;
}

.side-panel nav a:hover::before {
	width: 12px;
}

.side-panel .panel-cta {
	margin-top: 40px;
	position: relative;
	z-index: 1;
}

.side-panel .panel-cta p {
	color: var(--text-muted);
	font-size: 0.85rem;
	margin-bottom: 16px;
}

/* ===== OVERLAY ===== */
.overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(4px);
	z-index: 9997;
	opacity: 0;
	visibility: hidden;
	transition: all 0.4s ease;
}

.overlay.active {
	opacity: 1;
	visibility: visible;
}

/* ===== SECTIONS ===== */
.section {
	min-height: 100vh;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 80px 40px;
	scroll-snap-align: start;
	overflow: hidden;
}

.section-content {
	max-width: 900px;
	width: 100%;
	position: relative;
	z-index: 10;
	opacity: 0;
	transform: translateY(60px);
	transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section.visible .section-content {
	opacity: 1;
	transform: translateY(0);
}

/* ===== BACKGROUND EFFECTS ===== */
.section-animated {
	position: relative;
}

.section-canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	pointer-events: none;
}

.section-overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
}

#hero .section-overlay {
	background: radial-gradient(ellipse at center, rgba(10, 10, 15, 0.3) 0%, rgba(10, 10, 15, 0.7) 100%);
}

#reality .section-overlay {
	background: rgba(10, 10, 20, 0.72);
}

#reality-waterpipe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	overflow: hidden;
}

#reality-waterpipe canvas {
	width: 100% !important;
	height: 100% !important;
}


#trap .section-overlay {
	background: rgba(10, 10, 15, 0.6);
}

#solution .section-overlay {
	background: rgba(17, 17, 24, 0.7);
}

#cta .section-overlay {
	background: radial-gradient(ellipse at center, rgba(10, 10, 15, 0.4) 0%, rgba(10, 10, 15, 0.8) 100%);
}

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

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
				transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
	opacity: 1;
	transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
.reveal-delay-7 { transition-delay: 0.7s; }
.reveal-delay-8 { transition-delay: 0.8s; }

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
				transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
	opacity: 1;
	transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
.reveal-delay-7 { transition-delay: 0.7s; }
.reveal-delay-8 { transition-delay: 0.8s; }

.bg-gradient-orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(120px);
	opacity: 0.15;
	pointer-events: none;
	z-index: 1;
}

.bg-grid {
	position: absolute;
	inset: 0;
	z-index: 1;
	background-image:
		linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
	background-size: 60px 60px;
	pointer-events: none;
}

/* ===== HERO SECTION ===== */
#hero {
	background: var(--bg-primary);
}

#hero .bg-gradient-orb:nth-child(1) {
	width: 600px;
	height: 600px;
	background: var(--accent);
	top: -200px;
	right: -100px;
	animation: float 8s ease-in-out infinite;
}

#hero .bg-gradient-orb:nth-child(2) {
	width: 400px;
	height: 400px;
	background: #00d2a0;
	bottom: -100px;
	left: -100px;
	animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
	0%, 100% { transform: translate(0, 0) scale(1); }
	33% { transform: translate(30px, -30px) scale(1.05); }
	66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(108, 92, 231, 0.1);
	border: 1px solid rgba(108, 92, 231, 0.2);
	border-radius: 100px;
	padding: 8px 20px;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--accent-light);
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 32px;
}

.hero-tag::before {
	content: '';
	width: 8px;
	height: 8px;
	background: var(--accent);
	border-radius: 50%;
	animation: pulse 2s ease-in-out infinite;
}

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

.hero-headline {
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	font-weight: 800;
	line-height: 1.1;
	margin-bottom: 28px;
	letter-spacing: -0.03em;
}

.hero-headline .gradient-text {
	background: var(--gradient-1);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-sub {
	font-size: clamp(1rem, 2vw, 1.25rem);
	color: var(--text-secondary);
	max-width: 650px;
	line-height: 1.7;
	margin-bottom: 48px;
	font-weight: 300;
}

.btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: var(--gradient-1);
	color: white;
	text-decoration: none;
	padding: 18px 36px;
	border-radius: 14px;
	font-weight: 600;
	font-size: 1rem;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	border: none;
	cursor: pointer;
}

.btn-primary::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, #a29bfe, #6c5ce7);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 20px 40px rgba(108, 92, 231, 0.3);
}

.btn-primary:hover::before {
	opacity: 1;
}

.btn-primary span {
	position: relative;
	z-index: 1;
}

.btn-primary .arrow {
	position: relative;
	z-index: 1;
	transition: transform 0.3s ease;
}

.btn-primary:hover .arrow {
	transform: translateX(4px);
}

/* ===== SECTION TITLES ===== */
.section-label {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 3px;
	color: var(--accent-light);
	margin-bottom: 20px;
	position: relative;
	padding-left: 40px;
}

.section-label::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	width: 24px;
	height: 2px;
	background: var(--accent);
}

.section-title {
	font-size: clamp(2rem, 4.5vw, 3.2rem);
	font-weight: 800;
	line-height: 1.15;
	margin-bottom: 48px;
	letter-spacing: -0.02em;
}

/* ===== REALITY SECTION ===== */
#reality {
	background: var(--bg-secondary);
}

.reality-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

.reality-col h3 {
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 24px;
}

.reality-col.positive h3 {
	color: var(--success);
}

.reality-col.negative h3 {
	color: var(--danger);
}

.reality-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px solid var(--border);
	font-size: 0.95rem;
	color: var(--text-secondary);
	line-height: 1.5;
}

.reality-item .icon {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	margin-top: 2px;
}

.reality-col.positive .icon {
	background: rgba(0, 210, 160, 0.1);
	color: var(--success);
}

.reality-col.negative .icon {
	background: rgba(255, 107, 107, 0.1);
	color: var(--danger);
}

.reality-footer {
	margin-top: 48px;
	padding: 24px 32px;
	background: rgba(108, 92, 231, 0.05);
	border-left: 3px solid var(--accent);
	border-radius: 0 12px 12px 0;
	font-size: 1.1rem;
	font-weight: 500;
	color: var(--text-primary);
}

/* ===== TRAP SECTION ===== */
#trap {
	background: var(--bg-primary);
}

.trap-items {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.trap-item {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	padding: 24px 28px;
	background: var(--bg-tertiary);
	border: 1px solid var(--border);
	border-radius: 16px;
	transition: all 0.4s ease;
	position: relative;
	overflow: hidden;
}

.trap-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 3px;
	height: 100%;
	background: var(--gradient-2);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.trap-item:hover {
	border-color: rgba(108, 92, 231, 0.2);
	transform: translateX(8px);
}

.trap-item:hover::before {
	opacity: 1;
}

.trap-item .pin {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	background: rgba(108, 92, 231, 0.1);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	color: var(--accent-light);
}

.trap-item p {
	color: var(--text-secondary);
	font-size: 1rem;
	line-height: 1.5;
}

.trap-footer {
	margin-top: 48px;
	text-align: center;
	font-size: 1.35rem;
	color: var(--text-secondary);
	font-style: italic;
	font-weight: 400;
}

/* ===== SOLUTION SECTION ===== */
#solution {
	background: var(--bg-secondary);
}

.solution-steps {
	display: flex;
	flex-direction: column;
	gap: 0;
	position: relative;
}

.solution-steps::before {
	content: '';
	position: absolute;
	left: 28px;
	top: 0;
	bottom: 0;
	width: 2px;
	background: linear-gradient(to bottom, var(--accent), var(--success));
	opacity: 0.3;
}

.solution-step {
	display: flex;
	gap: 32px;
	padding: 36px 0;
	position: relative;
}

.step-number {
	flex-shrink: 0;
	width: 58px;
	height: 58px;
	background: var(--bg-primary);
	border: 2px solid var(--accent);
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.85rem;
	font-weight: 800;
	color: var(--accent-light);
	position: relative;
	z-index: 2;
	transition: all 0.3s ease;
}

.solution-step:hover .step-number {
	background: var(--accent);
	color: white;
	box-shadow: 0 0 30px var(--accent-glow);
}

.step-content h3 {
	font-size: 1.3rem;
	font-weight: 700;
	margin-bottom: 10px;
}

.step-content p {
	color: var(--text-secondary);
	font-size: 1rem;
	line-height: 1.6;
}

.solution-highlight {
	margin-top: 56px;
	padding: 32px 36px;
	background: linear-gradient(135deg, rgba(0, 210, 160, 0.08), rgba(108, 92, 231, 0.08));
	border: 1px solid rgba(0, 210, 160, 0.15);
	border-radius: 20px;
	font-size: 1.15rem;
	font-weight: 500;
	line-height: 1.6;
	color: var(--text-primary);
	position: relative;
	overflow: hidden;
}

.solution-highlight::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: var(--gradient-2);
}

/* ===== CTA SECTION ===== */
#cta {
	background: var(--bg-primary);
	text-align: center;
}

#cta .section-content {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.cta-title {
	font-size: clamp(2.2rem, 5vw, 3.8rem);
	font-weight: 900;
	line-height: 1.1;
	margin-bottom: 24px;
	letter-spacing: -0.03em;
}

.cta-subtitle {
	font-size: 1.15rem;
	color: var(--text-secondary);
	margin-bottom: 40px;
	max-width: 500px;
}

.cta-divider {
	width: 60px;
	height: 3px;
	background: var(--gradient-1);
	border-radius: 3px;
	margin: 32px auto;
}

.cta-alternative {
	max-width: 600px;
	margin-top: 48px;
	padding: 28px 32px;
	background: var(--bg-tertiary);
	border: 1px solid var(--border);
	border-radius: 16px;
	font-size: 0.95rem;
	color: var(--text-secondary);
	line-height: 1.7;
}

.cta-alternative strong {
	color: var(--text-primary);
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
	position: absolute;
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	opacity: 0.5;
	animation: bounce 2s ease-in-out infinite;
}

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

.scroll-indicator .mouse {
	width: 24px;
	height: 38px;
	border: 2px solid var(--text-muted);
	border-radius: 12px;
	position: relative;
}

.scroll-indicator .mouse::after {
	content: '';
	position: absolute;
	top: 8px;
	left: 50%;
	transform: translateX(-50%);
	width: 3px;
	height: 8px;
	background: var(--text-muted);
	border-radius: 3px;
	animation: scrollDot 2s ease-in-out infinite;
}

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

@keyframes scrollDot {
	0%, 100% { opacity: 1; top: 8px; }
	50% { opacity: 0.3; top: 18px; }
}

/* ===== PROGRESS BAR ===== */
.progress-bar {
	position: fixed;
	top: 0;
	left: 0;
	height: 3px;
	background: var(--gradient-1);
	z-index: 9999;
	transition: width 0.1s linear;
}

/* ===== SECTION TRANSITIONS ===== */
.section-divider {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 120px;
	z-index: 5;
	pointer-events: none;
}

.section-divider svg {
	width: 100%;
	height: 100%;
}

/* ===== GLITCH EFFECT ===== */
.glitch {
	position: relative;
}

.glitch::before,
.glitch::after {
	content: attr(data-text);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.glitch::before {
	animation: glitch-1 3s infinite linear alternate-reverse;
	clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
	-webkit-text-fill-color: var(--text-primary);
	background: none;
}

.glitch::after {
	animation: glitch-2 3s infinite linear alternate-reverse;
	clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
	-webkit-text-fill-color: var(--text-primary);
	background: none;
}

@keyframes glitch-1 {
	0%, 95% { transform: translateX(0); }
	96% { transform: translateX(-3px); }
	97% { transform: translateX(3px); }
	98% { transform: translateX(-1px); }
	99% { transform: translateX(1px); }
	100% { transform: translateX(0); }
}

@keyframes glitch-2 {
	0%, 95% { transform: translateX(0); }
	96% { transform: translateX(3px); }
	97% { transform: translateX(-3px); }
	98% { transform: translateX(1px); }
	99% { transform: translateX(-1px); }
	100% { transform: translateX(0); }
}

/* ===== FLOATING LINES ===== */
.floating-lines {
	position: absolute;
	inset: 0;
	z-index: 1;
	overflow: hidden;
	pointer-events: none;
}

.floating-lines .line {
	position: absolute;
	width: 1px;
	height: 100%;
	background: linear-gradient(to bottom, transparent, rgba(108, 92, 231, 0.1), transparent);
	animation: lineFloat 15s ease-in-out infinite;
}

.floating-lines .line:nth-child(1) { left: 10%; animation-delay: 0s; }
.floating-lines .line:nth-child(2) { left: 25%; animation-delay: -3s; }
.floating-lines .line:nth-child(3) { left: 50%; animation-delay: -6s; }
.floating-lines .line:nth-child(4) { left: 75%; animation-delay: -9s; }
.floating-lines .line:nth-child(5) { left: 90%; animation-delay: -12s; }

@keyframes lineFloat {
	0%, 100% { opacity: 0.3; transform: scaleY(1); }
	50% { opacity: 0.6; transform: scaleY(1.2); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
	.section {
		padding: 60px 24px;
	}

	.reality-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.nav-btn {
		top: 20px;
		right: 20px;
	}

	.side-panel {
		width: 100%;
		max-width: 100vw;
		padding: 100px 24px 40px;
	}

	.solution-step {
		gap: 20px;
	}

	.step-number {
		width: 48px;
		height: 48px;
		font-size: 0.75rem;
	}

	.solution-steps::before {
		left: 23px;
	}

	.hero-headline {
		font-size: clamp(2rem, 8vw, 3rem);
	}

	.cta-title {
		font-size: clamp(1.8rem, 7vw, 2.8rem);
	}
}

/* ===== ANIMATED COUNTER ===== */
.counter-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin-top: 56px;
}

.counter-item {
	text-align: center;
	padding: 24px;
	background: rgba(108, 92, 231, 0.05);
	border: 1px solid var(--border);
	border-radius: 16px;
}

.counter-value {
	font-size: 2.5rem;
	font-weight: 900;
	background: var(--gradient-1);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.counter-label {
	font-size: 0.8rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-top: 8px;
}

@media (max-width: 768px) {
	.counter-row {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

/* ===== TYPING EFFECT ===== */
.typing-cursor {
	display: inline-block;
	width: 3px;
	height: 1em;
	background: var(--accent);
	margin-left: 4px;
	animation: blink 1s step-end infinite;
	vertical-align: text-bottom;
}

@keyframes blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0; }
}

/* ===== WAVE DIVIDER ===== */
.wave-divider {
	position: absolute;
	bottom: -1px;
	left: 0;
	right: 0;
	z-index: 5;
	line-height: 0;
}

.wave-divider svg {
	width: 100%;
	height: 80px;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 99999;
	background: var(--bg-secondary);
	border-top: 1px solid var(--border);
	padding: 20px 24px;
	transform: translateY(100%);
	transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
	backdrop-filter: blur(20px);
}

.cookie-banner.visible {
	transform: translateY(0);
}

.cookie-banner-content {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.cookie-banner-text {
	flex: 1;
	min-width: 280px;
}

.cookie-banner-text p {
	color: var(--text-secondary);
	font-size: 0.9rem;
	line-height: 1.5;
	margin-bottom: 4px;
}

.cookie-banner-link {
	color: var(--accent-light);
	font-size: 0.8rem;
	text-decoration: underline;
}

.cookie-banner-actions {
	display: flex;
	gap: 10px;
	flex-shrink: 0;
}

.cookie-btn {
	padding: 10px 20px;
	border-radius: 10px;
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	border: none;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.cookie-btn-accept {
	background: var(--gradient-1);
	color: white;
}

.cookie-btn-accept:hover {
	box-shadow: 0 8px 24px rgba(108, 92, 231, 0.3);
	transform: translateY(-1px);
}

.cookie-btn-reject {
	background: transparent;
	color: var(--text-muted);
	border: 1px solid var(--border);
}

.cookie-btn-reject:hover {
	color: var(--text-secondary);
	border-color: var(--text-muted);
}

.cookie-btn-settings {
	background: transparent;
	color: var(--text-secondary);
	border: 1px solid var(--border);
}

.cookie-btn-settings:hover {
	color: var(--text-primary);
	border-color: var(--accent);
}

/* ===== COOKIE MODAL ===== */
.cookie-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(8px);
	z-index: 100000;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

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

.cookie-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.95);
	width: 520px;
	max-width: 92vw;
	max-height: 85vh;
	overflow-y: auto;
	background: var(--bg-secondary);
	border: 1px solid var(--border);
	border-radius: 20px;
	z-index: 100001;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-modal.active {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, -50%) scale(1);
}

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

.cookie-modal-header h3 {
	font-size: 1.2rem;
	font-weight: 700;
}

.cookie-modal-close {
	background: none;
	border: none;
	color: var(--text-muted);
	font-size: 1.8rem;
	cursor: pointer;
	padding: 0 4px;
	line-height: 1;
	transition: color 0.2s;
}

.cookie-modal-close:hover {
	color: var(--text-primary);
}

.cookie-modal-body {
	padding: 24px 28px;
}

.cookie-modal-desc {
	color: var(--text-secondary);
	font-size: 0.9rem;
	line-height: 1.6;
	margin-bottom: 24px;
}

.cookie-option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 0;
	border-bottom: 1px solid var(--border);
	gap: 16px;
}

.cookie-option:last-child {
	border-bottom: none;
}

.cookie-option-info h4 {
	font-size: 0.95rem;
	font-weight: 600;
	margin-bottom: 4px;
}

.cookie-option-info p {
	font-size: 0.8rem;
	color: var(--text-muted);
	line-height: 1.4;
}

.cookie-toggle {
	position: relative;
	flex-shrink: 0;
	cursor: pointer;
}

.cookie-toggle input {
	opacity: 0;
	width: 0;
	height: 0;
	position: absolute;
}

.cookie-toggle-slider {
	display: block;
	width: 44px;
	height: 24px;
	background: var(--bg-tertiary);
	border: 1px solid var(--border);
	border-radius: 12px;
	transition: all 0.3s ease;
	position: relative;
}

.cookie-toggle-slider::after {
	content: '';
	position: absolute;
	top: 2px;
	left: 2px;
	width: 18px;
	height: 18px;
	background: var(--text-muted);
	border-radius: 50%;
	transition: all 0.3s ease;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
	background: var(--accent);
	border-color: var(--accent);
}

.cookie-toggle input:checked + .cookie-toggle-slider::after {
	transform: translateX(20px);
	background: white;
}

.cookie-toggle-disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

.cookie-modal-footer {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	padding: 20px 28px;
	border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
	.cookie-banner-content {
		flex-direction: column;
		text-align: center;
	}

	.cookie-banner-actions {
		justify-content: center;
		width: 100%;
	}

	.cookie-btn {
		flex: 1;
		text-align: center;
		padding: 10px 12px;
		font-size: 0.8rem;
	}

	.cookie-modal {
		max-height: 90vh;
	}
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 99999;
	background: var(--bg-secondary);
	border-top: 1px solid var(--border);
	padding: 20px 24px;
	transform: translateY(100%);
	transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
	backdrop-filter: blur(20px);
}

.cookie-banner.visible {
	transform: translateY(0);
}

.cookie-banner-content {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.cookie-banner-text {
	flex: 1;
	min-width: 280px;
}

.cookie-banner-text p {
	color: var(--text-secondary);
	font-size: 0.9rem;
	line-height: 1.5;
	margin-bottom: 4px;
}

.cookie-banner-link {
	color: var(--accent-light);
	font-size: 0.8rem;
	text-decoration: underline;
}

.cookie-banner-actions {
	display: flex;
	gap: 10px;
	flex-shrink: 0;
}

.cookie-btn {
	padding: 10px 20px;
	border-radius: 10px;
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	border: none;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.cookie-btn-accept {
	background: var(--gradient-1);
	color: white;
}

.cookie-btn-accept:hover {
	box-shadow: 0 8px 24px rgba(108, 92, 231, 0.3);
	transform: translateY(-1px);
}

.cookie-btn-reject {
	background: transparent;
	color: var(--text-muted);
	border: 1px solid var(--border);
}

.cookie-btn-reject:hover {
	color: var(--text-secondary);
	border-color: var(--text-muted);
}

.cookie-btn-settings {
	background: transparent;
	color: var(--text-secondary);
	border: 1px solid var(--border);
}

.cookie-btn-settings:hover {
	color: var(--text-primary);
	border-color: var(--accent);
}

/* ===== COOKIE MODAL ===== */
.cookie-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(8px);
	z-index: 100000;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

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

.cookie-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.95);
	width: 520px;
	max-width: 92vw;
	max-height: 85vh;
	overflow-y: auto;
	background: var(--bg-secondary);
	border: 1px solid var(--border);
	border-radius: 20px;
	z-index: 100001;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-modal.active {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, -50%) scale(1);
}

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

.cookie-modal-header h3 {
	font-size: 1.2rem;
	font-weight: 700;
}

.cookie-modal-close {
	background: none;
	border: none;
	color: var(--text-muted);
	font-size: 1.8rem;
	cursor: pointer;
	padding: 0 4px;
	line-height: 1;
	transition: color 0.2s;
}

.cookie-modal-close:hover {
	color: var(--text-primary);
}

.cookie-modal-body {
	padding: 24px 28px;
}

.cookie-modal-desc {
	color: var(--text-secondary);
	font-size: 0.9rem;
	line-height: 1.6;
	margin-bottom: 24px;
}

.cookie-option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 0;
	border-bottom: 1px solid var(--border);
	gap: 16px;
}

.cookie-option:last-child {
	border-bottom: none;
}

.cookie-option-info h4 {
	font-size: 0.95rem;
	font-weight: 600;
	margin-bottom: 4px;
}

.cookie-option-info p {
	font-size: 0.8rem;
	color: var(--text-muted);
	line-height: 1.4;
}

.cookie-toggle {
	position: relative;
	flex-shrink: 0;
	cursor: pointer;
}

.cookie-toggle input {
	opacity: 0;
	width: 0;
	height: 0;
	position: absolute;
}

.cookie-toggle-slider {
	display: block;
	width: 44px;
	height: 24px;
	background: var(--bg-tertiary);
	border: 1px solid var(--border);
	border-radius: 12px;
	transition: all 0.3s ease;
	position: relative;
}

.cookie-toggle-slider::after {
	content: '';
	position: absolute;
	top: 2px;
	left: 2px;
	width: 18px;
	height: 18px;
	background: var(--text-muted);
	border-radius: 50%;
	transition: all 0.3s ease;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
	background: var(--accent);
	border-color: var(--accent);
}

.cookie-toggle input:checked + .cookie-toggle-slider::after {
	transform: translateX(20px);
	background: white;
}

.cookie-toggle-disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

.cookie-modal-footer {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	padding: 20px 28px;
	border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
	.cookie-banner-content {
		flex-direction: column;
		text-align: center;
	}

	.cookie-banner-actions {
		justify-content: center;
		width: 100%;
	}

	.cookie-btn {
		flex: 1;
		text-align: center;
		padding: 10px 12px;
		font-size: 0.8rem;
	}

	.cookie-modal {
		max-height: 90vh;
	}
}
