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

/* --- CSS Variables --- */
:root {
	--bg-dark-blue: #0a192f;
	--bg-light-blue: #112240;
	--text-light: #ccd6f6;
	--text-gray: #8892b0;
	--accent-teal: #64ffda;
	--accent-teal-hover: rgba(100, 255, 218, 0.1);
	--font-primary: 'Inter', sans-serif;
	--header-height: 80px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	background-color: var(--bg-dark-blue);
	color: var(--text-light);
	font-family: var(--font-primary);
	font-size: 16px;
	line-height: 1.6;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

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

ul {
	list-style: none;
}

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

/* --- Header --- */
.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	background-color: rgba(10, 25, 47, 0.85);
	backdrop-filter: blur(10px);
	height: var(--header-height);
	display: flex;
	align-items: center;
	box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
}

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

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-light);
}

.logo span {
	transition: color 0.3s ease;
}

.logo:hover span {
	color: var(--accent-teal);
}

.header__nav-list {
	display: flex;
	align-items: center;
	gap: 30px;
}

.header__nav-link {
	font-size: 0.95rem;
	color: var(--text-light);
}

.header__nav-link:hover {
	color: var(--accent-teal);
}

.header__nav-link--button {
	border: 1px solid var(--accent-teal);
	padding: 10px 20px;
	border-radius: 5px;
	color: var(--accent-teal);
	transition: background-color 0.3s ease;
}

.header__nav-link--button:hover {
	background-color: var(--accent-teal-hover);
	color: var(--accent-teal);
}

.header__burger {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--accent-teal);
}

/* --- Footer --- */
.footer {
	background-color: var(--bg-light-blue);
	padding: 60px 0;
	border-top: 1px solid var(--text-gray);
}

.footer__container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 40px;
}

.footer__column .logo {
	margin-bottom: 20px;
}

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

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

.footer__list--contacts {
	gap: 15px;
}

.footer__list--contacts li {
	display: flex;
	align-items: center;
	gap: 10px;
}

.footer__list--contacts .lucide {
	color: var(--accent-teal);
	flex-shrink: 0;
}

.footer__link,
.footer__text {
	font-size: 0.9rem;
	color: var(--text-gray);
}

.footer__link:hover {
	color: var(--accent-teal);
}

/* --- Mobile Overlay --- */
.mobile-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.5);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	z-index: 90;
}

.mobile-overlay--active {
	opacity: 1;
	visibility: visible;
}

/* --- Mobile-first adaptivity --- */
@media (max-width: 768px) {
	.header__nav {
		padding-top: 50px;
		position: fixed;
		top: 0;
		right: -100%;
		width: 75%;
		max-width: 300px;
		height: 100vh;
		background-color: var(--bg-light-blue);
		flex-direction: column;
		justify-content: center;
		align-items: center;
		transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
		box-shadow: -10px 0px 30px -15px rgba(2, 12, 27, 0.7);
		z-index: 100;
	}

	.header__nav--active {
		right: 0;
	}

	.header__nav-list {
		flex-direction: column;
		gap: 30px;
		padding: 20px;
	}

	.header__nav-link {
		font-size: 1.1rem;
		padding: 10px 0;
		text-align: center;
		width: 100%;
		border-bottom: 1px solid transparent;
		transition: all 0.3s ease;
	}

	.header__nav-link:hover {
		border-bottom-color: var(--accent-teal);
		transform: translateX(5px);
	}

	.header__nav-link--button {
		border: 1px solid var(--accent-teal);
		padding: 12px 24px;
		border-radius: 8px;
		margin-top: 10px;
		background-color: transparent;
		transition: all 0.3s ease;
	}

	.header__nav-link--button:hover {
		background-color: var(--accent-teal);
		color: var(--bg-dark-blue);
		transform: translateY(-2px);
		box-shadow: 0 5px 15px rgba(100, 255, 218, 0.3);
	}

	.header__burger {
		display: block;
		z-index: 110;
		position: relative;
		width: 40px;
		height: 40px;
		border-radius: 8px;
		transition: background-color 0.3s ease;
	}

	.header__burger:hover {
		background-color: var(--accent-teal-hover);
	}

	.header__burger i {
		width: 24px;
		height: 24px;
		transition: transform 0.3s ease;
	}
}

