/* GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Roboto+Mono:wght@500&display=swap');

/* CSS VARIABLES */
:root {
	--bg-dark: #0b0c10;
	--bg-panel: #1f2833;
	--accent-primary: #66fcf1;
	--accent-secondary: #45a29e;
	--text-primary: #c5c6c7;
	--text-white: #ffffff;

	--font-main: 'Inter', sans-serif;
	--font-headings: 'Roboto Mono', monospace;

	--header-height: 80px;
}

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

html {
	scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-headings);
	color: var(--text-white);
}

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

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

ul {
	list-style: none;
}

img {
	max-width: 100%;
	height: auto;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

/* LOGO */
.logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-headings);
	font-size: 1.5rem;
	color: var(--text-white);
	font-weight: 500;
}

.logo:hover .logo__text {
	color: var(--accent-primary);
}

.logo__svg path {
	transition: transform 0.3s ease-in-out;
}

.logo:hover .logo__svg path:nth-child(1) {
	transform: rotate(15deg) scale(1.05);
	transform-origin: center;
}
.logo:hover .logo__svg path:not(:nth-child(1)) {
	transform: translateY(-2px);
}

/* HEADER */
.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	background-color: rgba(11, 12, 16, 0.8);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--bg-panel);
	height: var(--header-height);
}

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

.header__nav {
	display: none; /* Hidden on mobile */
}

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

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

.header__nav-link:hover::after {
	width: 100%;
}
.header__nav-link:hover {
	color: var(--text-white);
}

.header__burger {
	display: block;
	background: none;
	border: none;
	color: var(--text-white);
	cursor: pointer;
	z-index: 110;
}

/* Mobile Menu Styles */
.header__nav--mobile {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--bg-dark);
	transform: translateX(100%);
	transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

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

.header__nav--mobile .header__nav-list {
	flex-direction: column;
	text-align: center;
	gap: 40px;
}

.header__nav--mobile .header__nav-link {
	font-size: 1.8rem;
}

/* FOOTER */
.footer {
	background-color: var(--bg-panel);
	padding: 60px 0;
	border-top: 1px solid var(--accent-secondary);
	font-size: 0.9rem;
}

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

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

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

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

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

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

.footer__copy {
	margin-top: 15px;
	font-size: 0.8rem;
}

.footer__address {
	line-height: 1.5;
}

/* MEDIA QUERIES */
@media (min-width: 768px) {
	.header__burger {
		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: 60px;
	}
}

/* MAIN CONTENT */
.main {
	padding-top: var(--header-height); /* Offset for fixed header */
}

/* HERO SECTION */
.hero {
	position: relative;
	height: calc(100vh - var(--header-height));
	min-height: 600px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	overflow: hidden;
}

.hero__canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.hero__container {
	position: relative;
	z-index: 2;
}

.hero__content {
	max-width: 800px;
	margin: 0 auto;
}

.hero__title {
	font-size: 2.5rem;
	line-height: 1.2;
	margin-bottom: 20px;
	background: linear-gradient(90deg, var(--text-white), var(--accent-primary));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-fill-color: transparent;
	animation: fadeInDown 1s ease-out;
}

.hero__subtitle {
	font-size: 1.1rem;
	margin-bottom: 40px;
	color: var(--text-primary);
	animation: fadeInUp 1s ease-out 0.3s;
	animation-fill-mode: both;
}

.hero__cta-button {
	display: inline-block;
	background-color: var(--accent-primary);
	color: var(--bg-dark);
	padding: 15px 35px;
	border-radius: 5px;
	font-weight: 700;
	font-family: var(--font-headings);
	text-transform: uppercase;
	transition: transform 0.3s ease, background-color 0.3s ease;
	border: 2px solid var(--accent-primary);
	animation: fadeInUp 1s ease-out 0.6s;
	animation-fill-mode: both;
}

.hero__cta-button:hover {
	background-color: transparent;
	color: var(--accent-primary);
	transform: translateY(-3px);
}

/* Keyframe Animations for Hero content */
@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

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

/* MEDIA QUERIES for Hero */
@media (min-width: 768px) {
	.hero__title {
		font-size: 3.5rem;
	}
	.hero__subtitle {
		font-size: 1.25rem;
	}
}

