/* ======== 0. ГЛОБАЛЬНЫЕ СТИЛИ ======== */

/* --- Шрифты --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Poppins:wght@600;700&display=swap');

/* --- Переменные --- */
:root {
	--bg-color: #111318;
	--secondary-color: #1a1d24;
	--primary-color: #00f0b5;
	--text-color: #e0e0e0;
	--text-muted: #8b949e;

	--font-family-base: 'Inter', sans-serif;
	--font-family-heading: 'Poppins', sans-serif;

	--header-height: 70px;
}

/* --- Сброс стилей --- */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

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

html {
	scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-family-heading);
	color: var(--text-color);
	line-height: 1.3;
}

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

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

ul {
	list-style: none;
}

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

/* --- Общие классы --- */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ======== 1. ХЕДЕР (HEADER) ======== */
.header {
	background-color: var(--bg-color);
	border-bottom: 1px solid var(--secondary-color);
	padding: 0 20px;
	height: var(--header-height);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
}

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

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}

.logo__svg {
	transition: transform 0.3s ease;
}

.logo:hover .logo__svg {
	transform: rotate(-15deg);
}

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

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

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

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

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

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

/* CTA Кнопка в меню */
.nav__link--cta {
	color: var(--bg-color);
	background-color: var(--primary-color);
	padding: 8px 18px;
	border-radius: 50px;
	border: 2px solid var(--primary-color);
	transition: background-color 0.3s ease, color 0.3s ease;
}

.nav__link--cta::after {
	display: none; /* Убираем подчеркивание для кнопки */
}

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

/* --- Мобильное меню (Burger) --- */
.header__burger {
	display: none;
	background: none;
	border: none;
	color: var(--text-color);
	cursor: pointer;
	z-index: 1001;
}

.header__burger .icon-close {
	display: none;
}

.header__burger.header__burger--open .icon-close {
	display: block;
}

.header__burger.header__burger--open .icon-menu {
	display: none;
}

/* ======== 2. ФУТЕР (FOOTER) ======== */
.footer {
	background-color: var(--secondary-color);
	padding: 60px 0 30px 0;
	border-top: 1px solid #2a2e38;
}

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

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

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

.footer__tagline {
	font-size: 0.9rem;
	color: var(--text-muted);
	line-height: 1.5;
	max-width: 200px;
}

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

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

.footer__link {
	color: var(--text-muted);
	text-decoration: none;
	transition: color 0.3s ease, padding-left 0.3s ease;
}

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

.footer__contact-item {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--text-muted);
	font-size: 0.95rem;
}

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

.footer__contact-icon {
	color: var(--primary-color);
	flex-shrink: 0;
	width: 20px;
	height: 20px;
}

.footer__copyright {
	text-align: center;
	font-size: 0.85rem;
	color: var(--text-muted);
	padding-top: 30px;
	border-top: 1px solid #2a2e38;
}

/* ======== АДАПТИВНОСТЬ (Mobile-First) ======== */

