/* ==========================================================================
   CSS Variables & Theming
   ========================================================================== */
:root {
	/* Colors */
	--bg-primary: #0a0c10;
	--bg-secondary: #12161f;
	--text-primary: #f0f2f5;
	--text-muted: #9ca3af;
	--accent-1: #00d2ff;
	--accent-2: #ffb703;
	--card-bg: rgba(255, 255, 255, 0.03);
	--glass-border: rgba(255, 255, 255, 0.08);
	--glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

	/* Typography */
	--font-primary: 'Inter', sans-serif;
	--font-heading: 'Outfit', sans-serif;

	/* Specs */
	--nav-height: 80px;
	--container-width: 1200px;
	--radius: 12px;
	--transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	font-family: var(--font-primary);
	color: var(--text-primary);
	background-color: var(--bg-primary);
	font-size: 16px;
	line-height: 1.6;
}

body {
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	line-height: 1.2;
	color: #fff;
	margin-bottom: 0.5em;
}

a {
	color: inherit;
	text-decoration: none;
	transition: var(--transition);
}

ul {
	list-style: none;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* ==========================================================================
   Utilities & Layout
   ========================================================================== */
.container {
	width: 100%;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 2rem;
}

.section-padding {
	padding: 6rem 0;
}

.text-center { text-align: center; }
.text-accent { color: var(--accent-1); }
.text-muted { color: var(--text-muted); }
.font-bold { font-weight: 700; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.w-full { width: 100%; }
.block { display: block; }
.hidden { display: none; }

.flex-row {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
}

.flex-center {
	display: flex;
	justify-content: center;
	align-items: center;
}

.align-center { align-items: center; }
.col-md-5 { flex: 1 1 40%; min-width: 300px; }
.col-md-6 { flex: 1 1 calc(50% - 1rem); min-width: 300px; }
.col-md-7 { flex: 1 1 55%; min-width: 300px; }

/* ==========================================================================
   Components: Glassmorphism, Buttons, Forms
   ========================================================================== */
.glass-panel {
	background: var(--card-bg);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius);
	box-shadow: var(--glass-shadow);
	transition: var(--transition);
}

.glass-panel:hover {
	transform: translateY(-5px);
	border-color: rgba(255,255,255,0.15);
	box-shadow: 0 15px 40px rgba(0,210,255,0.1);
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 0.875rem 2rem;
	font-size: 1rem;
	font-weight: 600;
	border-radius: 50px;
	cursor: pointer;
	text-align: center;
	font-family: var(--font-heading);
	border: none;
}

.btn-primary {
	background: linear-gradient(135deg, var(--accent-1), #0077ff);
	color: #fff;
}
.btn-primary:hover {
	box-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
	transform: scale(1.02);
}

.btn-secondary {
	background: rgba(255,255,255,0.1);
	color: #fff;
	border: 1px solid var(--glass-border);
	backdrop-filter: blur(10px);
}
.btn-secondary:hover {
	background: rgba(255,255,255,0.2);
}

.btn-outline {
	background: transparent;
	border: 1px solid var(--accent-1);
	color: var(--accent-1);
}
.btn-outline:hover {
	background: rgba(0, 210, 255, 0.1);
}

.shadow-glow {
	box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
}

/* Forms */
.form-control {
	width: 100%;
	padding: 1rem;
	background: rgba(0,0,0,0.3);
	border: 1px solid var(--glass-border);
	border-radius: 8px;
	color: #fff;
	font-family: inherit;
	transition: var(--transition);
}
.form-control:focus {
	outline: none;
	border-color: var(--accent-1);
	background: rgba(0,0,0,0.5);
}
label {
	display: block;
	font-size: 0.875rem;
	color: var(--text-muted);
	margin-bottom: 0.5rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--nav-height);
	z-index: 100;
	transition: var(--transition);
	background: transparent;
}
.site-header.scrolled {
	background: rgba(10, 12, 16, 0.85);
	backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--glass-border);
}

.header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 100%;
}

.logo-text {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: 1px;
}
.logo-text .highlight {
	color: var(--accent-1);
	font-weight: 400;
}

