/* --- Variables --- */
:root {
	--color-primary: #2563eb; /* Royal Blue / Electric */
	--color-primary-dark: #1e40af; /* Deep Navy */
	--color-secondary: #0f172a; /* Dark Text / Slate 900 */
	--color-text: #334155; /* Body Text / Slate 700 */
	--color-light: #f8fafc; /* Background / Slate 50 */
	--color-white: #ffffff;
	--color-accent: #06b6d4; /* Cyan Accent */

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

	--container-width: 1200px;
	--header-height: 80px;
	--transition: all 0.3s ease;
	--shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-main);
	color: var(--color-text);
	background-color: var(--color-light);
	line-height: 1.6;
	font-size: 16px;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

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

ul {
	list-style: none;
}

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

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

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading);
	color: var(--color-secondary);
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 1rem;
}

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

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

.btn--primary:hover {
	background-color: var(--color-primary-dark);
	transform: translateY(-2px);
	box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

/* --- Header --- */
.header {
	background-color: var(--color-white);
	height: var(--header-height);
	display: flex;
	align-items: center;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	box-shadow: var(--shadow);
}

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

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.5rem;
	color: var(--color-secondary);
}

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

.nav {
	display: flex;
	align-items: center;
	gap: 40px;
}

.nav__list {
	display: flex;
	gap: 30px;
}

.nav__link {
	font-weight: 500;
	color: var(--color-secondary);
	position: relative;
}

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

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

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

.header__toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--color-secondary);
}

/* --- Mobile Menu Styles --- */
@media (max-width: 992px) {
	.header__toggle {
		display: block;
	}

	.nav {
		position: fixed;
		top: var(--header-height);
		right: -100%;
		width: 100%;
		height: calc(100vh - var(--header-height));
		background-color: var(--color-white);
		flex-direction: column;
		justify-content: center;
		align-items: center;
		transition: var(--transition);
		border-top: 1px solid #eee;
	}

	.nav.open {
		right: 0;
	}

	.nav__list {
		flex-direction: column;
		align-items: center;
		gap: 25px;
		margin-bottom: 30px;
	}

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

/* --- Main Content Spacer --- */
.main {
	margin-top: var(--header-height);
	flex: 1;
	min-height: 60vh; /* Temporary spacer */
}

/* --- Footer --- */
.footer {
	background-color: var(--color-secondary);
	color: #cbd5e1;
	padding: 60px 0 20px;
}

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

.logo--light {
	color: var(--color-white);
	margin-bottom: 20px;
}

.footer__desc {
	font-size: 0.9rem;
	max-width: 300px;
}

.footer__title {
	color: var(--color-white);
	font-size: 1.1rem;
	margin-bottom: 1.2rem;
}

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

.footer__link {
	font-size: 0.95rem;
}

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

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

.footer__contact-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 0.95rem;
}

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

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

/* Responsive Footer */
@media (max-width: 768px) {
	.footer__container {
		grid-template-columns: 1fr;
		gap: 30px;
	}
}

/* --- Pages Policy Styles (Stage 5 Preview) --- */
.pages {
	padding: 60px 0;
}
.pages h1 {
	margin-bottom: 30px;
	color: var(--color-primary-dark);
}
.pages h2 {
	margin-top: 30px;
	font-size: 1.5rem;
}
.pages p {
	margin-bottom: 15px;
	color: var(--color-text);
}
.pages ul {
	list-style: disc;
	margin-left: 20px;
	margin-bottom: 20px;
}
.pages li {
	margin-bottom: 8px;
}
.pages a {
	color: var(--color-primary);
	text-decoration: underline;
}

/* --- Hero Section --- */
.hero {
	padding: 60px 0 80px;
	background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
	overflow: hidden;
	position: relative;
}

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

/* Text Content */
.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background-color: rgba(37, 99, 235, 0.1);
	color: var(--color-primary);
	padding: 8px 16px;
	border-radius: 50px;
	font-size: 0.9rem;
	font-weight: 600;
	margin-bottom: 25px;
	border: 1px solid rgba(37, 99, 235, 0.2);
}

.hero__title {
	font-size: 3.5rem;
	line-height: 1.1;
	margin-bottom: 25px;
	color: var(--color-secondary);
}

.text-highlight {
	color: var(--color-primary);
	position: relative;
	white-space: nowrap;
}

.text-highlight::after {
	content: '';
	position: absolute;
	bottom: 5px;
	left: 0;
	width: 100%;
	height: 10px;
	background-color: rgba(6, 182, 212, 0.2); /* Cyan accent */
	z-index: -1;
	transform: skewX(-10deg);
}

.hero__desc {
	font-size: 1.15rem;
	color: var(--color-text);
	margin-bottom: 35px;
	max-width: 90%;
}

