/* Base Styles */
body {
	font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
		sans-serif;
	scroll-behavior: smooth;
	position: relative;
	overflow-y: hidden; /* Prevent native body scroll */
}

body::before {
	content: "";
	position: fixed;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle at center, rgba(55, 55, 55, 0.1) 0%, rgba(0, 0, 0, 1) 50%);
	z-index: -1;
	pointer-events: none;
}

/* Background Ellipse */
body::after {
	content: "";
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80vw;
	height: 80vh;
	background: #4c4c4c;
	filter: blur(150px);
	opacity: 0.15;
	border-radius: 50%;
	z-index: -1;
	pointer-events: none;
}

* {
	font-family: "Poppins";
}

/* ... other styles ... */

/* NEWLY ADDED */

/* 1. Make the entire foreground container layer transparent to mouse events.
      This allows clicks/hovers to pass through to the Spline canvas behind it. */
.hero-foreground {
	pointer-events: none;
}

/* 2. Re-enable pointer events for the text and button container ONLY.
      This makes the text selectable and the button clickable again. */
.hero-text {
	pointer-events: auto;
}

/* Hero Section Background Spline */
#hero {
	position: relative; /* Needed for absolute positioning of background */
}

#hero-spline-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0; /* Behind other content */
	overflow: hidden; /* Add this to hide the part of the viewer that is pushed off-screen */
}

#hero-spline-background spline-viewer {
	/* Adjust width and position to shift the logo out of view */
	width: calc(100% + 150px); /* Make the viewer wider than its container */
	height: 100%;
	display: block;
	position: relative;
	left: 200px; /* Shift the viewer to the left, pushing the logo off the left edge */
}

/* NEWLY ADDED END */

/* Hero Section Background Spline */
/* #hero {
  position: relative; 
}

#hero-spline-background {
  position: absolute;
  top: 0;
  left: -100;
  width: 100%;
  height: 100%;
  z-index: 9999999;
}

#hero-spline-background spline-viewer {
  width: 100%;
  height: 100%;
  display: block; 
} */

/* --- NEW: CSS for enabling background interaction --- */
/* .hero-text {
  pointer-events: none;
} */

.hero-text a {
	/* Re-enables clicks specifically for links/buttons inside the text container */
	pointer-events: auto;
}
/* --- END NEW --- */

/* Hide the previous robot on desktop as the background is the new 3D element */
@media (min-width: 768px) {
	.hero-robot-container {
		display: none;
	}
}

/* Adjustments for mobile to ensure readability if the Spline scene is too busy */
@media (max-width: 767px) {
	#hero-spline-background {
		opacity: 0.6; /* Slightly dim the background on mobile if needed */
	}
}

/* ... other styles ... */

/* --- Full Page Scroll Styles --- */
#fullpage-container {
	height: 100vh;
	overflow-y: scroll;
	scroll-snap-type: y mandatory;
	scroll-behavior: smooth; /* Enhances JS-driven scrolls */
}

/* Hide scrollbar for all browsers */
#fullpage-container::-webkit-scrollbar {
	display: none;
}
#fullpage-container {
	-ms-overflow-style: none; /* IE and Edge */
	scrollbar-width: none; /* Firefox */
}

.section {
	max-width: 100vw;
	height: 100vh;
	width: 100vw;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-top: 6rem; /* Offset for header */
	padding-bottom: 2rem;
}

/* Navigation */

.nav-scrolled {
	background-color: transparent;
	backdrop-filter: saturate(180%) blur(8px);
	-webkit-backdrop-filter: saturate(180%) blur(8px);
}
.nav-container {
	background-color: #0d0d0d;
	border: 1px solid #2a2a2a;
}

.nav-link {
	position: relative;
	transition: all 0.3s ease;
}

.nav-link:hover:after {
	width: 100%;
}

/* Products Section Specifics */
.products-section {
	overflow: hidden;
}
@media (min-width: 1731px) {
	.our_services {
		margin: auto;
		justify-content: center;
	}
	.our_services .product-card:first-child {
		margin-left: unset;
	}
}
@media (max-width: 1730px) {
	.our_services .product-card:first-child {
		margin-left: 5% !important;
	}
}

