/* ============================================
   CSS VARIABLES FOR THEMING
   ============================================ */
:root {
	--bg-primary: #030303;
	--bg-secondary: #0a0a0a;
	--bg-tertiary: #0f0f0f;
	--bg-card: rgba(255, 255, 255, 0.03);
	--bg-card-hover: rgba(255, 255, 255, 0.05);
	--text-primary: #ffffff;
	--text-secondary: #a1a1aa;
	--text-muted: #71717a;
	--border-color: rgba(255, 255, 255, 0.08);
	--border-hover: rgba(255, 255, 255, 0.15);
	--glass-bg: rgba(255, 255, 255, 0.05);
	--glass-border: rgba(255, 255, 255, 0.08);
	--nav-bg: rgba(3, 3, 3, 0.6);
	--shadow-color: rgba(0, 0, 0, 0.4);
	--accent-glow: rgba(168, 85, 247, 0.2);
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
/* Global Focus Ring for Keyboard Users */
:focus-visible {
	outline: 2px solid #a855f7;
	outline-offset: 4px;
	border-radius: 4px;
}

/* Skip to Content Link */
.skip-link {
	position: absolute;
	top: -100px;
	left: 0;
	background: #a855f7;
	color: white;
	padding: 8px 16px;
	z-index: 9999;
	text-decoration: none;
	font-weight: 600;
	border-radius: 0 0 8px 0;
	transition: top 0.2s ease;
}

.skip-link:focus {
	top: 0;
}

/* Prevent horizontal scroll on all devices */
html {
	overflow-x: hidden;
}

body {
	background-color: var(--bg-primary);
	color: var(--text-primary);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	position: relative;
	width: 100%;
	max-width: 100vw;
	transition: background-color 0.3s ease, color 0.3s ease;
}

/* Ensure sections don't overflow */
section {
	overflow-x: hidden;
	max-width: 100vw;
}

/* Mobile overflow fixes */
@media (max-width: 768px) {
	.aurora-wave {
		width: 100%;
		left: 0;
	}

	.orb {
		max-width: 300px;
		max-height: 300px;
	}

	.orb-1,
	.orb-2 {
		right: -50px;
		left: auto;
	}

	.parallax-layer {
		width: 100%;
		left: 0;
		transform: none !important;
	}

	/* Fix long email overflow */
	.contact-email {
		word-break: break-all;
		font-size: 14px;
	}
}

::-webkit-scrollbar {
	width: 6px;
}

::-webkit-scrollbar-track {
	background: #030303;
}

::-webkit-scrollbar-thumb {
	background: #333;
	border-radius: 10px;
}

/* ============================================
   MESMERIZING BACKGROUND EFFECTS
   ============================================ */

/* Noise/Grain Texture Overlay */
.noise-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 9998;
	opacity: 0.03;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Aurora Container */
.aurora-bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: -1;
	overflow: hidden;
	max-width: 100vw;
}

/* Aurora Waves */
.aurora-wave {
	position: absolute;
	width: 200%;
	height: 60%;
	opacity: 0.15;
	filter: blur(80px);
	animation: auroraFlow 20s ease-in-out infinite;
}

.aurora-wave-1 {
	top: -20%;
	left: -50%;
	background: linear-gradient(90deg,
			transparent 0%,
			rgba(99, 102, 241, 0.4) 20%,
			rgba(168, 85, 247, 0.5) 40%,
			rgba(236, 72, 153, 0.3) 60%,
			rgba(59, 130, 246, 0.4) 80%,
			transparent 100%);
	animation-delay: 0s;
}

.aurora-wave-2 {
	top: 10%;
	left: -30%;
	background: linear-gradient(90deg,
			transparent 0%,
			rgba(59, 130, 246, 0.3) 25%,
			rgba(139, 92, 246, 0.4) 50%,
			rgba(168, 85, 247, 0.3) 75%,
			transparent 100%);
	animation-delay: -7s;
	animation-duration: 25s;
}

.aurora-wave-3 {
	top: 30%;
	left: -40%;
	background: linear-gradient(90deg,
			transparent 0%,
			rgba(168, 85, 247, 0.2) 30%,
			rgba(59, 130, 246, 0.3) 50%,
			rgba(99, 102, 241, 0.2) 70%,
			transparent 100%);
	animation-delay: -14s;
	animation-duration: 30s;
}

