/* Глобальные переменные и сброс стилей */
:root {
	--color-background: #111827;
	--color-surface: #1f2937;
	--color-primary: #8b5cf6;
	--color-primary-hover: #7c3aed;
	--color-text: #f9fafb;
	--color-text-secondary: #9ca3af;
	--font-main: 'Inter', sans-serif;
	--font-headings: 'Space Grotesk', sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

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

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

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

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

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

ul {
	list-style: none;
}

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

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

/* Логотип */
.logo {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-headings);
	font-size: 24px;
	font-weight: 700;
}

.logo__icon {
	flex-shrink: 0;
}

/* Хедер */
.header {
	padding: 20px 0;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	background-color: rgba(17, 24, 39, 0.8);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--color-surface);
}

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

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

.header__nav-link {
	font-size: 16px;
	font-weight: 500;
	color: var(--color-text-secondary);
}

.header__nav-link:hover,
.header__nav-link.active {
	color: var(--color-text);
}

.header__nav-link.button {
	color: var(--color-text);
	margin-left: 16px;
}

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

/* Футер */
.footer {
	padding: 80px 0;
	background-color: var(--color-surface);
	border-top: 1px solid var(--color-background);
}

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

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

.footer__copyright {
	margin-top: 24px;
	color: var(--color-text-secondary);
	font-size: 14px;
}

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

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

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

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

