/* GLOBAL STYLES */
:root {
	--bg-color: #0a0a1a;
	--text-color: #e0e0e0;
	--primary-color: #4d5bce;
	--accent-color: #16f4d0;
	--card-color: #1a1a2e;
	--header-height: 80px;
	--font-family-headings: 'Exo 2', sans-serif;
	--font-family-body: 'Roboto', sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-family-headings);
	color: #fff;
	line-height: 1.2;
}

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

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

ul {
	list-style: none;
}

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

.button {
	display: inline-block;
	padding: 12px 24px;
	background-color: var(--primary-color);
	color: #fff;
	font-weight: 500;
	border-radius: 8px;
	text-align: center;
	border: 2px solid transparent;
	transition: background-color 0.3s ease, color 0.3s ease,
		border-color 0.3s ease;
}

.button:hover {
	background-color: transparent;
	color: var(--primary-color);
	border-color: var(--primary-color);
}

/* HEADER */
.header {
	background-color: rgba(10, 10, 26, 0.8);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	position: sticky;
	top: 0;
	width: 100%;
	z-index: 1000;
}

.header__container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: var(--header-height);
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-family-headings);
	font-size: 24px;
	font-weight: 700;
	color: #fff;
}

.logo:hover {
	color: #fff;
}

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

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

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

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

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

.header__nav-link:hover {
	color: #fff;
}

.header__actions {
	display: flex;
	align-items: center;
	gap: 20px;
}

.header__nav-contact {
	display: none;
}

.header__burger-menu {
	display: none;
	background: none;
	border: none;
	color: #fff;
	cursor: pointer;
}

/* FOOTER */
.footer {
	background-color: var(--card-color);
	padding-top: 60px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.footer__description {
	margin-top: 20px;
	color: var(--text-color);
	font-size: 14px;
	max-width: 250px;
}

.footer__title {
	font-size: 18px;
	margin-bottom: 20px;
	color: #fff;
}

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

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

.footer__item--contact {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.footer__contact-icon {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	color: var(--accent-color);
	margin-top: 2px;
}

.footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 20px 0;
	text-align: center;
	font-size: 14px;
	color: var(--text-color);
}

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

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

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

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

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

	.header__nav-contact {
		display: flex;
		justify-content: center;
		width: 100%;
	}

	.header__nav-cta-button {
		font-size: 18px;
		padding: 16px 32px;
	}

	.header__cta-button {
		display: none;
	}

	.header__burger-menu {
		display: block;
	}
}

@media (max-width: 576px) {
	.footer__container {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.footer__column--about,
	.footer__logo {
		margin-left: auto;
		margin-right: auto;
	}
	.footer__list--contacts {
		align-items: center;
	}
	.footer__item--contact {
		justify-content: center;
	}
}

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

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

#hero-canvas {
	display: block;
	width: 100%;
	height: 100%;
}

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

.hero__content {
	max-width: 800px;
	text-align: left;
}

.hero__title {
	font-size: 52px;
	margin-bottom: 20px;
	line-height: 1.2;
}

.hero__subtitle {
	font-size: 18px;
	margin-bottom: 40px;
	max-width: 800px;
	color: var(--text-color);
	line-height: 1.7;
}

.hero__button {
	padding: 15px 35px;
	font-size: 18px;
}

/* HERO ADAPTATION */
@media (max-width: 768px) {
	.hero {
		min-height: auto;
		padding: 60px 0;
		text-align: center;
	}

	.hero__content {
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}

	.hero__title {
		font-size: 36px;
	}

	.hero__subtitle {
		font-size: 16px;
	}
}

/* FEATURES SECTION */
.features {
	padding: 100px 0;
	background-color: var(--card-color);
}

.features__header {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 60px;
}

.features__title {
	font-size: 42px;
	margin-bottom: 15px;
}

.features__subtitle {
	font-size: 18px;
	color: var(--text-color);
	line-height: 1.6;
}

.features__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}

