:root {
	--bg: #070a12;
	--surface: rgba(255, 255, 255, 0.08);
	--surface-strong: rgba(255, 255, 255, 0.14);
	--text: #e9eff9;
	--accent: #00d4ff;
	--accent-2: #9b5cff;
	--border: rgba(255, 255, 255, 0.18);
	--shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
	--radius: 18px;
	font-size: 16px;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 80px; /* Accounts for the sticky header height */
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	min-height: 100vh;
	background: radial-gradient(circle at 20% 10%, rgba(0, 212, 255, 0.25), transparent 55%),
		radial-gradient(circle at 80% 25%, rgba(155, 92, 255, 0.22), transparent 55%),
		var(--bg);
	color: var(--text);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
	color: inherit;
	text-decoration: none;
}

.glass-header {
	position: sticky;
	top: 0;
	width: 100%;
	backdrop-filter: blur(16px);
	background: var(--surface);
	border-bottom: 1px solid var(--border);
	z-index: 10;
}

.header-inner {
	max-width: 1120px;
	margin: 0 auto;
	padding: 1.2rem 1.4rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	font-size: 1.5rem;
}

.logo {
	width: 42px;
	height: 42px;
	object-fit: contain;
	border-radius: 12px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.nav-links {
	display: flex;
	gap: 1.5rem;
	align-items: center;
}

.nav-links a {
	color: rgba(233, 239, 249, 0.7);
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
	font-size: 0.95rem;
}

.nav-links a:not(.nav-btn):hover {
	color: var(--accent);
}

.nav-btn {
	padding: 0.6rem 1.2rem;
	border-radius: 20px;
	font-size: 0.85rem !important;
	font-weight: 700 !important;
}

.nav-btn-primary {
	background: var(--accent);
	color: #000 !important;
	box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.nav-btn-primary:hover {
	background: #00e0ff;
	transform: translateY(-1px);
}

.nav-btn-secondary {
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.05);
}

.nav-btn-secondary:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.4);
	transform: translateY(-1px);
}

.main-content {
	min-height: calc(100vh - 250px);
	padding: 3rem 1rem;
}

.hero {
	max-width: 1280px;
	margin: 0 auto 4rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 75vh;
	text-align: left;
	gap: 2rem;
	padding: 0 1rem;
}

.hero-text {
	flex: 1;
	max-width: 600px;
}

.hero-visual {
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 400px;
	background: radial-gradient(circle at center, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
	border-radius: var(--radius);
	border: 1px dashed rgba(255, 255, 255, 0.15);
}

.hero-text h1 {
	font-size: clamp(3rem, 5vw, 4.5rem);
	line-height: 1.1;
	font-weight: 800;
	margin-bottom: 0.5rem;
	display: flex;
	align-items: center;
	gap: 1.2rem;
	flex-wrap: wrap;
}

.mark2 {
	font-size: 0.22em;
	font-style: normal;
	opacity: 0.9;
	color: var(--accent);
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 4px 10px;
	background: rgba(0, 212, 255, 0.1);
	border-radius: 20px;
	border: 1px solid rgba(0, 212, 255, 0.3);
	margin-top: 0.25em;
}

.gradient-line {
	height: 8px;
	width: 240px;
	background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent));
	background-size: 200% auto;
	border-radius: 4px;
	margin: 1.5rem 0;
	animation: gradient-flow 3s linear infinite;
}

@keyframes gradient-flow {
	0% {
		background-position: 0% center;
	}

	100% {
		background-position: 200% center;
	}
}

.subtitle {
	font-size: 1.3rem;
	color: rgba(233, 239, 249, 0.85);
	font-weight: 400;
	line-height: 1.6;
	font-style: italic;
}

.hero-actions {
	display: flex;
	gap: 1.2rem;
	margin-top: 2.2rem;
	align-items: center;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 2rem;
	font-size: 1.05rem;
	font-weight: 600;
	border-radius: 30px;
	transition: all 0.3s ease;
	cursor: pointer;
	letter-spacing: 0.02em;
	text-decoration: none;
}

.btn-primary {
	background: var(--accent);
	color: #000;
	border: 1px solid var(--accent);
	box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
	background: #00e0ff;
	transform: translateY(-2px);
	box-shadow: 0 6px 25px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
	background: transparent;
	color: var(--text);
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.5);
	transform: translateY(-2px);
}

.section-actions {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1.5rem;
	padding: 1.5rem 0;
	margin-top: 1rem;
	flex-wrap: wrap;
}

.hero-quote {
	margin-top: 1.8rem;
	padding-left: 1.2rem;
	border-left: 3px solid var(--accent);
	font-size: 1.05rem;
	font-style: italic;
	color: rgba(233, 239, 249, 0.65);
	line-height: 1.7;
	max-width: 480px;
}

.features {
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1.5rem;
	padding: 0 1rem;
}

.feature-card {
	padding: 2rem 1.5rem;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.04);
	backdrop-filter: blur(18px);
	box-shadow: var(--shadow);
	transform-style: preserve-3d;
	perspective: 1200px;
	transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	min-height: 240px;
}

.feature-card:hover {
	transform: translateY(-5px);
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(0, 212, 255, 0.4);
}

.feature-icon {
	width: 48px;
	height: 48px;
	margin-bottom: 1.2rem;
	color: var(--accent);
}

.feature-card h3 {
	font-size: 1.15rem;
	margin-bottom: 0.75rem;
	color: #fff;
	font-weight: 600;
	line-height: 1.3;
}

.feature-card p {
	line-height: 1.5;
	opacity: 0.75;
	font-size: 0.85rem;
}

