/* IMS — NTAK landing page
   Clean / corporate style. Vanilla CSS, no external dependencies. */

:root {
	--blue: #1e4e8c;
	--blue-dark: #163a68;
	--blue-soft: #eaf1fa;
	--ink: #1b2330;
	--muted: #5b6675;
	--line: #e3e8ef;
	--bg: #ffffff;
	--bg-alt: #f5f8fc;
	--radius: 12px;
	--shadow: 0 1px 3px rgba(27, 35, 48, .06), 0 8px 24px rgba(27, 35, 48, .06);
	--maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: var(--ink);
	background: var(--bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

a { color: var(--blue); }

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

.container.narrow { max-width: 760px; }

h1, h2, h3 { line-height: 1.2; color: var(--ink); margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.center { text-align: center; }
.sub { color: var(--muted); margin-top: -.3em; margin-bottom: 2.2em; }

/* ---------- Header / nav ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .9);
	backdrop-filter: saturate(180%) blur(8px);
	border-bottom: 1px solid var(--line);
}

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
	display: inline-block;
	background: var(--blue);
	color: #fff;
	font-weight: 800;
	letter-spacing: .5px;
	padding: 5px 10px;
	border-radius: 8px;
	font-size: 1.05rem;
}
.brand-mark.small { font-size: .85rem; padding: 3px 8px; }
.brand-text { color: var(--ink); font-weight: 600; font-size: .95rem; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
	text-decoration: none;
	color: var(--ink);
	font-weight: 500;
	font-size: .95rem;
}
.nav-links a:hover { color: var(--blue); }
.nav-cta {
	background: var(--blue);
	color: #fff !important;
	padding: 8px 16px;
	border-radius: 8px;
}
.nav-cta:hover { background: var(--blue-dark); }

.nav-toggle, .nav-burger { display: none; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-block;
	text-decoration: none;
	font-weight: 600;
	padding: 12px 22px;
	border-radius: 10px;
	transition: background .15s, transform .05s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost {
	background: transparent;
	color: var(--blue);
	border: 1px solid var(--blue);
}
.btn-ghost:hover { background: var(--blue-soft); }

.badge {
	display: inline-block;
	background: var(--blue-soft);
	color: var(--blue-dark);
	font-weight: 600;
	font-size: .8rem;
	padding: 5px 12px;
	border-radius: 999px;
	margin-bottom: 18px;
}

/* ---------- Hero ---------- */
.hero {
	background:
		radial-gradient(1200px 400px at 80% -10%, var(--blue-soft), transparent 60%),
		linear-gradient(180deg, #fff, var(--bg-alt));
	border-bottom: 1px solid var(--line);
}
.hero-inner { padding: 72px 24px 64px; max-width: 860px; }
.hero h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 36px; }

.hero-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 36px;
	margin: 0;
	padding-top: 26px;
	border-top: 1px solid var(--line);
}
.hero-facts div { margin: 0; }
.hero-facts dt { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.hero-facts dd { margin: 4px 0 0; font-size: 1.25rem; font-weight: 700; color: var(--blue-dark); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section p { color: var(--muted); font-size: 1.05rem; }
.narrow h2 { text-align: center; }
.narrow > p { text-align: center; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 22px; }
.cards { grid-template-columns: repeat(3, 1fr); }
.solutions { grid-template-columns: repeat(3, 1fr); }

.card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px 24px;
	box-shadow: var(--shadow);
	transition: transform .12s, box-shadow .12s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(27,35,48,.10); }
.card h3 { font-size: 1.15rem; }
.card p { margin: 0; font-size: .98rem; }

.ic {
	width: 40px; height: 40px;
	margin-bottom: 14px;
	fill: none;
	stroke: var(--blue);
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.ic path[stroke-width="2"] { stroke-width: 2; }
.ic circle { fill: var(--blue); stroke: none; }
.ic rect { fill: none; }

/* ---------- NTAK block ---------- */
.ntak-block {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}
.ntak-facts {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 8px 26px;
	box-shadow: var(--shadow);
	margin: 0;
}
.ntak-facts div {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}
.ntak-facts div:last-child { border-bottom: 0; }
.ntak-facts dt { color: var(--muted); font-size: .95rem; }
.ntak-facts dd { margin: 0; font-weight: 700; color: var(--blue-dark); text-align: right; }

/* ---------- Solutions ---------- */
.solution {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px;
	box-shadow: var(--shadow);
}
.solution h3 { font-size: 1.1rem; margin-bottom: 8px; }
.solution p { margin: 12px 0 0; font-size: .95rem; }
.tag {
	display: inline-block;
	background: var(--blue-soft);
	color: var(--blue-dark);
	font-size: .78rem;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 999px;
}

/* ---------- Contact ---------- */
.contact-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 32px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	max-width: 520px;
	margin: 0 auto;
}
.contact-card dl { margin: 0; width: 100%; }
.contact-card dl div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
}
.contact-card dl div:last-child { border-bottom: 0; }
.contact-card dt { color: var(--muted); }
.contact-card dd { margin: 0; font-weight: 600; }

/* ---------- Security ---------- */
.sec-security {
	background: linear-gradient(180deg, var(--blue-soft), #fff);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.sec-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 8px 28px;
	box-shadow: var(--shadow);
}
.sec-card .price-list { margin: 0; }

/* ---------- Hardware ---------- */
.hw-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 8px 28px;
	box-shadow: var(--shadow);
}
.hw-card .price-list { margin: 0; }

/* ---------- Pricing ---------- */
.price-wrap {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 28px;
	align-items: start;
	max-width: 920px;
	margin: 0 auto;
}
.price-card {
	background: #fff;
	border: 2px solid var(--blue);
	border-radius: 16px;
	box-shadow: 0 12px 40px rgba(30, 78, 140, .12);
	padding: 32px;
}
.price-tag {
	display: inline-block;
	background: var(--blue-soft);
	color: var(--blue-dark);
	font-weight: 700;
	font-size: .85rem;
	padding: 5px 12px;
	border-radius: 999px;
}
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 18px 0 6px; }
.price-amount { font-size: clamp(2rem, 5vw, 2.6rem); font-weight: 800; color: var(--blue-dark); letter-spacing: -.5px; }
.price-unit { color: var(--muted); font-weight: 600; }
.price-sub { color: var(--muted); margin: 0 0 18px; font-size: .98rem; }
.price-list { list-style: none; margin: 0 0 24px; padding: 0; }
.price-list li {
	position: relative;
	padding: 9px 0 9px 30px;
	border-bottom: 1px solid var(--line);
	color: var(--ink);
	font-size: .98rem;
}
.price-list li:last-child { border-bottom: 0; }
.price-list li::before {
	content: "";
	position: absolute;
	left: 2px; top: 13px;
	width: 16px; height: 9px;
	border-left: 2.5px solid var(--blue);
	border-bottom: 2.5px solid var(--blue);
	transform: rotate(-45deg);
}
.price-btn { display: block; text-align: center; width: 100%; }
.price-foot { font-size: .9rem; color: var(--muted); margin: 16px 0 0; text-align: center; }

.price-notes { display: flex; flex-direction: column; gap: 18px; }
.note {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 22px 24px;
	box-shadow: var(--shadow);
}
.note h3 { font-size: 1.05rem; margin-bottom: 8px; }
.note p { margin: 0; font-size: .95rem; }
.note-pill {
	display: inline-block;
	vertical-align: middle;
	background: var(--blue-soft);
	color: var(--blue-dark);
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .3px;
	padding: 2px 8px;
	border-radius: 999px;
	margin-left: 6px;
}

/* ---------- Footer ---------- */
.site-footer {
	background: var(--ink);
	color: #c8d0db;
	padding: 28px 0;
}
.footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.footer-inner .brand-mark { background: #fff; color: var(--ink); }
.muted { color: var(--muted); }
.site-footer .muted { color: #9aa6b4; }
.small { font-size: .88rem; }
.footer-inner > div { display: flex; align-items: center; gap: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
	.cards, .solutions { grid-template-columns: repeat(2, 1fr); }
	.ntak-block { grid-template-columns: 1fr; gap: 28px; }
	.price-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.cards, .solutions { grid-template-columns: 1fr; }
	.hero-facts { gap: 24px; }

	/* Mobile nav */
	.nav-burger {
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 5px;
		width: 40px; height: 40px;
		cursor: pointer;
	}
	.nav-burger span {
		display: block;
		height: 2px;
		width: 22px;
		background: var(--ink);
		border-radius: 2px;
		transition: .2s;
	}
	.nav-links {
		position: absolute;
		top: 64px;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow);
		max-height: 0;
		overflow: hidden;
		transition: max-height .25s ease;
	}
	.nav-links a { padding: 14px 24px; border-top: 1px solid var(--line); }
	.nav-cta { background: #fff; color: var(--blue) !important; border-radius: 0; }
	.nav-toggle:checked ~ .nav-links { max-height: 320px; }
	.nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
	.nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}


/* ---------- Contact modal ---------- */
.nav-home { color: var(--muted) !important; font-weight: 600; }
.nav-home:hover { color: var(--blue) !important; }
.modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: none;
	align-items: flex-start;
	justify-content: center;
	padding: 24px 16px;
	overflow-y: auto;
}
.modal.open { display: flex; }
.modal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(15, 28, 48, .55);
	backdrop-filter: blur(3px);
	animation: modal-fade .18s ease;
}
.modal-dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 540px;
	margin: auto;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 24px 70px rgba(15, 28, 48, .35);
	padding: 36px;
	animation: modal-pop .22s cubic-bezier(.16, 1, .3, 1);
}
@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-pop {
	from { opacity: 0; transform: translateY(14px) scale(.98); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
	position: absolute;
	top: 16px; right: 18px;
	width: 36px; height: 36px;
	border: 0;
	background: var(--bg-alt);
	color: var(--muted);
	border-radius: 50%;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	transition: background .15s, color .15s;
}
.modal-close:hover { background: var(--blue-soft); color: var(--blue-dark); }
.modal-badge {
	display: inline-block;
	background: var(--blue-soft);
	color: var(--blue-dark);
	font-weight: 700;
	font-size: .8rem;
	padding: 5px 12px;
	border-radius: 999px;
}
.modal-title { font-size: 1.5rem; color: var(--ink); margin: 14px 0 6px; }
.modal-sub { color: var(--muted); margin: 0 0 22px; font-size: .98rem; }

.contact-form .field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label {
	display: block;
	font-size: .88rem;
	font-weight: 600;
	color: var(--ink);
	margin-bottom: 7px;
}
.contact-form label .opt { font-weight: 400; color: var(--muted); }
.contact-form input,
.contact-form textarea {
	width: 100%;
	box-sizing: border-box;
	font: inherit;
	color: var(--ink);
	background: var(--bg-alt);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 12px 14px;
	transition: border-color .15s, box-shadow .15s, background .15s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #9aa4b2; }
.contact-form textarea { resize: vertical; min-height: 116px; line-height: 1.5; }
.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	background: #fff;
	border-color: var(--blue);
	box-shadow: 0 0 0 3px var(--blue-soft);
}
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cf-submit {
	display: block;
	width: 100%;
	text-align: center;
	margin-top: 6px;
	cursor: pointer;
	border: 0;
	font-size: 1.02rem;
	padding: 14px 20px;
}
.cf-submit:disabled { opacity: .6; cursor: default; }
.cf-status { font-size: .92rem; margin: 14px 0 0; text-align: center; }
.cf-status:empty { margin: 0; }
.cf-status.ok { color: #0d9488; font-weight: 600; }
.cf-status.err { color: #c0392b; font-weight: 600; }
.cf-foot { font-size: .9rem; color: var(--muted); margin: 16px 0 0; text-align: center; }

@media (max-width: 640px) {
	.field-row { grid-template-columns: 1fr; gap: 0; }
	.modal-dialog { padding: 26px; }
}
