@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* 6-level font scale */
:root {
  --fs-1: 2.3rem;
  --fs-2: 1.75rem;
  --fs-3: 1.5rem;
  --fs-4: 1rem;
  --fs-5: 0.875rem;
  --fs-6: 0.75rem;
}

* {
	font-family: "Montserrat", sans-serif;
	box-sizing: border-box;
}
html {
	overflow-x: hidden;
	max-width: 100%;
	width: 100%;
}
body {
	font-family: "Lexend", sans-serif;
	margin: 0;
	padding: 0;
	background: linear-gradient(135deg, #f9fafb, #e5e7eb);
	color: #0f172a;
	overflow-x: hidden;
	max-width: 100%;
	width: 100%;
	min-width: 0;
}

.header {
	background-color: #f9fafb;
	color: #111827;
	padding: 14px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px 18px;
	box-sizing: border-box;
	box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.header-logo {
	display: flex;
	align-items: center;
	max-width: 260px;
	height: 56px;
}

.header-logo a {
	display: flex;
	align-items: center;
	height: 100%;
	text-decoration: none;
}

.header-logo img {
	display: block;
	height: 100%;
	width: auto;
	object-fit: contain;
	transition: transform 0.2s ease;
}

.header-logo a:hover img {
	transform: scale(1.03);
}

.home-link {
	color: #ffffff;
	text-decoration: none;
	font-size: var(--fs-4);
	font-weight: 600;
	padding: 10px 20px;
	border-radius: 25px;
	background-color: #2563eb;
	transition:
		background-color 0.3s ease,
		transform 0.3s ease;
}

.home-link:hover {
	background-color: #1d4ed8;
	transform: translateY(-3px);
}
.language-selector-container {
	display: inline-flex;
	align-items: center;
}

.language-switch {
	position: relative;
	display: inline-flex;
	background: #f3f4ff;
	border-radius: 999px;
	padding: 3px;
	box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.language-switch input[type="radio"] {
	display: none;
}

.language-switch label {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	cursor: pointer;
	position: relative;
	z-index: 2;
	transition: color 0.25s ease;
	color: #4b5563;
	font-weight: 500;
	font-size: var(--fs-5);
}

.language-switch label .flag {
	font-size: var(--fs-4);
}

.language-switch input[type="radio"]:checked + label {
	color: #ffffff;
}

.language-switch .slider {
	position: absolute;
	top: 3px;
	left: 3px;
	height: calc(100% - 6px);
	width: calc(50% - 3px);
	background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
	border-radius: 999px;
	transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 1;
	box-shadow: 0 3px 10px rgba(37, 99, 235, 0.4);
}

.language-switch input[type="radio"]:nth-of-type(2):checked ~ .slider {
	transform: translateX(100%);
}

.language-switch label:hover {
	color: #111827;
}

.language-switch input[type="radio"]:checked + label:hover {
	color: #ffffff;
}

/* Адаптивність хедера */
@media (max-width: 900px) {
	.header {
		justify-content: space-between;
		flex-wrap: nowrap;
	}

	.header-logo {
		order: 1;
		justify-content: flex-start;
		flex: 0 0 auto;
		margin-right: auto;
	}

	.home-link {
		order: 3;
		flex: 1 1 100%;
		text-align: center;
	}

	.language-selector-container {
		order: 2;
		flex: 0 0 auto;
		margin-left: auto;
		margin-right: 0;
	}

	.language-switch {
		justify-content: flex-end;
	}

	.language-switch label {
		text-align: right;
		justify-content: flex-end;
	}
}

@media (max-width: 600px) {
	.header {
		padding: 12px 16px;
		justify-content: space-between;
		flex-wrap: nowrap;
	}

	.header-logo {
		order: 1;
		justify-content: flex-start;
		height: 50px;
		flex: 0 1 auto;
		margin-left: 0;
	}

	.header-logo img {
		max-width: 140px;
		height: auto;
	}

	.language-selector-container {
		order: 2;
		flex: 0 1 auto;
		margin-left: auto;
		margin-right: 0;
	}

	.language-switch {
		justify-content: flex-start;
	}

	.language-switch label {
		text-align: left;
		justify-content: flex-start;
	}

	.language-selector {
		font-size: var(--fs-5);
		padding: 9px 34px 9px 14px;
		min-width: 96px;
		border-radius: 999px;
		border: 2px solid rgba(37, 99, 235, 0.3);
		background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
		box-shadow: 0 3px 12px rgba(37, 99, 235, 0.35);
		font-weight: 600;
		color: #ffffff;
	}

	.language-selector:hover {
		background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
		border-color: rgba(37, 99, 235, 0.6);
		box-shadow: 0 4px 16px rgba(30, 64, 175, 0.45);
	}

	.language-selector:focus {
		border-color: #93c5fd;
		box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.55);
	}

	.language-selector-container::after {
		right: 12px;
		font-size: var(--fs-6);
		color: #eff6ff;
	}

	.home-link {
		display: none;
	}
}
.gradient-section {
	background-color: #ffffff;
	color: #0f172a;
	padding: 56px 40px;
	margin: 32px auto;
	max-width: 1120px;
	width: 100%;
	border-radius: 24px;
	box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
	box-sizing: border-box;
	overflow-x: hidden;
	min-width: 0;
}

.gradient-section .container {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: left;
	gap: 40px;
	min-width: 0;
	max-width: 100%;
	width: 100%;
}

.gradient-section .text-content {
	flex: 1 1 0;
	min-width: 0;
	padding-right: 40px;
	max-width: 560px;
	order: 1;
	overflow-wrap: break-word;
	word-wrap: break-word;
}

.gradient-section .image-content {
	flex: 1 1 0;
	min-width: 0;
	max-width: 640px;
	order: 2;
}

.gradient-section h1 {
	font-size: var(--fs-1);
	line-height: 1.2;
	margin-bottom: 18px;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.gradient-section p {
	font-size: var(--fs-4);
	line-height: 1.8;
	color: #4b5563;
}

.gradient-section .button {
	padding: 11px 24px;
	background: linear-gradient(135deg, #22c55e, #16a34a);
	color: #ffffff;
	border: none;
	border-radius: 999px;
	cursor: pointer;
	font-size: var(--fs-4);
	margin-top: 20px;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		opacity 0.2s ease;
	font-weight: 600;
	box-shadow: 0 12px 24px rgba(34, 197, 94, 0.35);
}

.gradient-section .button:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 30px rgba(34, 197, 94, 0.42);
	opacity: 0.95;
}



.white-section {
	background-color: #ffffff;
	padding: 56px 40px;
	margin: 24px auto 32px;
	max-width: 1120px;
	width: 100%;
	border-radius: 24px;
	box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
	box-sizing: border-box;
	overflow-x: hidden;
	min-width: 0;
}

.white-section .container {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 80px;
	min-width: 0;
	max-width: 100%;
	width: 100%;
}

.white-section .text-content {
	flex: 1 1 0;
	min-width: 0;
	padding-left: 40px;
	max-width: 560px;
	order: 1;
	overflow-wrap: break-word;
	word-wrap: break-word;
}

.white-section .image-content {
	flex: 1 1 0;
	min-width: 0;
	max-width: 640px;
	order: 2;
}

.white-section h1 {
	font-size: var(--fs-1);
	line-height: 1.2;
	margin-bottom: 18px;
	font-weight: 700;
	color: #0f172a;
	letter-spacing: 0.01em;
}

.white-section p {
	font-size: var(--fs-4);
	line-height: 1.8;
	color: #4b5563;
}

.white-section .button {
	padding: 11px 24px;
	background-color: #111827;
	color: #ffffff;
	border: none;
	border-radius: 999px;
	cursor: pointer;
	font-size: var(--fs-4);
	margin-top: 20px;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		opacity 0.2s ease;
	font-weight: 600;
	box-shadow: 0 14px 28px rgba(15, 23, 42, 0.3);
}

.white-section .button:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 34px rgba(15, 23, 42, 0.38);
	opacity: 0.97;
}



.gradient-section img,
.white-section img {
	max-width: 100%;
	width: 100%;
	height: auto;
	object-fit: contain;
	image-rendering: crisp-edges;
	border-radius: 10px;
}

.two-images {
	display: flex;
	justify-content: space-between;
	gap: 20px;
}

.two-images img {
	flex: 1;
	border-radius: 10px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gradient-image-container {
	background: linear-gradient(to right, #f5f7fa, #c3cfe2);
	padding: 20px;
	border-radius: 10px;
}
.gradient-bottom {
	background-color: #0f172a;
	color: #f9fafb;
	padding: 40px 32px 56px;
	margin: 24px auto 64px;
	max-width: 1120px;
	width: 100%;
	border-radius: 24px;
	box-shadow: 0 20px 40px rgba(15, 23, 42, 0.5);
	box-sizing: border-box;
	overflow-x: hidden;
}

.gradient-bottom .container {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.gradient-bottom .text-content p {
	font-size: var(--fs-4);
	color: #e5e7eb;
	line-height: 1.8;
}

.gradient-bottom .button {
	padding: 11px 24px;
	background: linear-gradient(135deg, #22c55e, #16a34a);
	color: #ffffff;
	border: none;
	border-radius: 999px;
	cursor: pointer;
	font-size: var(--fs-4);
	margin-top: 20px;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		opacity 0.2s ease;
	font-weight: 600;
	box-shadow: 0 12px 24px rgba(34, 197, 94, 0.4);
}

.gradient-bottom .button:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 30px rgba(34, 197, 94, 0.5);
	opacity: 0.95;
}

@media (max-width: 768px) {
	.header {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		padding: 12px 12px;
		gap: 12px;
	}

	.header-logo {
		order: 1;
		flex: 0 0 auto;
		margin-right: auto;
	}

	.language-selector-container {
		order: 2;
		flex: 0 0 auto;
		margin-left: auto;
	}

	.gradient-section,
	.white-section,
	.gradient-bottom {
		margin: 16px 0;
		padding: 28px 12px;
		max-width: 100%;
		width: 100%;
		box-sizing: border-box;
		border-radius: 20px;
	}

	.gradient-section .container,
	.white-section .container {
		flex-direction: column;
		align-items: flex-start;
		text-align: left;
		gap: 24px;
		width: 100%;
		min-width: 0;
	}

	.gradient-bottom .container {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 24px;
		width: 100%;
		max-width: 100%;
		padding: 0;
	}
	.gradient-bottom .text-content {
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 100%;
		max-width: 100%;
	}

	.gradient-section .text-content,
	.white-section .text-content {
		padding: 0;
		max-width: 100%;
	}

	.gradient-section .image-content,
	.white-section .image-content {
		max-width: 100%;
	}

	.gradient-section h1,
	.white-section h1,
	.custom-heading {
		font-size: var(--fs-2);
		text-align: left;
	}

	.gradient-section p,
	.white-section p {
		font-size: var(--fs-4);
		text-align: left;
	}

	.gradient-bottom .text-content p {
		font-size: var(--fs-4);
		text-align: center;
	}

	.two-images {
		flex-direction: column;
		gap: 10px;
	}

	.gradient-section .button,
	.white-section .button,
	.gradient-bottom .button {
		width: 100%;
		font-size: var(--fs-4);
		padding: 10px 18px;
	}

	.custom-container {
		flex-direction: column;
		align-items: flex-start;
		text-align: left;
		gap: 24px;
		padding: 0;
	}

	.gradient-section .custom-container .text-wrapper {
		order: 1;
		max-width: 100%;
	}
	.gradient-section .custom-container .image-section {
		order: 2;
	}

	.text-wrapper {
		max-width: 100%;
	}

	.custom-heading {
		font-size: var(--fs-3);
	}

	.custom-list li {
		font-size: var(--fs-4);
	}
	.image-section {
		max-width: 100%;
	}

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

	.image-container img {
		width: 100%;
		height: auto;
	}
}

@media (max-width: 480px) {
	.header .logo {
		font-size: var(--fs-3);
	}

	.home-link {
		font-size: var(--fs-4);
		padding: 6px 12px;
	}

	.header img {
		width: 80px;
		height: 40px;
	}

	.language-selector {
		font-size: var(--fs-6);
		padding: 0 32px;
	}

	.gradient-section,
	.white-section,
	.gradient-bottom {
		margin: 12px 0;
		padding: 24px 12px;
		width: 100%;
		box-sizing: border-box;
		border-radius: 18px;
	}

	.gradient-bottom .container {
		align-items: center;
		text-align: center;
	}
	.gradient-bottom .text-content {
		align-items: center;
	}
	.gradient-bottom .text-content p {
		font-size: var(--fs-5);
		line-height: 1.7;
		text-align: center;
	}

	.gradient-section h1,
	.white-section h1 {
		font-size: var(--fs-3);
	}

	.gradient-section p,
	.white-section p {
		font-size: var(--fs-5);
		line-height: 1.7;
	}

	.features-list li {
		font-size: var(--fs-4);
	}

	.gradient-section .button,
	.white-section .button,
	.gradient-bottom .button {
		font-size: var(--fs-4);
		padding: 9px 16px;
	}

	.two-images img {
		max-width: 100%;
	}
}

.text-content-right h1 {
	color: #0f172a;
}
.features-list li {
	color: #0f172a;
	padding: 12px;
	margin-bottom: 8px;
	border-radius: 8px;
	display: flex;
	font-size: var(--fs-4);
}
.features-list {
	display: flex;
	flex-direction: column;
}
.features-list li:hover {
	transform: translateX(4px);
}

.features-list li::before {
	content: "✔";
	color: #22c55e;
	font-weight: bold;
	font-size: var(--fs-3);
	margin-right: 5px;
}

@media (max-width: 768px) {
	.features-list {
		align-items: flex-start;
		padding-left: 0;
		margin-left: 0;
		width: 100%;
	}

	.features-list li {
		justify-content: flex-start;
		text-align: left;
		width: 100%;
	}
}
.custom-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	padding: 20px;
	flex-wrap: wrap;
	min-width: 0;
	max-width: 100%;
}

.text-wrapper {
	flex: 1 1 300px;
	min-width: 0;
	order: 2;
}

.custom-heading {
	font-size: var(--fs-2);
	font-weight: bold;
	margin-bottom: 20px;
}

.custom-list {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.custom-list li {
	font-size: var(--fs-4);
	margin-bottom: 10px;
	padding-left: 20px;
	position: relative;
}

.custom-list li::before {
	content: "\2022";
	font-size: var(--fs-2);
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	color: #007bff;
}

.custom-button {
	background-color: #007bff;
	color: white;
	padding: 10px 20px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.custom-button:hover {
	background-color: #0056b3;
}

.image-section {
	flex: 1 1 300px;
	min-width: 0;
	max-width: 100%;
	order: 1;
}

.image-wrapper {
	display: flex;
	gap: 10px;
	justify-content: space-between;
	max-width: 100%;
}

.image-container {
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: 8px;
}

.image-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}
@media (max-width: 768px) {
	.header {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        text-align: center;
    }

    .header-right {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

	.gradient-section .container,
	.white-section .container {
		flex-direction: column;
		align-items: flex-start;
		text-align: left;
	}

	.gradient-bottom .container {
		flex-direction: column;
		align-items: center;
		text-align: center;
		width: 100%;
		max-width: 100%;
		padding: 0;
	}
	.gradient-bottom .text-content {
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 100%;
		max-width: 100%;
	}
	.gradient-bottom .text-content p {
		text-align: center;
	}


   .home-link {
        font-size: var(--fs-4);
        padding: 8px 16px;
    }

    .language-selector {
        font-size: var(--fs-5);
        padding: 4px 8px;
    }
	.gradient-section h1,
	.white-section h1,
	.custom-heading {
		font-size: var(--fs-2);
		text-align: left;
	}

	.gradient-section p,
	.white-section p {
		font-size: var(--fs-4);
		text-align: left;
	}

	.gradient-bottom .text-content p {
		font-size: var(--fs-4);
		text-align: center;
	}

	.two-images {
		flex-direction: column;
		gap: 10px;
	}

	.gradient-section .button,
	.white-section .button,
	.gradient-bottom .button {
		width: 100%;
		font-size: var(--fs-4);
		padding: 10px 20px;
	}
}

@media (max-width: 480px) {
	 .header .logo {
        font-size: var(--fs-3);
    }

    .home-link {
        font-size: var(--fs-4);
        padding: 6px 12px;
    }

    .header img {
        width: 80px;
        height: 40px;
    }

	.language-selector {
		font-size: var(--fs-6);
        padding: 6px 12px;
    }
	.gradient-section h1,
	.white-section h1,
	.custom-heading {
		font-size: var(--fs-2);
		text-align: left;
	}
	.gradient-section p,
	.white-section p {
		font-size: var(--fs-5);
		text-align: left;
	}

	.gradient-bottom .text-content p {
		font-size: var(--fs-5);
		text-align: center;
	}

	.two-images img {
		max-width: 100%;
	}
}
