/* Modern IT Website Design - Glassmorphism & Animations */
:root {
	/* Professional Enterprise Palette */
	--primary: #0f172a;
	/* Slate 900 */
	--accent: #0ea5e9;
	/* Sky 500 */
	--secondary: #64748b;
	/* Slate 500 */
	--dark: #020617;
	/* Slate 950 */
	--light: #f8fafc;
	/* Slate 50 */
	--glass-bg: rgba(255, 255, 255, 0.85);
	/* More opaque for readability */
	--glass-border: rgba(203, 213, 225, 0.4);
	--glass-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	--gradient-1: linear-gradient(135deg, #0f172a 0%, #334155 100%);
	--gradient-text: linear-gradient(to right, #0f172a, #0ea5e9);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
	scroll-behavior: smooth;
}

body {
	background-color: var(--light);
	background-image: linear-gradient(to bottom right, #f1f5f9, #e2e8f0);
	background-attachment: fixed;
	color: var(--primary);
	line-height: 1.6;
	overflow-x: hidden;
}

/* Animations */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.8s ease-out;
}

.reveal.active {
	opacity: 1;
	transform: translateY(0);
}

/* Navigation */
nav {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1000;
	padding: 1rem 5%;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--glass-border);
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: all 0.3s ease;
}

nav .logo {
	font-size: 1.5rem;
	font-weight: 700;
	text-decoration: none;
	color: var(--dark);
}

nav .logo span {
	background: var(--gradient-text);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

nav ul {
	display: flex;
	list-style: none;
	gap: 2rem;
}

nav ul li a {
	text-decoration: none;
	color: var(--dark);
	font-weight: 500;
	position: relative;
	transition: color 0.3s;
}

nav ul li a::after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	bottom: -5px;
	left: 0;
	background: var(--gradient-1);
	transition: width 0.3s;
}

nav ul li a:hover::after {
	width: 100%;
}

/* Hero Section */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 8rem 2rem 4rem;
	position: relative;
}

.hero-content {
	max-width: 800px;
	z-index: 2;
}

.hero h1 {
	font-size: 3.5rem;
	margin-bottom: 1.5rem;
	line-height: 1.2;
	background: var(--gradient-text);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: fadeIn 1s ease-out;
}

.hero p {
	font-size: 1.25rem;
	color: #475569;
	margin-bottom: 2.5rem;
	animation: fadeIn 1s ease-out 0.2s backwards;
}

.btn {
	display: inline-block;
	padding: 0.8rem 2rem;
	background: var(--gradient-1);
	color: white;
	text-decoration: none;
	border-radius: 50px;
	font-weight: 600;
	box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
	transition: transform 0.3s, box-shadow 0.3s;
	border: none;
	cursor: pointer;
	animation: fadeIn 1s ease-out 0.4s backwards;
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* Glass Cards */
.card {
	background: var(--glass-bg);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid var(--glass-border);
	border-radius: 20px;
	padding: 2rem;
	box-shadow: var(--glass-shadow);
	transition: transform 0.3s;
}

.card:hover {
	transform: translateY(-5px);
}

/* Sections */
section {
	padding: 6rem 5%;
}

.section-title {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 4rem;
	color: var(--dark);
}

/* Features Grid */
.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

.feature-icon {
	font-size: 2.5rem;
	margin-bottom: 1rem;
	background: var(--gradient-text);
	-webkit-background-clip: text;

	-webkit-text-fill-color: transparent;
}

/* Features Grid Enhanced */
.feature-card {
	text-align: left;
	position: relative;
	overflow: hidden;
	transition: all 0.4s ease;
	border: 1px solid rgba(255, 255, 255, 0.6);
}

.feature-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
	border-color: var(--accent);
}

.feature-icon-wrapper {
	width: 70px;
	height: 70px;
	background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(14, 165, 233, 0.05));
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
	border: 1px solid rgba(14, 165, 233, 0.2);
}

.feature-icon {
	font-size: 2rem;
	margin-bottom: 0;
	/* Reset previous margin */
	background: var(--gradient-text);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* Feature Colors */
.icon-teal .feature-icon-wrapper {
	background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(20, 184, 166, 0.05));
	border-color: rgba(20, 184, 166, 0.2);
}

