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

/* CSS Variables */
:root {
	--bg-color: #0d1117;
	--primary-accent: #39ff14;
	--text-color: #e6edf3;
	--text-secondary-color: #8b949e;
	--border-color: #30363d;
	--header-height: 80px;
	--font-family: 'Poppins', sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

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

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

ul {
	list-style: none;
}

a {
	text-decoration: none;
	color: inherit;
	transition: color 0.3s ease;
}

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

h1,
h2,
h3 {
	line-height: 1.2;
	font-weight: 600;
}

/* HEADER */
.header {
	background-color: rgba(13, 17, 23, 0.8);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--border-color);
	height: var(--header-height);
	position: sticky;
	top: 0;
	z-index: 1000;
}

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

.logo {
	display: flex;
	align-items: center;
	gap: 12px;
}

.logo__text {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-color);
}

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

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

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

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

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

.nav__link--cta {
	background-color: var(--primary-accent);
	color: #000;
	padding: 8px 20px;
	border-radius: 50px;
	font-weight: 600;
	border: 2px solid var(--primary-accent);
	transition: background-color 0.3s ease, color 0.3s ease;
}

.nav__link--cta:hover {
	background-color: transparent;
	color: var(--primary-accent);
}
.nav__link--cta::after {
	display: none;
}

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

/* FOOTER */
.footer {
	background-color: #010409;
	padding: 60px 0 20px;
	border-top: 1px solid var(--border-color);
}

.footer__container {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px;
	margin-bottom: 40px;
}

.footer__column--about {
	grid-column: span 1;
}

.footer__description {
	margin-top: 15px;
	color: var(--text-secondary-color);
	font-size: 0.9rem;
}

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

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

.footer__link {
	color: var(--text-secondary-color);
	transition: color 0.3s ease, padding-left 0.3s ease;
	font-size: 0.95rem;
	position: relative;
}

.footer__link:hover {
	color: var(--primary-accent);
	padding-left: 5px;
}

.footer__address {
	color: var(--text-secondary-color);
	font-style: normal;
	font-size: 0.95rem;
}

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

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

@media (max-width: 768px) {
	.nav {
		display: none;
		position: fixed;
		top: var(--header-height);
		left: 0;
		width: 100%;
		height: calc(100vh - var(--header-height));
		background-color: var(--bg-color);
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

	.nav--mobile-active {
		display: flex;
	}

	.nav__list {
		flex-direction: column;
		gap: 40px;
	}

	.nav__link {
		font-size: 1.5rem;
	}

	.header__burger-btn {
		display: block;
		z-index: 1001; /* Above mobile menu */
	}

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

	.footer__column .logo {
		justify-content: center;
	}

	.footer__link:hover {
		padding-left: 0;
	}
}

/* assets/css/style.css */

/* ... после всех предыдущих стилей ... */

/* General Button Styles */
.btn {
	display: inline-block;
	padding: 12px 32px;
	font-size: 1rem;
	font-weight: 600;
	text-align: center;
	border-radius: 50px;
	cursor: pointer;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 2px solid var(--primary-accent);
	background-color: var(--primary-accent);
	color: #000;
}

.btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(57, 255, 20, 0.2);
}

/* HERO SECTION */
.hero {
	min-height: calc(100vh - var(--header-height));
	display: flex;
	align-items: center;
	padding: 60px 0;
}

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

.hero__title {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 20px;
}

.hero__title-line {
	display: block;
}

/* For animation */
.hero__title .word {
	display: inline-block;
	opacity: 0;
	transform-origin: 0 0; /* Improves transform animation */
}

.hero__description {
	font-size: 1.1rem;
	color: var(--text-secondary-color);
	max-width: 500px;
	margin-bottom: 30px;
}

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

.hero__image {
	max-width: 100%;
	border-radius: 20px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
	border: 1px solid var(--border-color);
}

/* Responsive adjustments for HERO */
@media (max-width: 992px) {
	.hero__title {
		font-size: 1.5rem;
	}
}

