/* --- VARIABLES --- */
:root {
	/* Colors */
	--color-bg: #f8f9fa; /* Светло-серый фон */
	--color-text-main: #1f2937; /* Темно-серый текст */
	--color-text-light: #6b7280;
	--color-primary: #0f172a; /* Глубокий синий (почти черный) */
	--color-accent: #84cc16; /* Лайм (Lime Punch) - свежесть */
	--color-white: #ffffff;
	--color-border: #e5e7eb;

	/* Fonts */
	--font-main: 'Inter', sans-serif;
	--font-head: 'Outfit', sans-serif;

	/* Spacing */
	--container-width: 1200px;
	--header-height: 80px;
	--transition: 0.3s ease;
}

/* --- RESET & BASE --- */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

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

a {
	text-decoration: none;
	color: inherit;
	transition: var(--transition);
}

ul {
	list-style: none;
}

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

.container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 20px;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-head);
	color: var(--color-primary);
	line-height: 1.2;
}

/* --- 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: 1000;
	display: flex;
	align-items: center;
}

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

/* Logo */
.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--color-primary);
	font-weight: 700;
	font-size: 1.5rem;
	font-family: var(--font-head);
}

.logo__icon {
	width: 32px;
	height: 32px;
	color: var(--color-accent);
}

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

.nav__link {
	font-weight: 500;
	color: var(--color-text-main);
	font-size: 0.95rem;
	position: relative;
}

.nav__link:hover,
.nav__link--active {
	color: var(--color-primary);
}

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

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

/* CTA Button in Header */
.nav__link--cta {
	background-color: var(--color-primary);
	color: var(--color-white) !important;
	padding: 10px 20px;
	border-radius: 6px;
}

.nav__link--cta:hover {
	background-color: var(--color-accent);
	color: var(--color-primary) !important;
}

.nav__link--cta::after {
	display: none;
}

/* Mobile Controls */
.nav__close,
.header__burger {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--color-primary);
}

/* --- FOOTER --- */
.footer {
	background-color: var(--color-primary);
	color: #e2e8f0;
	padding: 60px 0 20px;
	margin-top: auto; /* Push footer to bottom */
}

.footer__container {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
	gap: 40px;
	margin-bottom: 40px;
}

.footer__col--brand .logo {
	color: var(--color-white);
	margin-bottom: 15px;
}

.footer__tagline {
	font-size: 0.9rem;
	color: #94a3b8;
	max-width: 300px;
}

.footer__title {
	color: var(--color-white);
	font-size: 1.1rem;
	margin-bottom: 20px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

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

.footer__link {
	color: #94a3b8;
	font-size: 0.95rem;
}

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

.footer__contact-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: #94a3b8;
	font-size: 0.95rem;
}

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

.footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 20px;
	text-align: center;
}

.footer__copyright {
	font-size: 0.85rem;
	color: #64748b;
}

/* --- RESPONSIVE (Mobile First) --- */
@media (max-width: 992px) {
	.header__burger {
		display: block;
	}

	.nav {
		position: fixed;
		top: 0;
		right: -100%;
		width: 100%;
		height: 100vh;
		background-color: var(--color-white);
		padding: 80px 20px;
		transition: var(--transition);
		z-index: 999;
		display: flex;
		flex-direction: column;
	}

	.nav.show-menu {
		right: 0;
	}

	.nav__list {
		flex-direction: column;
		align-items: flex-start;
		width: 100%;
		gap: 25px;
	}

	.nav__link {
		font-size: 1.2rem;
		font-weight: 600;
	}

	.nav__link--cta {
		display: inline-block;
		width: 100%;
		text-align: center;
		margin-top: 20px;
	}

	.nav__close {
		display: block;
		position: absolute;
		top: 20px;
		right: 20px;
	}

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

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

	.header {
		padding: 0;
	}
}