/* Content Split Sections (Zigzag) */
.content-section {
	max-width: 1200px;
	margin: 6rem auto 3rem;
	padding: 0 1rem;
}

.content-inner {
	display: flex;
	align-items: center;
	gap: 4rem;
}

.content-inner.reverse-layout {
	flex-direction: row-reverse;
}

.content-visual {
	flex: 1.4;
	aspect-ratio: 16 / 9;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.04);
	backdrop-filter: blur(18px);
	box-shadow: var(--shadow);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	transform-style: preserve-3d;
	perspective: 1200px;
	transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
	cursor: pointer;
}

.content-visual:hover {
	transform: translateY(-5px);
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(0, 212, 255, 0.4);
}

.content-text {
	flex: 1;
}

.content-text h2 {
	font-size: 2.8rem;
	font-weight: 800;
	margin-bottom: 0.2rem;
}

.content-text p {
	font-size: 1.1rem;
	line-height: 1.7;
	color: rgba(233, 239, 249, 0.85);
	margin-bottom: 1.2rem;
}

.content-text strong {
	color: var(--accent);
}

/* Separator Divider */
.divider-container {
	max-width: 1200px;
	margin: 3rem auto;
	padding: 0 1rem;
	display: flex;
	justify-content: center;
}

.section-divider {
	height: 1px;
	width: 100%;
	background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.4), transparent);
}

/* Sensors section */
.sensors-section {
	max-width: 1200px;
	margin: 0 auto 4rem;
	padding: 0 1rem;
}

.sensors-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin-bottom: 2rem;
}

.sensors-header h2 {
	font-size: 2.8rem;
	font-weight: 800;
	margin-bottom: 0.2rem;
}

.sensors-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.2rem;
}

.sensors-grid .feature-card {
	min-height: 130px;
	padding: 1.2rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.sensors-grid .feature-icon {
	width: 36px;
	height: 36px;
	margin-bottom: 0.5rem;
}

.sensors-grid h3 {
	font-size: 1rem;
	margin-bottom: 0;
	line-height: 1.2;
}

/* Actuators use 3-column layout with wider cards */
.actuators-grid {
	grid-template-columns: repeat(3, 1fr);
}

/* Footer should remain a standard footer section, no 3D card styling */
.page-footer {
	padding-top: 2.4rem;
}

/* Footer */
.page-footer {
	padding: 4rem 1rem;
	text-align: center;
}

.footer-bottom {
	max-width: 1200px;
	margin: 0 auto;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: rgba(233, 239, 249, 0.6);
	font-size: 0.95rem;
}

/* Testimonials */
.testimonials-section {
	max-width: 1200px;
	margin: 0 auto 1rem;
	padding: 0 1rem;
}

.testimonials-section .sensors-header {
	margin-bottom: 0.5rem;
}

.carousel-container {
	position: relative;
	width: 100%;
	max-width: 850px;
	margin: 0 auto;
	overflow: hidden; /* Prevent horizontal page scroll */
	padding: 0.5rem 0; /* Minimized space for 3D tilt pop-out */
}

.carousel-track {
	display: flex;
	transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.testimonial-card-wrapper {
	min-width: 100%;
	display: flex;
	justify-content: center;
	padding: 0.5rem; /* Minimized padding to reduce gap */
	box-sizing: border-box;
}

.testimonial-card {
	background: rgba(255, 255, 255, 0.03);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius);
	padding: 3rem 2rem;
	text-align: center;
	max-width: 600px;
	width: 100%;
	position: relative;
}

.testimonial-quote {
	font-size: 1.2rem;
	line-height: 1.6;
	font-style: italic;
	color: var(--text);
	margin-bottom: 1.5rem;
}

.testimonial-author {
	color: var(--accent);
	font-weight: 700;
	font-size: 1.1rem;
}

.testimonial-avatar {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	object-fit: cover;
	margin: 0 auto 1.5rem;
	border: 2px solid rgba(0, 212, 255, 0.3);
	background: rgba(255, 255, 255, 0.05); /* Placeholder */
}

.carousel-nav {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-top: 1rem;
}

.nav-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	cursor: pointer;
	transition: background 0.3s ease;
}

.nav-dot.active {
	background: var(--accent);
}

/* Questions Section */
.questions-section {
	max-width: 1200px;
	margin: 0 auto 4rem;
	text-align: center;
	padding: 1rem 1rem 3rem;
}

.questions-section h2 {
	font-size: 2.8rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	margin-bottom: 2rem;
	background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.6));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.whatsapp-btn {
	display: inline-flex;
	align-items: center;
	padding: 1rem 2.5rem;
	background: #25D366; /* WhatsApp Green */
	color: #fff;
	font-weight: 700;
	border-radius: 40px;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
	filter: brightness(1.1);
}



/* Electron Canvas */
#electron-canvas {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	pointer-events: none;
	z-index: 9999;
}

@media (max-width: 1200px) {
	.features {
		grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	}
}

@media (max-width: 900px) {
	.hero {
		flex-direction: column;
		min-height: auto;
		text-align: center;
		padding-top: 2rem;
		margin-bottom: 2rem;
	}

	.hero-text {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.features {
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	}

	.content-inner, .content-inner.reverse-layout {
		flex-direction: column;
		padding: 2.5rem 1.5rem;
		gap: 2.5rem;
	}

	.content-visual {
		width: 100%;
		flex: none;
	}

	.content-text h2 {
		font-size: 2.2rem;
	}

	.sensors-header h2 {
		font-size: 2.2rem;
	}

	.sensors-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.nav-links {
		display: none;
	}
}

@media (max-width: 600px) {
	.sensors-grid {
		grid-template-columns: 1fr;
	}
}