/* --- RESET & VARIABLES --- */
:root {
	--color-primary: #0f172a; /* Deep Navy */
	--color-accent: #d4f85e; /* Electric Lime */
	--color-text-dark: #334155;
	--color-text-light: #94a3b8;
	--color-white: #ffffff;
	--color-bg: #f8fafc;

	--font-heading: 'Outfit', sans-serif;
	--font-body: 'Inter', sans-serif;

	--header-height: 80px;
	--border-radius: 12px;
	--transition: all 0.3s ease;
}

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-body);
	background-color: var(--color-bg);
	color: var(--color-text-dark);
	line-height: 1.6;
	font-size: 16px;
	padding-top: var(--header-height);
}

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

ul {
	list-style: none;
}

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

/* --- BUTTONS --- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 28px;
	font-family: var(--font-heading);
	font-weight: 600;
	border-radius: 50px;
	cursor: pointer;
	transition: var(--transition);
	border: none;
}

.btn--primary {
	background-color: var(--color-primary);
	color: var(--color-white);
}

.btn--primary:hover {
	background-color: var(--color-accent);
	color: var(--color-primary);
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(15, 23, 42, 0.2);
}

/* --- HEADER --- */
.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--header-height);
	background-color: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	z-index: 1000;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
	display: flex;
	align-items: center;
}

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

.header__logo-link {
	display: flex;
	align-items: center;
	gap: 10px;
}

.header__logo-icon {
	width: 40px;
	height: 40px;
}

.header__logo-text {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--color-primary);
	letter-spacing: -0.02em;
}

.header__nav {
	display: none;
}

.header__menu {
	display: flex;
	gap: 32px;
}

.header__link {
	font-weight: 500;
	color: var(--color-text-dark);
	font-size: 0.95rem;
}

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

.header__actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.header__burger {
	display: flex;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	z-index: 1002;
}

.header__burger-line {
	width: 24px;
	height: 2px;
	background-color: var(--color-primary);
	transition: var(--transition);
}

/* Mobile Menu Overlay */
.mobile-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: var(--color-white);
	z-index: 1001;
	padding-top: 100px;
	transform: translateX(100%);
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	flex-direction: column;
	align-items: center;
}

.mobile-menu.active {
	transform: translateX(0);
}

.mobile-menu__list {
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.mobile-menu__link {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--color-primary);
}

.header__burger.active .header__burger-line:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}
.header__burger.active .header__burger-line:nth-child(2) {
	opacity: 0;
}
.header__burger.active .header__burger-line:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px);
}

@media (min-width: 992px) {
	.header__nav {
		display: block;
	}
	.header__burger {
		display: none;
	}
}

/* --- FOOTER --- */
.footer {
	background-color: var(--color-primary);
	color: var(--color-white);
	padding: 80px 0 20px;
	margin-top: auto;
}

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

.footer__logo-icon {
	width: 40px;
	height: 40px;
}

.footer__col--brand .footer__logo-icon rect {
	fill: var(--color-accent);
}
.footer__col--brand .footer__logo-icon path {
	stroke: var(--color-primary);
}

.footer__logo-link {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
}

@media (max-width: 768px) {
	.header__btn {
		display: none;
	}
}

.footer__logo-text {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--color-white);
}

.footer__desc {
	color: var(--color-text-light);
	font-size: 0.9rem;
	max-width: 300px;
}

.footer__title {
	font-family: var(--font-heading);
	font-size: 1.1rem;
	margin-bottom: 24px;
	color: var(--color-accent);
}

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

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

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

.footer__contact-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.footer__contact-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: var(--color-text-light);
	font-size: 0.95rem;
}

.footer__icon {
	width: 20px;
	height: 20px;
	color: var(--color-accent);
	flex-shrink: 0;
}

.footer__bottom {
	margin-top: 60px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	text-align: center;
	color: rgba(255, 255, 255, 0.4);
	font-size: 0.85rem;
}

@media (min-width: 768px) {
	.footer__container {
		grid-template-columns: repeat(2, 1fr);
	}
}

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

/* --- HERO SECTION --- */
.hero {
	position: relative;
	min-height: 100vh; /* На весь екран */
	padding: 120px 0 80px;
	display: flex;
	align-items: center;
	background-color: var(--color-primary);
	overflow: hidden;
}

/* Фон для анімації */
.hero__bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	opacity: 0.15;
	/* Grid pattern via CSS as fallback */
	background-image: radial-gradient(
		var(--color-text-light) 1px,
		transparent 1px
	);
	background-size: 40px 40px;
}

.hero__container {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr;
	gap: 60px;
	align-items: center;
}