/* --- HERO SECTION --- */
.hero {
	padding: 140px 0 80px; /* Відступ зверху враховує фіксований хедер */
	min-height: 100vh;
	display: flex;
	align-items: center;
	background: linear-gradient(135deg, #f8f9fa 0%, #e2e8f0 100%);
	position: relative;
	overflow: hidden;
}

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

/* Badges */
.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background-color: rgba(132, 204, 22, 0.1); /* Прозорий лайм */
	color: #4d7c0f; /* Темно-зелений */
	padding: 8px 16px;
	border-radius: 100px;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 24px;
	border: 1px solid rgba(132, 204, 22, 0.2);
}

.hero__badge-icon {
	width: 16px;
	height: 16px;
}

/* Typography */
.hero__title {
	font-size: 3rem;
	font-weight: 700;
	margin-bottom: 24px;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.text-accent {
	color: var(--color-accent); /* Лаймовий акцент */
	position: relative;
	display: inline-block;
}

/* Декоративне підкреслення */
.text-accent::after {
	content: '';
	position: absolute;
	bottom: 5px;
	left: 0;
	width: 100%;
	height: 12px;
	background-color: rgba(132, 204, 22, 0.2);
	z-index: -1;
	transform: skewX(-15deg);
}

.hero__description {
	font-size: 1.15rem;
	color: var(--color-text-light);
	margin-bottom: 40px;
	max-width: 500px;
}

/* Buttons */
.hero__actions {
	display: flex;
	gap: 20px;
	margin-bottom: 60px;
	flex-wrap: wrap;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 32px;
	border-radius: 12px;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	transition: all 0.3s ease;
	gap: 10px;
}

.btn--primary {
	background-color: var(--color-primary);
	color: var(--color-white);
	box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.3);
}

.btn--primary:hover {
	background-color: var(--color-accent);
	color: var(--color-primary);
	transform: translateY(-2px);
}

.btn--outline {
	border: 2px solid var(--color-border);
	color: var(--color-text-main);
	background: transparent;
}

.btn--outline:hover {
	border-color: var(--color-primary);
	color: var(--color-primary);
}

.btn__icon {
	width: 20px;
	height: 20px;
}