@media (max-width: 768px) {
	.our_services .product-card:first-child {
		margin-left: 2% !important;
	}
	.our_services .product-card {
		min-width: 300px;
	}
}

@media (max-width: 560px) {
	.our_services .product-card:first-child {
		margin-left: 10px !important;
	}

	.our_services .product-card {
		min-width: 290px;
	}
}

.products-container {
	position: relative;
	width: 100%;
	z-index: 5;
}

.products-scroll {
	display: flex;
	gap: 1rem;
	padding: 1rem;
	overflow-x: auto;
	scroll-behavior: smooth;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.products-scroll::-webkit-scrollbar {
	display: none;
}

.product-card {
	flex: 0 0 auto;
	width: 350px;
	padding: 1.5rem 1.5rem;
	background-color: #0d0d0d;
	border: 1px solid #2a2a2a;
	border-radius: 1.5rem;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	position: relative;
	margin: 0 !important;
	overflow: hidden;
}

.product-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 6px 24px rgba(42, 42, 42, 0.3);
}

.icon {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #0d0d0d;
	border-radius: 12px;
	border: 1px solid #2a2a2a;
	transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease;
}

.navigation-buttons {
	display: flex;
	justify-content: center;
	gap: 0.3rem;
	margin-top: 2rem;
}

button.active-curr-btn,
button.currency_btn {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #0d0d0d;
	border: 1px solid #0d0d0d;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	transition: background-color 0.3s ease, transform 0.15s ease-out;
}

button.active-curr-btn {
	background-color: #fff;
	color: #0d0d0d;
}

.prev-btn,
.next-btn {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #0d0d0d;
	border: 1px solid #2a2a2a;
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.3s ease, transform 0.15s ease-out;
}

.prev-btn:hover,
.next-btn:hover {
	background-color: #2a2a2a;
}

.prev-btn:active,
.next-btn:active {
	transform: scale(0.9);
	background-color: rgba(255, 255, 255, 0.15);
}

/* Logo Styling */
.logo-text {
	letter-spacing: -0.05em;
}

/* Button Hover Effects */
a.bg-white,
button.bg-white {
	position: relative;
	transition: background-color 0.3s ease, transform 0.3s ease;
}

a.bg-white:hover,
button.bg-white:hover {
	background-color: rgba(255, 255, 255, 0.9);
}

a.bg-white svg,
button.bg-white svg {
	transition: transform 0.3s ease;
}

a.bg-white:hover svg,
button.bg-white:hover svg {
	transform: translateX(4px);
}

/* Mobile Menu */
.mobile-menu {
	transition: max-height 0.3s ease-out;
	max-height: 0;
	overflow: hidden;
}

.mobile-menu.show {
	max-height: 500px;
}

.mobile-menu-button {
	transition: opacity 0.3s ease;
}

.mobile-menu-button:hover {
	opacity: 0.8;
}

.product-header-text {
	z-index: 0;
	line-height: 80px;
}

/* Container for the Spline Robot in the Hero Section */
/* .hero-robot-container {
  position: relative;
  flex-grow: 1;
  min-height: 300px;
} */

/* Styling for the Spline Viewer (the robot) */
.robot-3d {
	position: absolute;
	z-index: 1;
	width: 1250px;
	height: 1050px;
	top: -100px;
	right: -500px;
}

@media (min-width: 1536px) {
	/* 2xl screens */
	.robot-3d {
		width: 1200px;
		height: 1200px;
		top: -160px;
		right: -400px;
	}
}

/* For tablets and smaller desktops */
@media (max-width: 1024px) {
	.robot-3d {
		width: 450px;
		height: 450px;
		top: -100px;
		right: -100px;
	}
}

/* For mobile screens */
@media (max-width: 767px) {
	.hero-robot-container {
		margin-top: 3rem;
		display: flex;
		justify-content: center;
		align-items: center;
		min-height: 320px;
		width: 100%;
	}

	.robot-3d {
		position: relative;
		width: 300px;
		height: 300px;
		top: auto;
		right: auto;
	}
}