@keyframes auroraFlow {

	0%,
	100% {
		transform: translateX(-10%) rotate(-5deg) scale(1);
	}

	25% {
		transform: translateX(5%) rotate(-3deg) scale(1.05);
	}

	50% {
		transform: translateX(10%) rotate(0deg) scale(1.1);
	}

	75% {
		transform: translateX(0%) rotate(-2deg) scale(1.02);
	}
}

/* Floating Orbs */
.floating-orbs {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: -1;
	overflow: hidden;
	max-width: 100vw;
}

.orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(60px);
	opacity: 0.4;
	animation: orbFloat 25s ease-in-out infinite;
}

.orb-1 {
	width: 600px;
	height: 600px;
	top: 10%;
	right: -10%;
	background: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, transparent 70%);
	animation-delay: 0s;
}

.orb-2 {
	width: 500px;
	height: 500px;
	top: 50%;
	left: -5%;
	background: radial-gradient(circle, rgba(59, 130, 246, 0.35) 0%, transparent 70%);
	animation-delay: -8s;
	animation-duration: 30s;
}

.orb-3 {
	width: 400px;
	height: 400px;
	bottom: 10%;
	right: 20%;
	background: radial-gradient(circle, rgba(236, 72, 153, 0.25) 0%, transparent 70%);
	animation-delay: -15s;
	animation-duration: 35s;
}

.orb-4 {
	width: 300px;
	height: 300px;
	top: 30%;
	left: 30%;
	background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
	animation-delay: -5s;
	animation-duration: 28s;
}

@keyframes orbFloat {

	0%,
	100% {
		transform: translate(0, 0) scale(1);
	}

	25% {
		transform: translate(30px, -40px) scale(1.1);
	}

	50% {
		transform: translate(-20px, 30px) scale(0.95);
	}

	75% {
		transform: translate(40px, 20px) scale(1.05);
	}
}

/* Subtle Star Field */
.stars {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: -1;
	overflow: hidden;
	max-width: 100vw;
}

.star {
	position: absolute;
	width: 2px;
	height: 2px;
	background: white;
	border-radius: 50%;
	opacity: 0;
	animation: twinkle 4s ease-in-out infinite;
}

@keyframes twinkle {

	0%,
	100% {
		opacity: 0;
		transform: scale(0.5);
	}

	50% {
		opacity: 0.6;
		transform: scale(1);
	}
}

/* Scroll Progress Indicator */
.scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 3px;
	background: linear-gradient(90deg, #3b82f6, #a855f7, #ec4899);
	width: 0%;
	z-index: 9999;
	transition: width 0.1s ease-out;
}