.icon-teal .feature-icon {
	background: linear-gradient(to right, #0d9488, #2dd4bf);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.icon-blue .feature-icon-wrapper {
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
	border-color: rgba(59, 130, 246, 0.2);
}

.icon-blue .feature-icon {
	background: linear-gradient(to right, #2563eb, #60a5fa);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.icon-rose .feature-icon-wrapper {
	background: linear-gradient(135deg, rgba(244, 63, 94, 0.1), rgba(244, 63, 94, 0.05));
	border-color: rgba(244, 63, 94, 0.2);
}

.icon-rose .feature-icon {
	background: linear-gradient(to right, #e11d48, #fb7185);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.feature-list {
	list-style: none;
	margin-top: 1.5rem;
}

.feature-list li {
	margin-bottom: 0.8rem;
	display: flex;
	align-items: center;
	color: var(--secondary);
	font-weight: 500;
}

.feature-list li i {
	color: #10b981;
	/* Emerald for checks */
	margin-right: 10px;
	font-size: 1.1rem;
}

/* Pricing / Products */
.pricing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	max-width: 1000px;
	margin: 0 auto;
}

.price-card {
	text-align: center;
	position: relative;
	overflow: hidden;
}

.price-card.featured {
	border: 2px solid #ec4899;
}

.price-tag {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--primary);
	margin: 1.5rem 0;
}

.price-features {
	list-style: none;
	margin: 1.5rem 0;
	text-align: left;
}

.price-features li {
	margin-bottom: 0.8rem;
	display: flex;
	align-items: center;
}

/* Pricing Section Revamp */
.pricing-tabs {
	display: flex;
	justify-content: center;
	margin-bottom: 3rem;
	gap: 1rem;
}

.pricing-tab {
	padding: 0.8rem 2rem;
	border-radius: 50px;
	background: white;
	color: var(--secondary);
	font-weight: 600;
	cursor: pointer;
	border: 1px solid var(--glass-border);
	transition: all 0.3s ease;
}

.pricing-tab.active {
	background: var(--gradient-1);
	color: white;
	box-shadow: 0 4px 15px rgba(15, 23, 42, 0.3);
	border-color: transparent;
}

.pricing-content {
	display: none;
	animation: fadeIn 0.5s ease;
}

.pricing-content.active {
	display: block;
	/* Fixed: Was Grid, overriding Flex */
}

/* Ensure Carousel overrides display:block */
.pricing-carousel.active {
	display: flex;
}

/* Ensure Grid overrides display:block */
.pricing-grid.active {
	display: grid;
}

.price-card big {
	font-size: 3.5rem;
	font-weight: 800;
	color: var(--primary);
	display: block;
	margin: 1rem 0 0.5rem;
}

.price-card .badge {
	background: #ec4899;
	color: white;
	padding: 0.3rem 1rem;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: bold;
	position: absolute;
	top: 1rem;
	right: 1rem;
}

.pricing-carousel {
	display: none;
	/* Hidden by default to prevent overlap */
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	gap: 0;
	padding: 4rem calc(50% - 160px);
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	align-items: center;
}

/* Show only when active */
.pricing-carousel.active {
	display: flex;
}

.pricing-carousel::-webkit-scrollbar {
	display: none;
}

/* Lite Plan Specifics */
.plan-lite {
	border: 2px solid #eab308;
	/* Gold border */
	background: linear-gradient(to bottom, #fff, #fefce8);
	max-width: 400px !important;
	/* Wider for single view */
	margin: 0 auto !important;
	transform: scale(1) !important;
	/* Reset carousel scale */
	opacity: 1 !important;
}

.plan-lite h3 {
	color: #ca8a04;
}

.plan-lite .btn {
	background: #ca8a04;
	color: white;
}

.plan-lite .period {
	color: #854d0e;
}

.plan-lite .price-features li::before {
	color: #ca8a04;
}

.pricing-carousel .price-card {
	min-width: 320px;
	max-width: 320px;
	flex: 0 0 auto;
	scroll-snap-align: center;
	transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	background: white;
	opacity: 0.6;
	transform: scale(0.85);
	margin: 0 -15px;
	/* Overlap/Stacking */
	border: 1px solid rgba(0, 0, 0, 0.05);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.pricing-carousel .price-card.active {
	transform: scale(1.15);
	opacity: 1;
	z-index: 50;
	/* Ensure active is always on top */
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	border: 1px solid rgba(0, 0, 0, 0.1);
	margin: 0 0;
	/* Clear overlap for active? Or keep it? overlapping might look cool. Let's keep overlap but Z-index handles visibility */
}

.pricing-carousel .price-card:hover {
	z-index: 60;
	/* Hovered overrides active if different */
	cursor: pointer;
}

/* Unique Plan Themes */
/* Starter - Teal */
.plan-starter {
	border-top: 5px solid #14b8a6;
}

.plan-starter h3 {
	color: #0d9488;
}

.plan-starter .btn {
	background: #14b8a6;
}

.plan-starter .price-features li::before {
	color: #14b8a6;
}

/* Quarterly - Blue */
.plan-quarterly {
	border-top: 5px solid #3b82f6;
}

.plan-quarterly h3 {
	color: #2563eb;
}

.plan-quarterly .btn {
	background: #3b82f6;
}

.plan-quarterly .price-features li::before {
	color: #3b82f6;
}

/* Half-Yearly - Orange */
.plan-half {
	border-top: 5px solid #f97316;
}

.plan-half h3 {
	color: #ea580c;
}

.plan-half .btn {
	background: #f97316;
}

.plan-half .price-features li::before {
	color: #f97316;
}

/* Yearly - Gold/Purple */
.plan-yearly {
	border: 2px solid #8b5cf6;
	background: linear-gradient(to bottom, #fff, #faf5ff);
	position: relative;
	overflow: hidden;
}

.plan-yearly h3 {
	background: -webkit-linear-gradient(45deg, #7c3aed, #db2777);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.plan-yearly .btn {
	background: linear-gradient(45deg, #7c3aed, #db2777);
	box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
}

.plan-yearly .price-features li::before {
	color: #7c3aed;
}

/* Testimonials Slider */
.testimonials {
	background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
	/* Deep Indigo to Violet */
	color: white;
	padding: 5rem 0;
	overflow: hidden;
}

.testimonials .section-title {
	color: white;
	margin-bottom: 3rem;
}

.testimonials .section-title i {
	color: #bef264;
	/* Lime accent for contrast */
}

.testimonials-slider {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	gap: 2rem;
	padding: 0 5% 2rem;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	/* Firefox */
}

.testimonials-slider::-webkit-scrollbar {
	display: none;
	/* Chrome/Safari */
}

.testimonial-card {
	min-width: 300px;
	max-width: 350px;
	flex: 0 0 auto;
	scroll-snap-align: center;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 20px;
	padding: 2rem;
	text-align: center;
	color: white;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.client-avatar {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	border: 3px solid #bef264;
	margin: 0 auto 1.5rem;
	object-fit: cover;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.testimonial-card p {
	font-style: italic;
	opacity: 0.9;
	margin-bottom: 1.5rem;
	font-size: 1.05rem;
}

.testimonial-card h4 {
	font-weight: 700;
	color: #bef264;
}

/* Contact Form */
.contact-container {
	max-width: 800px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.contact-info ul {
	list-style: none;
	margin-top: 1.5rem;
}

.contact-info li {
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	font-size: 1.1rem;
}

.contact-info i {
	margin-right: 1rem;
	color: var(--primary);
}

/* Footer */
footer {
	background: var(--dark);
	color: white;
	padding: 3rem 5%;
	text-align: center;
}

.footer-links {
	display: flex;
	justify-content: center;
	gap: 2rem;
	margin: 2rem 0;
	flex-wrap: wrap;
}

.footer-links a {
	color: #cbd5e1;
	text-decoration: none;
	transition: color 0.2s;
	cursor: pointer;
}

.footer-links a:hover {
	color: white;
}

/* Modal */
.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 2000;
	backdrop-filter: blur(5px);
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.modal.open {
	display: flex;
	opacity: 1;
}

.modal-content {
	background: white;
	padding: 2.5rem;
	border-radius: 20px;
	max-width: 700px;
	width: 90%;
	max-height: 80vh;
	overflow-y: auto;
	position: relative;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
	animation: slideUp 0.4s ease;
}

@keyframes slideUp {
	from {
		transform: translateY(50px);
		opacity: 0;
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.close-modal {
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	font-size: 1.5rem;
	cursor: pointer;
	color: #64748b;
	background: none;
	border: none;
}

.modal-body h2 {
	margin-bottom: 1rem;
	color: var(--primary);
}

.modal-body p {
	margin-bottom: 1rem;
}

/* Stats Section */
.stats {
	background: var(--primary);
	color: white;
	padding: 4rem 5%;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 2rem;
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
}

.stat-item h3 {
	font-size: 3rem;
	font-weight: 700;
	background: linear-gradient(to right, #0f172a, #0ea5e9);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-bottom: 0.5rem;
}

.stat-item p {
	color: #cbd5e1;
	font-size: 1.1rem;
}

/* Process Section */
.process-steps {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	max-width: 1000px;
	margin: 3rem auto 0;
	position: relative;
	flex-wrap: wrap;
	gap: 2rem;
}

.process-step {
	flex: 1;
	text-align: center;
	position: relative;
	min-width: 250px;
}

.step-number {
	width: 50px;
	height: 50px;
	background: var(--accent);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: bold;
	margin: 0 auto 1.5rem;
	box-shadow: 0 0 15px rgba(14, 165, 233, 0.4);
}

/* FAQ Section */
.faq-grid {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	background: white;
	margin-bottom: 1rem;
	border-radius: 10px;
	border: 1px solid var(--glass-border);
	overflow: hidden;
}

.faq-question {
	padding: 1.5rem;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: 600;
	color: var(--primary);
}

.faq-question::after {
	content: '+';
	font-size: 1.5rem;
	color: var(--accent);
	transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
	transform: rotate(45deg);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out;
	background: #f8fafc;
}

.faq-answer p {
	padding: 1.5rem;
	color: var(--secondary);
	border-top: 1px solid #e2e8f0;
}

/* CTA Section */
.cta-section {
	background: var(--gradient-1);
	color: white;
	text-align: center;
	padding: 5rem 2rem;
	border-radius: 30px;
	margin: 4rem 5%;
	box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
}

.cta-section h2 {
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

.cta-section .btn {
	background: white;
	color: var(--primary);
	font-weight: 800;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
	.hero h1 {
		font-size: 2.5rem;
	}

	.contact-container {
		grid-template-columns: 1fr;
	}

	nav ul {
		display: none;
		/* simple hide for now, would need JS toggle for full mobile menu */
	}

	nav .mobile-menu-btn {
		display: block;
	}

	.process-steps {
		flex-direction: column;
		align-items: center;
	}
}