/* Adjustments for hero text on desktop */
@media (min-width: 768px) {
	.hero-text {
		flex-basis: 50%;
		flex-shrink: 0;
		margin-right: 1rem;
	}

	.hero-robot-container {
		min-height: 500px;
	}
}

/* General Responsive Design */
@media (max-width: 768px) {
	/* md and below */
	main.section {
		align-items: center;
		text-align: center;
	}
	.hero-text h2 {
		font-size: 3.5rem;
	}
	.products-scroll {
		gap: 1rem;
	}
	.product-card {
		width: 260px;
	}
}

@media (max-width: 640px) {
	/* sm and below */
	.hero-text h2 {
		font-size: 2.75rem;
	}
}

@media (max-width: 480px) {
	/* xs */
	.hero-text h2 {
		font-size: 2.25rem;
	}
}

/* Border Beam for Product Cards */
.product-card::before {
	content: "";
	position: absolute;
	background: #b0b0b0;
	box-shadow: 0 0 4px rgba(176, 176, 176, 0.5), 0 0 6px rgba(176, 176, 176, 0.3);
	z-index: 1;
	opacity: 0;
	top: 0;
	left: 0;
	width: 0;
	height: 2px;
	transition: opacity 0.3s ease-out;
	animation: none;
}

/* Hide Spline Logo */
spline-viewer::shadow #logo {
	visibility: hidden !important;
}

/* NEW: Enhanced Scroll Reveal Animations */
.reveal-on-scroll {
	opacity: 0;
	transition-property: opacity, transform;
	transition-duration: 0.8s;
	transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
	transition-delay: 0s;
}

.reveal-on-scroll.is-visible {
	opacity: 1;
	transform: none !important;
}

.reveal-slide-up {
	transform: translateY(40px);
}
.reveal-slide-left {
	transform: translateX(-40px);
}
.reveal-slide-right {
	transform: translateX(40px);
}
.reveal-zoom-in {
	transform: scale(0.92);
}

/* Optional: Subtle Shine Sweep on CTA Buttons */
a.cta-button-shine {
	position: relative;
	overflow: hidden;
	z-index: 1;
	width: fit-content;
}

a.cta-button-shine::before {
	content: "";
	position: absolute;
	top: 0;
	left: -120%;
	width: 80%;
	height: 100%;
	background-image: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
	transform: skewX(-25deg);
	transition: left 0.65s cubic-bezier(0.23, 1, 0.32, 1);
	z-index: -1;
}

a.cta-button-shine:hover::before {
	left: 120%;
}

/* Animated Background for the Lyra Mission Section */
#lyra-mission-section {
	position: relative;
	overflow: hidden;
}

#lyra-mission-section > .container {
	position: relative;
	z-index: 1;
}

#lyra-mission-section::before,
#lyra-mission-section::after {
	content: "";
	position: absolute;
	width: 200%;
	height: 200%;
	left: -50%;
	top: -50%;
	border-radius: 50%;
	opacity: 0;
	filter: blur(80px);
	z-index: 0;
	transform-origin: 50% 50%;
}

#lyra-mission-section::before {
	background: radial-gradient(circle, rgba(0, 122, 255, 0.25) 0%, rgba(0, 122, 255, 0) 65%);
	animation: auroraEffectOne 25s infinite alternate ease-in-out;
}

#lyra-mission-section::after {
	background: radial-gradient(circle, rgba(120, 0, 220, 0.2) 0%, rgba(120, 0, 220, 0) 65%);
	animation: auroraEffectTwo 30s infinite alternate ease-in-out;
	animation-delay: -10s;
}

@keyframes auroraEffectOne {
	0% {
		transform: translate(0%, 0%) scale(0.8) rotate(0deg);
		opacity: 0.15;
	}
	50% {
		transform: translate(15%, -10%) scale(1.2) rotate(50deg);
		opacity: 0.3;
	}
	100% {
		transform: translate(-10%, 10%) scale(0.9) rotate(-25deg);
		opacity: 0.2;
	}
}