.hero__actions {
	display: flex;
	flex-direction: column;
	gap: 15px;
	align-items: flex-start;
}

.btn-icon {
	margin-left: 8px;
	width: 18px;
}

.hero__note {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.85rem;
	color: #64748b;
}

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

/* Visual / Chat Interface */
.hero__visual {
	position: relative;
	perspective: 1000px;
}

.chat-interface {
	background: var(--color-white);
	border-radius: 16px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
	width: 100%;
	max-width: 480px;
	margin: 0 auto;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.8);
	animation: float 6s ease-in-out infinite;
	position: relative;
	z-index: 2;
}

.chat-header {
	background: #f1f5f9;
	padding: 15px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid #e2e8f0;
}

.chat-dots {
	display: flex;
	gap: 6px;
}

.dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
}
.red {
	background: #ef4444;
}
.yellow {
	background: #f59e0b;
}
.green {
	background: #10b981;
}

.chat-title {
	font-size: 0.8rem;
	font-weight: 600;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.chat-body {
	padding: 20px;
	height: 300px;
	display: flex;
	flex-direction: column;
	gap: 15px;
	overflow-y: auto;
	background-color: #fff;
}

/* Chat Bubbles */
.message {
	max-width: 80%;
	padding: 12px 16px;
	border-radius: 12px;
	font-size: 0.95rem;
	line-height: 1.4;
	position: relative;
	opacity: 0; /* For animation */
	animation: popIn 0.4s forwards;
}

.message--bot {
	background-color: #f1f5f9;
	align-self: flex-start;
	border-bottom-left-radius: 2px;
	color: var(--color-secondary);
}

.message--user {
	background-color: var(--color-primary);
	color: white;
	align-self: flex-end;
	border-bottom-right-radius: 2px;
}

.typing-indicator {
	font-size: 0.8rem;
	color: #94a3b8;
	margin-left: 10px;
	display: none;
}

.typing-indicator.active {
	display: block;
	animation: blink 1s infinite;
}

.chat-input-area {
	padding: 15px;
	border-top: 1px solid #e2e8f0;
	display: flex;
	align-items: center;
	gap: 10px;
}

.fake-input {
	height: 10px;
	background: #f1f5f9;
	flex: 1;
	border-radius: 4px;
}

.fake-send-btn {
	color: var(--color-primary);
	width: 24px;
	height: 24px;
}

/* Decorative Circles behind chat */
.decoration-circle {
	position: absolute;
	border-radius: 50%;
	z-index: 1;
	filter: blur(60px);
	opacity: 0.6;
}

.decoration-circle--1 {
	width: 300px;
	height: 300px;
	background: rgba(37, 99, 235, 0.2);
	top: -50px;
	right: -50px;
}

.decoration-circle--2 {
	width: 200px;
	height: 200px;
	background: rgba(6, 182, 212, 0.2);
	bottom: -30px;
	left: -30px;
}

/* Animations */
@keyframes float {
	0% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-15px);
	}
	100% {
		transform: translateY(0px);
	}
}

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

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

/* Responsive Hero */
@media (max-width: 992px) {
	.hero__title {
		font-size: 2.5rem;
	}
	.hero__container {
		grid-template-columns: 1fr;
		gap: 40px;
		text-align: center;
	}
	.hero__content {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.hero__actions {
		align-items: center;
	}
	.hero__visual {
		width: 100%;
		max-width: 100%;
	}
	.chat-interface {
		margin: 0 auto;
		height: auto;
	}
	.chat-body {
		height: 250px;
	}
}

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


/* --- Solutions Section --- */
.solutions {
    padding: 80px 0;
    background-color: var(--color-white);
}

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

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

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

.text-bold {
    font-weight: 600;
    color: var(--color-secondary);
}

.section-subtitle {
    color: var(--color-text);
    font-size: 1.1rem;
}

/* Grid Layout */
.solutions__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* Card Styles */
.solution-card {
    background-color: var(--color-light);
    padding: 30px 20px;
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.solution-card:hover {
    transform: translateY(-10px);
    background-color: var(--color-white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(37, 99, 235, 0.1);
}

.solution-card__icon-box {
    width: 60px;
    height: 60px;
    background-color: var(--color-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.solution-card:hover .solution-card__icon-box {
    background-color: var(--color-primary);
}

.solution-card__icon {
    width: 28px;
    height: 28px;
    color: var(--color-primary);
    transition: var(--transition);
}

.solution-card:hover .solution-card__icon {
    color: var(--color-white);
}

.solution-card__title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--color-secondary);
}

.solution-card__text {
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.5;
}

/* CTA Button Outline variant */
.solutions__cta {
    text-align: center;
}

.btn--outline {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 12px 30px;
}

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

/* Responsive Solutions */
@media (max-width: 1024px) {
    .solutions__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .solutions__grid {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 2rem;
    }
}

/* --- Technology Section (Dark) --- */
.section--dark {
    background-color: var(--color-secondary); /* Dark Slate */
    color: var(--color-white);
    padding: 80px 0;
}

.section-header--light .section-title,
.section-header--light .section-subtitle {
    color: var(--color-white);
}

.section-header--light .section-subtitle {
    opacity: 0.8;
}

.text-highlight-dark {
    color: var(--color-accent); /* Cyan accent looks great on dark */
}

/* Steps Container */
.steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin: 60px 0;
    position: relative;
}

.step-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.05); /* Glass effect */
    padding: 30px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: var(--transition);
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.step-card__number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.5;
    margin-bottom: 10px;
    line-height: 1;
}

