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

/* CSS Variables */
:root {
	--font-primary: 'Inter', sans-serif;
	--font-secondary: 'Manrope', sans-serif;
	--color-background: #ffffff;
	--color-text: #111827;
	--color-primary: #4f46e5;
	--color-border: #e5e7eb;
	--header-height: 70px;
}

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

/* Base Styles */
html {
	scroll-behavior: smooth;
}

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

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

a:hover {
	color: #3b30c4;
}

ul {
	list-style: none;
}

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

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

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

/* Header */
.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--header-height);
	background-color: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--color-border);
	z-index: 100;
}

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

.header__logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-secondary);
	font-weight: 600;
	font-size: 20px;
	color: var(--color-text);
}

.header__logo img {
	height: 32px;
	width: 32px;
}

.header__nav {
	display: none;
}

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

.header__nav-link {
	color: var(--color-text);
	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(--color-primary);
	transition: width 0.3s ease;
}

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

.header__burger-btn {
	background: none;
	border: none;
	cursor: pointer;
	padding: 5px;
	display: block;
}

.header__burger-btn i {
	width: 28px;
	height: 28px;
	color: var(--color-text);
}

/* Mobile Navigation */
.mobile-nav {
	position: fixed;
	top: 0;
	right: -100%;
	width: 100%;
	height: 100%;
	background-color: var(--color-background);
	z-index: 101;
	transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
	display: flex;
	flex-direction: column;
	padding: 20px;
}

.mobile-nav--is-active {
	right: 0;
}

.mobile-nav__close-btn {
	position: absolute;
	top: 21px;
	right: 15px;
	background: none;
	border: none;
	cursor: pointer;
}

.mobile-nav__close-btn i {
	width: 28px;
	height: 28px;
}

.mobile-nav__list {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	gap: 25px;
}

.mobile-nav__link {
	font-size: 24px;
	font-family: var(--font-secondary);
	color: var(--color-text);
	font-weight: 600;
}

/* Footer */
.footer {
	background-color: #f9fafb;
	border-top: 1px solid var(--color-border);
	padding: 60px 0 0;
	color: #4b5563;
}

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

.footer__column--main {
	max-width: 320px;
}

.footer__logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-secondary);
	font-weight: 600;
	font-size: 20px;
	color: var(--color-text);
	margin-bottom: 15px;
}

.footer__logo img {
	height: 32px;
	width: 32px;
}

.footer__title {
	font-size: 16px;
	font-weight: 600;
	color: var(--color-text);
	margin-bottom: 15px;
}

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

.footer__link {
	color: #4b5563;
	display: inline-flex;
	align-items: flex-start;
	gap: 8px;
}

.footer__contact-icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	margin-top: 4px;
}

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

