/* GLOBAL STYLES */
:root {
	--bg-color: #0a0a0a;
	--surface-color: #1e1e1e;
	--text-color: #f5f5f5;
	--accent-color: #00bfff;
	--accent-hover-color: #0099cc;
	--font-main: 'Inter', sans-serif;
	--font-mono: 'Roboto Mono', monospace;
}

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

html {
	scroll-behavior: smooth;
}

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

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

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

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

ul {
	list-style: none;
}

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

/* HEADER */
.header {
	background-color: rgba(10, 10, 10, 0.8);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--surface-color);
	padding: 15px 0;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
}

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

.logo {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-mono);
	font-weight: 700;
	font-size: 24px;
	color: var(--text-color);
}

.logo:hover {
	color: var(--text-color);
}

.logo__text {
	transition: color 0.3s ease;
}

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

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

.nav__link {
	color: var(--text-color);
	font-weight: 500;
	position: relative;
	padding: 5px 0;
}

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

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

.burger {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 5px;
	z-index: 1001;
}

.burger__line {
	display: block;
	width: 25px;
	height: 2px;
	background-color: var(--text-color);
	margin: 5px 0;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

/* FOOTER */
.footer {
	background-color: var(--surface-color);
	padding: 60px 0 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 40px;
	margin-bottom: 40px;
}

.footer__tagline {
	margin-top: 15px;
	font-size: 14px;
	color: rgba(245, 245, 245, 0.7);
	max-width: 250px;
}

.footer__title {
	font-family: var(--font-mono);
	font-size: 18px;
	margin-bottom: 20px;
	color: var(--text-color);
}

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

.footer__link {
	color: rgba(245, 245, 245, 0.7);
	font-size: 14px;
}

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

.footer__link--icon {
	display: flex;
	align-items: center;
	gap: 8px;
}

.footer__icon {
	width: 16px;
	height: 16px;
	color: var(--accent-color);
}

.footer__item--address {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	color: rgba(245, 245, 245, 0.7);
	font-size: 14px;
}

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

/* MOBILE STYLES */
@media (max-width: 768px) {
	.nav {
		padding-top: 71px;
		position: fixed;
		top: 0;
		right: -100%;
		width: 70%;
		height: 100vh;
		background-color: var(--surface-color);
		flex-direction: column;
		justify-content: center;
		align-items: center;
		transition: right 0.4s ease-in-out;
		box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
	}

	.nav--open {
		right: 0;
	}

	.nav__list {
		flex-direction: column;
		text-align: center;
		gap: 25px;
	}

	.nav__link {
		font-size: 20px;
	}

	.burger {
		display: block;
	}

	/* Burger animation */
	.burger--active .burger__line:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}
	.burger--active .burger__line:nth-child(2) {
		opacity: 0;
	}
	.burger--active .burger__line:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}
}

/* BUTTONS */
.button {
	display: inline-block;
	padding: 14px 32px;
	background-color: var(--accent-color);
	color: var(--bg-color);
	font-weight: 700;
	font-size: 16px;
	border-radius: 8px;
	border: 2px solid var(--accent-color);
	text-align: center;
	cursor: pointer;
	transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

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

/* HERO SECTION */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	overflow: hidden;
	padding-top: 80px; /* Header offset */
}

.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: 1000px;
	margin: 0 auto;
}

.hero__title {
	font-family: var(--font-mono);
	font-size: 48px;
	line-height: 1.2;
	margin-bottom: 20px;
	text-shadow: 0 0 15px rgba(0, 191, 255, 0.3);
}