/* Content Styling */
.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(212, 248, 94, 0.1);
	color: var(--color-accent);
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 0.9rem;
	font-weight: 600;
	margin-bottom: 24px;
	border: 1px solid rgba(212, 248, 94, 0.2);
}

.hero__badge-dot {
	width: 8px;
	height: 8px;
	background-color: var(--color-accent);
	border-radius: 50%;
	box-shadow: 0 0 10px var(--color-accent);
	animation: pulse 2s infinite;
}

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

.text-accent {
	color: var(--color-accent);
}

.hero__desc {
	color: var(--color-text-light);
	font-size: 1.1rem;
	max-width: 540px;
	margin-bottom: 20px;
}

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

.btn--outline {
	background: transparent;
	color: var(--color-white);
	border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn--outline:hover {
	border-color: var(--color-accent);
	color: var(--color-accent);
	background: rgba(212, 248, 94, 0.05);
}

/* Features / Stats */
.hero__features {
	display: flex;
	flex-direction: column;
	gap: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 24px;
}

.hero__feature-item {
	display: flex;
	align-items: center;
	gap: 12px;
}

.hero__feature-icon {
	color: var(--color-accent);
	width: 24px;
	height: 24px;
}

.hero__feature-text {
	display: flex;
	flex-direction: column;
	color: var(--color-white);
	font-size: 0.9rem;
}

.hero__feature-text span {
	color: var(--color-text-light);
	font-size: 0.8rem;
}

/* Visual Card (Code Window) */
.hero__visual {
	display: none; /* Mobile first: приховано на малих */
	justify-content: center;
	perspective: 1000px;
}

.hero__card {
	width: 100%;
	max-width: 400px;
	background: rgba(15, 23, 42, 0.8);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	padding: 20px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(20px);
	transform: rotateY(-10deg) rotateX(5deg);
	transition: transform 0.5s ease;
}

.hero__card:hover {
	transform: rotateY(0) rotateX(0);
}

.hero__card-header {
	display: flex;
	gap: 8px;
	margin-bottom: 20px;
}

.hero__dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
}
.red {
	background: #ff5f56;
}
.yellow {
	background: #ffbd2e;
}
.green {
	background: #27c93f;
}

.hero__card-body {
	font-family: 'Courier New', monospace;
	color: #fff;
	font-size: 0.9rem;
}

.code-line {
	margin-bottom: 8px;
	opacity: 0.8;
}
.code-line.text-accent {
	opacity: 1;
}
.cursor {
	animation: blink 1s infinite;
}

/* Animations */
@keyframes pulse {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0.5;
	}
	100% {
		opacity: 1;
	}
}

@keyframes blink {
	50% {
		opacity: 0;
	}
}

/* Desktop styles */
@media (min-width: 992px) {
	.hero__container {
		grid-template-columns: 1.2fr 0.8fr;
	}

	.hero__title {
		font-size: 2.5rem;
	}

	.hero__features {
		flex-direction: row;
		gap: 40px;
	}

	.hero__visual {
		display: flex;
	}
}

/* --- GENERAL SECTION STYLES --- */
.section {
	padding: 100px 0;
	background-color: var(--color-bg);
}

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

.section__title {
	font-family: var(--font-heading);
	font-size: 2.5rem;
	color: var(--color-primary);
	margin-bottom: 16px;
	line-height: 1.2;
}

.text-highlight {
	position: relative;
	z-index: 1;
}

.text-highlight::after {
	content: '';
	position: absolute;
	bottom: 2px;
	left: 0;
	width: 100%;
	height: 12px;
	background-color: rgba(212, 248, 94, 0.4); /* accent transparent */
	z-index: -1;
	transform: skewX(-10deg);
}

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

/* --- PROGRAMS GRID --- */
.programs__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
}

.program-card {
	background-color: var(--color-white);
	border-radius: 20px;
	padding: 40px 30px;
	transition: var(--transition);
	border: 1px solid rgba(0, 0, 0, 0.05);
	position: relative;
	display: flex;
	flex-direction: column;
}

.program-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
	border-color: var(--color-accent);
}

/* Featured Card Style */
.program-card--featured {
	background-color: var(--color-primary);
	color: var(--color-white);
}

.program-card--featured .program-card__title {
	color: var(--color-white);
}

.program-card--featured .program-card__desc,
.program-card--featured .program-card__list li {
	color: rgba(255, 255, 255, 0.7);
}

.program-card--featured .program-card__icon-box {
	background-color: rgba(255, 255, 255, 0.1);
}