/* Stats */
.hero__stats {
	display: flex;
	align-items: center;
	gap: 30px;
	padding-top: 30px;
	border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.hero__stat-item {
	display: flex;
	flex-direction: column;
}

.hero__stat-value {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 1.5rem;
	color: var(--color-primary);
}

.hero__stat-label {
	font-size: 0.85rem;
	color: var(--color-text-light);
}

.hero__stat-divider {
	width: 1px;
	height: 40px;
	background-color: var(--color-border);
}

/* Visual & Parallax Elements */
.hero__visual {
	position: relative;
	display: flex;
	justify-content: center;
	perspective: 1000px; /* Для 3D ефекту */
}

.hero__img-wrapper {
	position: relative;
	width: 100%;
	max-width: 500px;
	transition: transform 0.1s ease-out; /* Плавність для JS анімації */
}

.hero__img {
	width: 100%;
	height: auto;
	border-radius: 24px;
	box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
	/* Необруталістичний штрих - товстий бордюр при наведенні (опціонально) */
	border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero__floating-card {
	position: absolute;
	background: white;
	padding: 15px 25px;
	border-radius: 16px;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--color-primary);
	z-index: 2;
}

.hero__floating-card--1 {
	top: 10%;
	left: -30px;
	color: #10b981; /* Зелений */
}

.hero__floating-card--2 {
	bottom: 15%;
	right: -20px;
	color: var(--color-primary);
}

/* Animation Initial States */
.fade-in-up {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
	opacity: 1;
	transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
	.hero__container {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.hero__badges,
	.hero__actions,
	.hero__stats {
		justify-content: center;
	}

	.hero__visual {
		margin-top: 50px;
		padding: 0 20px;
	}

	.hero__title {
		font-size: 2.5rem;
	}

	.hero__floating-card--1 {
		left: 0;
	}
	.hero__floating-card--2 {
		right: 0;
	}
}

@media (max-width: 576px) {
	.hero__title {
		font-size: 2rem;
	}

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

	.btn {
		width: 100%;
	}
}

/* --- COMMON SECTION STYLES --- */
.section {
	padding: 100px 0;
}

.section__header {
	text-align: center;
	margin-bottom: 60px;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

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

.section__subtitle {
	font-size: 1.1rem;
	color: var(--color-text-light);
}

/* --- FEATURES (STRATEGIES) --- */
.features {
	background-color: var(--color-white);
}

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

.feature-card {
	background-color: #f8fafc;
	padding: 40px 30px;
	border-radius: 20px;
	transition: var(--transition);
	border: 1px solid transparent;
}

.feature-card:hover {
	transform: translateY(-10px);
	background-color: var(--color-white);
	border-color: var(--color-border);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.feature-card__icon-box {
	width: 60px;
	height: 60px;
	background-color: var(--color-primary);
	color: var(--color-accent);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 25px;
}

.feature-card__icon-box i {
	width: 28px;
	height: 28px;
}

.feature-card__title {
	font-size: 1.25rem;
	margin-bottom: 15px;
}

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

/* --- INNOVATION SECTION --- */
.innovation {
	background-color: var(--color-bg); /* Light gray */
}

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

.innovation__image-wrapper {
	position: relative;
}

.innovation__img {
	border-radius: 20px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.innovation__badge {
	position: absolute;
	bottom: 30px;
	right: -20px;
	background-color: var(--color-white);
	padding: 12px 24px;
	border-radius: 50px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	color: var(--color-primary);
}

.innovation__badge i {
	color: #10b981;
	width: 20px;
}

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

.innovation__list {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-bottom: 40px;
}

.innovation__item {
	display: flex;
	align-items: center;
	gap: 15px;
	font-weight: 500;
}

.innovation__icon {
	color: var(--color-accent);
	background-color: var(--color-primary);
	padding: 4px;
	border-radius: 50%;
	width: 24px;
	height: 24px;
}

/* --- BLOG SECTION --- */
.blog {
	background-color: var(--color-white);
}

.blog__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 40px;
}

.blog-card {
	display: flex;
	flex-direction: column;
	border-radius: 16px;
	overflow: hidden;
	background: var(--color-white);
	transition: var(--transition);
}

.blog-card:hover {
	transform: translateY(-5px);
}

.blog-card__img-box {
	position: relative;
	height: 240px;
	overflow: hidden;
	border-radius: 16px;
}

.blog-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.blog-card:hover .blog-card__img {
	transform: scale(1.05);
}

.blog-card__tag {
	position: absolute;
	top: 20px;
	left: 20px;
	background-color: var(--color-white);
	color: var(--color-primary);
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
}

.blog-card__content {
	padding: 25px 10px 0;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.blog-card__date {
	font-size: 0.85rem;
	color: var(--color-text-light);
	margin-bottom: 10px;
}

.blog-card__title {
	font-size: 1.25rem;
	margin-bottom: 15px;
	line-height: 1.4;
}

.blog-card__excerpt {
	color: var(--color-text-light);
	font-size: 0.95rem;
	margin-bottom: 20px;
	flex-grow: 1;
}

.blog-card__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--color-primary);
	font-weight: 600;
	font-size: 0.95rem;
}

.blog-card__link:hover {
	color: var(--color-accent);
}

.blog-card__link i {
	width: 16px;
	transition: transform 0.3s ease;
}

.blog-card__link:hover i {
	transform: translateX(5px);
}

/* Scroll Animation State */
.fade-on-scroll {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-on-scroll.visible {
	opacity: 1;
	transform: translateY(0);
}

/* Responsive for new sections */
@media (max-width: 992px) {
	.innovation__container {
		grid-template-columns: 1fr;
	}

	.innovation__image-wrapper {
		order: -1; /* Картинка зверху на мобільному */
		margin-bottom: 40px;
	}

	.innovation__badge {
		right: 0;
	}
}

/* --- CONTACT SECTION --- */
.contact {
	background-color: #f1f5f9;
	position: relative;
	overflow: hidden;
}

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

.contact__desc {
	font-size: 1.1rem;
	color: var(--color-text-light);
	margin-bottom: 30px;
}

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

.contact__benefit-item {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 600;
	color: var(--color-primary);
}

.contact__benefit-item i {
	color: var(--color-accent);
	width: 20px;
}

/* Form Styling */
.contact__form-wrapper {
	background-color: var(--color-white);
	padding: 40px;
	border-radius: 24px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
	position: relative;
}

.form__group {
	margin-bottom: 20px;
}

.form__label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
	font-size: 0.9rem;
	color: var(--color-primary);
}

.form__input {
	width: 100%;
	padding: 14px 16px;
	border: 2px solid #e2e8f0;
	border-radius: 10px;
	font-family: var(--font-main);
	font-size: 1rem;
	transition: var(--transition);
	outline: none;
}

.form__input:focus {
	border-color: var(--color-primary);
}

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

.form__checkbox {
	margin-top: 4px;
	width: 18px;
	height: 18px;
	accent-color: var(--color-accent);
	cursor: pointer;
}

.form__checkbox-label {
	font-size: 0.85rem;
	color: var(--color-text-light);
	line-height: 1.4;
	cursor: pointer;
}

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

.form__btn {
	width: 100%;
	justify-content: center;
	margin-top: 10px;
}

/* Success Message */
.success-message {
	display: none; /* Hidden by default */
	text-align: center;
	padding: 40px 20px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	background: white;
	border-radius: 24px;
	z-index: 10;
}

.success-message.active {
	display: flex;
	animation: fadeIn 0.5s ease;
}

.success-message__icon {
	width: 60px;
	height: 60px;
	background-color: var(--color-accent);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-primary);
	margin-bottom: 20px;
}

.success-message__icon i {
	width: 32px;
	height: 32px;
}

.success-message__title {
	font-size: 1.5rem;
	margin-bottom: 10px;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* --- COOKIE POP-UP --- */
.cookie-popup {
	position: fixed;
	bottom: -300px; /* Hidden initially */
	left: 0;
	width: 100%;
	background-color: var(--color-primary);
	color: var(--color-white);
	padding: 15px 20px;
	z-index: 2000;
	transition: bottom 0.5s ease-in-out;
	display: flex;
	justify-content: center;
}

.cookie-popup.show {
	bottom: 0;
}

.cookie-popup__content {
	max-width: var(--container-width);
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.cookie-popup__text {
	font-size: 0.9rem;
}

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

.cookie-popup__btn {
	background-color: var(--color-accent);
	color: var(--color-primary);
	border: none;
	padding: 8px 20px;
	border-radius: 6px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	transition: var(--transition);
}

.cookie-popup__btn:hover {
	background-color: #ffffff;
}

/* --- POLICY PAGES STYLES (STAGE 5) --- */
.pages {
	padding: 80px 0; /* Header offset */
	min-height: 60vh;
}

.pages h1 {
	font-size: 2.5rem;
	margin-bottom: 30px;
	border-bottom: 2px solid var(--color-accent);
	padding-bottom: 15px;
	display: inline-block;
}

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

.pages p {
	margin-bottom: 15px;
	color: var(--color-text-main);
	text-align: justify;
}

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

.pages li {
	margin-bottom: 8px;
	color: var(--color-text-light);
}

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

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

/* Responsive Contact */
@media (max-width: 992px) {
	.contact__container {
		grid-template-columns: 1fr;
	}

	.cookie-popup__content {
		flex-direction: column;
		text-align: center;
	}

	.cookie-popup__btn {
		width: 100%;
	}
}