/* FEATURES SECTION */
.features {
	padding: 80px 0;
	background-color: var(
		--bg-dark
	); /* Same as body, but can be changed for contrast */
	border-top: 1px solid var(--bg-panel);
}

.features__title,
.features__subtitle {
	text-align: center;
}

.features__title {
	font-size: 2.2rem;
	margin-bottom: 15px;
}

.features__subtitle {
	max-width: 700px;
	margin: 0 auto 60px auto;
	color: var(--text-primary);
}

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

.features__card {
	background-color: var(--bg-panel);
	padding: 35px 30px;
	border-radius: 8px;
	border: 1px solid transparent;
	transition: transform 0.3s ease, border-color 0.3s ease;
}

.features__card:hover {
	transform: translateY(-8px);
	border-color: var(--accent-primary);
}

.features__card-icon {
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(102, 252, 241, 0.1);
	color: var(--accent-primary);
	border-radius: 50%;
	margin-bottom: 25px;
}

.features__card-icon i {
	width: 24px;
	height: 24px;
}

.features__card-title {
	font-size: 1.4rem;
	margin-bottom: 15px;
	color: var(--text-white);
}

.features__card-description {
	font-size: 0.95rem;
	line-height: 1.7;
}

/* MEDIA QUERIES for Features */
@media (min-width: 768px) {
	.features__grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.features__title {
		font-size: 2.5rem;
	}
}

@media (min-width: 1024px) {
	.features {
		padding: 100px 0;
	}
	.features__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* TECH SECTION */
.tech {
	padding: 80px 0;
	background-color: var(--bg-panel);
}

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

.tech__title {
	font-size: 1.5rem;
	margin-bottom: 20px;
}

.tech__description {
	margin-bottom: 30px;
	max-width: 500px;
}

.tech__tabs-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}

.tech__tab-button {
	padding: 10px 20px;
	cursor: pointer;
	background-color: transparent;
	border: 1px solid var(--accent-secondary);
	color: var(--text-primary);
	border-radius: 5px;
	font-family: var(--font-headings);
	transition: background-color 0.3s ease, color 0.3s ease;
}

.tech__tab-button:hover {
	background-color: var(--accent-secondary);
	color: var(--text-white);
}

.tech__tab-button.active {
	background-color: var(--accent-primary);
	border-color: var(--accent-primary);
	color: var(--bg-dark);
}

.tech__tabs-content {
	position: relative;
}

.tech__tab-panel {
	display: none;
	flex-direction: column;
	align-items: flex-start;
	padding: 30px;
	background-color: var(--bg-dark);
	border-radius: 8px;
	animation: fadeIn 0.5s ease;
}

.tech__tab-panel.active {
	display: flex;
}

.tech__tab-icon {
	width: 45px;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--accent-primary);
	margin-bottom: 20px;
}

.tech__tab-icon i {
	width: 32px;
	height: 32px;
}

.tech__tab-title {
	font-size: 1.5rem;
	margin-bottom: 10px;
}

/* Keyframe for tab content fade in */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* MEDIA QUERIES for Tech */
@media (min-width: 992px) {
	.tech {
		padding: 100px 0;
	}
	.tech__container {
		grid-template-columns: 1fr 1fr;
		gap: 60px;
	}
	.tech__title {
		font-size: 2rem;
	}
	.tech__tabs-buttons {
		align-items: flex-start;
	}
}

/* CASES SECTION */
.cases {
	padding: 80px 0;
}

.cases__title,
.cases__subtitle {
	text-align: center;
}

.cases__title {
	font-size: 2.2rem;
	margin-bottom: 15px;
}

.cases__subtitle {
	max-width: 700px;
	margin: 0 auto 60px auto;
	color: var(--text-primary);
}

.cases__slider {
	width: 100%;
	padding-bottom: 50px; /* Space for pagination */
}

.cases__card {
	background-color: var(--bg-panel);
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid transparent;
	transition: transform 0.3s ease, border-color 0.3s ease;
}

.cases__card:hover {
	transform: translateY(-8px);
	border-color: var(--accent-secondary);
}

.cases__card-img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	filter: grayscale(30%);
	transition: filter 0.3s ease;
}

.cases__card:hover .cases__card-img {
	filter: grayscale(0%);
}