.step-card__title {
    color: var(--color-white);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.step-card__desc {
    font-size: 0.95rem;
    color: #cbd5e1; /* Light gray */
}

.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    margin-top: 80px; /* Align with cards visually */
    color: var(--color-primary);
}

/* EU Alert Box */
.eu-alert {
    max-width: 600px;
    margin: 0 auto 40px;
    background-color: rgba(6, 182, 212, 0.15); /* Cyan tint */
    border: 1px solid var(--color-accent);
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #e0f2fe;
}

.eu-alert__icon {
    color: var(--color-accent);
}

/* CTA Area */
.technology__cta {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.btn--large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.cta-subtext {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Responsive Technology Section */
@media (max-width: 768px) {
    .steps {
        flex-direction: column;
        gap: 20px;
    }
    
    .step-arrow {
        display: none; /* Hide arrows on mobile */
    }
    
    .step-card {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .eu-alert {
        font-size: 0.9rem;
    }
}

/* --- Blog Section --- */
.blog {
    padding: 80px 0;
    background-color: var(--color-light);
}

.blog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background-color: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Image Area */
.blog-card__image-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.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: 15px;
    left: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--color-primary);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Content Area */
.blog-card__content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card__date {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 10px;
}

.blog-card__title {
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--color-secondary);
    transition: var(--transition);
}

.blog-card:hover .blog-card__title {
    color: var(--color-primary);
}

.blog-card__excerpt {
    font-size: 0.95rem;
    color: var(--color-text);
    margin-bottom: 20px;
    flex: 1; /* Push link to bottom */
}

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

.blog-card__link:hover {
    gap: 10px; /* Arrow movement effect */
    color: var(--color-primary-dark);
}

/* Responsive Blog */
@media (max-width: 992px) {
    .blog__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

}

/* --- Contact Section --- */
.contact {
    padding: 80px 0;
    background-color: var(--color-white);
}

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

/* Left Info Side */
.contact__desc {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 30px;
}

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

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--color-secondary);
}

.benefit-icon {
    color: var(--color-accent); /* Green or Cyan */
}

.contact__alt-action {
    padding: 20px;
    background-color: var(--color-light);
    border-radius: 8px;
    border-left: 4px solid var(--color-primary);
}

.contact__alt-action p {
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: var(--color-text);
}

.btn-link {
    color: var(--color-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-link:hover {
    text-decoration: underline;
}

/* Right Form Side */
.contact__form-wrapper {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden; /* To hide success message initially */
}

.form__title {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--color-secondary);
}

.form__group {
    margin-bottom: 20px;
}

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

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #94a3b8;
}

.form__input {
    width: 100%;
    padding: 12px 12px 12px 40px; /* Space for icon */
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

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

.form__input.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form__input.error:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.error-message {
    display: block;
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 6px;
    line-height: 1.4;
}

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

.form__checkbox {
    margin-top: 4px;
    accent-color: var(--color-primary);
    width: 16px;
    height: 16px;
}

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

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

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

/* Success State Styles */
.form-success {
    display: none; /* Hidden by default */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    z-index: 10;
}

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

.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-title {
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-bottom: 10px;
}

.success-desc {
    color: var(--color-text);
    margin-bottom: 25px;
}

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

/* Responsive Contact */
@media (max-width: 768px) {
    .contact__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact__form-wrapper {
        padding: 30px 20px;
    }
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: -100%; /* Сховано за межами екрану */
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 9999;
    padding: 15px 0;
    transition: bottom 0.5s ease-in-out;
}

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

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    font-size: 0.9rem;
    color: var(--color-text);
}

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

.btn--small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

/* --- Legal Pages Styling (Privacy, Terms, etc.) --- */
/* Використовуй це на окремих .html сторінках */

.pages {
    padding: 140px 0 80px; /* Більший відступ зверху через фіксований хедер */
}

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

.pages h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--color-secondary);
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 20px;
}

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

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

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

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

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

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

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