/* ====================
   GLOBAL STYLES & VARIABLES
   ==================== */

:root {
	--font-primary: 'Inter', sans-serif;
	--font-secondary: 'Space Grotesk', sans-serif;

	--color-bg: #0d1b2a;
	--color-text: #e0e1dd;
	--color-text-secondary: #415a77;
	--color-accent: #00b4d8;
	--color-white: #ffffff;
	--color-border: rgba(65, 90, 119, 0.2);
}

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

html {
	scroll-behavior: smooth;
}

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

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

ul {
	list-style: none;
}

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

h1,
h2,
h3 {
	font-family: var(--font-secondary);
	font-weight: 700;
}

/* ====================
   LOGO
   ==================== */
.logo {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-secondary);
	font-weight: 700;
	font-size: 24px;
	color: var(--color-white);
}

.logo__svg {
	width: 32px;
	height: 32px;
}

/* ====================
   HEADER
   ==================== */

.header {
	padding: 20px 0;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	background-color: rgba(13, 27, 42, 0.8);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--color-border);
}

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

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

.header__nav-link {
	color: var(--color-text);
	font-weight: 500;
	position: relative;
	padding: 8px 0;
}

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

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

.header__nav-link:hover::after {
	width: 100%;
}

.header__nav-link--button {
	background-color: var(--color-accent);
	color: var(--color-white);
	padding: 10px 20px;
	border-radius: 6px;
	transition: background-color 0.3s ease, transform 0.3s ease;
}

.header__nav-link--button:hover {
	background-color: #009cbf;
	transform: translateY(-2px);
	color: var(--color-white);
}

.header__nav-link--button::after {
	display: none;
}

.header__burger {
	display: none;
	background: none;
	border: none;
	color: var(--color-white);
	cursor: pointer;
	z-index: 1001;
}

.header__burger .lucide-x {
	display: none;
}

/* Mobile styles */
@media (max-width: 992px) {
	.header__nav {
		position: fixed;
		top: 0;
		right: -100%;
		width: 100%;
		max-width: 320px;
		height: 100vh;
		background-color: var(--color-bg);
		box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
		transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
		padding-top: 100px;
	}

	.header__nav.is-active {
		right: 0;
	}

	.header__nav-list {
		flex-direction: column;
		align-items: center;
		gap: 20px;
	}

	.header__nav-link {
		font-size: 20px;
	}

	.header__burger {
		display: block;
	}

	.header__burger.is-active .lucide-menu {
		display: none;
	}

	.header__burger.is-active .lucide-x {
		display: block;
	}
}

/* ====================
   FOOTER
   ==================== */

.footer {
	background-color: #08121d;
	padding-top: 60px;
	font-size: 14px;
}

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

.footer__column--about {
	max-width: 300px;
}

.footer__description {
	margin-top: 16px;
	color: var(--color-text-secondary);
	line-height: 1.7;
}

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

.footer__list li {
	margin-bottom: 12px;
}

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

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

.footer__icon {
	width: 16px;
	height: 16px;
	margin-top: 4px;
	color: var(--color-text-secondary);
	flex-shrink: 0;
}

.footer__bottom {
	border-top: 1px solid var(--color-border);
	padding: 20px 0;
	text-align: center;
	color: var(--color-text-secondary);
}

/* ====================
   HERO SECTION
   ==================== */
.hero {
	padding-top: 180px; /* Отступ от фиксированного хедера */
	padding-bottom: 100px;
	overflow: hidden; /* Для декоративных элементов */
}

.hero__container {
	display: grid;
	grid-template-columns: 1fr;
	gap: 60px;
	align-items: center;
}

@media (min-width: 992px) {
	.hero__container {
		grid-template-columns: 1fr 1fr;
	}
}

.hero__content {
	text-align: center;
}

@media (min-width: 992px) {
	.hero__content {
		text-align: left;
	}
}

.hero__title {
	font-size: 2rem;
	line-height: 1.2;
	margin-bottom: 24px;
	font-weight: 700;
}

.hero__title--highlight {
	color: var(--color-accent);
	position: relative;
}

/* Эффект курсора для анимации */
.hero__title--highlight::after {
	content: '|';
	animation: blink 0.7s infinite;
	font-weight: 400;
}

@keyframes blink {
	50% {
		opacity: 0;
	}
}

.hero__subtitle {
	font-size: 1.1rem;
	color: var(--color-text-secondary);
	max-width: 500px;
	margin: 0 auto 32px auto;
}

@media (min-width: 992px) {
	.hero__subtitle {
		margin: 0 0 32px 0;
	}
}

.hero__actions {
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: center;
}

@media (min-width: 576px) {
	.hero__actions {
		flex-direction: row;
		justify-content: center;
	}
}

@media (min-width: 992px) {
	.hero__actions {
		justify-content: flex-start;
	}
}