.features__card {
	background-color: var(--bg-color);
	padding: 35px 30px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.features__card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.features__card-icon {
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(77, 91, 206, 0.1);
	border-radius: 50%;
	margin-bottom: 25px;
}

.features__card-icon i {
	width: 28px;
	height: 28px;
	color: var(--accent-color);
}

.features__card-title {
	font-size: 22px;
	margin-bottom: 10px;
}

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

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

@media (max-width: 768px) {
	.features {
		padding: 80px 0;
	}
	.features__title {
		font-size: 32px;
	}
}

@media (max-width: 576px) {
	.features__grid {
		grid-template-columns: 1fr;
	}
}

/* EXAMPLES SECTION */
.examples {
	padding: 100px 0;
}

.examples__header {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 60px;
}

.examples__title {
	font-size: 42px;
	margin-bottom: 15px;
}

.examples__subtitle {
	font-size: 18px;
	color: var(--text-color);
	line-height: 1.6;
}

.examples__tabs-nav {
	display: flex;
	justify-content: center;
	gap: 15px;
	margin-bottom: 50px;
	flex-wrap: wrap;
}

.examples__tab-button {
	padding: 12px 25px;
	font-size: 16px;
	font-weight: 500;
	font-family: var(--font-family-body);
	background-color: var(--card-color);
	color: var(--text-color);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.examples__tab-button:hover {
	background-color: var(--primary-color);
	color: #fff;
}

.examples__tab-button.is-active {
	background-color: var(--primary-color);
	color: #fff;
	border-color: var(--primary-color);
}

.examples__tab-pane {
	display: none;
}

.examples__tab-pane.is-active {
	display: block;
}

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

.examples__image-wrapper {
	border-radius: 12px;
	overflow: hidden;
}

.examples__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.examples__content-title {
	font-size: 32px;
	margin-bottom: 20px;
}

.examples__content-text {
	margin-bottom: 30px;
	color: var(--text-color);
}

.examples__content-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.examples__content-list li {
	display: flex;
	align-items: center;
	gap: 10px;
}

.examples__content-list i {
	color: var(--accent-color);
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

/* EXAMPLES ADAPTATION */
@media (max-width: 992px) {
	.examples__tab-content-inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

@media (max-width: 768px) {
	.examples {
		padding: 80px 0;
	}
	.examples__title {
		font-size: 32px;
	}
	.examples__content-title {
		font-size: 28px;
	}
}

/* FOR WHOM SECTION */
.for-whom {
	padding: 100px 0;
	background-color: var(--card-color);
}

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

.for-whom__title {
	font-size: 42px;
	margin-bottom: 15px;
}

.for-whom__subtitle {
	font-size: 18px;
	color: var(--text-color);
	line-height: 1.6;
	margin-bottom: 40px;
}

.for-whom__image-wrapper {
	border-radius: 12px;
	overflow: hidden;
}

.for-whom__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.accordion__item {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.accordion__item:first-child {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion__header {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0;
	background: none;
	border: none;
	color: #fff;
	font-size: 20px;
	font-family: var(--font-family-headings);
	text-align: left;
	cursor: pointer;
}

.accordion__header-icon {
	transition: transform 0.3s ease;
	flex-shrink: 0;
	margin-left: 15px;
	color: var(--primary-color);
}

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

.accordion__text {
	padding-bottom: 20px;
	color: var(--text-color);
}

/* Accordion Open State */
.accordion__item.is-open .accordion__content {
	max-height: 200px; /* Adjust if content is taller */
}

.accordion__item.is-open .accordion__header-icon {
	transform: rotate(180deg);
}

/* FOR WHOM ADAPTATION */
@media (max-width: 992px) {
	.for-whom__container {
		grid-template-columns: 1fr;
	}
	.for-whom__image-wrapper {
		order: -1; /* Image appears first on mobile */
		margin-bottom: 40px;
	}
}

@media (max-width: 768px) {
	.for-whom {
		padding: 80px 0;
	}
	.for-whom__title {
		font-size: 32px;
	}
	.accordion__header {
		font-size: 18px;
	}
}

/* START SECTION */
.start {
	padding: 100px 0;
}

.start__header {
	text-align: center;
	max-width: 600px;
	margin: 0 auto 60px;
}

.start__title {
	font-size: 42px;
	margin-bottom: 15px;
}

.start__subtitle {
	font-size: 18px;
	color: var(--text-color);
	line-height: 1.6;
}

.start__steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	margin-bottom: 60px;
	position: relative;
}

.start__step {
	text-align: center;
	background-color: var(--card-color);
	padding: 40px;
	border-radius: 12px;
}

.start__step-icon-wrapper {
	position: relative;
	width: 80px;
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(77, 91, 206, 0.1);
	border-radius: 50%;
	margin: 0 auto 30px;
	border: 2px solid var(--primary-color);
}

.start__step-icon-wrapper i {
	width: 36px;
	height: 36px;
	color: var(--accent-color);
}

.start__step-number {
	position: absolute;
	top: -10px;
	right: -10px;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--accent-color);
	color: var(--bg-color);
	font-family: var(--font-family-headings);
	font-weight: 700;
	border-radius: 50%;
	border: 2px solid var(--card-color);
}

.start__step-title {
	font-size: 22px;
	margin-bottom: 10px;
}

.start__step-text {
	color: var(--text-color);
}

/* Decorative line connecting steps */

.start__cta {
	text-align: center;
}

.start__button {
	padding: 15px 40px;
	font-size: 18px;
	text-transform: uppercase;
}

/* START ADAPTATION */
@media (max-width: 992px) {
	.start__steps {
		grid-template-columns: 1fr;
	}
	.start__step:not(:last-child)::after {
		display: none; /* Hide connector lines on mobile */
	}
}

@media (max-width: 768px) {
	.start {
		padding: 80px 0;
	}
	.start__title {
		font-size: 32px;
	}
}

/* CONTACT SECTION */
.contact {
	padding: 100px 0;
}

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

.contact__title {
	font-size: 42px;
	margin-bottom: 15px;
}

.contact__subtitle {
	font-size: 18px;
	color: var(--text-color);
	line-height: 1.6;
	margin-bottom: 30px;
}

.contact__benefits {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

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

.contact__benefits i {
	color: var(--accent-color);
	width: 20px;
	height: 20px;
}

.contact__form-wrapper {
	background-color: var(--card-color);
	padding: 40px;
	border-radius: 12px;
	position: relative;
}

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

.form__input {
	width: 100%;
	padding: 15px;
	background-color: var(--bg-color);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	color: #fff;
	font-size: 16px;
	transition: border-color 0.3s ease;
}

.form__label {
	position: absolute;
	top: 15px;
	left: 15px;
	color: var(--text-color);
	pointer-events: none;
	transition: all 0.3s ease;
}

.form__input:focus,
.form__input:not(:placeholder-shown) {
	border-color: var(--primary-color);
	outline: none;
}

.form__input:focus + .form__label,
.form__input:not(:placeholder-shown) + .form__label {
	top: -10px;
	left: 10px;
	font-size: 12px;
	color: var(--primary-color);
	background-color: var(--card-color);
	padding: 0 5px;
}

.form__group--checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 30px;
}

.form__checkbox-input {
	appearance: none;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	margin-top: 2px;
	background-color: var(--bg-color);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 4px;
	cursor: pointer;
	position: relative;
}

.form__checkbox-input:checked {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
}

.form__checkbox-input:checked::after {
	content: '\2713';
	color: #fff;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 14px;
}

.form__checkbox-label {
	font-size: 14px;
	color: var(--text-color);
}
.form__checkbox-label a {
	text-decoration: underline;
}

.contact__button {
	width: 100%;
	font-size: 18px;
}

.success-message {
	display: none; /* Initially hidden */
	text-align: center;
	padding: 40px 20px;
}
.success-message__icon {
	width: 60px;
	height: 60px;
	margin: 0 auto 20px;
	color: var(--accent-color);
}
.success-message__icon i {
	width: 100%;
	height: 100%;
}
.success-message__title {
	font-size: 28px;
	margin-bottom: 10px;
}
.success-message__text {
	color: var(--text-color);
}

/* CONTACT ADAPTATION */
@media (max-width: 992px) {
	.contact__container {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 768px) {
	.contact {
		padding: 80px 0;
	}
	.contact__title {
		font-size: 32px;
	}
}

/* COOKIE POP-UP */
.cookie-popup {
	position: fixed;
	bottom: -100%; /* Initially hidden */
	left: 0;
	width: 100%;
	background-color: var(--card-color);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 20px 0;
	z-index: 1100;
	transition: bottom 0.5s ease-in-out;
}

.cookie-popup.is-visible {
	bottom: 0;
}

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

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

.cookie-popup__text a {
	text-decoration: underline;
}

.cookie-popup__button {
	padding: 8px 20px;
	flex-shrink: 0;
}

/* COOKIE POP-UP ADAPTATION */
@media (max-width: 768px) {
	.cookie-popup__container {
		flex-direction: column;
		text-align: center;
	}
}

/* ============================================= */
/* PAGES (PRIVACY, TERMS, ETC.)         */
/* ============================================= */

.pages {
	padding: 80px 0;
}

.pages .container {
	max-width: 800px; /* Optimal width for reading text */
}

.pages h1 {
	font-size: 1.5rem;
	margin-bottom: 40px;
	text-align: center;
	color: var(--primary-color);
}

.pages h2 {
	font-size: 1.5rem;
	margin-top: 40px;
	margin-bottom: 20px;
	border-bottom: 2px solid var(--primary-color);
	padding-bottom: 10px;
}

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

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

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

.pages ul {
	list-style: none;
	padding-left: 20px;
	margin-bottom: 20px;
}

.pages li {
	padding-left: 20px;
	position: relative;
	margin-bottom: 10px;
}

.pages li::before {
	content: '•';
	position: absolute;
	left: 0;
	top: 0;
	color: var(--accent-color);
	font-size: 20px;
	line-height: 1.6;
}

.pages strong {
	color: #fff;
	font-weight: 500;
}

/* PAGES ADAPTATION */
@media (max-width: 768px) {
	.pages {
		padding: 60px 0;
	}
}
