:root {
	--bg: #f4f8ff;
	--surface: #ffffff;
	--surface-2: #ecf2ff;
	--ink: #0a1730;
	--muted: #52617f;
	--line: #cad8f8;
	--navy: #0a1f44;
	--royal: #114fb3;
	--sky: #2c7dff;
	--teal: #25b8b0;
	--good: #0f9d58;
	--warn: #dd8a00;
	--bad: #d93025;
	--radius: 18px;
	--shadow: 0 20px 40px rgba(17, 35, 75, 0.12);
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
}

body {
	font-family: "Inter", "Segoe UI", sans-serif;
	color: var(--ink);
	background:
		radial-gradient(circle at -10% -10%, rgba(44, 125, 255, 0.25), transparent 34%),
		radial-gradient(circle at 110% -15%, rgba(37, 184, 176, 0.18), transparent 35%),
		linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
	min-height: 100vh;
}

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

.container {
	width: min(1180px, calc(100% - 36px));
	margin: 0 auto;
}

.topbar {
	background: var(--navy);
	color: rgba(255, 255, 255, 0.9);
	font-size: 14px;
}

.topbar .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
}

.main-nav {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(10, 31, 68, 0.9);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.main-nav .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 14px 0;
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #fff;
}

.brand-mark {
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--sky), var(--teal));
	display: grid;
	place-items: center;
	font-weight: 700;
}

.brand-name {
	font-weight: 700;
	letter-spacing: 0.01em;
}

.menu {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.menu a {
	padding: 10px 12px;
	border-radius: 10px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 14px;
}

.menu a:hover,
.menu a.active {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: 999px;
	border: 0;
	padding: 12px 20px;
	font-weight: 600;
	cursor: pointer;
}

.btn-primary {
	background: linear-gradient(135deg, var(--royal), var(--sky));
	color: #fff;
	box-shadow: 0 10px 20px rgba(17, 79, 179, 0.28);
}

.btn-ghost {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.45);
	color: #fff;
}

.hero {
	position: relative;
	overflow: hidden;
	border-radius: 30px;
	margin: 24px 0 0;
	padding: 62px 42px;
	background: linear-gradient(130deg, #0a1f44, #10306a 50%, #0d4eb5 100%);
	color: #fff;
}

.hero::before,
.hero::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.hero::before {
	width: 360px;
	height: 360px;
	background: radial-gradient(circle, rgba(44, 125, 255, 0.5), transparent 70%);
	right: -80px;
	top: -80px;
}

.hero::after {
	width: 260px;
	height: 260px;
	background: radial-gradient(circle, rgba(37, 184, 176, 0.45), transparent 68%);
	left: -90px;
	bottom: -90px;
}

.hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 26px;
	align-items: end;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	border: 1px solid rgba(255, 255, 255, 0.3);
	background: rgba(255, 255, 255, 0.14);
	padding: 7px 13px;
	border-radius: 999px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 16px;
}

.hero h1 {
	margin: 0;
	font-size: clamp(36px, 5.6vw, 68px);
	line-height: 0.96;
	letter-spacing: -0.03em;
}

.hero p {
	margin-top: 14px;
	max-width: 640px;
	font-size: clamp(16px, 2vw, 20px);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.87);
}

.hero-cards {
	display: grid;
	gap: 14px;
}

.hero-stat {
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: rgba(255, 255, 255, 0.12);
	border-radius: 16px;
	padding: 16px;
}

.hero-stat strong {
	display: block;
	font-size: 30px;
	line-height: 1.1;
}

.hero-stat span {
	color: rgba(255, 255, 255, 0.82);
	font-size: 14px;
}

.section {
	padding: 34px;
	margin: 22px 0;
	border-radius: 24px;
	background: var(--surface);
	border: 1px solid rgba(17, 57, 130, 0.1);
	box-shadow: 0 10px 24px rgba(17, 35, 75, 0.08);
}

.section-title {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 18px;
	margin-bottom: 20px;
}

.section-title h2 {
	margin: 0;
	font-size: clamp(28px, 3.4vw, 42px);
	letter-spacing: -0.02em;
}

.section-title p {
	margin: 0;
	max-width: 620px;
	color: var(--muted);
	line-height: 1.6;
}

