/* Goggle Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700&family=Roboto:wght@400;500&display=swap');

/* CSS Variables */
:root {
	--color-background: #10101a;
	--color-surface: #1e1e2a;
	--color-text: #f0f0f5;
	--color-text-secondary: #a0a0b0;
	--color-primary: #00bfff;
	--color-primary-hover: #0099cc;

	--font-primary: 'Poppins', sans-serif;
	--font-secondary: 'Roboto', sans-serif;

	--header-height: 70px;
}

/* Global Styles */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	background-color: var(--color-background);
	color: var(--color-text);
	font-family: var(--font-secondary);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.body--no-scroll {
	overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-primary);
	font-weight: 600;
	line-height: 1.2;
	color: var(--color-text);
}

a {
	color: var(--color-primary);
	text-decoration: none;
	transition: color 0.3s ease;
}

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

ul {
	list-style: none;
}

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

/* Utility Classes */
.container {
	max-width: 1240px;
	width: 100%;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header */
.header {
	background-color: rgba(16, 16, 26, 0.8);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(240, 240, 245, 0.1);
	height: var(--header-height);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
}

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

.logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-primary);
	font-weight: 700;
	font-size: 24px;
	color: var(--color-text);
}

.logo:hover {
	color: var(--color-text);
}

.logo__img {
	height: 32px;
	width: 32px;
	color: var(--color-primary);
}

/* Navigation */
.nav__list {
	display: flex;
	gap: 30px;
}

.nav__link {
	font-size: 16px;
	font-weight: 500;
	color: var(--color-text);
	position: relative;
	padding: 5px 0;
}

.nav__link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--color-primary);
	transition: width 0.3s ease;
}

.nav__link:hover::after {
	width: 100%;
}

/* Burger Menu */
.burger {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--color-text);
	padding: 5px;
}

/* Footer */
.footer {
	background-color: var(--color-surface);
	padding: 60px 0 30px;
	border-top: 1px solid rgba(240, 240, 245, 0.1);
}

.footer__container {
	display: grid;
	grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
	gap: 40px;
	margin-bottom: 50px;
}

.footer__column--logo {
	padding-right: 20px;
}

.footer__logo {
	margin-bottom: 15px;
}

.footer__tagline {
	color: var(--color-text-secondary);
	font-size: 14px;
}

.footer__title {
	font-size: 18px;
	margin-bottom: 20px;
	color: var(--color-text);
}

.footer__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.footer__link {
	color: var(--color-text-secondary);
}
.footer__link:hover {
	color: var(--color-primary);
}

.footer__address {
	color: var(--color-text-secondary);
	font-style: normal;
	font-size: 16px;
	line-height: 1.6;
}

.footer__bottom {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid rgba(240, 240, 245, 0.1);
	font-size: 14px;
	color: var(--color-text-secondary);
}

/* Adaptive Styles (Mobile-First) */
@media (max-width: 992px) {
	.footer__container {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	/* Mobile Menu Logic */
	.burger {
		display: block;
		z-index: 101;
	}

	.nav {
		position: fixed;
		top: 0;
		left: -100%;
		width: 100%;
		height: 100vh;
		background-color: var(--color-background);
		display: flex;
		justify-content: center;
		align-items: center;
		transition: left 0.4s ease-in-out;
	}

	.nav--mobile-active {
		left: 0;
	}

	.nav__list {
		flex-direction: column;
		text-align: center;
		gap: 25px;
	}

	.nav__link {
		font-size: 24px;
	}

	.footer__container {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.footer__column--logo {
		padding-right: 0;
	}

	.logo {
		justify-content: center;
	}
}

/* --- Button --- */
.button {
	display: inline-block;
	background-color: var(--color-primary);
	color: var(--color-background);
	padding: 12px 32px;
	border-radius: 8px;
	font-family: var(--font-primary);
	font-weight: 600;
	font-size: 16px;
	text-align: center;
	border: 2px solid var(--color-primary);
	transition: all 0.3s ease;
}

.button:hover {
	background-color: transparent;
	color: var(--color-primary);
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0, 191, 255, 0.2);
}

/* --- Hero Section --- */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding-top: var(--header-height); /* Offset for fixed header */
}

