/* ============================================
   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);
}

/* Light Theme */
html.light {
	--bg-primary: #ffffff;
	--bg-secondary: #f8fafc;
	--bg-tertiary: #f1f5f9;
	--bg-card: rgba(0, 0, 0, 0.02);
	--bg-card-hover: rgba(0, 0, 0, 0.04);
	--text-primary: #0f172a;
	--text-secondary: #475569;
	--text-muted: #94a3b8;
	--border-color: rgba(0, 0, 0, 0.08);
	--border-hover: rgba(0, 0, 0, 0.15);
	--glass-bg: rgba(255, 255, 255, 0.7);
	--glass-border: rgba(0, 0, 0, 0.08);
	--nav-bg: rgba(255, 255, 255, 0.8);
	--shadow-color: rgba(0, 0, 0, 0.1);
	--accent-glow: rgba(168, 85, 247, 0.15);
}

/* 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;
}

html.light .theme-toggle .icon-sun {
	display: block;
}

html.light .theme-toggle .icon-moon {
	display: none;
}

/* ============================================
   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;
}

.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;
    }
}

/* Light theme specific overrides */
html.light .glass-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    border-color: var(--border-color);
    box-shadow: 0 4px 40px var(--shadow-color);
}

html.light .glass-nav {
    background: var(--nav-bg);
    border-bottom-color: var(--border-color);
}

html.light .glass-overlay {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--border-color);
}

html.light .text-white {
    color: var(--text-primary);
}

html.light .text-neutral-400,
html.light .text-neutral-500 {
    color: var(--text-secondary);
}

html.light .text-neutral-300 {
    color: var(--text-secondary);
}

html.light .bg-neutral-900\/50,
html.light .bg-neutral-900\/30 {
    background-color: var(--bg-secondary);
}

html.light .border-white\/5,
html.light .border-white\/10 {
    border-color: var(--border-color);
}

html.light .bg-white\/5,
html.light .bg-white\/\[0\.02\],
html.light .bg-white\/\[0\.03\] {
    background-color: var(--bg-card);
}

/* Light theme backgrounds */
html.light .aurora-bg,
html.light .floating-orbs {
    opacity: 0.3;
}

html.light .stars {
    display: none;
}

html.light .bg-grid {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

html.light .noise-overlay {
    opacity: 0.015;
}

/* Light theme specific text */
html.light h1,
html.light h2,
html.light h3,
html.light h4 {
    color: var(--text-primary);
}

html.light p {
    color: var(--text-secondary);
}

html.light .scroll-progress {
    background: linear-gradient(90deg, #7c3aed, #a855f7, #ec4899);
}

/* Light theme - Demo Panel */
html.light .bg-\[#0a0a0a\] {
    background-color: #f8fafc;
}

html.light .bg-\[\#050505\]\/60 {
    background-color: rgba(248, 250, 252, 0.9);
}

/* Light theme - Pricing Cards */
html.light .pricing-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--border-color);
}

html.light .pricing-card.bg-neutral-900 {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
}

html.light .pricing-card h3,
html.light .pricing-card span {
    color: inherit;
}

/* Light theme - Timeline */
html.light .timeline-line::before {
    background: linear-gradient(to bottom, transparent, #3b82f6, #a855f7, transparent);
}

html.light .timeline-icon {
    background: white;
    border-color: var(--border-color);
}

/* Light theme - Accordions */
html.light .accordion-content {
    background-color: var(--bg-secondary);
}

html.light #acc-1,
html.light #acc-2,
html.light #acc-3 {
    background: white;
    border-color: var(--border-color);
}

/* Light theme - Form inputs */
html.light input,
html.light textarea,
html.light select {
    background-color: white !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}

html.light input::placeholder,
html.light textarea::placeholder {
    color: var(--text-muted) !important;
}

html.light select option {
    background-color: white;
    color: var(--text-primary);
}

/* Light theme - Contact info cards */
html.light .bg-blue-500\/10,
html.light .bg-purple-500\/10,
html.light .bg-green-500\/10 {
    background-color: rgba(59, 130, 246, 0.1);
}

/* Light theme - Footer */
html.light footer {
    background-color: var(--bg-secondary);
    border-top-color: var(--border-color);
}

html.light footer a,
html.light footer p,
html.light footer span {
    color: var(--text-secondary);
}

html.light footer h4 {
    color: var(--text-primary);
}

/* Light theme - Testimonial cards */
html.light .float-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--border-color);
}

html.light .float-card p {
    color: var(--text-secondary);
}

/* Light theme - Product specs section */
html.light .bg-neutral-800 {
    background-color: var(--bg-tertiary);
}

/* Light theme - Chat bubbles in demo */
html.light .chat-bubble .bg-neutral-800 {
    background-color: var(--bg-tertiary);
    border-color: var(--border-color);
}

html.light .chat-bubble .text-neutral-300 {
    color: var(--text-secondary);
}

/* Light theme - Buttons */
html.light .border-white\/10 {
    border-color: var(--border-color);
}

html.light .hover\:bg-white\/5:hover {
    background-color: var(--bg-card-hover);
}