.hero__cta-button {
	display: inline-block;
	background-color: var(--color-accent);
	color: var(--color-white);
	padding: 14px 32px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 1rem;
	transition: all 0.3s ease;
	width: 100%;
	text-align: center;
}

@media (min-width: 576px) {
	.hero__cta-button {
		width: auto;
	}
}

.hero__cta-button:hover {
	background-color: #009cbf;
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(0, 180, 216, 0.2);
}

.hero__secondary-button {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--color-text);
	font-weight: 600;
	transition: color 0.3s ease;
	width: 100%;
	justify-content: center;
	padding: 14px 0;
}

@media (min-width: 576px) {
	.hero__secondary-button {
		width: auto;
		padding: 0;
	}
}

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

.hero__secondary-button .lucide {
	transition: transform 0.3s ease;
}

.hero__secondary-button:hover .lucide {
	transform: translateX(4px);
}

.hero__image-wrapper {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}

.hero__image {
	width: 100%;
	border-radius: 16px;
	position: relative;
	z-index: 2;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero__image-bg {
	position: absolute;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		45deg,
		var(--color-accent),
		var(--color-text-secondary)
	);
	opacity: 0.1;
	filter: blur(80px);
	border-radius: 50%;
	z-index: 1;
}

/* ====================
   SHARED SECTION STYLES
   ==================== */
.section-header {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 60px auto;
}

.section-header__title {
	font-size: 2.5rem;
	margin-bottom: 16px;
}

.section-header__subtitle {
	font-size: 1.1rem;
	color: var(--color-text-secondary);
}

/* ====================
   SOLUTIONS SECTION
   ==================== */
.solutions {
	padding: 100px 0;
	background-color: #08121d; /* Слегка другой оттенок для выделения */
}

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