.hero__canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.hero__container {
	position: relative;
	z-index: 2;
}

.hero__content {
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
}

.hero__title {
	font-size: 56px;
	margin-bottom: 20px;
	font-weight: 700;
	line-height: 1.1;
}

.hero__subtitle {
	font-size: 18px;
	color: var(--color-text-secondary);
	max-width: 600px;
	margin: 0 auto 30px;
}

/* Adaptive for Hero */
@media (max-width: 768px) {
	.hero__title {
		font-size: 42px;
	}
	.hero__subtitle {
		font-size: 16px;
	}
}

@media (max-width: 480px) {
	.hero__title {
		font-size: 32px;
	}
	.hero {
		padding-left: 10px;
		padding-right: 10px;
	}
}

/* --- General Section Styles --- */
.section {
	padding: 100px 0;
	overflow: hidden; /* To prevent AOS horizontal scroll issues */
}

.section__title {
	font-size: 42px;
	text-align: center;
	margin-bottom: 15px;
}

.section__subtitle {
	font-size: 18px;
	color: var(--color-text-secondary);
	text-align: center;
	max-width: 600px;
	margin: 0 auto 50px;
}

/* --- Concepts Section --- */
.concepts__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.concept-card {
	background-color: var(--color-surface);
	padding: 30px;
	border-radius: 12px;
	border: 1px solid rgba(240, 240, 245, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
}

.concept-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 10px 25px rgba(0, 191, 255, 0.1);
}

.concept-card__icon {
	width: 50px;
	height: 50px;
	color: var(--color-primary);
	margin-bottom: 20px;
}

.concept-card__icon i {
	width: 100%;
	height: 100%;
}

.concept-card__title {
	font-size: 22px;
	margin-bottom: 10px;
}

.concept-card__text {
	font-size: 16px;
	color: var(--color-text-secondary);
	flex-grow: 1; /* Pushes title and icon to the top */
}

/* Adaptive for Concepts */
@media (max-width: 992px) {
	.concepts__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.section {
		padding: 80px 0;
	}
	.section__title {
		font-size: 36px;
	}
	.section__subtitle {
		font-size: 16px;
	}
}

/* --- Process Section (Timeline) --- */
.process {
	background-color: var(--color-surface);
}

.process__timeline {
	position: relative;
	max-width: 900px;
	margin: 50px auto 0;
}

/* The central line */
.process__timeline::after {
	content: '';
	position: absolute;
	width: 3px;
	background-color: #2c2c44;
	top: 0;
	bottom: 0;
	left: 50%;
	margin-left: -1.5px;
}

.process__item {
	padding: 10px 40px;
	position: relative;
	background-color: inherit;
	width: 50%;
	margin-bottom: 30px;
}

/* The circle on the timeline */
.process__item::after {
	content: '';
	position: absolute;
	width: 20px;
	height: 20px;
	right: -10px;
	background-color: var(--color-background);
	border: 4px solid var(--color-primary);
	top: 25px;
	border-radius: 50%;
	z-index: 1;
}

/* Items on the left */
.process__item:nth-child(odd) {
	left: 0;
}

/* Items on the right */
.process__item:nth-child(even) {
	left: 50%;
}

.process__item:nth-child(even)::after {
	left: -10px;
}

.process__content {
	padding: 25px;
	background-color: #10101a;
	position: relative;
	border-radius: 8px;
	border: 1px solid #2c2c44;
}

.process__step-number {
	position: absolute;
	top: -20px;
	left: 20px;
	font-size: 40px;
	font-weight: 700;
	font-family: var(--font-primary);
	color: rgba(0, 191, 255, 0.2);
}

.process__title {
	font-size: 22px;
	margin-bottom: 10px;
	color: var(--color-primary);
}

.process__text {
	font-size: 15px;
	color: var(--color-text-secondary);
}

/* Adaptive for Timeline */
@media (max-width: 768px) {
	.process__timeline::after {
		left: 20px;
	}

	.process__item {
		width: 100%;
		padding-left: 50px;
		padding-right: 15px;
	}

	.process__item:nth-child(even) {
		left: 0;
	}

	.process__item:nth-child(odd)::after,
	.process__item:nth-child(even)::after {
		left: 10px;
	}
}

