:root {
	--primary: #00eaff;
	--primary-glow: #00eaff88;
	--bg: #0d1117;
	--card-bg: rgba(15, 22, 35, 0.7);
	--text: #f0f6fc;
	--text-secondary: #8b949e;
	--border: rgba(0, 234, 255, 0.15);
	--check: #00eaff;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }

header {
	position: sticky; top: 0; width: 100%; padding: 1.5rem 5%; display: flex; justify-content: space-between; align-items: center;
	backdrop-filter: blur(20px); background: rgba(13, 17, 23, 0.8); border-bottom: 1px solid var(--border); z-index: 1000;
}
.logo { font-size: 2rem; font-weight: 800; color: var(--primary); text-decoration: none; }
.logo-img { max-width: 70px; height: auto; vertical-align: bottom; margin-right: 0px; }

.nav-desktop { display: flex; align-items: center; gap: 2.5rem; }
.nav-desktop ul { display: flex; gap: 2.5rem; list-style: none; }
.nav-desktop a { color: var(--text-secondary); text-decoration: none; font-weight: 500; transition: color 0.3s; position: relative; }
.nav-desktop a:hover { color: var(--primary); }

.dropdown { position: relative; }
.dropdown-content {
	display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
	background: rgba(13, 17, 23, 0.95); backdrop-filter: blur(20px); min-width: 220px; border-radius: 12px;
	border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(0,0,0,0.5); padding: 1rem 0; opacity: 0; visibility: hidden; transition: all 0.3s;
}
.dropdown:hover .dropdown-content { display: block; opacity: 1; visibility: visible; }
.dropdown-content a { display: block; padding: 0.8rem 1.5rem; white-space: nowrap; }
.dropdown-content a:hover { background: rgba(0, 234, 255, 0.1); }

.hamburger { display: none; font-size: 1.8rem; color: var(--text); cursor: pointer; }

.nav-mobile {
	position: fixed; top: 0; right: -100%; width: 300px; height: 100%; background: rgba(13, 17, 23, 0.98);
	backdrop-filter: blur(20px); padding: 6rem 2rem 2rem; transition: right 0.4s ease; z-index: 999; overflow-y: auto;
}
.nav-mobile.active { right: 0; }
.nav-mobile ul { list-style: none; }
.nav-mobile > ul > li > a { display: block; padding: 1.2rem 0; color: var(--text); font-size: 1.2rem; text-decoration: none; border-bottom: 1px solid var(--border); }
.nav-mobile > ul > li > a:hover { color: var(--primary); }

/* Exit Intent Popup */
#exit-popup { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); display: none; align-items: center; justify-content: center; z-index: 1001; }
#exit-popup.active { display: flex; }
.popup-content { background: var(--card-bg); padding: 2rem; border-radius: 20px; max-width: 500px; text-align: center; }

/* Default desktop table */
.comparison-table {
	width: 100%;
	border-collapse: collapse;
	margin: 3rem 0;
}

/* Feature Comparison Table */
.comparison-table { width: 100%; border-collapse: collapse; margin: 3rem 0; }
.comparison-table th, .comparison-table td { padding: 1.2rem; text-align: left; border-bottom: 1px solid var(--border); }
.comparison-table th { background: rgba(0,234,255,0.1); font-weight: 700; }
.comparison-table .check { color: var(--check); font-size: 1.4rem; }
.comparison-table .cross { color: #777; }
.comparison-table .popular { background: rgba(0,234,255,0.15); }

/* Mobile: Stack rows into block layout */
@media (max-width: 768px) {
	.comparison-table,
	.comparison-table thead,
	.comparison-table tbody,
	.comparison-table th,
	.comparison-table td,
	.comparison-table tr {
		display: block;
	}

	/* Hide table headers on mobile (feature name will be shown via ::before) */
	.comparison-table thead tr {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}

	/* Each row becomes a "card" */
	.comparison-table tr {
		border: 1px solid var(--border);
		border-radius: 12px;
		margin-bottom: 1.5rem;
		padding: 1rem;
		background: rgba(15, 22, 35, 0.5);
	}

	/* Cells stack vertically */
	.comparison-table td {
		border: none;
		border-bottom: 1px solid var(--border);
		padding: 0.8rem 0;
		position: relative;
		padding-left: 50%;  /* Make room for label */
		text-align: right;
	}

	/* Feature name as pseudo-label on left */
	.comparison-table td::before {
		content: attr(data-label);
		position: absolute;
		left: 0;
		width: 50%;
		padding-left: 1rem;
		font-weight: 600;
		color: var(--primary);
		text-align: left;
	}

	/* Last cell no bottom border */
	.comparison-table td:last-child {
		border-bottom: none;
	}

	/* Highlight popular column background per row */
	.comparison-table tr td:nth-child(2) { background: rgba(0,234,255,0.05); } /* Essential */
	.comparison-table tr td:nth-child(3) { background: rgba(0,234,255,0.1); }  /* Professional */
	.comparison-table tr td:nth-child(4) { background: rgba(0,234,255,0.05); } /* Enterprise */ 
}

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem; }
.price-card { position: relative; }
.popular { border: 2px solid var(--primary); transform: scale(1.05); }


footer { background: rgba(0,0,0,0.5); padding: 5rem 5% 2rem; text-align: center; border-top: 1px solid var(--border); }

#particles { position: absolute; inset: 0; pointer-events: none; }

/* Fade-in Animations */
.fade-in { opacity: 0; transform: translateY(50px); transition: opacity 1s ease, transform 1s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* FAQ Accordion */
.faq { padding: 8rem 5%; }
.faq-item { margin-bottom: 1rem; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-question { cursor: pointer; padding: 1.5rem; background: var(--card-bg); display: flex; justify-content: space-between; align-items: center; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; padding: 0 1.5rem; }
.faq-answer.active { max-height: 500px; padding: 1.5rem; }      

/* ===== INFINITE AI AGENT CAROUSEL – NOW FULL SWIPER ===== */
/* === CRITICAL SWIPER FIXES === */
.swiper-wrapper { transition-timing-function: linear !important; } /* Global linear – eliminates all jumps */

/* AI Agents Carousel */
.ai-carousel { position: relative; overflow: hidden; padding: 4rem 0; background: linear-gradient(to bottom, #11161d, var(--bg)); }
.carousel-item {
	flex: 0 0 380px;
	border-radius: 28px;
	overflow: hidden;
	box-shadow: 0 15px 50px rgba(0,234,255,0.25);
	transition: transform 0.5s ease;
}
.carousel-item:hover { transform: scale(1.08) translateY(-10px); }
.carousel-item img { width: 100%; height: 520px; object-fit: cover; display: block; }

/* Screenshots Hero Carousel */
.hero-swiper { width: 100%; height: 70vh; min-height: 400px; max-height: 800px; margin: 4rem 0; }
.hero-slide { display: flex; align-items: center; justify-content: center; background: #000; border-radius: 20px; overflow: hidden; }
.hero-slide img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,234,255,0.3); }

/* Dashboard Grid */
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; padding: 2rem 5%; max-width: 1920px; margin: 0 auto; }
@media (min-width: 1200px) {
	.dashboard-grid { grid-template-columns: repeat(4, 1fr); }
	.hero-card { grid-column: span 2; }
	.tall-card { grid-row: span 2; }
	.tall-card .image-wrapper { padding-bottom: 120%; }
}
.image-card { background: var(--card-bg); backdrop-filter: blur(20px); border: 1px solid var(--border); border-radius: 24px; overflow: hidden;
	box-shadow: 0 8px 24px rgba(0,0,0,0.3); transition: transform 0.4s, box-shadow 0.4s; }
.image-card:hover { transform: translateY(-12px); box-shadow: 0 20px 50px rgba(0,234,255,0.3); }
.image-wrapper { position: relative; width: 100%; padding-bottom: 56.25%; background: #111; }
.card-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; loading: lazy; }

/* Swiper Theme Overrides */
.swiper-pagination-bullet { background: rgba(0,234,255,0.3); opacity: 1; width: 12px; height: 12px; }
.swiper-pagination-bullet-active { background: var(--primary); box-shadow: 0 0 20px var(--primary-glow); }
.swiper-button-next, .swiper-button-prev {
	color: var(--primary); background: rgba(0,0,0,0.6); width: 60px; height: 60px; border-radius: 50%;
	backdrop-filter: blur(10px); box-shadow: 0 0 30px var(--primary-glow);
}
.swiper-button-next:after, .swiper-button-prev:after { font-size: 24px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 3rem; }
.card { background: var(--card-bg); backdrop-filter: blur(20px); border: 1px solid var(--border); border-radius: 24px; padding: 3rem; text-align: center; transition: all 0.5s; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.card:hover { transform: translateY(-20px); box-shadow: 0 20px 50px rgba(0, 234, 255, 0.2); }
.card i { font-size: 4rem; color: var(--primary); margin-bottom: 2rem; }

.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 3rem; }
.testimonial-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.testimonial-card img { width: 100px; height: 100px; border-radius: 50%; border: 4px solid var(--primary); margin-bottom: 1.5rem; object-fit: cover; loading: lazy; }

/* Integrations */
.integrations { padding: 8rem 5%; }
.integration-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; text-align: center; }
.integration-grid img { max-height: 80px; loading: lazy; }

/* Live Chat */
#chat-bubble { position: fixed; bottom: 20px; right: 20px; background: var(--primary); color: #000; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 0 20px var(--primary-glow); z-index: 999; transition: all 0.3s; }
#chat-bubble:hover { transform: scale(1.1); }
#chat-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); display: none; align-items: center; justify-content: center; z-index: 1001; }
#chat-modal.active { display: flex; }
.chat-content { background: var(--card-bg); padding: 2rem; border-radius: 20px; max-width: 400px; text-align: center; }
.chat-content button { margin-top: 1rem; }        

/* Mobile Dropdown Accordion */
.mobile-dropdown { cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 0; border-bottom: 1px solid var(--border); }
.mobile-submenu { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; background: rgba(0,0,0,0.3); }
.mobile-submenu.active { max-height: 300px; padding: 1rem 0; }
.mobile-submenu a { display: block; padding: 0.8rem 1.5rem; color: var(--text-secondary); font-size: 1rem; }
.mobile-submenu a:hover { color: var(--primary); }

.cta-btn {
	background: linear-gradient(90deg, var(--primary), #00b4d8); color: #000; padding: 0.8rem 1.8rem; border-radius: 50px;
	font-weight: 600; text-decoration: none; box-shadow: 0 0 20px var(--primary-glow); transition: all 0.4s;
}
.cta-btn:hover { transform: translateY(-4px); box-shadow: 0 0 30px var(--primary-glow); }

.hero { height: 100vh; display: flex; align-items: center; padding: 0 5%; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, #0d1117ee, #0d1117); }
.hero-content { max-width: 800px; z-index: 2; }
.hero h1 { font-size: 4.5rem; font-weight: 800; background: linear-gradient(90deg, #fff, var(--primary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.4rem; color: var(--text-secondary); margin: 2rem 0 3rem; }

section { padding: 4rem 5%; }
h2 { text-align: center; font-size: 3.2rem; margin-bottom: 5rem; margin-top: 4rem; background: linear-gradient(90deg, var(--primary), #fff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Trusted By */
.trusted-by { text-align: center; padding: 4rem 5%; background: #11161d; }
.logo-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 3rem; }
.logo-grid img { max-height: 60px; filter: grayscale(1); transition: all 0.3s; loading: lazy; }
.logo-grid img:hover { filter: grayscale(0); transform: scale(1.1); }

/* Security Badges */
.security { padding: 6rem 5%; background: #11161d; text-align: center; }
.badge-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
.badge-grid img { max-height: 100px; loading: lazy; }

/* Video Demo */
.demo-video { padding: 8rem 5%; text-align: center; }
.demo-video iframe { width: 100%; max-width: 800px; height: 450px; border-radius: 20px; border: 1px solid var(--border); }

@media (max-width: 992px) {
	.nav-desktop { display: none; }
	.hamburger { display: block; }
	.hero h1 { font-size: 3.5rem; }
	.carousel-item { flex: 0 0 280px; }
	.carousel-item img { height: 400px; }
	.logo-grid, .badge-grid, .integration-grid { gap: 2rem; }
	.demo-video iframe { height: 300px; }
}
@media (max-width: 768px) {
	.hero h1 { font-size: 3rem; }
	section { padding: 8rem 5%; }
	.carousel-item { flex: 0 0 240px; margin: 0 1rem; }
	.carousel-item img { height: 350px; }
	.comparison-table { font-size: 0.9rem; }
	.comparison-table th, .comparison-table td { padding: 0.8rem; }
	.logo-grid img { max-height: 50px; }
	#chat-bubble { bottom: 10px; right: 10px; }
}