@keyframes auroraEffectTwo {
	0% {
		transform: translate(0%, 0%) scale(0.9) rotate(0deg);
		opacity: 0.1;
	}
	50% {
		transform: translate(-12%, 15%) scale(1.3) rotate(-40deg);
		opacity: 0.25;
	}
	100% {
		transform: translate(10%, -5%) scale(1) rotate(30deg);
		opacity: 0.15;
	}
}

#interactive-keywords-section {
	/* styles are in tailwind */
}

#matter-canvas-container {
	/* styles are inline */
}

#matter-canvas-container canvas {
	display: block;
	border-radius: 0.5rem;
}

spline-viewer {
	--logo-display: none !important;
}

spline-viewer::shadow #logo {
	display: none !important;
}

/* --- NEW: Word Highlight Animation Styles --- */
#mission .product-header-text {
	/* Ensure the container has a clear position context if needed */
	position: relative;
}

#mission .product-header-text .word {
	color: #2a2a2a; /* Default word color */
	transition: color 0.4s ease-in-out;
	display: inline-block; /* Ensures proper rendering */
}

#mission .product-header-text .word.is-highlighted {
	color: #ffffff; /* Highlighted word color */
}
/* --- END NEW --- */

/* Animated Background for the Lyra Mission Section */
#mission {
	/* Note: The ID in the HTML is #mission. Assuming this was a typo and targeting #mission. */
	position: relative;
	overflow: hidden;
}

.text_gray {
	color: #767676;
}

.text_12px {
	font-size: 12px;
}

.text_14px {
	font-size: 14px;
}

.font_400 {
	font-weight: 400;
}

.leading_normal {
	line-height: 28px;
}

.currency {
	background-color: #212121;
	border-radius: 5px;
	border: 1px solid #2a2a2a;
	padding: 0.2rem 0.5rem;
	font-size: 14px;
	font-weight: 500;
}

.currency_group {
	background-color: #0d0d0d;
	border: 1px solid #2a2a2a;
	border-radius: 50px;
	width: fit-content;
	margin: 1.8rem auto 1rem;
	padding: 0.6rem;
}

.currency_group button {
	border: 0;
}

form.contact_us input,
form.contact_us textarea {
	background-color: #0d0d0d;
	border: 1px solid #2a2a2a;
	height: 42px;
	border-radius: 50px;
	font-size: 16px;
	line-height: 24px;
	padding: 0px 1rem;
	color: #fff;
}

form.contact_us input::placeholder,
form.contact_us textarea::placeholder {
	color: white;
}
form.contact_us textarea {
	height: unset;
	border-radius: 10px;
	padding: 1rem;
}

form.contact_us input:focus,
form.contact_us textarea:focus {
	outline: #fff;
	border: 1px solid #fff;
}
form.contact_us button {
	height: 42px;
	width: fit-content;
	margin: auto;
	display: flex;
	background-color: white;
	color: #000;
	border-radius: 0;
	align-items: center;
	margin-bottom: 50px;
}

.footer_links {
	background-color: #0d0d0d;
	border: 1px solid #2a2a2a;
	height: 42px;
	border-radius: 50px;
	padding: 2rem;
}

.footer_links a {
	font-size: 14px;
}

section#contact {
	height: unset;
}

.footer_bottom {
	margin-top: 100px;
	border-top: 1px solid #3a3436;
	padding: 2rem 0;
}

.pricing_scroll {
	flex-direction: row;
}

@media (max-width: 768px) {
	.footer_links {
		height: unset;
		width: unset;
		padding: 0;
		margin: 0;
		background-color: transparent;
		border: none;
	}

	.product-header-text {
		font-size: 32px;
		line-height: 48px;
	}

	.info_card_details {
		min-width: 280px;
	}

	p {
		font-size: 14px;
	}
}
.product-card:hover .hover_effect {
	opacity: 1;
}

.product-card {
	position: relative;
}

.product-card .hover_effect {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 0%;
	width: 100%;
	height: 100%;
	background: radial-gradient(50% 50% at 50% 50%, #ffffff35, #fcfafa15);
	border-radius: 50%;
	opacity: 0;
	transform: translate(-50%, -50%);
	filter: blur(5rem);
	pointer-events: none;
	transition: opacity 0.5s;
}

.bg-dark {
	background-color: #020202;
}