.solution-card {
	background-color: var(--color-bg);
	border: 1px solid var(--color-border);
	padding: 32px;
	border-radius: 12px;
	transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover {
	transform: translateY(-8px);
	border-color: var(--color-accent);
	box-shadow: 0 15px 30px rgba(0, 180, 216, 0.1);
}

.solution-card__icon {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background-color: rgba(0, 180, 216, 0.1);
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 24px;
}

.solution-card__icon .lucide {
	width: 28px;
	height: 28px;
	color: var(--color-accent);
}

.solution-card__title {
	font-size: 1.5rem;
	margin-bottom: 12px;
}

.solution-card__description {
	color: var(--color-text-secondary);
}

/* ====================
   FEATURES SECTION
   ==================== */
.features {
	padding: 100px 0;
}

.feature-item {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	align-items: center;
	margin-bottom: 80px;
}

.feature-item:last-child {
	margin-bottom: 0;
}

@media (min-width: 992px) {
	.feature-item {
		grid-template-columns: 1fr 1fr;
		gap: 80px;
	}
}

.feature-item--reversed .feature-item__image-wrapper {
	order: 2;
}

@media (min-width: 992px) {
	.feature-item--reversed .feature-item__content {
		order: 1;
	}
}

.feature-item__image-wrapper {
	position: relative;
}

.feature-item__image {
	width: 100%;
	border-radius: 12px;
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-item__title {
	font-size: 2rem;
	margin-bottom: 16px;
}

.feature-item__description {
	color: var(--color-text-secondary);
	margin-bottom: 24px;
}

.feature-item__list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.feature-item__list li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 500;
}

.feature-item__list .lucide {
	color: var(--color-accent);
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

/* ====================
   PROCESS SECTION
   ==================== */
.process {
	padding: 100px 0;
	background-color: #08121d;
}

.process__timeline {
	position: relative;
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

/* The vertical line */
.process__timeline::after {
	content: '';
	position: absolute;
	width: 2px;
	background-color: var(--color-border);
	top: 20px;
	bottom: 20px;
	left: 49px; /* Position based on step number width */
}

@media (max-width: 768px) {
	.process__timeline::after {
		left: 29px;
	}
}

.process__item {
	display: flex;
	align-items: flex-start;
	gap: 30px;
	position: relative;
	z-index: 1;
}

@media (max-width: 768px) {
	.process__item {
		gap: 20px;
	}
}

.process__step-number {
	font-size: 2rem;
	font-weight: 700;
	font-family: var(--font-secondary);
	color: var(--color-text-secondary);
	background-color: var(--color-bg);
	width: 100px;
	height: 100px;
	flex-shrink: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	border: 2px solid var(--color-border);
	border-radius: 50%;
	transition: all 0.3s ease;
}

@media (max-width: 768px) {
	.process__step-number {
		width: 60px;
		height: 60px;
		font-size: 1.5rem;
	}
}

.process__item:hover .process__step-number {
	border-color: var(--color-accent);
	color: var(--color-accent);
}

.process__content {
	padding-top: 10px; /* Align with center of the circle */
}

.process__title {
	font-size: 1.8rem;
	margin-bottom: 12px;
}

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

.process__description a {
	color: var(--color-accent);
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: rgba(0, 180, 216, 0.4);
}

.process__description a:hover {
	text-decoration-color: var(--color-accent);
}

/* ====================
   FAQ SECTION
   ==================== */
.faq {
	padding: 100px 0;
}

.faq__accordion {
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.faq__item {
	background-color: #08121d;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	overflow: hidden;
}

.faq__question {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 20px 24px;
	background: none;
	border: none;
	color: var(--color-white);
	font-family: var(--font-secondary);
	font-size: 1.2rem;
	font-weight: 500;
	text-align: left;
	cursor: pointer;
}

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

.faq__icon {
	transition: transform 0.3s ease;
	flex-shrink: 0;
	margin-left: 16px;
}

.faq__item.is-active .faq__icon {
	transform: rotate(180deg);
}

.faq__answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
		padding 0.4s ease;
}

.faq__answer p {
	padding: 0 24px 24px 24px;
	color: var(--color-text-secondary);
	line-height: 1.7;
}

/* ====================
   CONTACT SECTION
   ==================== */
.contact {
	padding: 100px 0;
	background-color: #08121d;
}

.contact__wrapper {
	display: grid;
	grid-template-columns: 1fr;
	gap: 60px;
	align-items: center;
	background-color: var(--color-bg);
	padding: 60px;
	border-radius: 16px;
	border: 1px solid var(--color-border);
}

@media (min-width: 992px) {
	.contact__wrapper {
		grid-template-columns: 1fr 1.2fr;
	}
}

@media (max-width: 768px) {
	.contact__wrapper {
		padding: 30px;
	}
}

.contact__title {
	font-size: 2.5rem;
	margin-bottom: 16px;
}

.contact__description {
	color: var(--color-text-secondary);
	margin-bottom: 24px;
	line-height: 1.7;
}

.contact__details {
	padding-left: 16px;
	border-left: 3px solid var(--color-accent);
	color: var(--color-text-secondary);
	font-size: 0.9rem;
}

.contact__details p {
	margin-bottom: 8px;
}
.contact__details p:last-child {
	margin-bottom: 0;
}

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

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

.form-group__label {
	margin-bottom: 8px;
	font-size: 0.9rem;
	color: var(--color-text-secondary);
}

.form-group__input {
	background-color: #08121d;
	border: 1px solid var(--color-border);
	border-radius: 6px;
	padding: 14px;
	color: var(--color-text);
	font-size: 1rem;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group__input::placeholder {
	color: var(--color-text-secondary);
}

.form-group__input:focus {
	outline: none;
	border-color: var(--color-accent);
	box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.2);
}

.form-group--checkbox {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 0.85rem;
	color: var(--color-text-secondary);
}

.form-group--checkbox input[type='checkbox'] {
	margin-top: 4px;
	accent-color: var(--color-accent);
}

.form-group--checkbox a {
	color: var(--color-text);
	text-decoration: underline;
}
.form-group--checkbox a:hover {
	color: var(--color-accent);
}

.contact__submit-button {
	background-color: var(--color-accent);
	color: var(--color-white);
	padding: 16px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 1.1rem;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
}

.contact__submit-button:hover {
	background-color: #009cbf;
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(0, 180, 216, 0.2);
}

.contact__success-message {
	display: none; /* Initially hidden */
	text-align: center;
	padding: 40px;
}

.contact__success-icon {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	background-color: rgba(0, 180, 216, 0.1);
	color: var(--color-accent);
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 auto 24px auto;
}
.contact__success-icon .lucide {
	width: 32px;
	height: 32px;
}

.contact__success-title {
	font-size: 2rem;
	margin-bottom: 12px;
}

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

/* ====================
   COOKIE POP-UP
   ==================== */
.cookie-popup {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: #08121d;
	border-top: 1px solid var(--color-border);
	padding: 20px 0;
	z-index: 1100;
	transform: translateY(100%);
	transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

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

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

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

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

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

.cookie-popup__button {
	background-color: var(--color-accent);
	color: var(--color-white);
	padding: 10px 24px;
	border-radius: 6px;
	border: none;
	cursor: pointer;
	font-weight: 500;
	transition: background-color 0.3s ease;
	white-space: nowrap;
}

.cookie-popup__button:hover {
	background-color: #009cbf;
}

/* ====================
   STYLES FOR POLICY PAGES
   ==================== */
.pages {
	padding: 140px 0 80px 0;
}

.pages h1 {
	font-size: 1.5rem;
	margin-bottom: 32px;
}

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

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

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

.pages li {
	margin-bottom: 12px;
}

.pages a {
	color: var(--color-accent);
	text-decoration: underline;
	font-weight: 500;
}
.pages a:hover {
	text-decoration: none;
}

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