/* Адаптивность */
@media (max-width: 992px) {
	.header__nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background-color: var(--color-surface);
		padding: 20px;
	}

	.header__nav.header__nav--open {
		display: block;
	}

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

	.header__nav-link.button {
		margin-left: 0;
	}

	.header__burger-button {
		display: block;
	}

	.footer__container {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 576px) {
	body {
		font-size: 14px;
	}

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

	.footer__column {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
}

/* Hero-секция */
.hero {
	position: relative;
	height: 100vh;
	min-height: 600px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	overflow: hidden;
	padding-top: 85px; /* Высота хедера */
}

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

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

.hero__content {
	max-width: 750px;
	margin: 0 auto;
}

.hero__title {
	font-size: 64px;
	line-height: 1.1;
	margin-bottom: 24px;
	background: linear-gradient(45deg, var(--color-text), var(--color-primary));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-fill-color: transparent;
}

.hero__subtitle {
	font-size: 20px;
	color: var(--color-text-secondary);
	margin-bottom: 40px;
	line-height: 1.5;
}

.hero__button {
	padding: 16px 32px;
	font-size: 18px;
	font-weight: 700;
}

/* Адаптивность для Hero */
@media (max-width: 768px) {
	.hero__title {
		font-size: 48px;
	}

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

@media (max-width: 576px) {
	.hero {
		min-height: 500px;
	}

	.hero__title {
		font-size: 36px;
	}

	.hero__subtitle {
		font-size: 16px;
	}

	.hero__button {
		padding: 12px 24px;
		font-size: 16px;
	}
}

/* Секция Инструменты */
.tools {
	padding: 100px 0;
	background-color: var(--color-background);
}

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

.tools__title {
	font-size: 42px;
	margin-bottom: 16px;
}

.tools__subtitle {
	font-size: 18px;
	color: var(--color-text-secondary);
}

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

.tools__card {
	background-color: var(--color-surface);
	border: 1px solid #374151;
	border-radius: 12px;
	padding: 32px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tools__card:hover {
	transform: translateY(-8px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.tools__card-icon {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(139, 92, 246, 0.1);
	border-radius: 8px;
	margin-bottom: 24px;
}

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

.tools__card-title {
	font-size: 22px;
	margin-bottom: 12px;
}

.tools__card-description {
	color: var(--color-text-secondary);
	margin-bottom: 20px;
}

.tools__card-tag {
	display: inline-block;
	background-color: #374151;
	color: var(--color-text);
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 500;
}

/* Адаптивность для секции Инструменты */
@media (max-width: 992px) {
	.tools__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

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

	.tools__title {
		font-size: 36px;
	}

	.tools__grid {
		grid-template-columns: 1fr;
	}
}

/* Секция Сценарии */
.scenarios {
	padding: 100px 0;
	background-color: var(--color-surface);
}

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

.scenarios__title {
	font-size: 42px;
	margin-bottom: 16px;
}

.scenarios__subtitle {
	font-size: 18px;
	color: var(--color-text-secondary);
}

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

.scenarios__accordion-item {
	background-color: var(--color-background);
	border: 1px solid #374151;
	border-radius: 12px;
	overflow: hidden;
}

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

.scenarios__accordion-icon {
	transition: transform 0.3s ease;
}

.scenarios__accordion-header--active .scenarios__accordion-icon {
	transform: rotate(180deg);
	color: var(--color-primary);
}

.scenarios__accordion-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease, padding 0.4s ease;
	padding: 0 24px;
	color: var(--color-text-secondary);
}

.scenarios__accordion-content p {
	margin-bottom: 16px;
}

.scenarios__accordion-content ul {
	list-style: disc;
	padding-left: 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* Адаптивность для Сценариев */
@media (max-width: 768px) {
	.scenarios {
		padding: 80px 0;
	}

	.scenarios__title {
		font-size: 36px;
	}

	.scenarios__accordion-header {
		font-size: 18px;
	}
}

/* Секция Кейсы */
.cases {
	padding: 100px 0;
	background-color: var(--color-background);
}

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

.cases__title {
	font-size: 42px;
	margin-bottom: 16px;
}

.cases__subtitle {
	font-size: 18px;
	color: var(--color-text-secondary);
}

.cases__wrapper {
	display: flex;
	flex-direction: column;
	gap: 60px;
}

.cases__item {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 50px;
	background-color: var(--color-surface);
	border-radius: 16px;
	overflow: hidden;
}

.cases__item--reverse {
	grid-template-areas: 'content image';
}

.cases__item--reverse .cases__item-image {
	grid-area: image;
}

.cases__item--reverse .cases__item-content {
	grid-area: content;
}

.cases__item-image {
	width: 100%;
	height: 100%;
}

.cases__item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cases__item-content {
	padding: 40px;
}

.cases__item-tag {
	display: inline-block;
	background-color: rgba(139, 92, 246, 0.1);
	color: var(--color-primary);
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 20px;
}

.cases__item-title {
	font-size: 28px;
	margin-bottom: 16px;
}

.cases__item-description {
	color: var(--color-text-secondary);
	margin-bottom: 30px;
}

.cases__item-result {
	background-color: var(--color-background);
	border-radius: 8px;
	padding: 16px;
	display: inline-block;
}

.cases__result-value {
	font-family: var(--font-headings);
	font-size: 36px;
	color: var(--color-primary);
	line-height: 1.2;
}

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

/* Адаптивность для Кейсов */
@media (max-width: 992px) {
	.cases__item {
		grid-template-columns: 1fr;
	}

	.cases__item--reverse {
		grid-template-areas: unset;
	}

	.cases__item .cases__item-image,
	.cases__item--reverse .cases__item-image {
		grid-area: unset;
		height: 300px;
	}

	.cases__item .cases__item-content,
	.cases__item--reverse .cases__item-content {
		grid-area: unset;
	}
}

@media (max-width: 768px) {
	.cases {
		padding: 80px 0;
	}
	.cases__title {
		font-size: 36px;
	}
}

/* Секция Для новичков */
.newcomers {
	padding: 100px 0;
	background-color: var(--color-surface);
}

.newcomers__grid {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 60px;
	align-items: center;
	margin-bottom: 60px;
}

.newcomers__title {
	font-size: 42px;
	margin-bottom: 24px;
}

.newcomers__description {
	font-size: 18px;
	color: var(--color-text-secondary);
	line-height: 1.7;
}

.newcomers__tips-list {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.newcomers__tip-item {
	display: flex;
	align-items: flex-start;
	gap: 20px;
}

.newcomers__tip-icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--color-background);
	border-radius: 50%;
}

.newcomers__tip-icon i {
	color: var(--color-primary);
	width: 24px;
	height: 24px;
}

.newcomers__tip-title {
	font-size: 20px;
	margin-bottom: 8px;
}

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

.newcomers__cta {
	text-align: center;
}

/* Адаптивность для секции Новичков */
@media (max-width: 992px) {
	.newcomers__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.newcomers {
		padding: 80px 0;
	}
	.newcomers__title {
		font-size: 36px;
	}
}

/* Секция Контакты */
.contact {
	padding: 100px 0;
}

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

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

.contact__subtitle {
	font-size: 18px;
	color: var(--color-text-secondary);
}

.contact__wrapper {
	max-width: 600px;
	margin: 0 auto;
	background-color: var(--color-surface);
	padding: 40px;
	border-radius: 16px;
	position: relative;
	overflow: hidden;
}

.contact__form-group {
	margin-bottom: 20px;
}

.contact__form-label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 500;
}

.contact__form-input {
	width: 100%;
	padding: 12px 16px;
	background-color: var(--color-background);
	border: 1px solid #374151;
	border-radius: 8px;
	color: var(--color-text);
	font-size: 16px;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact__form-input:focus {
	outline: none;
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3);
}

.contact__form-group--checkbox {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-top: 24px;
	margin-bottom: 30px;
}

.contact__form-checkbox {
	margin-top: 4px;
	flex-shrink: 0;
}

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

.contact__form-checkbox-label a {
	color: var(--color-primary);
	text-decoration: underline;
}

.contact__form-button {
	width: 100%;
	padding: 16px;
	font-size: 18px;
	font-weight: 700;
}

.contact__success-message {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--color-surface);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	opacity: 0;
	visibility: hidden;
	transform: scale(1.1);
	transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}

.contact__success-message--visible {
	opacity: 1;
	visibility: visible;
	transform: scale(1);
}

.contact__success-icon i {
	width: 60px;
	height: 60px;
	color: var(--color-primary);
}

.contact__success-title {
	font-size: 28px;
	margin-top: 20px;
}

.contact__success-text {
	color: var(--color-text-secondary);
	margin-top: 8px;
}

/* Адаптивность для Контактов */
@media (max-width: 768px) {
	.contact {
		padding: 80px 0;
	}
	.contact__title {
		font-size: 36px;
	}
	.contact__wrapper {
		padding: 30px 20px;
	}
}

/* Cookie Pop-up */
.cookie-popup {
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%) translateY(200%); /* Начальное состояние для анимации */
	max-width: 95%;
	width: 800px;
	background-color: var(--color-surface);
	padding: 20px 24px;
	border: 1px solid #374151;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	z-index: 2000;
	transition: transform 0.5s ease-in-out;
}

.cookie-popup--visible {
	transform: translateX(-50%) translateY(0); /* Конечное состояние */
}

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

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

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

/* Адаптивность для Cookie Pop-up */
@media (max-width: 768px) {
	.cookie-popup {
		flex-direction: column;
		text-align: center;
	}
}

/* Стили для статических страниц (Политики, Условия) */
.pages {
	padding: 140px 0 80px; /* Большой отступ сверху из-за фиксированного хедера */
}

.pages .container {
	max-width: 800px; /* Ограничиваем ширину для удобства чтения */
}

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

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

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

.pages ul {
	list-style: disc;
	padding-left: 20px;
	margin-bottom: 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

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

.pages a {
	color: var(--color-primary);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s ease;
}

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

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