.hero__subtitle {
	font-size: 18px;
	color: rgba(245, 245, 245, 0.8);
	margin-bottom: 40px;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.hero__note {
	margin-top: 20px;
	font-size: 14px;
	font-style: italic;
	color: rgba(245, 245, 245, 0.6);
}

/* RESPONSIVE STYLES FOR HERO */
@media (max-width: 768px) {
	.hero__title {
		font-size: 36px;
	}

	.hero__subtitle {
		font-size: 16px;
	}
}

/* SECTION HEADER (Reusable) */
.section-header {
	text-align: center;
	margin-bottom: 60px;
}

.section-header__title {
	font-family: var(--font-mono);
	font-size: 36px;
	margin-bottom: 15px;
}

.section-header__subtitle {
	font-size: 18px;
	color: rgba(245, 245, 245, 0.7);
	max-width: 700px;
	margin: 0 auto;
}

/* FEATURES SECTION */
.features {
	padding: 100px 0;
	background-color: var(--bg-color);
}

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

.feature-card {
	background-color: var(--surface-color);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	padding: 35px 30px;
	text-align: center;
	transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
	transform: translateY(-10px);
	border-color: var(--accent-color);
}

.feature-card__icon-wrapper {
	margin: 0 auto 25px;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background-color: rgba(0, 191, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
}

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

.feature-card__title {
	font-family: var(--font-mono);
	font-size: 22px;
	margin-bottom: 15px;
	color: var(--text-color);
}

.feature-card__text {
	font-size: 15px;
	color: rgba(245, 245, 245, 0.7);
	line-height: 1.7;
}

/* RESPONSIVE STYLES FOR FEATURES */
@media (max-width: 768px) {
	.section-header__title {
		font-size: 30px;
	}
	.section-header__subtitle {
		font-size: 16px;
	}
	.features {
		padding: 80px 0;
	}
}

/* PROCESS SECTION */
.process {
	padding: 100px 0;
	background-color: var(--surface-color);
}

.process__timeline {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.process-step {
	position: relative;
	background-color: var(--bg-color);
	padding: 30px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	z-index: 1;
}

.process-step__number {
	position: absolute;
	top: 10px;
	right: 20px;
	font-size: 64px;
	font-weight: 700;
	font-family: var(--font-mono);
	color: rgba(255, 255, 255, 0.05);
	z-index: -1;
}

.process-step__icon-wrapper {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: var(--surface-color);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.process-step__icon {
	width: 24px;
	height: 24px;
	color: var(--accent-color);
}

.process-step__title {
	font-size: 20px;
	margin-bottom: 10px;
	font-family: var(--font-mono);
}

.process-step__text {
	font-size: 14px;
	color: rgba(245, 255, 245, 0.7);
}

/* Connecting Lines for Desktop */
.process-step:not(:last-child)::after {
	content: '';
	position: absolute;
	top: 55px; /* Aligns with the middle of the icon */
	right: -26px; /* Half of line width + gap */
	width: 32px;
	height: 2px;
	background-color: var(--accent-color);
	z-index: 0;
}

/* RESPONSIVE STYLES FOR PROCESS */
@media (max-width: 992px) {
	.process__timeline {
		grid-template-columns: repeat(2, 1fr);
		gap: 40px 20px;
	}

	/* Hide horizontal line on 2x2 grid */
	.process-step:nth-child(2)::after {
		display: none;
	}
}

@media (max-width: 768px) {
	.process {
		padding: 80px 0;
	}
	.process__timeline {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	/* Remove all horizontal lines on mobile */
	.process-step:not(:last-child)::after {
		display: none;
	}

	/* Add vertical lines on mobile */
	.process-step:not(:last-child)::before {
		content: '';
		position: absolute;
		bottom: -30px; /* Half of gap */
		left: 55px;
		width: 2px;
		height: 30px; /* Gap size */
		background-color: var(--accent-color);
		transform: translateX(-50%);
	}

	.process-step__icon-wrapper {
		margin-left: 30px;
	}

	.process-step__title,
	.process-step__text {
		padding-left: 30px;
	}
}

/* CASES SECTION */
.cases {
	padding: 100px 0;
	background-color: var(--bg-color);
}

.cases__wrapper {
	display: flex;
	flex-direction: column;
	gap: 80px;
}

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

.case-study--reverse {
	direction: rtl; /* Changes order of grid items */
}

.case-study--reverse > * {
	direction: ltr; /* Resets direction for content */
}

.case-study__image-wrapper {
	background-color: var(--surface-color);
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.case-study__image-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.case-study__tag {
	display: inline-block;
	background-color: rgba(0, 191, 255, 0.1);
	color: var(--accent-color);
	padding: 5px 15px;
	border-radius: 20px;
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 20px;
}

.case-study__title {
	font-family: var(--font-mono);
	font-size: 28px;
	margin-bottom: 15px;
}

.case-study__description {
	color: rgba(245, 245, 245, 0.8);
	margin-bottom: 30px;
	line-height: 1.7;
}

.case-study__results {
	list-style: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.case-study__results li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
}

.case-study__icon {
	width: 20px;
	height: 20px;
	color: var(--accent-color);
}

/* RESPONSIVE STYLES FOR CASES */
@media (max-width: 992px) {
	.case-study {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.case-study--reverse {
		direction: ltr;
	}
	.case-study__image-wrapper {
		max-height: 300px;
	}
}

@media (max-width: 768px) {
	.cases {
		padding: 80px 0;
	}
	.case-study__title {
		font-size: 24px;
	}
}

/* BUTTON MODIFIER */
.button--outline {
	background-color: transparent;
	color: var(--accent-color);
}

.button--outline:hover {
	background-color: var(--accent-color);
	color: var(--bg-color);
}

/* PRICING SECTION */
.pricing {
	padding: 100px 0;
	background-color: var(--surface-color);
}

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

.pricing-card {
	background-color: var(--bg-color);
	border-radius: 12px;
	padding: 40px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	flex-direction: column;
	height: 100%;
	transition: transform 0.3s ease, border-color 0.3s ease;
	position: relative;
	overflow: hidden;
}

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

.pricing-card--featured {
	border: 2px solid var(--accent-color);
	transform: scale(1.05);
}

.pricing-card--featured:hover {
	transform: scale(1.05) translateY(-5px);
}

.pricing-card__badge {
	position: absolute;
	top: 15px;
	right: -45px;
	background-color: var(--accent-color);
	color: var(--bg-color);
	padding: 5px 40px;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	transform: rotate(45deg);
}

.pricing-card__header {
	margin-bottom: 20px;
}

.pricing-card__title {
	font-family: var(--font-mono);
	font-size: 24px;
	margin-bottom: 5px;
}

.pricing-card__description {
	font-size: 14px;
	color: rgba(245, 245, 245, 0.7);
}

.pricing-card__price {
	margin-bottom: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	padding: 20px 0;
}

.pricing-card__amount {
	display: block;
	font-size: 36px;
	font-weight: 700;
}

.pricing-card__period {
	font-size: 14px;
	color: rgba(245, 245, 245, 0.7);
}

.pricing-card__features {
	list-style: none;
	margin-bottom: 40px;
	display: flex;
	flex-direction: column;
	gap: 15px;
	flex-grow: 1; /* Pushes button to the bottom */
}

.pricing-card__features li {
	display: flex;
	align-items: center;
	gap: 10px;
}

.pricing-card__icon {
	width: 18px;
	height: 18px;
	color: var(--accent-color);
}

.pricing-card .button {
	width: 100%;
}

@media (max-width: 992px) {
	.pricing-card--featured {
		transform: scale(1);
	}
}

/* CONTACT SECTION */
.contact {
	padding: 100px 0;
	background-color: var(--bg-color);
}

.contact__wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
	background-color: var(--surface-color);
	padding: 60px;
	border-radius: 12px;
}

.contact__info-title {
	font-family: var(--font-mono);
	font-size: 24px;
	margin-bottom: 25px;
}

.contact__info-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-bottom: 30px;
}

.contact__info-list li {
	display: flex;
	align-items: flex-start;
	gap: 15px;
}

.contact__info-icon {
	width: 20px;
	height: 20px;
	color: var(--accent-color);
	flex-shrink: 0;
	margin-top: 2px;
}

.contact__info-note {
	font-size: 14px;
	color: rgba(245, 245, 245, 0.6);
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact__form-container {
	position: relative;
}

/* FORM STYLES */
.form-group {
	margin-bottom: 20px;
}

.form-group__label {
	display: block;
	font-size: 14px;
	margin-bottom: 8px;
	color: rgba(245, 245, 245, 0.8);
}

.form-group__input {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background-color: var(--bg-color);
	border-radius: 8px;
	color: var(--text-color);
	font-size: 16px;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group__input:focus {
	outline: none;
	border-color: var(--accent-color);
	box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.2);
}

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

.form-group__checkbox {
	margin-top: 4px;
	accent-color: var(--accent-color);
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.form-group__checkbox-label {
	font-size: 13px;
	color: rgba(245, 245, 245, 0.7);
}
.form-group__checkbox-label a {
	text-decoration: underline;
}

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

/* FORM SUCCESS MESSAGE */
.form-success-message {
	display: none; /* Hidden by default */
	text-align: center;
	padding: 40px;
	border: 1px solid var(--accent-color);
	border-radius: 12px;
	background-color: rgba(0, 191, 255, 0.05);
}

.form-success-message.is-visible {
	display: block; /* Shown with JS */
}

.form-success-message__icon {
	width: 48px;
	height: 48px;
	color: var(--accent-color);
	margin-bottom: 20px;
}

.form-success-message__title {
	font-family: var(--font-mono);
	font-size: 24px;
	margin-bottom: 10px;
}
.form-success-message__text {
	color: rgba(245, 245, 245, 0.8);
}

/* RESPONSIVE STYLES FOR CONTACT */
@media (max-width: 992px) {
	.contact__wrapper {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.contact {
		padding: 80px 0;
	}
	.contact__wrapper {
		padding: 30px;
	}
}

/* COOKIE POPUP */
.cookie-popup {
	position: fixed;
	bottom: 20px;
	left: 20px;
	right: 20px;
	background-color: var(--surface-color);
	padding: 20px 25px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	z-index: 2000;
	transform: translateY(200%);
	transition: transform 0.5s ease-in-out;
	max-width: 600px;
}

.cookie-popup.is-visible {
	transform: translateY(0);
}

.cookie-popup__text {
	font-size: 14px;
	color: rgba(245, 245, 245, 0.8);
}

.cookie-popup__text a {
	text-decoration: underline;
}

.cookie-popup__button {
	padding: 8px 20px;
	flex-shrink: 0;
}

@media (max-width: 768px) {
	.cookie-popup {
		flex-direction: column;
		text-align: center;
		bottom: 10px;
		left: 10px;
		right: 10px;
	}
}

/* GENERIC PAGES STYLES (privacy.html, terms.html etc.) */
.pages {
	padding: 120px 0 80px;
}

.pages h1 {
	font-family: var(--font-mono);
	font-size: 1.5rem;
	margin-bottom: 30px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	padding-bottom: 20px;
}

.pages h2 {
	font-family: var(--font-mono);
	font-size: 1.5rem;
	margin-top: 40px;
	margin-bottom: 20px;
}

.pages p {
	margin-bottom: 20px;
	color: rgba(245, 245, 245, 0.8);
	line-height: 1.8;
}

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

.pages li {
	margin-bottom: 10px;
	color: rgba(245, 245, 245, 0.8);
}

.pages a {
	text-decoration: underline;
}

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