:root {
	--font-heading: "Syne", system-ui, sans-serif;
	--font-body: "Inter", system-ui, sans-serif;

	--bg: #f8fafc;
	--bg-soft: #eef2ff;
	--text: #0f172a;
	--muted: #64748b;
	--card: rgba(255, 255, 255, 0.78);
	--card-solid: #ffffff;
	--border: rgba(15, 23, 42, 0.12);
	--primary: #6366f1;
	--primary-2: #8b5cf6;
	--accent: #06b6d4;
	--success: #10b981;
	--danger: #ef4444;
	--shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
	--radius: 24px;
	--container: 1180px;
}

[data-theme="dark"] {
	--bg: #020617;
	--bg-soft: #0f172a;
	--text: #f8fafc;
	--muted: #94a3b8;
	--card: rgba(15, 23, 42, 0.72);
	--card-solid: #0f172a;
	--border: rgba(255, 255, 255, 0.12);
	--shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-body);
	background:
		radial-gradient(circle at 10% 10%, rgba(99, 102, 241, 0.18), transparent 32rem),
		radial-gradient(circle at 90% 20%, rgba(6, 182, 212, 0.16), transparent 28rem),
		var(--bg);
	color: var(--text);
	line-height: 1.65;
	overflow-x: hidden;
}

body.mobile-menu-open {
	overflow: hidden;
}

a {
	color: inherit;
	text-decoration: none;
}

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

button,
input,
textarea {
	font: inherit;
}

.container {
	width: min(100% - 32px, var(--container));
	margin-inline: auto;
}

.skip-link {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 9999;
	padding: 10px 14px;
	border-radius: 12px;
	background: var(--primary);
	color: #fff;
	transform: translateY(-140%);
	transition: transform 0.2s ease;
}

.skip-link:focus {
	transform: translateY(0);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Header */

.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: color-mix(in srgb, var(--bg) 78%, transparent);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid var(--border);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 78px;
	gap: 20px;
}

.site-brand,
.footer-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: 1.25rem;
}

.brand-mark {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--primary), var(--accent));
	color: #fff;
}

.nav-menu,
.mobile-nav-menu,
.footer-menu {
	display: flex;
	align-items: center;
	gap: 26px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.nav-menu a,
.mobile-nav-menu a {
	color: var(--muted);
	font-weight: 600;
	transition: color 0.2s ease;
}

.nav-menu a:hover,
.mobile-nav-menu a:hover {
	color: var(--text);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.theme-toggle,
.mobile-menu-toggle {
	border: 1px solid var(--border);
	background: var(--card);
	color: var(--text);
	border-radius: 999px;
	cursor: pointer;
}

.theme-toggle {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
}

.mobile-menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 10px;
}

.mobile-menu-toggle span:not(.screen-reader-text) {
	display: block;
	height: 2px;
	background: var(--text);
	margin: 5px 0;
	border-radius: 999px;
}

.mobile-menu {
	display: none;
	border-top: 1px solid var(--border);
	background: var(--bg);
}

.mobile-menu.is-open {
	display: block;
}

.mobile-nav-menu {
	flex-direction: column;
	align-items: stretch;
	padding: 22px 0;
}

.mobile-nav-menu a {
	display: block;
	padding: 12px 0;
}

.mobile-cta {
	width: 100%;
	justify-content: center;
	margin-bottom: 24px;
}

/* Typography */

h1,
h2,
h3 {
	font-family: var(--font-heading);
	line-height: 1.05;
	margin: 0 0 18px;
	letter-spacing: -0.04em;
}

h1 {
	font-size: clamp(2.6rem, 8vw, 5.9rem);
}

h2 {
	font-size: clamp(2rem, 5vw, 3.6rem);
}

h3 {
	font-size: 1.35rem;
}

p {
	margin: 0 0 18px;
	color: var(--muted);
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
	color: var(--primary);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.78rem;
}

.eyebrow::before {
	content: "";
	width: 24px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
}

/* Buttons */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 22px;
	border-radius: 999px;
	font-weight: 800;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn-primary {
	background: linear-gradient(135deg, var(--primary), var(--primary-2));
	color: #fff;
	box-shadow: 0 16px 34px rgba(99, 102, 241, 0.25);
}

.btn-secondary {
	background: var(--card);
	color: var(--text);
	border-color: var(--border);
}

.btn-small {
	min-height: 42px;
	padding-inline: 16px;
	font-size: 0.92rem;
}

.text-link {
	font-weight: 800;
	color: var(--primary);
}

/* Sections */

.section {
	padding: clamp(72px, 10vw, 120px) 0;
}

.section-heading {
	max-width: 760px;
	margin: 0 auto 48px;
	text-align: center;
}

.hero {
	padding-top: clamp(64px, 8vw, 110px);
}

.hero-grid,
.about-grid,
.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
	gap: clamp(36px, 6vw, 74px);
	align-items: center;
}