/* --- Button --- */
.button {
	display: inline-block;
	border: 1px solid var(--accent-teal);
	padding: 14px 28px;
	border-radius: 5px;
	color: var(--accent-teal);
	font-weight: 600;
	font-size: 1rem;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.button:hover {
	background-color: var(--accent-teal-hover);
	color: var(--accent-teal);
}

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

.hero__container {
	padding: 40px 20px;
}

.hero__content {
	max-width: 1000px;
}

.hero__title {
	font-size: clamp(1.5rem, 6vw, 3.5rem); /* Responsive font size */
	font-weight: 700;
	line-height: 1.1;
	margin-bottom: 25px;
	color: var(--text-light);
}

.hero__title .char {
	display: inline-block;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero__title .char.visible {
	opacity: 1;
	transform: translateY(0);
}

.hero__subtitle {
	font-size: 1.1rem;
	color: var(--text-gray);
	margin-bottom: 40px;
	max-width: 600px;
	opacity: 0;
	transform: translateY(20px);
	animation: fadeIn 0.5s ease forwards;
	animation-delay: 2s; /* Delay until title animation is likely done */
}

.hero__cta {
	opacity: 0;
	transform: translateY(20px);
	animation: fadeIn 0.5s ease forwards;
	animation-delay: 2.2s;
}

@keyframes fadeIn {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* --- Helper Class --- */
.section-title {
	text-align: center;
	font-size: clamp(1.8rem, 5vw, 2.5rem);
	font-weight: 700;
	color: var(--text-light);
	margin-bottom: 60px;
	position: relative;
	padding-bottom: 15px;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 4px;
	background-color: var(--accent-teal);
	border-radius: 2px;
}

/* --- Benefits Section --- */
.benefits {
	padding: 100px 0;
}

.benefits__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
}

.benefits__item {
	background-color: var(--bg-light-blue);
	padding: 40px 30px;
	border-radius: 8px;
	text-align: center;
	box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefits__item:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 30px -15px rgba(2, 12, 27, 0.7);
}

.benefits__icon {
	color: var(--accent-teal);
	margin-bottom: 25px;
}

.benefits__icon .lucide {
	width: 50px;
	height: 50px;
}

.benefits__item-title {
	font-size: 1.4rem;
	font-weight: 600;
	color: var(--text-light);
	margin-bottom: 15px;
}

.benefits__item-text {
	font-size: 0.95rem;
	color: var(--text-gray);
	line-height: 1.7;
}


/* --- Process Section --- */
.process {
    padding: 100px 0;
    background-color: var(--bg-light-blue);
}

.process__wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 700px;
    margin: 0 auto;
}

.process__item {
    position: relative;
    padding: 20px 20px 20px 40px;
    border-left: 3px solid var(--accent-teal);
    background-color: var(--bg-dark-blue);
    border-radius: 0 8px 8px 0;
}

.process__number {
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 5rem;
    font-weight: 700;
    color: rgba(136, 146, 176, 0.1);
    z-index: 1;
    -webkit-text-stroke: 1px rgba(136, 146, 176, 0.2);
    text-stroke: 1px rgba(136, 146, 176, 0.2);
}

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

.process__item-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 10px;
}

.process__item-text {
    color: var(--text-gray);
    line-height: 1.7;
}

@media (max-width: 600px) {
    .process__number {
        font-size: 4rem;
        left: -20px;
    }
    .process__item {
        padding-left: 20px;
    }
}

/* --- FAQ Section --- */
.faq {
    padding: 100px 0;
}

.faq__accordion {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid var(--bg-light-blue);
}

.faq__item {
    border-bottom: 1px solid var(--bg-light-blue);
}

.faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 600;
    font-family: var(--font-primary);
}

.faq__question:hover {
    color: var(--accent-teal);
}

.faq__icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    color: var(--accent-teal);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
}

.faq__answer p {
    color: var(--text-gray);
    line-height: 1.7;
    padding-bottom: 25px;
}

/* Active state for accordion */
.faq__item.is-active .faq__icon {
    transform: rotate(180deg);
}

/* --- Contact Section --- */
.contact {
    padding: 100px 0;
}

.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.contact__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
}

.contact__description {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact__form-group {
    display: flex;
    flex-direction: column;
}

.contact__label {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.contact__input {
    width: 100%;
    padding: 15px;
    background-color: var(--bg-light-blue);
    border: 1px solid var(--text-gray);
    border-radius: 5px;
    color: var(--text-light);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact__input:focus {
    outline: none;
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 3px var(--accent-teal-hover);
}

.contact__form-group--checkbox {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.contact__checkbox-input {
    display: none; /* Hide default checkbox */
}

.contact__checkbox-label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.contact__checkbox-label a {
    color: var(--accent-teal);
    text-decoration: underline;
}

.contact__checkbox-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 1px solid var(--text-gray);
    border-radius: 4px;
    background-color: var(--bg-light-blue);
    transition: background-color 0.3s, border-color 0.3s;
}

.contact__checkbox-label::after {
    content: '✔';
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    font-size: 16px;
    color: var(--bg-dark-blue);
    transition: transform 0.3s;
}

.contact__checkbox-input:checked + .contact__checkbox-label::before {
    background-color: var(--accent-teal);
    border-color: var(--accent-teal);
}

.contact__checkbox-input:checked + .contact__checkbox-label::after {
    transform: translateY(-50%) scale(1);
}

.contact__submit {
    margin-top: 10px;
    font-size: 1.1rem;
}

.contact__success-message {
    display: none; /* Hidden by default */
    text-align: center;
    padding: 40px;
    background-color: var(--bg-light-blue);
    border-radius: 8px;
    border: 1px solid var(--accent-teal);
}

.contact__success-message .lucide {
    width: 60px;
    height: 60px;
    color: var(--accent-teal);
    margin-bottom: 20px;
}

.contact__success-message h4 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.contact__success-message p {
    color: var(--text-gray);
}

@media (max-width: 820px) {
    .contact__wrapper {
        grid-template-columns: 1fr;
    }
    .contact__text-content {
        text-align: center;
    }
}

/* --- Cookie Pop-up --- */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(17, 34, 64, 0.9);
    backdrop-filter: blur(5px);
    padding: 20px 0;
    z-index: 1000;
    transform: translateY(150%);
    transition: transform 0.5s ease-in-out;
}

.cookie-popup.is-visible {
    transform: translateY(0);
}

.cookie-popup__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-popup__text {
    color: var(--text-gray);
    font-size: 0.9rem;
}

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

.cookie-popup__button {
    padding: 10px 25px;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .cookie-popup__container {
        flex-direction: column;
        text-align: center;
    }
}

/* --- Policy Pages --- */
.pages {
    padding: 140px 0 100px; /* Extra top padding to account for fixed header */
}

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

.pages h1 {
    font-size: clamp(1.5rem, 5vw, 3rem);
    color: var(--text-light);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent-teal);
}

.pages h2 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin: 40px 0 20px;
}

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

.pages ul {
    list-style-type: disc;
    padding-left: 25px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

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

.pages a {
    color: var(--accent-teal);
    text-decoration: underline;
    transition: color 0.3s;
}

.pages a:hover {
    color: var(--text-light);
}

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