.glass-panel {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
	backdrop-filter: blur(24px);
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 4px 40px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.glass-nav {
	background: rgba(3, 3, 3, 0.6);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-overlay {
	background: rgba(10, 10, 10, 0.85);
	backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, 0.15);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.text-gradient {
	background: linear-gradient(135deg, #FFF 30%, #a855f7 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.bg-grid {
	background-size: 60px 60px;
	background-image: linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
	mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
	will-change: transform;
	transition: transform 0.1s linear;
}

.chat-bubble {
	opacity: 0;
	animation: fadeInUp 0.5s ease-out forwards;
}

.delay-100 {
	animation-delay: 0.1s;
}

.delay-200 {
	animation-delay: 0.2s;
}

.delay-300 {
	animation-delay: 0.3s;
}

/* Timeline Line */
.timeline-line::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 20px;
	width: 2px;
	background: linear-gradient(to bottom, transparent, #3b82f6, #a855f7, transparent);
	z-index: 0;
}

/* Accordion */
.accordion-content {
	transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
	max-height: 0;
	overflow: hidden;
	opacity: 0;
}

.accordion-open .accordion-content {
	max-height: 500px;
	opacity: 1;
}

.accordion-icon {
	transition: transform 0.3s ease;
}

.accordion-open .accordion-icon {
	transform: rotate(180deg);
}

/* REVEAL ANIMATIONS (Fade Up) */
.reveal {
	opacity: 0;
	transform: translateY(40px);
	transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Horizontal Reveal (Timeline) */
.reveal-left {
	opacity: 0;
	transform: translateX(-80px);
	transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
	opacity: 0;
	transform: translateX(80px);
	transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active,
.reveal-right.active {
	opacity: 1;
	transform: translateX(0);
}

/* Hero Parallax Layers */
.parallax-layer {
	will-change: transform, opacity;
	transition: transform 0.1s linear;
	max-width: 100vw;
}

/* Hero Fade on Scroll */
.hero-content {
	will-change: transform, opacity;
	transition: transform 0.05s linear, opacity 0.05s linear;
}

/* 3D Tilt Effect */
.tilt-3d {
	will-change: transform, opacity;
	transform-style: preserve-3d;
}

/* Product Image Dramatic Zoom */
.dramatic-zoom {
	will-change: transform;
	transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Depth Parallax Cards */
.depth-card {
	will-change: transform;
	transition: transform 0.15s ease-out;
}

/* Floating Testimonial Cards */
.float-card {
	will-change: transform;
	transition: transform 0.2s ease-out;
}

/* Pricing Card Effects */
.pricing-card {
	will-change: transform;
	transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Zoom wrapper */
.zoom-wrapper {
	overflow: hidden;
}

.zoom-wrapper img {
	transition: transform 0.1s linear;
	will-change: transform;
	transform: scale(1);
}

.parallax-bg {
	will-change: transform;
}

/* Timeline Icon Animation */
.timeline-icon {
	will-change: transform;
	transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline-icon.active {
	transform: scale(1.2) rotate(360deg);
}

/* Smooth scroll-linked glow */
.glow-pulse {
	will-change: opacity, filter;
	transition: opacity 0.3s ease, filter 0.3s ease;
}

/* Back to Top Button */
.back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.6);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 99;
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.back-to-top:hover {
	background: rgba(168, 85, 247, 0.2);
	border-color: rgba(168, 85, 247, 0.4);
	color: #a855f7;
	transform: translateY(-3px);
	box-shadow: 0 8px 30px rgba(168, 85, 247, 0.2);
}

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

.back-to-top iconify-icon {
	font-size: 22px;
	transition: transform 0.3s ease;
}

.back-to-top:hover iconify-icon {
	transform: translateY(-2px);
}

@media (max-width: 768px) {
	.back-to-top {
		bottom: 20px;
		right: 20px;
		width: 44px;
		height: 44px;
	}
}

/* Theme Toggle Button */
.theme-toggle {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--glass-bg);
	border: 1px solid var(--border-color);
	color: var(--text-secondary);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.theme-toggle:hover {
	background: var(--bg-card-hover);
	border-color: var(--border-hover);
	color: var(--text-primary);
}

.theme-toggle iconify-icon {
	font-size: 18px;
	transition: transform 0.3s ease;
}

.theme-toggle:hover iconify-icon {
	transform: rotate(15deg);
}

/* Hide icons based on theme */
.theme-toggle .icon-sun {
	display: none;
}

.theme-toggle .icon-moon {
	display: block;
}

/* ============================================
   MOBILE HAMBURGER MENU
   ============================================ */
.hamburger {
	display: none;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--glass-bg);
	border: 1px solid var(--border-color);
	color: var(--text-primary);
	cursor: pointer;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

.hamburger:hover {
	background: var(--bg-card-hover);
	border-color: var(--border-hover);
}

.hamburger iconify-icon {
	font-size: 20px;
}

/* Mobile Menu Overlay */
.mobile-menu {
	position: fixed;
	top: 80px;
	left: 0;
	right: 0;
	background: var(--bg-primary);
	border-bottom: 1px solid var(--border-color);
	padding: 20px;
	z-index: 49;
	transform: translateY(-100%);
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	max-height: calc(100vh - 80px);
	overflow-y: auto;
}

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

.mobile-menu a {
	display: block;
	padding: 16px 20px;
	color: var(--text-secondary);
	font-size: 16px;
	font-weight: 500;
	border-radius: 12px;
	transition: all 0.2s ease;
}

.mobile-menu a:hover {
	background: var(--bg-card);
	color: var(--text-primary);
}

.mobile-menu .mobile-cta {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--border-color);
}

.mobile-menu .mobile-cta a {
	display: block;
	text-align: center;
	background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
	color: white !important;
	padding: 14px 20px;
	border-radius: 12px;
	font-weight: 600;
}

/* Show hamburger on mobile */
@media (max-width: 767px) {
	.hamburger {
		display: flex;
	}

	.desktop-cta {
		display: none !important;
	}

	.theme-toggle {
		width: 36px;
		height: 36px;
	}

	.theme-toggle iconify-icon {
		font-size: 16px;
	}
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast-container {
	position: fixed;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 9999;
	pointer-events: none;
}

.toast {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 24px;
	border-radius: 16px;
	font-size: 14px;
	font-weight: 500;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(20px);
	pointer-events: auto;
	transform: translateY(100px);
	opacity: 0;
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
	transform: translateY(0);
	opacity: 1;
}

.toast.success {
	background: linear-gradient(135deg, rgba(124, 58, 237, 0.95) 0%, rgba(168, 85, 247, 0.95) 100%);
	color: white;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.toast.error {
	background: linear-gradient(135deg, rgba(239, 68, 68, 0.95) 0%, rgba(220, 38, 38, 0.95) 100%);
	color: white;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.toast.chat-invite {
	background: linear-gradient(135deg, rgba(124, 58, 237, 0.5) 0%, rgba(168, 85, 247, 0.4) 100%);
	backdrop-filter: blur(30px) saturate(150%);
	-webkit-backdrop-filter: blur(30px) saturate(150%);
	color: white;
	border: 1px solid rgba(255, 255, 255, 0.2);
	cursor: pointer;
	box-shadow:
		0 8px 32px rgba(0, 0, 0, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.15),
		inset 0 0 20px rgba(168, 85, 247, 0.1);
}

.toast.chat-invite:hover {
	transform: translateY(-2px);
	background: linear-gradient(135deg, rgba(124, 58, 237, 0.6) 0%, rgba(168, 85, 247, 0.5) 100%);
	box-shadow:
		0 12px 40px rgba(168, 85, 247, 0.25),
		inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.toast iconify-icon {
	font-size: 22px;
}

.toast-close {
	margin-left: 8px;
	padding: 4px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	border: none;
	color: white;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
}

.toast-close:hover {
	background: rgba(255, 255, 255, 0.3);
}

.toast-close iconify-icon {
	font-size: 14px;
}

@media (max-width: 768px) {
	.toast-container {
		left: 16px;
		right: 16px;
		transform: none;
	}

	.toast {
		width: 100%;
		justify-content: center;
	}
}

/* ============================================
   PRODUCT ANNOTATION CARDS FIX
   ============================================ */

/* Base annotation card styles for dark theme */
#specs .glass-overlay {
	opacity: 0;
	transition: all 0.5s ease;
}

/* Show annotation cards on hover (dark theme) */
#specs .group:hover .glass-overlay {
	opacity: 1 !important;
}

/* Cascading Section Zoom/Fade Effects */
.section-fade {
	will-change: transform, opacity;
}

.section-fade-light {
	will-change: transform, opacity;
}

.section-fade-medium {
	will-change: transform, opacity;
}

/* ============================================
   CHATBOT WIDGET STYLES
   ============================================ */

/* Chat Toggle Button */
.chatbot-toggle {
	position: fixed;
	bottom: 100px;
	right: 30px;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: linear-gradient(135deg, rgba(124, 58, 237, 0.6) 0%, rgba(168, 85, 247, 0.5) 100%);
	backdrop-filter: blur(20px) saturate(150%);
	-webkit-backdrop-filter: blur(20px) saturate(150%);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: white;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	box-shadow:
		0 8px 32px rgba(168, 85, 247, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.2),
		inset 0 0 20px rgba(168, 85, 247, 0.1);
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.chatbot-toggle:hover {
	transform: scale(1.1);
	box-shadow: 0 8px 30px rgba(168, 85, 247, 0.5);
}

.chatbot-toggle iconify-icon {
	font-size: 28px;
	transition: transform 0.3s ease;
}

.chatbot-toggle.active iconify-icon {
	transform: rotate(90deg);
}

/* Chat Container */
.chatbot-container {
	position: fixed;
	bottom: 180px;
	right: 30px;
	width: 380px;
	max-width: calc(100vw - 40px);
	height: 500px;
	max-height: calc(100vh - 240px);
	border-radius: 24px;
	overflow: hidden;
	z-index: 999;
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px) scale(0.95);
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	display: flex;
	flex-direction: column;
	background: linear-gradient(180deg, rgba(30, 30, 40, 0.55) 0%, rgba(15, 15, 25, 0.65) 100%);
	backdrop-filter: blur(40px) saturate(150%);
	-webkit-backdrop-filter: blur(40px) saturate(150%);
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow:
		0 25px 80px rgba(0, 0, 0, 0.5),
		0 0 0 1px rgba(255, 255, 255, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 0.1),
		inset 0 0 20px rgba(168, 85, 247, 0.05);
}

.chatbot-container.active {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
}

/* Chat Header */
.chatbot-header {
	padding: 16px 20px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.chatbot-header-title {
	display: flex;
	align-items: center;
	gap: 10px;
}

.chatbot-header-title .avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}

.chatbot-header-title .avatar iconify-icon {
	font-size: 18px;
	color: white;
}

.chatbot-header-title h4 {
	font-size: 15px;
	font-weight: 600;
	color: white;
	margin: 0;
}

.chatbot-header-title span {
	font-size: 12px;
	color: #10b981;
}

.chatbot-close {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	border: none;
	color: #a1a1aa;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

.chatbot-close:hover {
	background: rgba(255, 255, 255, 0.15);
	color: white;
}

/* Chat Messages */
.chatbot-messages {
	flex: 1;
	overflow-y: auto;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.chatbot-messages::-webkit-scrollbar {
	width: 4px;
}

.chatbot-messages::-webkit-scrollbar-track {
	background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.2);
	border-radius: 10px;
}

/* DATA WIPE ANIMATION */
/* It fades in, stays visible, then blurs and fades out */
@keyframes ephemeralData {
	0% {
		opacity: 0;
		transform: translateY(10px);
		filter: blur(4px);
	}

	10% {
		opacity: 1;
		transform: translateY(0);
		filter: blur(0);
	}

	80% {
		opacity: 1;
		transform: translateY(0);
		filter: blur(0);
	}

	100% {
		opacity: 0;
		transform: translateY(-5px);
		filter: blur(10px);
	}
}

.chat-bubble {
	opacity: 0;
	/* Hidden by default */
}

/* The JS will add this class to trigger the cycle */
.chat-bubble.active {
	animation: ephemeralData 8s ease-in-out forwards;
}

.delay-100 {
	animation-delay: 0.5s;
}

.delay-200 {
	animation-delay: 1.5s;
}

.delay-300 {
	animation-delay: 3.0s;
}

.delay-400 {
	animation-delay: 4.5s;
}

/* Floating Animation */
@keyframes float {

	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-20px);
	}
}

.animate-float {
	animation: float 8s ease-in-out infinite;
}

.chat-message.user {
	flex-direction: row-reverse;
}

.chat-message .bubble {
	max-width: 80%;
	padding: 12px 16px;
	border-radius: 16px;
	font-size: 14px;
	line-height: 1.5;
}

.chat-message.bot .bubble {
	background: rgba(255, 255, 255, 0.08);
	color: #e4e4e7;
	border-bottom-left-radius: 4px;
}

.chat-message.user .bubble {
	background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
	color: white;
	border-bottom-right-radius: 4px;
}

/* Typing Indicator */
.typing-indicator {
	display: flex;
	gap: 4px;
	padding: 12px 16px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 16px;
	border-bottom-left-radius: 4px;
	width: fit-content;
}

.typing-indicator span {
	width: 8px;
	height: 8px;
	background: #a855f7;
	border-radius: 50%;
	animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
	animation-delay: 0s;
}

.typing-indicator span:nth-child(2) {
	animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
	animation-delay: 0.4s;
}

@keyframes typingBounce {

	0%,
	80%,
	100% {
		transform: scale(0.6);
		opacity: 0.4;
	}

	40% {
		transform: scale(1);
		opacity: 1;
	}
}

/* Chat Input */
.chatbot-input {
	padding: 16px 20px;
	background: rgba(255, 255, 255, 0.03);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	gap: 10px;
}

.chatbot-input input {
	flex: 1;
	padding: 12px 16px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: white;
	font-size: 14px;
	outline: none;
	transition: all 0.2s ease;
}

.chatbot-input input::placeholder {
	color: #71717a;
}

.chatbot-input input:focus {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(168, 85, 247, 0.5);
}

.chatbot-input button {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(124, 58, 237, 0.6) 0%, rgba(168, 85, 247, 0.5) 100%);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: white;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.chatbot-input button:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.chatbot-input button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}

.chatbot-input button iconify-icon {
	font-size: 20px;
}

/* Mobile Fullscreen Chatbot */
@media (max-width: 640px) {
	.chatbot-container {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		max-width: 100%;
		height: 100%;
		max-height: 100%;
		border-radius: 0;
		transform: translateY(100%);
	}

	.chatbot-container.active {
		transform: translateY(0);
	}

	.chatbot-header {
		padding: 16px 20px;
		padding-top: max(16px, env(safe-area-inset-top));
	}

	.chatbot-close {
		width: 40px;
		height: 40px;
	}

	.chatbot-input {
		padding-bottom: max(16px, env(safe-area-inset-bottom));
	}
}

/* ============================================
   LIGHT MODE SECTION FIXES
   ============================================ */

/* About Section - Light Mode */

/* About Section - Button Fix for Light Mode */

/* Industry Applications / Use Cases - Light Mode */

/* Stats Strip - Light Mode */

/* ============================================
   HERO & FOOTER - Keep Dark in Light Mode
   (These sections have dark backgrounds)
   ============================================ */

/* Hero Section - Keep white text in light mode */

/* Footer - Keep dark styling in light mode */

/* ============================================
   FLOATING MULTILINGUAL WORDS
   ============================================ */
.floating-words-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 1;
	overflow: hidden;
	max-width: 100vw;
}

.floating-word {
	position: absolute;
	color: var(--text-secondary);
	font-family: 'Playfair Display', serif;
	font-style: italic;
	white-space: nowrap;
	user-select: none;
	will-change: transform, opacity;
	animation: floatWord linear infinite;
}

@keyframes floatWord {
	0% {
		transform: translateY(100vh) scale(0.8);
		opacity: 0;
	}

	20% {
		opacity: 0.15;
	}

	80% {
		opacity: 0.15;
	}

	100% {
		transform: translateY(-100px) scale(1.1);
		opacity: 0;
	}
}

/* ============================================
   LIGHT THEME FIXES
   ============================================ */
/* Keep text white over images in Use Cases section */

/* ============================================
   MODERN GLASSMORPHISM UPDATE
   ============================================ */

/* Modern Glass Chat Toggle */
.chatbot-toggle {
	background: rgba(124, 58, 237, 0.25) !important;
	/* Much more transparent */
	backdrop-filter: blur(20px) saturate(180%) !important;
	-webkit-backdrop-filter: blur(20px) saturate(180%) !important;
	border: 1px solid rgba(255, 255, 255, 0.3) !important;
	box-shadow:
		0 8px 32px rgba(0, 0, 0, 0.2),
		inset 0 0 0 1px rgba(255, 255, 255, 0.1),
		inset 0 0 20px rgba(168, 85, 247, 0.2) !important;
}

.chatbot-toggle:hover {
	background: rgba(124, 58, 237, 0.4) !important;
	box-shadow:
		0 12px 40px rgba(168, 85, 247, 0.4),
		inset 0 0 0 1px rgba(255, 255, 255, 0.2),
		inset 0 0 30px rgba(168, 85, 247, 0.3) !important;
	transform: scale(1.1) rotate(5deg) !important;
}

/* Modern Glass Toast CTA */
.toast.chat-invite {
	background: rgba(15, 15, 25, 0.4) !important;
	/* Dark glass base */
	backdrop-filter: blur(24px) saturate(150%) !important;
	-webkit-backdrop-filter: blur(24px) saturate(150%) !important;
	border: 1px solid rgba(255, 255, 255, 0.15) !important;
	border-left: 4px solid #a855f7 !important;
	/* Purple accent line */
	box-shadow:
		0 20px 60px -10px rgba(0, 0, 0, 0.5),
		inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.toast.chat-invite:hover {
	background: rgba(20, 20, 35, 0.6) !important;
	transform: translateY(-4px) !important;
	border-color: rgba(168, 85, 247, 0.4) !important;
	box-shadow:
		0 25px 70px -10px rgba(168, 85, 247, 0.15),
		inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}