.cases__card-content {
	padding: 25px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.cases__card-tag {
	display: inline-block;
	background-color: var(--accent-secondary);
	color: var(--text-white);
	padding: 4px 12px;
	border-radius: 4px;
	font-size: 0.8rem;
	font-weight: 600;
	margin-bottom: 15px;
	align-self: flex-start;
}

.cases__card-title {
	font-size: 1.4rem;
	margin-bottom: 10px;
}

.cases__card-description {
	font-size: 0.95rem;
	flex-grow: 1;
	margin-bottom: 20px;
}

.cases__card-link {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--accent-primary);
	font-weight: 600;
	transition: gap 0.3s ease;
}

.cases__card-link:hover {
	gap: 12px;
}
.cases__card-link i {
	width: 18px;
	height: 18px;
}

/* Swiper Customization */
.swiper-pagination-bullet {
	background-color: var(--accent-secondary);
	width: 10px;
	height: 10px;
}

.swiper-pagination-bullet-active {
	background-color: var(--accent-primary);
}

/* MEDIA QUERIES for Cases */
@media (min-width: 768px) {
	.cases__title {
		font-size: 2.5rem;
	}
}

@media (min-width: 1024px) {
	.cases {
		padding: 100px 0;
	}
}

/* PRICING SECTION */
.pricing {
	padding: 80px 0;
	background-color: var(--bg-panel);
}

.pricing__title,
.pricing__subtitle {
	text-align: center;
}

.pricing__title {
	font-size: 2.2rem;
	margin-bottom: 15px;
}

.pricing__subtitle {
	max-width: 700px;
	margin: 0 auto 60px auto;
	color: var(--text-primary);
}

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

.pricing__card {
    width: 100%;
	background-color: var(--bg-dark);
	border: 1px solid var(--accent-secondary);
	border-radius: 12px;
	padding: 30px;
	display: flex;
	flex-direction: column;
	height: 100%;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing__card:hover {
	transform: translateY(-10px);
}

.pricing__card--featured {
	border: 2px solid var(--accent-primary);
	transform: scale(1.05);
	position: relative;
	overflow: hidden;
}

.pricing__card--featured:hover {
	transform: scale(1.08) translateY(-10px);
	box-shadow: 0 10px 30px rgba(102, 252, 241, 0.1);
}

.pricing__card-badge {
	position: absolute;
	top: 15px;
	right: -45px;
	background-color: var(--accent-primary);
	color: var(--bg-dark);
	padding: 5px 40px;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	transform: rotate(45deg);
}

.pricing__card-header {
	border-bottom: 1px solid var(--bg-panel);
	padding-bottom: 20px;
	margin-bottom: 20px;
}

.pricing__card-title {
	font-size: 1.8rem;
	color: var(--text-white);
}

.pricing__card-price {
	font-size: 2rem;
	font-weight: 700;
	color: var(--accent-primary);
	margin: 10px 0;
}

.pricing__card-period {
	font-size: 1rem;
	font-weight: 400;
	color: var(--text-primary);
}

.pricing__card-audience {
	font-size: 0.9rem;
	min-height: 40px; /* To align cards */
}

.pricing__card-features {
	list-style: none;
	flex-grow: 1;
	margin-bottom: 30px;
}

.pricing__card-features li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 15px;
}

.pricing__card-features i {
	color: var(--accent-primary);
	width: 20px;
	height: 20px;
}

.pricing__card-button {
	display: block;
	width: 100%;
	text-align: center;
	padding: 15px;
	border: 2px solid var(--accent-secondary);
	color: var(--text-primary);
	border-radius: 5px;
	font-weight: 700;
	transition: all 0.3s ease;
}

.pricing__card-button:hover {
	background-color: var(--accent-secondary);
	color: var(--text-white);
}

.pricing__card-button--featured {
	background-color: var(--accent-primary);
	border-color: var(--accent-primary);
	color: var(--bg-dark);
}
.pricing__card-button--featured:hover {
	background-color: transparent;
	color: var(--accent-primary);
}

/* MEDIA QUERIES for Pricing */
@media (max-width: 991px) {
	.pricing__card--featured {
		transform: scale(1); /* Disable scale on mobile */
	}
	.pricing__card--featured:hover {
		transform: translateY(-10px); /* Keep only hover effect */
		box-shadow: none;
	}
}

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

/* CONTACT SECTION */
.contact {
	padding: 80px 0;
}

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

.contact__title {
	font-size: 2.2rem;
	margin-bottom: 20px;
}