/* Badge */
.program-card__badge {
	position: absolute;
	top: 20px;
	right: 20px;
	background-color: var(--color-accent);
	color: var(--color-primary);
	font-size: 0.8rem;
	font-weight: 700;
	padding: 6px 12px;
	border-radius: 50px;
	text-transform: uppercase;
}

/* Card Content */
.program-card__icon-box {
	width: 60px;
	height: 60px;
	background-color: rgba(15, 23, 42, 0.05);
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px;
	transition: var(--transition);
}

.program-card:hover .program-card__icon-box {
	background-color: var(--color-accent);
}

.program-card__icon {
	width: 30px;
	height: 30px;
	color: var(--color-primary);
}

.program-card__title {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	margin-bottom: 16px;
	color: var(--color-primary);
}

.program-card__desc {
	color: var(--color-text-light);
	margin-bottom: 24px;
	flex-grow: 1;
}

.program-card__list {
	margin-bottom: 30px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.program-card__list li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.95rem;
	color: var(--color-text-dark);
}

.program-card__list li i {
	width: 18px;
	height: 18px;
	color: var(--color-accent);
}
/* Fix icon color for white cards */
.program-card:not(.program-card--featured) .program-card__list li i {
	color: #10b981; /* Green for checks */
}

.program-card__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: var(--color-primary);
	margin-top: auto;
}

.program-card--featured .program-card__link {
	color: var(--color-accent);
}

.program-card__link:hover {
	gap: 12px;
}

/* Desktop Grid */
@media (min-width: 992px) {
	.programs__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* --- ADVANTAGES SECTION --- */
.section--light {
	background-color: #fff; /* Чистий білий для контрасту з сірим фоном body */
}

.feature-block {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	align-items: center;
	margin-bottom: 120px;
}

.feature-block:last-child {
	margin-bottom: 0;
}

/* Content Side */
.feature-block__tag {
	display: inline-block;
	padding: 6px 12px;
	background-color: rgba(212, 248, 94, 0.2);
	color: #0f172a; /* Dark for better contrast on light accent */
	border-radius: 6px;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 20px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.tag--blue {
	background-color: rgba(15, 23, 42, 0.1);
	color: var(--color-primary);
}

.feature-block__title {
	font-family: var(--font-heading);
	font-size: 2.2rem;
	color: var(--color-primary);
	margin-bottom: 20px;
	line-height: 1.2;
}

.feature-block__text {
	color: var(--color-text-dark);
	font-size: 1.05rem;
	margin-bottom: 32px;
	max-width: 500px;
}

/* Feature List (Icons + Text) */
.feature-list {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-bottom: 32px;
}

.feature-item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.feature-item__icon {
	width: 48px;
	height: 48px;
	background-color: var(--color-bg);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--color-primary);
}

.feature-item h4 {
	font-family: var(--font-heading);
	font-size: 1.1rem;
	margin-bottom: 4px;
	color: var(--color-primary);
}

.feature-item p {
	font-size: 0.9rem;
	color: var(--color-text-light);
}

/* Check List */
.check-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 32px;
}

.check-list li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 500;
	color: var(--color-text-dark);
}

.check-list li i {
	color: var(--color-accent);
	background: var(--color-primary);
	border-radius: 50%;
	padding: 2px;
	width: 20px;
	height: 20px;
}

/* Link Arrow */
.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--color-primary);
	font-weight: 700;
	font-family: var(--font-heading);
	border-bottom: 2px solid var(--color-accent);
	padding-bottom: 2px;
}

.link-arrow:hover {
	gap: 12px;
	color: var(--color-primary); /* Keep it dark */
}

/* Visual Side (Mockups) */
.feature-block__visual {
	position: relative;
	padding: 20px;
}

.ui-window {
	background: var(--color-bg);
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
	position: relative;
}

.ui-window__header {
	height: 30px;
	background: #fff;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	display: flex;
	align-items: center;
	padding: 0 12px;
	gap: 6px;
}

.ui-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #cbd5e1;
}

.ui-window__img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	aspect-ratio: 4/3; /* Зберігає пропорції */
}

/* Floating Elements */
.floating-card {
	position: absolute;
	bottom: 30px;
	left: -20px;
	background: #fff;
	padding: 12px 20px;
	border-radius: 50px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--color-primary);
	animation: float 6s ease-in-out infinite;
}

.text-success {
	color: #10b981;
}

@keyframes float {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-10px);
	}
}

/* Desktop Layout */
@media (min-width: 992px) {
	.feature-block {
		grid-template-columns: 1fr 1fr;
		gap: 80px;
	}

	/* Reverse Modifier for alternate layout */
	.feature-block--reverse .feature-block__content {
		order: 2;
	}
	.feature-block--reverse .feature-block__visual {
		order: 1;
	}
}