/* Tablet and Desktop Styles */
@media (min-width: 768px) {
	.header__burger-btn {
		display: none;
	}

	.header__nav {
		display: block;
	}

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

@media (min-width: 1024px) {
	.footer__container {
		grid-template-columns: 2fr 1fr 1fr 1fr;
		gap: 30px;
	}
}

/* --- Button --- */
.btn {
	display: inline-block;
	padding: 12px 28px;
	background-color: var(--color-primary);
	color: var(--color-background);
	font-family: var(--font-secondary);
	font-weight: 600;
	border-radius: 8px;
	text-align: center;
	border: 2px solid transparent;
	transition: all 0.3s ease;
}

.btn:hover {
	background-color: #3b30c4;
	color: var(--color-background);
	transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero {
	padding-top: calc(var(--header-height) + 60px);
	padding-bottom: 60px;
	overflow: hidden; /* Щоб анімація не виходила за межі блоку */
}

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

.hero__content {
	text-align: center;
}

.hero__title {
	font-size: 36px;
	line-height: 1.2;
	margin-bottom: 20px;
	color: var(--color-text);
}

.hero__description {
	font-size: 18px;
	max-width: 550px;
	margin: 0 auto 30px;
	color: #4b5563;
}

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

.hero__image {
	border-radius: 12px;
	max-width: 500px;
	width: 100%;
	height: auto;
	object-fit: cover;
}

/* Tablet and Desktop Styles */
@media (min-width: 768px) {
	.hero__title {
		font-size: 48px;
	}
}

@media (min-width: 1024px) {
	.hero {
		padding-top: calc(var(--header-height) + 80px);
		padding-bottom: 80px;
	}

	.hero__container {
		grid-template-columns: 1fr 1fr;
		gap: 60px;
	}

	.hero__content {
		text-align: left;
	}

	.hero__description {
		margin-left: 0;
		margin-right: 0;
	}
}

/* --- Section Header --- */
.section-header {
	text-align: center;
	margin-bottom: 50px;
}

.section-header__title {
	font-size: 32px;
	margin-bottom: 10px;
}

.section-header__subtitle {
	max-width: 600px;
	margin: 0 auto;
	color: #4b5563;
	font-size: 18px;
}

/* --- Features Section --- */
.features {
	padding: 60px 0;
	background-color: #f9fafb;
}

.features__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
}

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

.features__card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.features__card-icon {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background-color: #eef2ff;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 auto 20px;
}

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

.features__card-title {
	font-size: 20px;
	margin-bottom: 10px;
	color: var(--color-text);
}

.features__card-description {
	color: #4b5563;
}

/* Tablet and Desktop Styles */
@media (min-width: 576px) {
	.features__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 992px) {
	.features {
		padding: 80px 0;
	}

	.section-header__title {
		font-size: 36px;
	}

	.features__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* --- Examples Section --- */
.examples {
	padding: 60px 0;
}

/* Tabs */
.tabs__nav {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.tabs__nav-btn {
	padding: 10px 20px;
	font-size: 16px;
	font-weight: 500;
	font-family: var(--font-secondary);
	border: 1px solid var(--color-border);
	border-radius: 8px;
	background-color: var(--color-background);
	color: #4b5563;
	cursor: pointer;
	transition: all 0.3s ease;
}

.tabs__nav-btn:hover {
	background-color: #f3f4f6;
	border-color: #d1d5db;
}

.tabs__nav-btn--active {
	background-color: var(--color-primary);
	color: var(--color-background);
	border-color: var(--color-primary);
}

.tabs__nav-btn--active:hover {
	background-color: #3b30c4;
	border-color: #3b30c4;
}

.tabs__pane {
	display: none;
	animation: fadeIn 0.5s ease;
}

.tabs__pane--active {
	display: block;
}

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

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

.tabs__pane-img {
	width: 100%;
	border-radius: 12px;
	object-fit: cover;
}

/* Example List */
.example-list {
	list-style: none;
	padding: 0;
}

.example-list__item {
	padding-left: 25px;
	position: relative;
	font-size: 16px;
	line-height: 1.7;
	color: #4b5563;
}

.example-list__item:not(:last-child) {
	margin-bottom: 20px;
}

.example-list__item::before {
	content: '✓';
	position: absolute;
	left: 0;
	top: 0;
	color: var(--color-primary);
	font-weight: 600;
}

.example-list__item strong {
	color: var(--color-text);
}

@media (min-width: 768px) {
	.tabs__pane-grid {
		grid-template-columns: 2fr 3fr;
		gap: 50px;
	}
}

@media (min-width: 992px) {
	.examples {
		padding: 80px 0;
	}
}

/* --- Tools Section --- */
.tools {
	padding: 60px 0;
	background-color: #f9fafb;
}

.tools__list {
	max-width: 800px;
	margin: 0 auto;
	display: grid;
	gap: 20px;
}

.tools__item {
	display: flex;
	align-items: center;
	gap: 20px;
	background-color: var(--color-background);
	padding: 20px;
	border: 1px solid var(--color-border);
	border-radius: 12px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tools__item:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.tools__item-icon {
	flex-shrink: 0;
	width: 50px;
	height: 50px;
}

.tools__item-icon img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
}

.tools__item-title {
	font-size: 18px;
	margin-bottom: 5px;
	color: var(--color-text);
}

.tools__item-description {
	color: #4b5563;
	line-height: 1.5;
}

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

/* --- FAQ Section --- */
.faq {
	padding: 60px 0;
}

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

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

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

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

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

.faq__answer p {
	color: #4b5563;
	line-height: 1.7;
}

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

.faq__item.is-active .faq__answer {
	padding-bottom: 20px;
}

@media (min-width: 992px) {
	.faq {
		padding: 80px 0;
	}
}

/* --- Contact Section --- */
.contact {
	padding: 60px 0;
	background-color: #f9fafb;
}

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

.contact__text .section-header__title,
.contact__text .section-header__subtitle {
	text-align: left;
	margin-left: 0;
	margin-right: 0;
}

.contact__form-wrapper {
	background-color: var(--color-background);
	padding: 30px;
	border-radius: 12px;
	border: 1px solid var(--color-border);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

/* Form Styles */
.form__group {
	margin-bottom: 20px;
}

.form__label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
	color: #374151;
}

.form__input {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 16px;
	font-family: var(--font-primary);
	transition: border-color 0.3s, box-shadow 0.3s;
}

.form__input:focus {
	outline: none;
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

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

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

.form__checkbox-label {
	font-size: 14px;
	color: #4b5563;
}

.form__checkbox-label a {
	text-decoration: underline;
}

.form__btn {
	width: 100%;
	font-size: 16px;
}

/* Form Success Message */
.form-success {
	display: none; /* Hidden by default */
	text-align: center;
	padding: 20px;
	animation: fadeIn 0.5s ease;
}

.form-success__icon {
	color: #10b981;
	margin: 0 auto 15px;
	width: 50px;
	height: 50px;
}

.form-success__icon i {
	width: 100%;
	height: 100%;
}

.form-success__title {
	font-size: 24px;
	margin-bottom: 10px;
}

.form-success__text {
	color: #4b5563;
}

@media (min-width: 992px) {
	.contact {
		padding: 80px 0;
	}
	.contact__grid {
		grid-template-columns: 1fr 1fr;
		gap: 60px;
	}
	.contact__form-wrapper {
		padding: 40px;
	}
}

/* --- Button Modifier --- */
.btn--small {
	padding: 8px 18px;
	font-size: 14px;
}

/* --- Cookie Consent --- */
.cookie-consent {
	position: fixed;
	bottom: -100%; /* Initially hidden */
	left: 0;
	width: 100%;
	background-color: var(--color-text);
	color: var(--color-background);
	padding: 15px;
	z-index: 200;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15px;
	flex-wrap: wrap;
	transition: bottom 0.5s ease-in-out;
}

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

.cookie-consent__text {
	text-align: center;
}

.cookie-consent__text a {
	color: var(--color-background);
	text-decoration: underline;
}

/* --- Policy Pages --- */
.pages {
	padding-top: calc(var(--header-height) + 40px);
	padding-bottom: 60px;
}

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

.pages h1,
.pages h2 {
	font-size: 1.5rem;
	margin-bottom: 20px;
	line-height: 1.3;
}

.pages h1 {
	margin-bottom: 30px;
}

.pages h2 {
	margin-top: 40px;
}

.pages p,
.pages ul {
	margin-bottom: 20px;
	color: #4b5563;
	line-height: 1.8;
}

.pages ul {
	list-style: disc;
	padding-left: 20px;
}

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

.pages a {
	text-decoration: underline;
}

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

@media (min-width: 768px) {
	.cookie-consent {
		flex-wrap: nowrap;
		justify-content: space-between;
		padding: 15px 30px;
	}
	.cookie-consent__text {
		text-align: left;
	}
}