.contact__description {
	margin-bottom: 30px;
}

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

.contact__info-item {
	display: flex;
	align-items: center;
	gap: 15px;
	font-size: 1.1rem;
}

.contact__info-item i {
	color: var(--accent-primary);
}

.contact__form-wrapper {
	background-color: var(--bg-panel);
	padding: 30px;
	border-radius: 8px;
}

.contact__form-group {
	margin-bottom: 20px;
}

.contact__form-label {
	display: block;
	margin-bottom: 8px;
	font-size: 0.9rem;
	font-weight: 500;
}

.contact__form-input {
	width: 100%;
	padding: 12px;
	background-color: var(--bg-dark);
	border: 1px solid var(--accent-secondary);
	border-radius: 5px;
	color: var(--text-white);
	font-size: 1rem;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact__form-input:focus {
	outline: none;
	border-color: var(--accent-primary);
	box-shadow: 0 0 0 3px rgba(102, 252, 241, 0.2);
}

.contact__form-group--checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 25px;
}

.contact__form-checkbox {
	margin-top: 5px;
	accent-color: var(--accent-primary); /* Simple styling for checkbox */
}

.contact__form-checkbox-label {
	font-size: 0.85rem;
	color: var(--text-primary);
}
.contact__form-checkbox-label a {
	text-decoration: underline;
}

.contact__form-button {
	width: 100%;
	background-color: var(--accent-primary);
	color: var(--bg-dark);
	padding: 15px;
	border-radius: 5px;
	font-weight: 700;
	font-family: var(--font-headings);
	text-transform: uppercase;
	transition: transform 0.3s ease, background-color 0.3s ease;
	border: 2px solid var(--accent-primary);
	cursor: pointer;
}

.contact__form-button:hover {
	background-color: transparent;
	color: var(--accent-primary);
}

.contact__form-message {
	display: none; /* Hidden by default */
	margin-top: 20px;
	padding: 15px;
	border-radius: 5px;
	text-align: center;
	font-weight: 500;
}
.contact__form-message--success {
	background-color: rgba(69, 162, 158, 0.3);
	border: 1px solid var(--accent-secondary);
	color: var(--text-white);
}
.contact__form-message--error {
	background-color: rgba(220, 53, 69, 0.3);
	border: 1px solid #dc3545;
	color: var(--text-white);
}

/* MEDIA QUERIES for Contact */
@media (min-width: 992px) {
	.contact {
		padding: 100px 0;
	}
	.contact__container {
		grid-template-columns: 1fr 1fr;
	}
	.contact__title {
		font-size: 2.5rem;
	}
	.contact__form-wrapper {
		padding: 40px;
	}
}

/* COOKIE POP-UP */
.cookie-popup {
	position: fixed;
	bottom: -100%; /* Initially hidden */
	left: 0;
	width: 100%;
	background-color: var(--bg-panel);
	border-top: 1px solid var(--accent-secondary);
	padding: 20px;
	z-index: 200;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	transition: bottom 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

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

.cookie-popup__text {
	margin: 0;
	margin-bottom: 15px;
	color: var(--text-primary);
}

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

.cookie-popup__button {
	background-color: var(--accent-primary);
	color: var(--bg-dark);
	padding: 10px 30px;
	border-radius: 5px;
	border: none;
	cursor: pointer;
	font-weight: 700;
	transition: background-color 0.3s ease;
}

.cookie-popup__button:hover {
	background-color: var(--text-white);
}

/* MEDIA QUERIES for Cookie Pop-up */
@media (min-width: 768px) {
	.cookie-popup {
		flex-direction: row;
		justify-content: space-between;
		padding: 20px 40px;
	}
	.cookie-popup__text {
		margin-bottom: 0;
		margin-right: 20px;
	}
}

/* GENERIC PAGES STYLES (privacy.html, terms.html, etc.) */
.pages {
	padding: calc(var(--header-height) + 40px) 0 80px 0;
}

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

.pages h1 {
	font-size: 1.5rem;
	margin-bottom: 30px;
	color: var(--accent-primary);
}

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

.pages p {
	margin-bottom: 20px;
	line-height: 1.8;
}

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

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

.pages a {
	text-decoration: underline;
}

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

/* MEDIA QUERIES for Pages */
@media (min-width: 768px) {
	
}