/* --- REVIEWS SECTION (DARK) --- */
.section--dark {
	background-color: var(--color-primary);
	color: var(--color-white);
	position: relative;
}

/* Utility classes for dark section */
.text-white {
	color: var(--color-white);
}
.text-white-50 {
	color: rgba(255, 255, 255, 0.6);
}

/* Trust Bar (Stats) */
.trust-bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 20px;
	margin-bottom: 80px;
	padding: 30px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 20px;
	backdrop-filter: blur(10px);
}

.trust-bar__item {
	text-align: center;
	padding: 0 20px;
}

.trust-bar__number {
	display: block;
	font-family: var(--font-heading);
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--color-accent);
	line-height: 1;
	margin-bottom: 5px;
}

.trust-bar__label {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.6);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.trust-bar__separator {
	width: 1px;
	height: 40px;
	background-color: rgba(255, 255, 255, 0.1);
	display: none; /* Hidden on mobile */
}

/* Reviews Grid */
.reviews__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

/* Review Card */
.review-card {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 16px;
	padding: 30px;
	transition: var(--transition);
}

.review-card:hover {
	background: rgba(255, 255, 255, 0.08);
	transform: translateY(-5px);
	border-color: rgba(212, 248, 94, 0.3);
}

/* Highlighted Card (Center style) */
.review-card--highlight {
	border-color: var(--color-accent);
	background: rgba(212, 248, 94, 0.02);
}

.review-card__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 20px;
	flex-wrap: wrap;
	gap: 10px;
}

.review-card__user {
	display: flex;
	align-items: center;
	gap: 12px;
}

.review-card__avatar {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid rgba(255, 255, 255, 0.1);
}

.review-card__name {
	font-family: var(--font-heading);
	font-size: 1.1rem;
	color: var(--color-white);
}

.review-card__role {
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.5);
}

.review-card__stars {
	display: flex;
	gap: 2px;
}

.review-card__stars .lucide {
	width: 16px;
	height: 16px;
	color: #ffbd2e; /* Star color */
	fill: #ffbd2e;
}

.review-card__text {
	font-size: 1rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.8);
	font-style: italic;
}

.review-card__text strong {
	color: var(--color-accent);
	font-weight: 500;
}

/* Desktop */
@media (min-width: 768px) {
	.trust-bar__separator {
		display: block;
	}
}

@media (min-width: 992px) {
	.reviews__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	/* Make the middle card slightly larger/pop out */
	.review-card--highlight {
		transform: scale(1.05);
		z-index: 2;
	}
	.review-card--highlight:hover {
		transform: scale(1.08);
	}
}

