:root {
	color-scheme: light;
	--ink: #0b0c10;
	--muted: #3b414c;
	--sun: #ffb347;
	--mint: #1fbf8f;
	--sky: #49c6ff;
	--sand: #f5f0e6;
	--deep: #0b1f2a;
	--card: #ffffff;
	--border: rgba(11, 12, 16, 0.08);
	--glow: rgba(31, 191, 143, 0.25);
	--shadow: 0 30px 80px rgba(4, 10, 20, 0.18);
	--radius: 24px;
	--fog: rgba(246, 247, 249, 0.86);
}

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

body {
	font-family: "Space Grotesk", "Segoe UI", sans-serif;
	color: var(--ink);
	background: linear-gradient(180deg, #f2f4f6 0%, #eef2f4 55%, #edf1f3 100%);
	min-height: 100vh;
}

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

.page {
	position: relative;
	overflow: visible;
	isolation: isolate;
}

.page::before,
.page::after {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: -1;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.page::before {
	background-image:
		linear-gradient(180deg, var(--fog) 0%, rgba(246, 247, 249, 0.72) 100%),
		url("../img/bg-scandinavian.jpg");
}

.page::after {
	opacity: 0.45;
	background-image:
		linear-gradient(180deg, rgba(241, 244, 246, 0.95) 0%, rgba(241, 244, 246, 0.8) 100%),
		url("../img/bg-denmark.jpg");
	background-position: center bottom;
}

.platform-page .page::before {
	background-image:
		linear-gradient(180deg, rgba(242, 245, 247, 0.78) 0%, rgba(242, 245, 247, 0.56) 100%),
		url("../img/bg-platform.png");
	background-position: center;
}

.platform-page .page::after {
	opacity: 0.12;
}

.index-page .page::before {
	background-image:
		linear-gradient(180deg, rgba(242, 245, 247, 0.82) 0%, rgba(242, 245, 247, 0.62) 100%),
		url("../img/bg_index.png");
	background-position: center;
}

.index-page .page::after {
	opacity: 0.18;
}

.about-page .page::before {
	background-image:
		linear-gradient(180deg, rgba(242, 245, 247, 0.84) 0%, rgba(242, 245, 247, 0.66) 100%),
		url("../img/bg_about.png");
	background-position: center;
}

.about-page .page::after {
	opacity: 0.2;
}

.ai-page .page::before {
	background-image:
		linear-gradient(180deg, rgba(242, 245, 247, 0.8) 0%, rgba(242, 245, 247, 0.6) 100%),
		url("../img/bg_ai.png");
	background-position: center;
}

.ai-page .page::after {
	opacity: 0.16;
}

.cases-page .page::before {
	background-image:
		linear-gradient(180deg, rgba(242, 245, 247, 0.84) 0%, rgba(242, 245, 247, 0.66) 100%),
		url("../img/bg_cases.png");
	background-position: center;
}

.cases-page .page::after {
	opacity: 0.2;
}

.contact-page .page::before {
	background-image:
		linear-gradient(180deg, rgba(242, 245, 247, 0.84) 0%, rgba(242, 245, 247, 0.66) 100%),
		url("../img/bg_contact.png");
	background-position: center;
}

.contact-page .page::after {
	opacity: 0.2;
}

.bg-blobs {
	display: none;
}

.blob {
	position: absolute;
	width: 360px;
	height: 360px;
	border-radius: 40% 60% 55% 45%;
	opacity: 0.75;
}

.blob.one {
	left: -5%;
	top: 10%;
	background: linear-gradient(135deg, #ffe19a, #ffb347);
}

.blob.two {
	right: 0;
	top: 0;
	background: linear-gradient(135deg, #9be8ff, #49c6ff);
}

.blob.three {
	left: 40%;
	top: 30%;
	background: linear-gradient(135deg, #9af2d6, #1fbf8f);
}

header {
	position: relative;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 32px 6vw 24px;
}

.logo {
	font-family: "Unbounded", sans-serif;
	font-size: 20px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.header-controls {
	display: flex;
	align-items: center;
	gap: 18px;
}

.nav {
	display: flex;
	gap: 24px;
	font-size: 15px;
	color: var(--muted);
}

.nav a {
	position: relative;
}

.nav a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 0;
	height: 2px;
	background: var(--mint);
	transition: width 0.3s ease;
}

.nav a:hover::after {
	width: 100%;
}

.nav a.active::after {
	width: 100%;
}

.lang-dropdown {
	position: relative;
	z-index: 20;
}

.lang-toggle {
	padding: 10px 14px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: #ffffff;
	font: inherit;
	font-size: 14px;
	cursor: pointer;
}

.lang-menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	display: none;
	min-width: 180px;
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 6px;
	box-shadow: 0 6px 16px rgba(4, 10, 20, 0.1);
	z-index: 30;
	pointer-events: auto;
}

.lang-dropdown.is-open .lang-menu {
	display: grid;
}

.lang-option {
	text-align: left;
	padding: 9px 10px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	font: inherit;
	font-size: 14px;
	cursor: pointer;
}

.lang-option:hover {
	background: #f2f5f8;
}

.lang-option.active {
	background: #e9f4ef;
}

.hero {
	position: relative;
	z-index: 1;
	padding: 36px 6vw 80px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 48px;
	align-items: center;
}

.hero h1 {
	font-family: "Unbounded", sans-serif;
	font-size: clamp(32px, 4vw, 56px);
	line-height: 1.05;
	margin-bottom: 18px;
}

.hero p {
	font-size: 18px;
	color: var(--muted);
	margin-bottom: 24px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
}

.btn {
	padding: 14px 22px;
	border-radius: 999px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	border: 1px solid transparent;
	transition: none;
	cursor: pointer;
	font: inherit;
}

.btn.primary {
	background: linear-gradient(120deg, var(--mint), var(--sky));
	color: #0b0c10;
	box-shadow: 0 20px 35px var(--glow);
}

.btn.secondary {
	border-color: var(--border);
	background: rgba(255, 255, 255, 0.7);
}

.btn:hover {
	transform: none;
}

.hero-card {
	background: var(--card);
	border-radius: var(--radius);
	padding: 28px;
	box-shadow: 0 8px 20px rgba(4, 10, 20, 0.09);
	border: 1px solid var(--border);
	display: grid;
	gap: 18px;
}

.hero-card header {
	padding: 0;
	justify-content: flex-start;
	gap: 12px;
}

.pulse {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--mint);
}

.sensor-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.sensor {
	padding: 14px;
	border-radius: 16px;
	background: #f7fbff;
	border: 1px solid rgba(73, 198, 255, 0.18);
	font-size: 14px;
}

.sensor strong {
	display: block;
	font-size: 16px;
	margin-top: 6px;
}

.section {
	position: relative;
	z-index: 1;
	padding: 80px 6vw;
}

.section-title {
	font-family: "Unbounded", sans-serif;
	font-size: clamp(24px, 3vw, 36px);
	margin-bottom: 24px;
}

.section-subtitle {
	max-width: 820px;
	font-size: 18px;
	color: var(--muted);
	margin-bottom: 24px;
}

.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
}

.card {
	background: var(--card);
	border-radius: 20px;
	padding: 22px;
	border: 1px solid var(--border);
	box-shadow: 0 8px 18px rgba(4, 10, 20, 0.07);
	display: grid;
	gap: 12px;
}

.card span {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--muted);
}

.card h3 {
	font-size: 20px;
}

.pipeline {
	background: linear-gradient(140deg, #102533 0%, #163345 55%, #1b3f52 100%);
	color: #f8f9fb;
	border-radius: 32px;
	padding: 40px;
	display: grid;
	gap: 28px;
	border: 1px solid rgba(255, 255, 255, 0.14);
}

.pipeline-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 20px;
}

.step {
	background: rgba(255, 255, 255, 0.08);
	border-radius: 16px;
	padding: 16px;
}

.stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 18px;
}

