* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--primary: #6366f1;
	--secondary: #8b5cf6;
	--accent: #ec4899;
	--dark: #0f172a;
	--dark-lighter: #1e293b;
	--text-light: #94a3b8;
	--text-white: #f1f5f9;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	background: var(--dark);
	color: var(--text-white);
	line-height: 1.6;
	overflow-x: hidden;
}

/* Navigation */
nav {
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	background: rgba(15, 23, 42, 0.9);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(99, 102, 241, 0.1);
	transition: all 0.3s;
}

nav.scrolled {
	background: rgba(15, 23, 42, 0.95);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 1.2rem 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-size: 1.8rem;
	font-weight: 700;
	background: linear-gradient(135deg, var(--secondary), var(--accent));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	letter-spacing: -1px;
}

.logo .exposant {
    vertical-align: middle;
}

.nav-links {
	display: flex;
	gap: 2.5rem;
	list-style: none;
}

.nav-links a {
	color: var(--text-light);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s;
	position: relative;
}

.nav-links a:hover {
	color: var(--primary);
}

.nav-links a::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--primary), var(--accent));
	transition: width 0.3s;
}

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

.cta-button {
	padding: 0.7rem 1.8rem;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	color: white;
	border: none;
	border-radius: 50px;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.3s, box-shadow 0.3s;
	text-decoration: none;
	display: inline-block;
}

.cta-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

/* Hero Slider Section */
.hero-slider {
	height: 100vh;
	position: relative;
	overflow: hidden;
}

.slide {
	position: absolute;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 1.5s ease-in-out;
	display: flex;
	align-items: center;
}

.slide.active {
	opacity: 1;
	z-index: 1;
}

.slide-bg {
	position: absolute;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	filter: brightness(0.6);
}

.slide-overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.2));
}

.slide-content {
	position: relative;
	z-index: 2;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 6rem;
	width: 100%;
}

.slide-text {
	max-width: 800px;
	animation: slideInUp 1s ease-out;
}

.slide.active .slide-text {
	animation: slideInUp 1s ease-out;
}