/* --- Contact Section --- */
.contact {
	padding-bottom: 120px;
}

.contact__wrapper {
	max-width: 600px;
	margin: 0 auto;
	background-color: var(--color-surface);
	padding: 40px;
	border-radius: 12px;
	border: 1px solid rgba(240, 240, 245, 0.1);
}

.form-group {
	position: relative;
	margin-bottom: 25px;
}

.form-input {
	width: 100%;
	padding: 14px 10px 14px 10px;
	background-color: var(--color-background);
	border: 1px solid #333;
	border-radius: 8px;
	color: var(--color-text);
	font-size: 16px;
	transition: border-color 0.3s ease;
}

.form-input:focus {
	outline: none;
	border-color: var(--color-primary);
}

/* Floating Label */
.form-label {
	display: none;
	position: absolute;
	top: 15px;
	left: 15px;
	color: var(--color-text-secondary);
	pointer-events: none;
	transition: all 0.2s ease;
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
	top: -10px;
	left: 10px;
	font-size: 12px;
	color: var(--color-primary);
	background-color: var(--color-surface);
	padding: 0 5px;
}

/* Checkbox */
.form-group--checkbox {
	display: flex;
	align-items: center;
	gap: 12px;
}

.form-group--checkbox label {
	font-size: 14px;
	color: var(--color-text-secondary);
}

.form-group--checkbox a {
	text-decoration: underline;
}

.contact__button {
	width: 100%;
	padding: 15px;
}

/* Success Message */
.success-message {
	display: none; /* Hidden by default */
	text-align: center;
	padding: 20px;
}

.success-message--visible {
	display: block;
	animation: fadeIn 0.5s ease;
}

.success-message__icon {
	width: 60px;
	height: 60px;
	color: var(--color-primary);
	margin-bottom: 15px;
}

.success-message__title {
	font-size: 24px;
	margin-bottom: 10px;
}

.success-message__text {
	color: var(--color-text-secondary);
}

/* --- Cookie Pop-up --- */
.cookie-popup {
	position: fixed;
	bottom: -100%; /* Initially hidden */
	left: 20px;
	max-width: 450px;
	background-color: var(--color-surface);
	padding: 20px;
	border-radius: 12px;
	border: 1px solid rgba(240, 240, 245, 0.1);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	z-index: 200;

	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;

	transition: bottom 0.5s ease-in-out;
}

.cookie-popup--visible {
	bottom: 20px;
}

.cookie-popup__text {
	font-size: 14px;
	color: var(--color-text-secondary);
}

.cookie-popup__text a {
	color: var(--color-primary);
	text-decoration: underline;
}

.cookie-popup__button {
	padding: 8px 16px;
	font-size: 14px;
	flex-shrink: 0; /* Prevents the button from shrinking */
}

@media (max-width: 480px) {
	.cookie-popup {
		flex-direction: column;
		left: 15px;
		right: 15px;
		text-align: center;
	}
}

/* --- Static Pages (Privacy, Terms, etc.) --- */
.pages {
	padding: 120px 0;
	min-height: calc(100vh - var(--header-height));
}

.pages .container {
	max-width: 800px;
}

.pages h1 {
	font-size: 1.5rem;
	margin-bottom: 30px;
	border-bottom: 1px solid rgba(240, 240, 245, 0.1);
	padding-bottom: 20px;
}

.pages h2 {
	font-size: 1.5rem;
	margin-top: 40px;
	margin-bottom: 20px;
}

.pages p {
	margin-bottom: 20px;
	color: var(--color-text-secondary);
	line-height: 1.7;
}

.pages a {
	text-decoration: underline;
	font-weight: 500;
}

.pages a:hover {
	text-decoration: none;
}

.pages ul,
.pages ol {
	margin-left: 20px;
	margin-bottom: 20px;
	color: var(--color-text-secondary);
}

.pages li {
	margin-bottom: 10px;
	line-height: 1.7;
}

.pages strong {
	color: var(--color-text);
	font-weight: 600;
}