/* --- FAQ SECTION --- */
.faq__wrapper {
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.faq__item {
	background-color: var(--color-white);
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 16px;
	overflow: hidden;
	transition: var(--transition);
}

.faq__item:hover {
	border-color: rgba(15, 23, 42, 0.2);
}

.faq__item.active {
	border-color: var(--color-primary);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Question Button */
.faq__question {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 24px;
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
	font-family: var(--font-heading);
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--color-primary);
	transition: color 0.3s ease;
}

.faq__question:hover {
	color: var(--color-accent);
	/* Для кращої видимості на білому фоні робимо темніший відтінок акценту при ховері, 
       або залишаємо primary, якщо акцент занадто світлий. 
       Давай залишимо primary, але змінимо іконку */
}

/* Icon Rotation */
.faq__icon {
	width: 20px;
	height: 20px;
	color: var(--color-text-light);
	transition: transform 0.3s ease, color 0.3s ease;
}

.faq__item.active .faq__icon {
	transform: rotate(180deg);
	color: var(--color-primary);
}

/* Answer Area (Hidden by default) */
.faq__answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.faq__content {
	padding: 0 24px 24px 24px;
	color: var(--color-text-dark);
	font-size: 1rem;
	line-height: 1.6;
}

.faq__content strong {
	color: var(--color-primary);
	font-weight: 600;
}

/* --- CONTACT SECTION --- */
.section--contact {
	background-color: #f1f5f9; /* Slightly darker/different from main bg */
}

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

/* Left Side */
.contact__badge {
	display: inline-block;
	background-color: var(--color-primary);
	color: var(--color-white);
	padding: 6px 12px;
	border-radius: 4px;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 16px;
}

.text-accent-dark {
	color: var(--color-primary);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: var(--color-accent);
	text-underline-offset: 4px;
}

.contact__benefits {
	margin: 32px 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.contact__benefits li {
	display: flex;
	align-items: center;
	gap: 16px;
}

.benefit-icon {
	width: 40px;
	height: 40px;
	background-color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-primary);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.contact__alternative {
	padding-top: 24px;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.contact__alternative p {
	margin-bottom: 8px;
	font-weight: 500;
}

.btn-link {
	color: var(--color-primary);
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-right: 10px;
}

.btn-link:hover {
	gap: 10px;
	color: #2563eb; /* Blue highlight */
}

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

/* Right Side: Form Wrapper */
.contact__form-wrapper {
	background-color: var(--color-white);
	padding: 40px;
	border-radius: 24px;
	box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
	position: relative;
	overflow: hidden;
}

.form__title {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	margin-bottom: 24px;
	color: var(--color-primary);
}

.form__group {
	margin-bottom: 20px;
}

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

.input-wrapper {
	position: relative;
}

.input-icon {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	color: var(--color-text-light);
}

.form__input {
	width: 100%;
	padding: 14px 16px 14px 48px; /* Space for icon */
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	font-family: var(--font-body);
	font-size: 1rem;
	transition: var(--transition);
	outline: none;
}

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

/* Custom Checkbox */
.checkbox-wrapper {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	cursor: pointer;
	user-select: none;
}

.checkbox-wrapper input {
	display: none; /* Hide default */
}

.checkmark {
	width: 20px;
	height: 20px;
	border: 2px solid #e2e8f0;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: var(--transition);
	margin-top: 2px;
}

.checkbox-wrapper input:checked + .checkmark {
	background-color: var(--color-primary);
	border-color: var(--color-primary);
}

.checkmark::after {
	content: '';
	width: 10px;
	height: 5px;
	border-left: 2px solid white;
	border-bottom: 2px solid white;
	transform: rotate(-45deg) translate(1px, -1px);
	opacity: 0;
}

.checkbox-wrapper input:checked + .checkmark::after {
	opacity: 1;
}

.checkbox-text {
	font-size: 0.85rem;
	color: var(--color-text-light);
	line-height: 1.4;
}

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

/* Submit Button & Loader */
.form__submit {
	width: 100%;
	margin-top: 10px;
	position: relative;
}

.form__submit:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.btn-loader {
	display: none;
	width: 20px;
	height: 20px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-top: 2px solid #fff;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	position: absolute;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* Success State */
.form-success {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--color-white);
	z-index: 10;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 40px;
	animation: fadeIn 0.5s ease;
}

.form-success.active {
	display: flex;
}

.success-icon {
	width: 60px;
	height: 60px;
	background-color: #dcfce7; /* Light green */
	color: #16a34a; /* Green */
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
}
.success-icon i {
	width: 32px;
	height: 32px;
}

.form-success h3 {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	color: var(--color-primary);
	margin-bottom: 10px;
}

.form-success p {
	color: var(--color-text-light);
	margin-bottom: 24px;
}

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

/* Desktop */
@media (min-width: 992px) {
	.contact__container {
		grid-template-columns: 1fr 1fr;
		gap: 80px;
	}
}

/* --- COOKIE POPUP --- */
.cookie-popup {
	position: fixed;
	bottom: -100%; /* Сховано за межами екрану */
	left: 20px;
	right: 20px;
	z-index: 9999;
	transition: bottom 0.5s cubic-bezier(0.19, 1, 0.22, 1);
	display: flex;
	justify-content: center;
}

.cookie-popup.active {
	bottom: 20px;
}

.cookie-popup__content {
	background-color: var(--color-white);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
	padding: 16px 24px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	gap: 20px;
	border: 1px solid rgba(0, 0, 0, 0.05);
	max-width: 600px;
	width: 100%;
	flex-wrap: wrap;
}

.cookie-popup__text {
	font-size: 0.9rem;
	color: var(--color-text-dark);
	flex: 1;
	min-width: 200px;
}

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

/* --- TEXT PAGES (POLICIES) STYLES --- */
/* Цей блок стилів використовується для privacy.html, terms.html тощо */

.pages {
	padding: 80px 0; /* Відступ зверху більший через фіксований хедер */
	min-height: 60vh;
}

.pages .container {
	max-width: 800px; /* Вужчий контейнер для читабельності тексту */
}

.pages h1 {
	font-family: var(--font-heading);
	font-size: 2.5rem;
	color: var(--color-primary);
	margin-bottom: 40px;
	line-height: 1.2;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pages h2 {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	color: var(--color-primary);
	margin-top: 40px;
	margin-bottom: 16px;
}

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

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

.pages li {
	margin-bottom: 8px;
	color: var(--color-text-dark);
	line-height: 1.6;
}

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

.pages a {
	color: #2563eb;
	text-decoration: underline;
}

.pages a:hover {
	text-decoration: none;
}