@keyframes slideInUp {
	from {
		opacity: 0;
		transform: translateY(50px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.slide-label {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--accent);
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 1rem;
	display: inline-block;
	padding: 0.5rem 1rem;
	background: rgba(99, 102, 241, 0.2);
	border-radius: 50px;
}

.slide-title {
	font-size: 4rem;
	font-weight: 800;
	margin-bottom: 1.5rem;
	line-height: 1.1;
	color: white;
}

.slide-title .highlight {
	background: linear-gradient(135deg, var(--primary), var(--accent));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.slide-description {
	font-size: 1.3rem;
	color: var(--text-light);
	margin-bottom: 2.5rem;
	line-height: 1.8;
}

.slide-buttons {
	display: flex;
	gap: 1.5rem;
}

.btn-secondary {
	padding: 0.7rem 1.8rem;
	background: transparent;
	color: white;
	border: 2px solid white;
	border-radius: 50px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
	text-decoration: none;
	display: inline-block;
}

.btn-secondary:hover {
	background: white;
	color: var(--dark);
	transform: translateY(-2px);
}

/* Slider Controls */
.slider-controls {
	position: absolute;
	bottom: 3rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	display: flex;
	gap: 1rem;
}

.slider-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	cursor: pointer;
	transition: all 0.3s;
	border: 2px solid transparent;
}

.slider-dot.active {
	background: var(--primary);
	transform: scale(1.2);
	border-color: white;
}

.slider-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	background: rgba(99, 102, 241, 0.3);
	border: 2px solid rgba(255, 255, 255, 0.3);
	color: white;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	cursor: pointer;
	font-size: 1.5rem;
	transition: all 0.3s;
}

.prevent-select {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

.slider-arrow:hover {
	background: var(--primary);
	border-color: white;
	transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
	left: 2rem;
}

.slider-arrow.next {
	right: 2rem;
}

/* Animated Background Elements */
.hero-particles {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.particle {
	position: absolute;
	width: 3px;
	height: 3px;
	background: white;
	border-radius: 50%;
	opacity: 0;
	animation: floatParticle 4s ease-in-out infinite;
}

@keyframes floatParticle {
	0% {
		opacity: 0;
		transform: translateY(0) translateX(0);
	}
	50% {
		opacity: 0.6;
	}
	100% {
		opacity: 0;
		transform: translateY(-150px) translateX(100px);
	}
}

/* Services Section */
.services {
	padding: 8rem 2rem;
	position: relative;
	background: var(--dark);
}

.section-header {
	text-align: center;
	max-width: 800px;
	margin: 0 auto 5rem;
}

.section-header h2 {
	font-size: 2.8rem;
	margin-bottom: 1rem;
	background: linear-gradient(135deg, #fff, var(--text-light));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.section-header p {
	font-size: 1.2rem;
	color: var(--text-light);
}

.services-grid {
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 2rem;
}

.service-card {
	background: var(--dark-lighter);
	border: 1px solid rgba(99, 102, 241, 0.1);
	border-radius: 20px;
	padding: 2.5rem;
	transition: all 0.3s;
	position: relative;
	overflow: hidden;
}

.service-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
	opacity: 0;
	transition: opacity 0.3s;
}

.service-card:hover {
	transform: translateY(-10px);
	border-color: var(--primary);
	box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.service-card:hover::before {
	opacity: 1;
}

.service-icon {
	width: 70px;
	height: 70px;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	border-radius: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
	font-size: 2rem;
	position: relative;
	z-index: 1;
}

.service-card h3 {
	font-size: 1.5rem;
	margin-bottom: 1rem;
	color: var(--text-white);
	position: relative;
	z-index: 1;
}

.service-card p {
	color: var(--text-light);
	line-height: 1.8;
	position: relative;
	z-index: 1;
}

/* About Section */
.about {
	padding: 8rem 2rem;
	background: var(--dark-lighter);
}

.about-content {
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5rem;
	align-items: center;
}

.about-text h2 {
	font-size: 2.8rem;
	margin-bottom: 1.5rem;
	background: linear-gradient(135deg, #fff, var(--text-light));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.about-text p {
	color: var(--text-light);
	font-size: 1.1rem;
	margin-bottom: 1.5rem;
	line-height: 1.8;
}

.tech-stack {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 2rem;
}

.tech-badge {
	padding: 0.6rem 1.2rem;
	background: rgba(99, 102, 241, 0.1);
	border: 1px solid var(--primary);
	border-radius: 50px;
	color: var(--primary);
	font-size: 0.9rem;
	font-weight: 600;
}

.about-visual {
	position: relative;
	height: 400px;
}

.code-snippet {
	background: rgba(15, 23, 42, 0.8);
	border: 1px solid rgba(99, 102, 241, 0.2);
	border-radius: 10px;
	padding: 1.5rem;
	font-family: "Courier New", monospace;
	font-size: 0.9rem;
	line-height: 1.6;
	position: relative;
}

.code-line {
	color: var(--text-light);
}

.code-snippet .code-line:nth-child(n+2):nth-child(-n+6) {
    margin-left: 1.5rem;
}

.code-keyword {
	color: var(--accent);
}

.code-function {
	color: var(--primary);
}

.code-string {
	color: var(--secondary);
}

/* CTA Section */
.cta-section {
	padding: 8rem 2rem;
	text-align: center;
	position: relative;
	overflow: hidden;
	background: var(--dark);
}

.cta-section::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at center, rgba(99, 102, 241, 0.1), transparent 70%);
}

.cta-content {
	max-width: 800px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.cta-content h2 {
	font-size: 3rem;
	margin-bottom: 1.5rem;
	background: linear-gradient(135deg, #fff, var(--text-light));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.cta-content p {
	font-size: 1.2rem;
	color: var(--text-light);
	margin-bottom: 2.5rem;
}

/* Footer */
footer {
	background: var(--dark-lighter);
	border-top: 1px solid rgba(99, 102, 241, 0.1);
	padding: 3rem 2rem 2rem;
}

.footer-content {
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 3rem;
	margin-bottom: 2rem;
}

.footer-section h3 {
	color: var(--text-white);
	margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
	color: var(--text-light);
	text-decoration: none;
	line-height: 2;
	transition: color 0.3s;
}

.footer-section a:hover {
	color: var(--primary);
}

.footer-bottom {
	max-width: 1400px;
	margin: 0 auto;
	padding-top: 2rem;
	border-top: 1px solid rgba(99, 102, 241, 0.1);
	text-align: center;
	color: var(--text-light);
}

/* Mobile Menu */
.mobile-menu-btn {
	display: none;
	background: none;
	border: none;
	color: var(--text-white);
	font-size: 1.5rem;
	cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
	.about-content {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.footer-content {
		grid-template-columns: 1fr 1fr;
	}

	.slide-title {
		font-size: 3rem;
	}
}

@media (max-width: 768px) {
	.mobile-menu-btn {
		display: block;
	}

    #navbar .cta-button {
        display: none;
    }

	.nav-links {
        position: fixed;
        top: 100%;
        right: -100%;
        width: 280px;
        height: calc(100vh - 100%);
        background: var(--dark-lighter);
        flex-direction: column;
        padding: 2rem;
        gap: 0;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        transition: right 0.3s ease-in-out;
        z-index: 999;
    }

    .nav-links.mobile-open {
        right: 0;
    }

    .nav-links li {
        margin-bottom: 1.5rem;
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    }

    .nav-links a::after {
        display: none;
    }

    .mobile-menu-btn {
        z-index: 1001;
        font-size: 1.8rem;
        transition: transform 0.3s;
    }

    .mobile-menu-btn:active {
        transform: scale(0.9);
    }

    .slide-content {
        padding: 0 3rem;
    }

	.slide-title {
		font-size: 2.2rem;
	}

	.slide-description {
		font-size: 1.1rem;
	}

	.slide-buttons {
		flex-direction: column;
	}

	.slider-arrow {
		width: 40px;
		height: 40px;
		font-size: 1.2rem;
	}

	.slider-arrow.prev {
		left: 0.21rem;
	}

	.slider-arrow.next {
		right: 0.2rem;
	}

    .slide-buttons .btn-secondary{
        display: none;
    }

	.section-header h2,
	.about-text h2 {
		font-size: 2rem;
	}

	.services-grid {
		grid-template-columns: 1fr;
	}

	.footer-content {
		grid-template-columns: 1fr;
	}
}