.hero-text {
	max-width: 680px;
	font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 34px 0;
}

.hero-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	max-width: 640px;
}

.hero-stats div,
.service-card,
.pricing-card,
.cta-box,
.glass-card {
	border: 1px solid var(--border);
	background: var(--card);
	backdrop-filter: blur(18px);
	box-shadow: var(--shadow);
	border-radius: var(--radius);
}

.hero-stats div {
	padding: 18px;
}

.hero-stats strong {
	display: block;
	font-family: var(--font-heading);
	font-size: clamp(1.7rem, 4vw, 2.4rem);
	line-height: 1;
}

.hero-stats span {
	display: block;
	margin-top: 8px;
	color: var(--muted);
	font-size: 0.9rem;
}

.hero-card {
	position: relative;
}

.glass-card {
	padding: clamp(24px, 5vw, 38px);
}

.status-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 24px;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(16, 185, 129, 0.12);
	color: var(--success);
	font-weight: 800;
	font-size: 0.85rem;
}

.status-pill span {
	width: 9px;
	height: 9px;
	border-radius: 999px;
	background: var(--success);
	box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.12);
}

.check-list {
	list-style: none;
	padding: 0;
	margin: 22px 0;
}

.check-list li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 12px;
	color: var(--muted);
}

.check-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--success);
	font-weight: 900;
}

/* Cards */

.cards-grid,
.pricing-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.service-card,
.pricing-card {
	padding: 28px;
}

.service-icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 18px;
	background: color-mix(in srgb, var(--primary) 14%, transparent);
	font-size: 1.5rem;
	margin-bottom: 20px;
}

.about-section {
	background: color-mix(in srgb, var(--bg-soft) 55%, transparent);
}

.about-grid {
	align-items: start;
}

.tech-stack {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 26px;
}

.tech-stack span {
	padding: 8px 12px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--card);
	font-weight: 700;
	color: var(--muted);
}

/* Pricing */

.pricing-toggle {
	display: inline-flex;
	padding: 6px;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: var(--card);
}

.pricing-toggle button {
	border: 0;
	padding: 10px 18px;
	border-radius: 999px;
	background: transparent;
	color: var(--muted);
	font-weight: 800;
	cursor: pointer;
}

.pricing-toggle button.active {
	background: var(--primary);
	color: #fff;
}

.pricing-card {
	position: relative;
	display: flex;
	flex-direction: column;
}

.pricing-card.featured {
	border-color: color-mix(in srgb, var(--primary) 55%, var(--border));
	transform: translateY(-12px);
}

.popular-badge {
	position: absolute;
	top: 18px;
	right: 18px;
	padding: 7px 10px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--primary), var(--accent));
	color: #fff;
	font-size: 0.75rem;
	font-weight: 900;
}

.price {
	margin: 24px 0;
}

.price span {
	font-family: var(--font-heading);
	font-size: 2.7rem;
	font-weight: 800;
}

.price small {
	color: var(--muted);
	font-weight: 700;
}

.pricing-card .btn {
	margin-top: auto;
}

/* Contact */