.main-navigation .menu-wrapper {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.main-navigation ul {
	display: flex;
	gap: 2rem;
}

.main-navigation a {
	font-size: 0.95rem;
	font-weight: 500;
	color: #fff;
	opacity: 0.8;
}
.main-navigation a:hover {
	opacity: 1;
	color: var(--accent-1);
}

.menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	flex-direction: column;
	gap: 5px;
}
.hamburger {
	width: 25px;
	height: 2px;
	background: #fff;
	transition: var(--transition);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
	height: 100vh;
	min-height: 700px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	padding-top: var(--nav-height);
}

.hero-bg {
	position: absolute;
	top: 0; left: 0; width: 100%; height: 100%;
	background-image: url('../img/hero_bg.png');
	background-size: cover;
	background-position: center;
	z-index: -2;
}
.hero-bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10,12,16,0.3) 0%, rgba(10,12,16,0.95) 100%);
	z-index: -1;
}

.hero-content {
	max-width: 800px;
}

.badge {
	display: inline-block;
	padding: 0.5rem 1rem;
	background: rgba(255,255,255,0.05);
	outline: 1px solid var(--glass-border);
	border-radius: 30px;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--accent-2);
	margin-bottom: 2rem;
}

.hero-title {
	font-size: clamp(3rem, 5vw, 4.5rem);
	font-weight: 800;
	margin-bottom: 1.5rem;
	text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-subtitle {
	font-size: 1.25rem;
	color: var(--text-muted);
	margin-bottom: 3rem;
}

.hero-ctas {
	display: flex;
	gap: 1.5rem;
	justify-content: center;
}

/* ==========================================================================
   Sections & Features
   ========================================================================== */
.section-title {
	font-size: 2.5rem;
	margin-bottom: 1rem;
}
.section-subtitle {
	font-size: 1.125rem;
	color: var(--text-muted);
	max-width: 600px;
	margin: 0 auto 4rem;
}

/* Trust Bar */
.focus-section { background: var(--bg-secondary); }
.trust-bar {
	margin-top: -50px;
	z-index: 10;
	position: relative;
	padding: 3rem;
}
.trust-logos {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	gap: 2rem;
	opacity: 0.6;
}
.logo-placeholder {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: 1px;
}

/* Services */
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
}
.service-card {
	padding: 2.5rem;
	text-align: center;
}
.icon-circle {
	width: 60px; height: 60px;
	border-radius: 50%;
	background: linear-gradient(135deg, rgba(0, 210, 255, 0.2), rgba(0,0,0,0));
	margin: 0 auto 1.5rem;
	border: 1px solid var(--accent-1);
}

/* How It Works */
.how-section { background: var(--bg-secondary); }
.steps-container {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	position: relative;
}
.step-item {
	flex: 1;
	position: relative;
	z-index: 2;
}
.step-number {
	width: 60px; height: 60px;
	border-radius: 50%;
	background: var(--card-bg);
	border: 2px solid var(--glass-border);
	display: flex;
	align-items: center; justify-content: center;
	font-size: 1.5rem; font-weight: bold;
	margin: 0 auto;
	box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
.step-connector {
	position: absolute;
	top: 30px; left: 50%; width: 100%; height: 2px;
	background: var(--glass-border);
	z-index: -1;
}

/* Projects */
.projects-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
	gap: 3rem;
}
.project-image-wrapper {
	width: 100%; height: 250px; overflow: hidden;
	border-radius: var(--radius) var(--radius) 0 0;
}
.project-image {
	width: 100%; height: 100%;
	background-size: cover; background-position: center;
	transition: transform 0.5s ease;
}
.project-card:hover .project-image {
	transform: scale(1.05);
}
.link-arrow {
	color: var(--accent-1);
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.875rem;
	letter-spacing: 1px;
}