/* Планшеты и мобильные */
@media (max-width: 992px) {
	.footer__container {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Только мобильные */
@media (max-width: 768px) {
	body {
		/* Добавляем отступ сверху, чтобы контент не прятался под фикс. хедер */
		padding-top: var(--header-height);
	}

	.header__burger {
		display: block;
	}

	.nav {
		position: fixed;
		top: var(--header-height);
		left: -100%; /* Скрыто за экраном */
		width: 100%;
		height: calc(100vh - var(--header-height));
		background-color: var(--bg-color);
		display: flex;
		justify-content: center;
		align-items: center;
		transition: left 0.4s cubic-bezier(0.23, 1, 0.32, 1);
	}

	.nav.nav--open {
		left: 0; /* Показываем меню */
	}

	.nav__list {
		flex-direction: column;
		gap: 30px;
		text-align: center;
	}

	.nav__link {
		font-size: 1.5rem;
	}

	.nav__link--cta {
		padding: 12px 25px;
		font-size: 1.25rem;
	}

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

/* ======== 3. HERO СЕКЦИЯ ======== */
.hero {
	position: relative;
	min-height: 90vh; /* Висота першого екрану */
	display: flex;
	align-items: center;
	padding-top: var(--header-height); /* Компенсація фіксованого хедера */
	overflow: hidden; /* Щоб canvas не виходив за межі */
}

.hero__canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	opacity: 0.3; /* Робимо фон не надто нав'язливим */
}

.hero__container {
	position: relative;
	z-index: 2; /* Контент має бути над canvas */
}

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

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

.hero__title--highlight {
	display: block;
	font-size: 2rem;
	font-weight: 600;
	/* Градієнт для акценту */
	background: linear-gradient(90deg, var(--primary-color), #a2fff0);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-fill-color: transparent;
	margin-bottom: 10px;
}

.hero__description {
	font-size: 1.15rem;
	color: var(--text-muted);
	margin-bottom: 30px;
	max-width: 550px;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}

/* --- Загальні стилі для кнопок --- */
.button {
	display: inline-block;
	padding: 12px 30px;
	border-radius: 50px;
	font-family: var(--font-family-heading);
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

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

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

.button--secondary {
	background-color: var(--secondary-color);
	color: var(--text-color);
	border-color: var(--secondary-color);
}

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

/* --- Адаптивність Hero --- */
@media (max-width: 768px) {
	.hero {
		min-height: 80vh;
		text-align: center;
	}

	.hero__content {
		text-align: center;
		max-width: 100%;
	}

	.hero__title {
		font-size: 2.5rem;
	}

	.hero__title--highlight {
		font-size: 1.5rem;
	}

	.hero__description {
		font-size: 1rem;
	}

	.hero__actions {
		justify-content: center;
	}
}

/* Загальні стилі для секцій */
.section {
	padding: 80px 0;
	overflow: hidden;
}

/* Чергування фону для секцій */
.section:nth-of-type(odd) {
	background-color: var(--secondary-color);
}

.section__subtitle {
	display: block;
	font-size: 1rem;
	font-weight: 600;
	color: var(--primary-color);
	margin-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.section__title {
	font-size: 2.5rem;
	margin-bottom: 20px;
}

.section__description {
	font-size: 1.1rem;
	color: var(--text-muted);
	margin-bottom: 30px;
	max-width: 600px;
}

/* Специфічні стилі секції AI */
.ai-section__container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.ai-section__content {
	animation: fadeInDown 1s ease-out; /* Проста анімація появи */
}

@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.ai-section__features-list {
	display: flex;
	flex-direction: column;
	gap: 25px;
	margin-bottom: 35px;
}

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

.ai-section__feature-icon {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	color: var(--primary-color);
	margin-top: 5px;
}

.ai-section__feature-item h3 {
	font-size: 1.2rem;
	color: var(--text-color);
	margin-bottom: 5px;
}

.ai-section__feature-item p {
	color: var(--text-muted);
	font-size: 0.95rem;
}

.ai-section__image-wrapper {
	position: relative;
	animation: fadeInRight 1s ease-out; /* Анімація появи */
}

@keyframes fadeInRight {
	from {
		opacity: 0;
		transform: translateX(20px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.ai-section__image {
	width: 100%;
	height: auto;
	border-radius: 12px;
	position: relative;
	z-index: 2;
	filter: grayscale(30%); /* Технологічний ефект */
}

/* Декоративний елемент позаду зображення */
.ai-section__image-decoration {
	position: absolute;
	bottom: -20px;
	left: -20px;
	width: 100%;
	height: 100%;
	background-color: transparent;
	border: 8px solid var(--primary-color);
	opacity: 0.5;
	border-radius: 12px;
	z-index: 1;
	transition: transform 0.3s ease;
}

.ai-section__image-wrapper:hover .ai-section__image-decoration {
	transform: translate(-5px, -5px);
}

/* --- Адаптивність AI секції --- */
@media (max-width: 992px) {
	.ai-section__container {
		grid-template-columns: 1fr;
	}

	.ai-section__image-wrapper {
		max-width: 500px;
		margin: 0 auto;
		/* Змінюємо порядок на мобільних, щоб картинка була зверху */
		order: -1;
	}

	.ai-section__content {
		text-align: center;
	}

	.section__description {
		margin-left: auto;
		margin-right: auto;
	}

	.ai-section__feature-item {
		text-align: left;
	}
}

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

	.section__title {
		font-size: 2rem;
	}
}

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

.chatbot-section__content {
	animation: fadeInRight 1s ease-out; /* Анімація появи */
}

.chatbot-section__features-list {
	display: flex;
	flex-direction: column;
	gap: 25px;
	margin-bottom: 35px;
}

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

.chatbot-section__feature-icon {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	color: var(--primary-color);
	margin-top: 5px;
}

.chatbot-section__feature-item h3 {
	font-size: 1.2rem;
	color: var(--text-color);
	margin-bottom: 5px;
}

.chatbot-section__feature-item p {
	color: var(--text-muted);
	font-size: 0.95rem;
}

.chatbot-section__image-wrapper {
	position: relative;
	animation: fadeInLeft 1s ease-out; /* Анімація появи */
}

@keyframes fadeInLeft {
	from {
		opacity: 0;
		transform: translateX(-20px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.chatbot-section__image {
	width: 100%;
	height: auto;
	border-radius: 12px;
	position: relative;
	z-index: 2;
	filter: grayscale(30%);
}

/* Декоративний елемент - цього разу справа */
.chatbot-section__image-decoration {
	position: absolute;
	bottom: -20px;
	right: -20px; /* Змінено з left на right */
	width: 100%;
	height: 100%;
	background-color: transparent;
	border: 8px solid var(--secondary-color); /* Інший колір для різноманіття */
	border-radius: 12px;
	z-index: 1;
	transition: transform 0.3s ease;
}

.chatbot-section__image-wrapper:hover .chatbot-section__image-decoration {
	transform: translate(5px, -5px);
}

/* --- Адаптивність Chatbot секції --- */
@media (max-width: 992px) {
	.chatbot-section__container {
		grid-template-columns: 1fr;
	}

	.chatbot-section__image-wrapper {
		max-width: 500px;
		margin: 0 auto;
		/* На мобільних картинка завжди зверху */
		order: -1;
	}

	.chatbot-section__content {
		text-align: center;
	}

	.chatbot-section__feature-item {
		text-align: left;
	}
}

.integrations-section {
	/* Ця секція знову на темному фоні (--bg-color) */
	background-color: var(--bg-color);
}

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

.integrations-section__header {
	text-align: center;
	max-width: 650px;
	margin-bottom: 50px;
}

/* Робимо опис в центрі */
.integrations-section__header .section__description {
	margin-left: auto;
	margin-right: auto;
}

.integrations-section__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	width: 100%;
}

.integration-card {
	background-color: var(--secondary-color);
	padding: 30px;
	border-radius: 12px;
	text-align: center;
	border: 1px solid var(--secondary-color);
	transition: transform 0.3s ease, border-color 0.3s ease;
}

.integration-card:hover {
	transform: translateY(-8px);
	border-color: var(--primary-color);
}

.integration-card__icon {
	width: 48px;
	height: 48px;
	color: var(--primary-color);
	margin-bottom: 20px;
}

.integration-card__title {
	font-size: 1.3rem;
	margin-bottom: 10px;
}

.integration-card__text {
	font-size: 0.95rem;
	color: var(--text-muted);
}

/* --- Адаптивність Integrations секції --- */
@media (max-width: 992px) {
	.integrations-section__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.integrations-section__grid {
		grid-template-columns: 1fr;
	}

	.integration-card {
		text-align: left;
		display: grid;
		grid-template-columns: auto 1fr;
		grid-template-rows: auto auto;
		gap: 0 20px;
		align-items: center;
	}

	.integration-card__icon {
		grid-row: 1 / 3;
		margin-bottom: 0;
	}

	.integration-card__title {
		margin-bottom: 5px;
	}
}

.cases-section {
	/* Ця секція знову на світлому фоні (--secondary-color) */
	background-color: var(--secondary-color);
}

.cases-section__header {
	text-align: center;
	max-width: 650px;
	margin: 0 auto 50px auto;
}

.cases-section__header .section__description {
	margin-left: auto;
	margin-right: auto;
}

.tabs-wrapper {
	max-width: 1000px;
	margin: 0 auto;
}

.tabs__controls {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 15px;
	margin-bottom: 40px;
}

.tabs__control {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 25px;
	font-family: var(--font-family-heading);
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-muted);
	background-color: var(--bg-color);
	border: 2px solid var(--secondary-color);
	border-radius: 50px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.tabs__control-icon {
	width: 20px;
	height: 20px;
	transition: color 0.3s ease;
}

.tabs__control:hover {
	color: var(--text-color);
	border-color: var(--bg-color);
}

.tabs__control--active {
	color: var(--bg-color);
	background-color: var(--primary-color);
	border-color: var(--primary-color);
}

.tabs__control--active:hover {
	color: var(--bg-color);
	border-color: var(--primary-color);
}

.tabs__control--active .tabs__control-icon {
	color: var(--bg-color);
}

/* Контент табів */
.tabs__panel {
	display: none; /* Ховаємо всі панелі за замовчуванням */
	background-color: var(--bg-color);
	border-radius: 12px;
	padding: 40px;
	animation: fadeIn 0.5s ease;
}

.tabs__panel--active {
	display: block; /* Показываем активную */
}

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

.tabs__panel-container {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 40px;
	align-items: center;
}

.tabs__panel-image-wrapper {
	max-width: 100%;
}

.tabs__panel-image {
	width: 100%;
	border-radius: 8px;
	filter: grayscale(30%);
}

.tabs__panel-text h3 {
	font-size: 1.75rem;
	margin-bottom: 15px;
}

.tabs__panel-text p {
	color: var(--text-muted);
	font-size: 1rem;
	margin-bottom: 25px;
}

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

.tabs__panel-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.95rem;
}

.tabs__panel-list-icon {
	width: 20px;
	height: 20px;
	color: var(--primary-color);
	flex-shrink: 0;
}

/* --- Адаптивність Cases секції --- */
@media (max-width: 992px) {
	.tabs__panel-container {
		grid-template-columns: 1fr;
	}

	.tabs__panel-image-wrapper {
		max-width: 400px;
		margin-bottom: 20px;
	}
}

@media (max-width: 768px) {
	.tabs__control {
		width: 100%;
		justify-content: center;
	}

	.tabs__panel {
		padding: 30px;
	}

	.tabs__panel-text h3 {
		font-size: 1.5rem;
	}
}

.contact-section {
	/* Ця секція знову на темному фоні (--bg-color) */
	background-color: var(--bg-color);
}

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

.contact-section__text .section__description {
	margin-bottom: 40px;
}

.contact-section__info {
	display: flex;
	flex-direction: column;
	gap: 25px;
}

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

.contact-section__info-icon {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	color: var(--primary-color);
	margin-top: 5px;
}

.contact-section__info-item h3 {
	font-size: 1.2rem;
	color: var(--text-color);
	margin-bottom: 5px;
}

.contact-section__info-item p {
	color: var(--text-muted);
	font-size: 1rem;
}

.contact-section__info-link {
	color: var(--text-muted);
	font-size: 1rem;
	text-decoration: none;
}
.contact-section__info-link:hover {
	color: var(--primary-color);
}

/* --- Форма --- */
.contact-section__form-wrapper {
	background-color: var(--secondary-color);
	padding: 40px;
	border-radius: 12px;
	position: relative; /* Для повідомлення про успіх */
}

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

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

.form-label {
	font-weight: 500;
	color: var(--text-muted);
	font-size: 0.9rem;
}

.form-input {
	width: 100%;
	padding: 14px 18px;
	font-size: 1rem;
	color: var(--text-color);
	background-color: var(--bg-color);
	border: 1px solid #2a2e38; /* Трохи темніший бордер */
	border-radius: 8px;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(0, 240, 181, 0.2);
}

.form-input::placeholder {
	color: #555c66;
}

/* --- Чекбокс --- */
.form-group--checkbox {
	flex-direction: row;
	align-items: center;
	gap: 12px;
	font-size: 0.9rem;
	color: var(--text-muted);
}

.form-checkbox {
	/* Кастомний вигляд чекбоксу */
	appearance: none;
	-webkit-appearance: none;
	width: 20px;
	height: 20px;
	background-color: var(--bg-color);
	border: 1px solid #2a2e38;
	border-radius: 4px;
	cursor: pointer;
	position: relative;
	flex-shrink: 0;
	transition: background-color 0.3s ease, border-color 0.3s ease;
}

.form-checkbox:checked {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
}

.form-checkbox:checked::after {
	/* Малюємо галочку */
	content: '';
	display: block;
	width: 6px;
	height: 12px;
	border: solid var(--bg-color);
	border-width: 0 3px 3px 0;
	transform: rotate(45deg);
	position: absolute;
	left: 6px;
	top: 2px;
}

.form-label-checkbox a {
	color: var(--primary-color);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.form-label-checkbox a:hover {
	color: var(--text-color);
}

.form-submit-button {
	width: 100%;
	margin-top: 10px;
}

/* --- Повідомлення про успіх --- */
.success-message {
	/* СПОЧАТКУ ПРИХОВАНО */
	display: none;

	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--secondary-color);
	border-radius: 12px;

	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 20px;
	animation: fadeIn 0.5s ease;
}

/* Клас, який ми додамо через JS */
.success-message.success-message--visible {
	display: flex;
}

.success-message__icon {
	width: 48px;
	height: 48px;
	color: var(--primary-color);
	margin-bottom: 15px;
}

/* --- Адаптивність Contact секції --- */
@media (max-width: 992px) {
	.contact-section__container {
		grid-template-columns: 1fr;
	}
	.contact-section__text {
		text-align: center;
	}
	.contact-section__info {
		align-items: center;
	}
	.contact-section__info-item {
		text-align: left;
	}
}

/* ======== 9. СТИЛІЗАЦІЯ СТОРІНОК ПОЛІТИК (Етап 5.2) ======== */

/* * Ці стилі будуть застосовані до сторінок 
 * privacy.html, terms.html тощо, 
 * які мають структуру: <main><section class="pages">...
 */

.pages {
	padding: 120px 0 80px 0; /* Більший відступ зверху через фікс. хедер */
	background-color: var(--secondary-color);
	min-height: 80vh;
}

.pages .container {
	max-width: 800px;
	background-color: var(--bg-color);
	padding: 40px;
	border-radius: 12px;
}

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

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

.pages p {
	font-size: 1.05rem;
	color: var(--text-muted);
	line-height: 1.7;
	margin-bottom: 15px;
}

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

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

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

.pages li {
	color: var(--text-muted);
	font-size: 1.05rem;
	line-height: 1.6;
}

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

/* ======== 10. COOKIE POP-UP (Етап 5.1) ======== */

.cookie-popup {
	/* СПОЧАТКУ ПРИХОВАНО */
	display: none;

	position: fixed;
	bottom: 20px;
	left: 20px;
	right: 20px;
	max-width: 500px;
	background-color: var(--secondary-color);
	padding: 25px;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	border: 1px solid #2a2e38;
	z-index: 1001;

	/* Анімація появи */
	transform: translateY(100px);
	opacity: 0;
	transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

/* Клас для показу */
.cookie-popup--visible {
	display: block;
	transform: translateY(0);
	opacity: 1;
}

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

.cookie-popup__text {
	font-size: 0.9rem;
	color: var(--text-muted);
	line-height: 1.5;
}

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

.cookie-popup__button {
	flex-shrink: 0; /* Щоб кнопка не згорталась */
	padding: 10px 25px;
}

/* Адаптивність для Cookie */
@media (max-width: 500px) {
	.cookie-popup {
		left: 10px;
		right: 10px;
		bottom: 10px;
	}
	.cookie-popup__content {
		flex-direction: column;
		gap: 15px;
		text-align: center;
	}
}