.contact-grid {
	align-items: start;
}

.contact-list {
	display: grid;
	gap: 12px;
	margin-top: 26px;
}

.contact-list a,
.contact-list span {
	display: block;
	padding: 14px 16px;
	border: 1px solid var(--border);
	border-radius: 16px;
	background: var(--card);
	color: var(--muted);
	font-weight: 700;
}

.form-field {
	margin-bottom: 18px;
}

.form-field label {
	display: block;
	margin-bottom: 8px;
	font-weight: 800;
}

.form-field input,
.form-field textarea {
	width: 100%;
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 14px 16px;
	background: color-mix(in srgb, var(--card-solid) 86%, transparent);
	color: var(--text);
	outline: none;
}

.form-field input:focus,
.form-field textarea:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent);
}

.consent-field {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	color: var(--muted);
	font-weight: 600;
	margin-bottom: 22px;
}

.form-submit {
	width: 100%;
}

.form-status {
	display: none;
	margin-bottom: 18px;
	padding: 12px 14px;
	border-radius: 14px;
	font-weight: 700;
}

.form-status.success {
	display: block;
	background: rgba(16, 185, 129, 0.14);
	color: var(--success);
}

.form-status.error {
	display: block;
	background: rgba(239, 68, 68, 0.14);
	color: var(--danger);
}

.honeypot {
	position: absolute;
	left: -9999px;
}

/* CTA/Footer */

.final-cta {
	padding-top: 0;
}

.cta-box {
	text-align: center;
	padding: clamp(34px, 7vw, 70px);
	background:
		linear-gradient(var(--card), var(--card)) padding-box,
		linear-gradient(135deg, var(--primary), var(--accent)) border-box;
	border: 1px solid transparent;
}

.site-footer {
	border-top: 1px solid var(--border);
	padding: 46px 0 24px;
	background: color-mix(in srgb, var(--bg) 88%, transparent);
}

.footer-inner,
.footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 24px;
}

.footer-contact {
	display: grid;
	gap: 8px;
	text-align: right;
	color: var(--muted);
	font-weight: 700;
}

.footer-bottom {
	margin-top: 32px;
	padding-top: 22px;
	border-top: 1px solid var(--border);
	color: var(--muted);
	font-size: 0.92rem;
}

.footer-menu {
	gap: 16px;
}

/* Pages */

.page-hero {
	padding: 90px 0 40px;
}

.page-content {
	padding: 40px 0 90px;
}

.content-narrow {
	max-width: 840px;
}

/* Reveal */

.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Elementor compatibility */

.elementor-page .site-main {
	overflow: hidden;
}

.elementor-full-width-template {
	width: 100%;
}

/* Responsive */

@media (max-width: 1024px) {
	.desktop-nav,
	.desktop-cta {
		display: none;
	}

	.mobile-menu-toggle {
		display: block;
	}

	.hero-grid,
	.about-grid,
	.contact-grid {
		grid-template-columns: 1fr;
	}

	.hero-card {
		max-width: 640px;
	}

	.cards-grid,
	.pricing-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pricing-card.featured {
		transform: none;
	}
}

@media (max-width: 720px) {
	.container {
		width: min(100% - 24px, var(--container));
	}

	.header-inner {
		min-height: 70px;
	}

	.cards-grid,
	.pricing-grid,
	.hero-stats {
		grid-template-columns: 1fr;
	}

	.hero-actions .btn {
		width: 100%;
	}

	.section-heading {
		text-align: left;
	}

	.footer-inner,
	.footer-bottom {
		flex-direction: column;
	}

	.footer-contact {
		text-align: left;
	}
}

@media (max-width: 420px) {
	h1 {
		font-size: 2.45rem;
	}

	.btn {
		width: 100%;
		padding-inline: 16px;
	}

	.glass-card,
	.service-card,
	.pricing-card {
		padding: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
		transition: none !important;
		animation: none !important;
	}

	.reveal {
		opacity: 1;
		transform: none;
	}
}