.grid-2,
.grid-3,
.grid-4 {
	display: grid;
	gap: 16px;
}

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

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

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

.card {
	background: linear-gradient(180deg, #fff, #f9fbff);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 20px;
}

.card h3,
.card h4,
.card p {
	margin: 0;
}

.card h3 {
	margin-bottom: 10px;
	color: var(--navy);
}

.card p {
	color: var(--muted);
	line-height: 1.62;
}

.timeline {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
}

.timeline .step {
	position: relative;
	background: #f7faff;
	border: 1px solid #bfd1fb;
	border-radius: 14px;
	padding: 14px;
}

.timeline .step .num {
	width: 30px;
	height: 30px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--royal), var(--sky));
	color: #fff;
	font-weight: 700;
	margin-bottom: 8px;
}

.table-wrap {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}

table {
	width: 100%;
	border-collapse: collapse;
}

th,
td {
	text-align: left;
	padding: 13px 14px;
	border-bottom: 1px solid #dbe6ff;
}

th {
	background: var(--navy);
	color: #fff;
	font-size: 13px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

tr:last-child td {
	border-bottom: 0;
}

.cta {
	background: linear-gradient(135deg, #0a1f44, #0d4eb5);
	color: #fff;
	border-radius: 24px;
	padding: 34px;
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 16px;
	align-items: center;
}

.footer {
	margin: 24px 0 34px;
	background: #071a38;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 24px;
	color: rgba(255, 255, 255, 0.9);
	padding: 30px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 18px;
}

.footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer li {
	margin-bottom: 8px;
	color: rgba(255, 255, 255, 0.78);
}

.page-head {
	margin-top: 24px;
	padding: 30px;
	border-radius: 24px;
	background: linear-gradient(130deg, #0a1f44, #114fb3);
	color: #fff;
}

.page-head h1 {
	margin: 0;
	font-size: clamp(28px, 3.6vw, 46px);
}

.page-head p {
	margin: 10px 0 0;
	color: rgba(255, 255, 255, 0.86);
}

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

.field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.field label {
	font-weight: 600;
	color: var(--navy);
}

.field input,
.field textarea,
.field select {
	border: 1px solid #b9c9ef;
	border-radius: 12px;
	padding: 12px;
	font: inherit;
	background: #fff;
}

.field textarea {
	min-height: 106px;
	resize: vertical;
}

.full {
	grid-column: 1 / -1;
}

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

.status-ok {
	color: var(--good);
	font-weight: 600;
}

.status-error {
	color: var(--bad);
	font-weight: 600;
}

.chip {
	border-radius: 999px;
	padding: 7px 10px;
	font-size: 12px;
	font-weight: 600;
}

.chip-new {
	background: #e8f0ff;
	color: #1248a0;
}

.chip-contacted {
	background: #fff4dc;
	color: #8f5b00;
}

.chip-approved {
	background: #e6f7ea;
	color: #0f6d3e;
}

.sheet-layout {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 16px;
}

.sheet-side,
.sheet-main {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 16px;
}

.sheet-toolbar {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}

.sheet-badge {
	border: 1px solid #c5d7fd;
	padding: 7px 11px;
	border-radius: 999px;
	font-size: 12px;
	background: #f1f6ff;
	color: #234b95;
}

.reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: all 0.55s ease;
}

.reveal.show {
	opacity: 1;
	transform: translateY(0);
}

.pulse {
	position: relative;
}

.pulse::after {
	content: "";
	position: absolute;
	inset: -3px;
	border-radius: 999px;
	border: 2px solid rgba(44, 125, 255, 0.35);
	animation: pulseRing 1.8s infinite;
}

@keyframes pulseRing {
	0% {
		transform: scale(1);
		opacity: 0.7;
	}
	100% {
		transform: scale(1.25);
		opacity: 0;
	}
}

@media (max-width: 980px) {
	.hero,
	.section,
	.cta,
	.footer,
	.page-head {
		padding: 24px;
	}

	.hero-grid,
	.cta,
	.grid-3,
	.grid-4,
	.timeline,
	.sheet-layout {
		grid-template-columns: 1fr;
	}

	.grid-2,
	.form-grid,
	.footer-grid {
		grid-template-columns: 1fr;
	}
}