@media (max-width: 768px) {
	.hero {
		text-align: center;
		min-height: auto;
		padding: 40px 0;
	}
	.hero__container {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.hero__content {
		order: 2; /* Content below image on mobile */
	}
	.hero__image-wrapper {
		order: 1;
	}
	.hero__description {
		margin-left: auto;
		margin-right: auto;
	}
}

/* assets/css/style.css */

/* ... после всех предыдущих стилей ... */

/* Shared Section Styles */
.section-title,
.section-subtitle {
	text-align: center;
}

.section-title {
	font-size: 2.5rem;
	margin-bottom: 15px;
	font-weight: 700;
}

.section-subtitle {
	font-size: 1.1rem;
	color: var(--text-secondary-color);
	max-width: 700px;
	margin: 0 auto 50px;
}

/* SERVICES SECTION */
.services {
	padding: 80px 0;
	background-color: #010409; /* Slightly different background to separate sections */
}

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

.service-card {
	background-color: var(--bg-color);
	padding: 40px 30px;
	border: 1px solid var(--border-color);
	border-radius: 15px;
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(57, 255, 20, 0.1);
	border-color: rgba(57, 255, 20, 0.5);
}

.service-card__icon {
	margin-bottom: 20px;
}

.service-card__icon i {
	width: 48px;
	height: 48px;
	color: var(--primary-accent);
}

.service-card__title {
	font-size: 1.5rem;
	margin-bottom: 15px;
	font-weight: 600;
}

.service-card__description {
	color: var(--text-secondary-color);
	font-size: 0.95rem;
}

/* Responsive adjustments for SERVICES */
@media (max-width: 768px) {
	.services {
		padding: 60px 0;
	}
	.section-title {
		font-size: 2rem;
	}
	.section-subtitle {
		font-size: 1rem;
		margin-bottom: 40px;
	}
}

/* assets/css/style.css */

/* ... после всех предыдущих стилей ... */

/* TECHNOLOGY SECTION */
.technology {
	padding: 80px 0;
}

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

.technology__image {
	width: 100%;
	border-radius: 15px;
	border: 1px solid var(--border-color);
}

/* Align section title to the left since it's in a column */
.technology__content .section-title {
	text-align: left;
}
.technology__content .section-subtitle {
	/* Not used here, but good practice */
	text-align: left;
	margin-left: 0;
	margin-right: 0;
}

.technology__description {
	color: var(--text-secondary-color);
	margin-bottom: 30px;
	font-size: 1.05rem;
}

.technology__features-list {
	list-style: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.technology__feature-item {
	display: flex;
	align-items: flex-start;
	gap: 15px;
}

.technology__feature-item i {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	color: var(--primary-accent);
	margin-top: 3px;
}

/* Responsive adjustments for TECHNOLOGY */
@media (max-width: 768px) {
	.technology {
		padding: 60px 0;
	}
	.technology__container {
		grid-template-columns: 1fr;
	}
	.technology__content .section-title {
		text-align: center;
	}
	.technology__description {
		text-align: center;
	}
}

/* assets/css/style.css */

/* ... после всех предыдущих стилей ... */

/* PROCESS SECTION */
.process {
	padding: 80px 0;
	background-color: #010409;
}

.process__steps-wrapper {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	position: relative;
}

/* Decorative connecting line for desktop */
.process__steps-wrapper::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 5%;
	right: 5%;
	height: 2px;
	background: repeating-linear-gradient(
		90deg,
		var(--border-color),
		var(--border-color) 10px,
		transparent 10px,
		transparent 20px
	);
	transform: translateY(-50%);
	z-index: 1;
}

.process-step {
	background-color: var(--bg-color);
	padding: 30px;
	border: 1px solid var(--border-color);
	border-radius: 15px;
	position: relative;
	z-index: 2;
	overflow: hidden;
}

.process-step__number {
	position: absolute;
	top: -10px;
	right: 20px;
	font-size: 4rem;
	font-weight: 700;
	color: rgba(230, 237, 243, 0.05);
	line-height: 1;
}

.process-step__title {
	font-size: 1.5rem;
	margin-bottom: 15px;
	color: var(--primary-accent);
}

.process-step__description {
	color: var(--text-secondary-color);
	font-size: 0.95rem;
}

/* Responsive adjustments for PROCESS */
@media (max-width: 992px) {
	.process__steps-wrapper {
		grid-template-columns: 1fr;
	}
	.process__steps-wrapper::before {
		display: none; /* Hide line on mobile */
	}
}

@media (max-width: 768px) {
	.process {
		padding: 60px 0;
	}
}

/* assets/css/style.css */

/* ... после всех предыдущих стилей ... */

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

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

.faq__item {
	border-bottom: 1px solid var(--border-color);
}

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

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

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

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

.faq__answer {
	padding-bottom: 20px;
	color: var(--text-secondary-color);
	line-height: 1.7;
}

/* Responsive adjustments for FAQ */
@media (max-width: 768px) {
	.faq {
		padding: 60px 0;
	}
	.faq__question {
		font-size: 1.1rem;
	}
}

/* assets/css/style.css */

/* ... после всех предыдущих стилей ... */

/* CONTACT SECTION */
.contact {
	padding: 80px 0;
	background-color: #010409;
}

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

.contact__info .section-title {
	margin-bottom: 20px;
}

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

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

.contact-form__group {
	display: flex;
	flex-direction: column;
}

.contact-form__label {
	margin-bottom: 8px;
	font-weight: 500;
	color: var(--text-secondary-color);
}

.contact-form__input {
	width: 100%;
	padding: 12px 15px;
	background-color: var(--bg-color);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	color: var(--text-color);
	font-size: 1rem;
	font-family: var(--font-family);
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form__input:focus {
	outline: none;
	border-color: var(--primary-accent);
	box-shadow: 0 0 0 3px rgba(57, 255, 20, 0.2);
}

.contact-form__group--checkbox {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 10px;
	margin-top: 5px;
}

.contact-form__checkbox {
	margin-top: 5px;
	flex-shrink: 0;
	width: 1.2em;
	height: 1.2em;
}

.contact-form__checkbox-label {
	font-size: 0.9rem;
	color: var(--text-secondary-color);
}

.contact-form__submit {
	margin-top: 10px;
	width: 100%;
}

.contact-form__success-message {
	margin-top: 20px;
	text-align: center;
	padding: 40px;
	border: 1px solid var(--border-color);
	border-radius: 15px;
}

.contact-form__success-message i {
	width: 60px;
	height: 60px;
	color: var(--primary-accent);
	margin-bottom: 20px;
}

.contact-form__success-message h3 {
	font-size: 1.8rem;
	margin-bottom: 10px;
}

.contact-form__success-message p {
	color: var(--text-secondary-color);
}

/* Responsive adjustments for CONTACT */
@media (max-width: 992px) {
	.contact__wrapper {
		grid-template-columns: 1fr;
	}
	.contact__info {
		text-align: center;
	}
	.contact__info .section-title {
		text-align: center;
	}
}

/* assets/css/style.css */
/* ... после всех предыдущих стилей ... */

/* COOKIE POPUP */
.cookie-popup {
	position: fixed;
	bottom: 20px;
	left: 20px;
	right: 20px;
	max-width: 500px;
	background-color: var(--bg-color);
	border: 1px solid var(--border-color);
	padding: 20px;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	z-index: 2000;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	transform: translateY(200%);
	transition: transform 0.5s ease-in-out;
}

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

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

.cookie-popup__link {
	color: var(--primary-accent);
	text-decoration: underline;
}

.cookie-popup__btn {
	flex-shrink: 0;
	padding: 8px 20px;
	background-color: var(--primary-accent);
	color: #000;
	border: none;
	border-radius: 50px;
	cursor: pointer;
	font-weight: 500;
}

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

/* assets/css/style.css */
/* ... после всех предыдущих стилей ... */

/* POLICY & TEXT PAGES STYLES */
.pages {
	padding: 80px 0;
}

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

.pages h1 {
	font-size: 1.5rem;
	margin-bottom: 30px;
	color: var(--primary-accent);
}

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

.pages p,
.pages li {
	font-size: 1.1rem;
	line-height: 1.8;
	color: var(--text-secondary-color);
	margin-bottom: 15px;
}

.pages a {
	color: var(--primary-accent);
	text-decoration: underline;
}

.pages ul {
	list-style-position: inside;
	padding-left: 10px;
}