.stats-offset {
	margin-top: 28px;
}

.stat {
	background: #ffffff;
	border-radius: 18px;
	padding: 18px;
	border: 1px solid var(--border);
}

.stat strong {
	font-size: 26px;
	display: block;
	margin-bottom: 6px;
}

.cta {
	display: grid;
	gap: 20px;
	align-items: center;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	background: linear-gradient(120deg, rgba(255, 255, 255, 0.86), rgba(239, 245, 242, 0.9));
	border-radius: 32px;
	padding: 36px;
	border: 1px solid rgba(11, 12, 16, 0.08);
}

.meta-note {
	font-size: 14px;
	color: var(--muted);
}

.contact-meta {
	margin-top: 12px;
	font-size: 14px;
	color: var(--muted);
}

.list {
	display: grid;
	gap: 12px;
	padding-left: 20px;
	color: var(--muted);
}

.list li {
	line-height: 1.5;
}

.page-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.stack {
	display: grid;
	gap: 20px;
}

.table-like {
	display: grid;
	gap: 12px;
}

.table-row {
	display: grid;
	grid-template-columns: minmax(160px, 220px) 1fr;
	gap: 16px;
	padding: 12px 14px;
	border: 1px solid var(--border);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.7);
}

.table-row strong {
	font-size: 15px;
}

.contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
}

.analytics-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
}

.chart-card {
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: 18px;
	padding: 18px;
	display: grid;
	gap: 12px;
	box-shadow: 0 6px 14px rgba(4, 10, 20, 0.06);
}

.chart-caption {
	font-size: 13px;
	color: var(--muted);
}

.chart-line {
	position: relative;
	height: 88px;
	background:
		linear-gradient(to top, rgba(11, 12, 16, 0.06) 1px, transparent 1px) 0 0 / 100% 22px,
		linear-gradient(120deg, rgba(73, 198, 255, 0.14), rgba(31, 191, 143, 0.18));
	border-radius: 12px;
	overflow: hidden;
}

.chart-line::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 56%;
	background: linear-gradient(180deg, rgba(73, 198, 255, 0.35), rgba(31, 191, 143, 0.45));
	clip-path: polygon(0 82%, 12% 75%, 24% 78%, 36% 62%, 48% 68%, 60% 47%, 72% 58%, 84% 38%, 100% 30%, 100% 100%, 0 100%);
}