/* Light theme - Back to top button */
html.light .back-to-top {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--border-color);
    color: var(--text-secondary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

html.light .back-to-top:hover {
    background: rgba(168, 85, 247, 0.1);
    color: #7c3aed;
}

/* Light theme - Risk-free section */
html.light .bg-white.text-black {
    background-color: var(--bg-tertiary);
}

/* Light theme - Start Pilot Program button */
html.light a[href="#contact"].bg-black {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

html.light a[href="#contact"].bg-black:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #9333ea 100%);
    box-shadow: 0 6px 30px rgba(124, 58, 237, 0.5);
}

/* Light theme - Iconify icons */
html.light .text-neutral-600 {
    color: var(--text-muted);
}

html.light .text-neutral-500 iconify-icon {
    color: var(--text-muted);
}

/* Light theme - List items */
html.light li {
    color: var(--text-secondary);
}

html.light .text-sm.text-neutral-300,
html.light .text-sm.text-white {
    color: var(--text-secondary);
}

/* Light theme - Featured pricing card keeps dark bg */
html.light [data-featured="true"] {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%) !important;
}

html.light [data-featured="true"] h3,
html.light [data-featured="true"] p,
html.light [data-featured="true"] span,
html.light [data-featured="true"] li,
html.light [data-featured="true"] strong {
    color: white !important;
}

html.light [data-featured="true"] .text-purple-400 {
    color: #c4b5fd !important;
}

/* Light theme - Hero badge */
html.light .bg-white\/5 {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Light theme - "Get Started" button in nav should stay visible */
html.light nav a.bg-white.text-black {
    background-color: #1e1b4b !important;
    color: white !important;
    box-shadow: 0 0 20px rgba(30, 27, 75, 0.3);
}

html.light nav a.bg-white.text-black:hover {
    background-color: #312e81 !important;
}

/* Light theme - Mobile menu */
html.light .mobile-menu {
    background: var(--bg-primary);
    border-color: var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

html.light .mobile-menu a {
    color: var(--text-secondary);
}

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

html.light .hamburger {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

html.light .hamburger:hover {
    background: var(--bg-tertiary);
}

/* Light theme - Form panel */
html.light .glass-panel input,
html.light .glass-panel textarea,
html.light .glass-panel select {
    background-color: var(--bg-secondary) !important;
}

/* Light theme - Section title colors */
html.light .text-gradient {
    background: linear-gradient(135deg, #7c3aed 30%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Light theme - Two screens section */
html.light .hover\:border-blue-500\/30:hover,
html.light .hover\:border-purple-500\/30:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

/* Light theme - Quote icons */
html.light .text-purple-400.opacity-50,
html.light .text-blue-400.opacity-50,
html.light .text-pink-400.opacity-50 {
    opacity: 0.7;
}

/* ============================================
   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;
}

/* Light theme - Product annotation cards background and text */
html.light #specs .glass-overlay {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
}

html.light #specs .group:hover .glass-overlay {
    opacity: 1 !important;
}

/* Light theme - Annotation text colors */
html.light .glass-overlay.text-blue-100,
html.light #specs .glass-overlay.text-blue-100 {
    color: #1e40af !important;
}

html.light .glass-overlay.text-purple-100,
html.light #specs .glass-overlay.text-purple-100 {
    color: #6b21a8 !important;
}

html.light .glass-overlay.text-green-100,
html.light #specs .glass-overlay.text-green-100 {
    color: #166534 !important;
}

html.light .glass-overlay .text-blue-300,
html.light #specs .glass-overlay .text-blue-300 {
    color: #3b82f6 !important;
}

html.light .glass-overlay .text-purple-300,
html.light #specs .glass-overlay .text-purple-300 {
    color: #a855f7 !important;
}

html.light .glass-overlay .text-green-300,
html.light #specs .glass-overlay .text-green-300 {
    color: #22c55e !important;
}

/* Light theme - Contact section icons background */
html.light .bg-blue-500\/10 {
    background-color: rgba(59, 130, 246, 0.15);
}

html.light .bg-purple-500\/10 {
    background-color: rgba(168, 85, 247, 0.15);
}

html.light .bg-green-500\/10 {
    background-color: rgba(34, 197, 94, 0.15);
}

/* Light theme - Contact card text */
html.light .text-white.font-medium {
    color: var(--text-primary);
}

/* 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;
}

.chat-message {
    display: flex;
    gap: 10px;
    opacity: 0;
    animation: chatFadeIn 0.3s ease forwards;
}

@keyframes chatFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.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;
}

/* Light Theme */
html.light .chatbot-container {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
    border-color: rgba(0, 0, 0, 0.1);
}

html.light .chatbot-header {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.01) 100%);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

html.light .chatbot-header-title h4 {
    color: var(--text-primary);
}

html.light .chat-message.bot .bubble {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
}

html.light .chatbot-input input {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
}

html.light .chatbot-input input::placeholder {
    color: var(--text-muted);
}
/* ============================================
   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 Adjustments for Words */
html.light .floating-word {
    color: var(--text-primary);
    opacity: 0.08 !important; /* Slightly more subtle in light mode */
}