/* Features */
.features-section {
	background-image: url('../img/abstract_bg.png');
	background-size: cover;
	background-attachment: fixed;
	position: relative;
}
.features-section::before {
	content:''; position: absolute; inset: 0;
	background: rgba(10,12,16,0.85);
}
.features-section .container { position: relative; z-index: 2; }
.feature-list li {
	margin-bottom: 1.5rem;
	padding-left: 2rem;
	position: relative;
}
.feature-list li::before {
	content: '✓';
	position: absolute; left: 0; top: 0;
	color: var(--accent-1); font-weight: bold;
}
.abstract-shape {
	width: 300px; height: 300px;
	border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
	background: linear-gradient(135deg, rgba(0,210,255,0.4), var(--accent-2));
	animation: morph 8s ease-in-out infinite alternate;
	filter: blur(20px);
}
@keyframes morph {
	0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: rotate(0deg); }
	100% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; transform: rotate(45deg); }
}

/* Pricing */
.pricing-section { background: var(--bg-secondary); }
.pricing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	max-width: 900px;
	margin: 0 auto;
}
.pricing-card {
	padding: 3rem 2rem;
	position: relative;
	display: flex; flex-direction: column;
}
.pricing-card.featured-plan {
	border-color: var(--accent-1);
	transform: scale(1.05);
	z-index: 2;
}
.plan-badge {
	position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
	background: var(--accent-1); color: #000;
	padding: 0.25rem 1rem; border-radius: 20px;
	font-size: 0.75rem; font-weight: bold; text-transform: uppercase;
}

/* Testimonials */
.testimonial-slider {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
}
.testimonial-card { padding: 2.5rem; }
.stars { color: var(--accent-2); letter-spacing: 3px; }
.quote { font-style: italic; font-size: 1.125rem; }

/* Contact */
.contact-cta-section {
	margin: 4rem auto; max-width: 1000px;
	box-shadow: 0 0 50px rgba(0,210,255,0.05);
}

/* Footer & Floating CTA */
.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 3rem;
}
.footer-title {
	font-size: 1.25rem; margin-bottom: 1.5rem;
}
.footer-links ul li { margin-bottom: 0.75rem; }
.footer-links a:hover { color: var(--accent-1); }
.social-links { display: flex; gap: 1rem; }
.social-icon {
	width: 40px; height: 40px; border-radius: 50%;
	background: var(--card-bg);
	display: flex; align-items: center; justify-content: center;
	border: 1px solid var(--glass-border);
}
.social-icon:hover { background: var(--accent-1); color: #000; }
.footer-bottom {
	text-align: center; border-top: 1px solid var(--glass-border);
	padding-top: 2rem; color: var(--text-muted); font-size: 0.875rem;
}

.floating-whatsapp {
	position: fixed; bottom: 30px; right: 30px;
	width: 60px; height: 60px; border-radius: 50%;
	background: #25D366;
	display: flex; justify-content: center; align-items: center;
	box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
	z-index: 1000; transition: transform 0.3s;
}
.floating-whatsapp:hover { transform: scale(1.1); }

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-up {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible {
	opacity: 1;
	transform: translateY(0);
}

.blur-reveal {
	opacity: 0;
	filter: blur(10px);
	transform: scale(0.95);
	transition: opacity 1s ease, filter 1s ease, transform 1s ease;
}
.blur-reveal.visible {
	opacity: 1;
	filter: blur(0);
	transform: scale(1);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.contact-cta-section .flex-row { flex-direction: column; }
	.pricing-card.featured-plan { transform: scale(1); }
}

@media (max-width: 768px) {
	.menu-toggle { display: flex; }
	.main-navigation .menu-wrapper {
		position: absolute; top: var(--nav-height); left: 0; width: 100%;
		background: rgba(10,12,16,0.95); backdrop-filter: blur(20px);
		flex-direction: column; padding: 2rem; gap: 1rem;
		border-bottom: 1px solid var(--glass-border);
		clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
		transition: clip-path 0.4s ease;
	}
	.main-navigation.is-open .menu-wrapper {
		clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
	}
	.main-navigation ul { flex-direction: column; text-align: center; }
	
	.hero-title { font-size: 2.5rem; }
	.hero-ctas { flex-direction: column; }
	
	.steps-container { flex-direction: column; gap: 2rem; }
	.step-connector { display: none; }
	
	.testimonial-slider { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; text-align: center; }
	.social-links { justify-content: center; }
}