.chart-line.energy::after {
	clip-path: polygon(0 86%, 10% 82%, 22% 74%, 34% 69%, 46% 58%, 58% 48%, 70% 51%, 82% 42%, 100% 26%, 100% 100%, 0 100%);
}

.chart-line.security::after {
	background: linear-gradient(180deg, rgba(255, 179, 71, 0.35), rgba(255, 124, 93, 0.42));
	clip-path: polygon(0 70%, 10% 55%, 20% 77%, 30% 58%, 40% 72%, 52% 40%, 64% 66%, 76% 45%, 88% 58%, 100% 36%, 100% 100%, 0 100%);
}

.chart-line.accuracy::after {
	background: linear-gradient(180deg, rgba(135, 160, 255, 0.35), rgba(86, 106, 241, 0.45));
	clip-path: polygon(0 88%, 12% 84%, 24% 79%, 36% 71%, 48% 62%, 60% 56%, 72% 48%, 84% 40%, 100% 28%, 100% 100%, 0 100%);
}

.chart-line.comfort::after {
	background: linear-gradient(180deg, rgba(61, 204, 149, 0.35), rgba(35, 162, 117, 0.45));
	clip-path: polygon(0 78%, 10% 74%, 22% 68%, 34% 63%, 46% 60%, 58% 54%, 70% 52%, 82% 44%, 100% 34%, 100% 100%, 0 100%);
}

.chart-bars {
	display: flex;
	align-items: flex-end;
	gap: 8px;
	height: 92px;
}

.chart-bars span {
	flex: 1;
	border-radius: 6px 6px 2px 2px;
	background: linear-gradient(180deg, #49c6ff, #1fbf8f);
}

.chart-bars.latency span {
	background: linear-gradient(180deg, #ffd17c, #ff8a62);
}

.chart-bars.model span {
	background: linear-gradient(180deg, #8ea2ff, #5f72df);
}

.chart-bars.economy span {
	background: linear-gradient(180deg, #4bd6ae, #1ea176);
}

.chart-donut {
	--donut-a: #1fbf8f;
	--donut-b: #49c6ff;
	--donut-p1: 72%;
	--donut-p2: 91%;
	--donut-label: "72%";
	width: 104px;
	height: 104px;
	border-radius: 50%;
	background: conic-gradient(var(--donut-a) 0 var(--donut-p1), var(--donut-b) var(--donut-p1) var(--donut-p2), #dfe7ec var(--donut-p2) 100%);
	display: grid;
	place-items: center;
}

.chart-donut::after {
	content: var(--donut-label);
	width: 66px;
	height: 66px;
	border-radius: 50%;
	background: #ffffff;
	display: grid;
	place-items: center;
	font-weight: 600;
	font-size: 14px;
}

.chart-gauge {
	--gauge-a: #49c6ff;
	--gauge-b: #1fbf8f;
	--gauge-p: 82%;
	--gauge-label: "82%";
	position: relative;
	width: 130px;
	height: 70px;
	border-radius: 130px 130px 0 0;
	overflow: hidden;
	background: conic-gradient(from 180deg, var(--gauge-a) 0 var(--gauge-p), #dfe7ec var(--gauge-p) 100%);
}

.chart-gauge::before {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 0;
	height: 56px;
	border-radius: 110px 110px 0 0;
	background: #ffffff;
}

.chart-gauge::after {
	content: var(--gauge-label);
	position: absolute;
	left: 50%;
	bottom: 8px;
	transform: translateX(-50%);
	font-weight: 600;
	font-size: 14px;
}

.chart-heat {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 6px;
}

.chart-heat span {
	aspect-ratio: 1;
	border-radius: 5px;
	background: #e7edf2;
}

.chart-heat span:nth-child(2n) {
	background: #d9e6f8;
}

.chart-heat span:nth-child(3n) {
	background: #c8d9f6;
}

.chart-heat span:nth-child(5n) {
	background: #adc5f0;
}

.modal {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	z-index: 100;
}

.modal.is-open {
	display: flex;
}

.modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(11, 12, 16, 0.45);
}

.modal-panel {
	position: relative;
	z-index: 1;
	width: min(560px, 100%);
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 8px 24px rgba(4, 10, 20, 0.16);
	display: grid;
	gap: 14px;
}

.modal-panel h2 {
	font-size: 24px;
}

.modal-panel p {
	color: var(--muted);
	line-height: 1.5;
}

.modal-close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

footer {
	padding: 40px 6vw 60px;
	color: var(--muted);
	font-size: 14px;
}

@media (max-width: 720px) {
	header {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.nav {
		flex-wrap: wrap;
		gap: 16px;
	}

	.header-controls {
		width: 100%;
		flex-direction: column;
		align-items: flex-start;
	}

	.lang-menu {
		left: 0;
		right: auto;
	}

	.sensor-grid {
		grid-template-columns: 1fr;
	}

	.table-row {
		grid-template-columns: 1fr;
	}
}
