@import "./fonts.css";

:root {
	--primary: #ff3b3e;
	--blue: #303af3;
	--blue-dark: #1a1f8a;
	--orange: #ff6b35;
	--text: #3b3b3b;
	--muted: #737373;
	--bg: #f4f4f6;
	--white: #fff;
	--shadow: 0 4px 32px rgba(0, 0, 0, 0.12);
	--shadow-sm: 0 2px 16px rgba(0, 0, 0, 0.08);
	--radius-lg: 32px;
	--radius-md: 20px;
	--radius-sm: 10px;
	--max: 1280px;
	--pad: clamp(16px, 4vw, 48px);
	--header-h: 72px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: Evolventa, system-ui, sans-serif;
	background: var(--bg);
	color: var(--text);
	line-height: 1.4;
	overflow-x: hidden;
}

body.menu-open {
	overflow: hidden;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	display: block;
}

.red { color: var(--primary); }
.blue { color: var(--blue); }
.orange { color: var(--orange); }
.uppercase { text-transform: uppercase; }

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: var(--primary);
	color: #fff;
	font-weight: 700;
	font-size: clamp(14px, 2vw, 16px);
	border-radius: var(--radius-sm);
	border: none;
	cursor: pointer;
	min-height: 48px;
	padding: 12px 22px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	font-family: inherit;
	white-space: nowrap;
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(255, 59, 62, 0.4);
}

.btn--blue {
	background: var(--blue);
}
.btn--blue:hover {
	box-shadow: 0 12px 28px rgba(48, 58, 243, 0.4);
}

.btn--white {
	background: #fff;
	color: var(--text);
}
.btn--white:hover {
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.btn--outline {
	background: transparent;
	color: #fff;
	border: 2px solid rgba(255, 255, 255, 0.65);
}
.btn--outline:hover {
	background: rgba(255, 255, 255, 0.1);
	box-shadow: none;
}

.btn--dark-outline {
	background: #fff;
	color: var(--text);
	border: 1px solid #ccc;
	box-shadow: var(--shadow-sm);
	font-weight: 500;
}
.btn--dark-outline:hover {
	box-shadow: var(--shadow);
}

.btn--block {
	width: 100%;
}

/* Layout */
.section {
	max-width: var(--max);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--pad);
	padding-right: var(--pad);
}

.section--gap {
	padding-top: clamp(48px, 8vw, 100px);
	padding-bottom: clamp(48px, 8vw, 100px);
}

.section__title {
	font-family: Bounded, Evolventa, sans-serif;
	font-size: clamp(26px, 5vw, 42px);
	line-height: 1.12;
	text-align: center;
	margin-bottom: 14px;
}

.section__lead {
	text-align: center;
	font-size: clamp(15px, 2.2vw, 20px);
	max-width: 720px;
	margin: 0 auto 28px;
	color: var(--muted);
	line-height: 1.45;
}

/* Header */
.page-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	height: var(--header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 var(--pad);
	background: rgba(15, 18, 45, 0.75);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	transition: background 0.3s;
}

.page-header--light {
	background: rgba(255, 255, 255, 0.92);
	border-bottom-color: rgba(0, 0, 0, 0.06);
}

.page-header--light .page-header__nav a,
.page-header--light .page-header__phone {
	color: var(--text);
}

.page-header--light .page-header__burger span,
.page-header--light .page-header__burger span::before,
.page-header--light .page-header__burger span::after {
	background: #fff;
}

.page-header__logo {
	height: 36px;
	width: auto;
	transition: filter 0.3s;
}

.page-header:not(.page-header--light) .page-header__logo {
	filter: brightness(0) invert(1);
}

.page-header__nav {
	display: flex;
	gap: 8px;
}

.page-header__nav a {
	color: rgba(255, 255, 255, 0.9);
	font-size: 14px;
	padding: 8px 12px;
	border-radius: 8px;
	transition: background 0.2s;
}

.page-header__nav a:hover {
	background: rgba(255, 255, 255, 0.1);
}

.page-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.page-header__phone {
	display: none;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}

.page-header__cta-header {
	min-height: 40px;
	padding: 8px 16px;
	font-size: 14px;
}

.page-header__burger {
	display: none;
	width: 44px;
	height: 44px;
	background: rgba(255, 255, 255, 0.15);
	border: none;
	border-radius: 8px;
	cursor: pointer;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.page-header__burger span {
	display: block;
	width: 20px;
	height: 2px;
	background: #fff;
	border-radius: 1px;
	position: relative;
}

.page-header__burger span::before,
.page-header__burger span::after {
	content: "";
	position: absolute;
	left: 0;
	width: 20px;
	height: 2px;
	background: #fff;
	border-radius: 1px;
}

.page-header__burger span::before {
	top: -6px;
}

.page-header__burger span::after {
	top: 6px;
}

.mobile-nav {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 2000;
	background: #0f122d;
	padding: calc(var(--header-h) + 16px) var(--pad) 32px;
	flex-direction: column;
	gap: 4px;
}

.mobile-nav.open {
	display: flex;
}

.mobile-nav a {
	color: #fff;
	font-size: 20px;
	padding: 14px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav__close {
	position: absolute;
	top: 16px;
	right: var(--pad);
	background: none;
	border: none;
	color: #fff;
	font-size: 32px;
	cursor: pointer;
	line-height: 1;
}

/* ========== SPLASH HERO ========== */
.splash {
	position: relative;
	min-height: 100svh;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: calc(var(--header-h) + 24px) var(--pad) 32px;
	overflow: hidden;
	color: #fff;
}

.splash__bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 60% at 70% 20%, rgba(48, 58, 243, 0.55), transparent 55%),
		radial-gradient(ellipse 60% 50% at 10% 80%, rgba(255, 59, 62, 0.45), transparent 50%),
		radial-gradient(ellipse 40% 40% at 90% 90%, rgba(255, 107, 53, 0.25), transparent 45%),
		linear-gradient(165deg, #0a0c24 0%, #12153a 40%, #1a1040 100%);
	z-index: 0;
}

.splash__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	opacity: 0.6;
}

.splash__inner {
	position: relative;
	z-index: 1;
	max-width: var(--max);
	margin: 0 auto;
	width: 100%;
}

.splash__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.75);
	margin-bottom: 20px;
}

.splash__eyebrow::before {
	content: "";
	width: 32px;
	height: 2px;
	background: var(--orange);
}

.splash__title {
	font-family: Bounded, Evolventa, sans-serif;
	font-size: clamp(32px, 7vw, 72px);
	line-height: 1.05;
	margin-bottom: 20px;
	max-width: 14ch;
}

.splash__title .highlight {
	background: linear-gradient(90deg, #7b8bff, #fff);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.splash__title .price-hit {
	display: block;
	margin-top: 8px;
	font-size: clamp(28px, 5.5vw, 56px);
	color: var(--primary);
}

.splash__deck {
	font-size: clamp(16px, 2.5vw, 22px);
	max-width: 36em;
	color: rgba(255, 255, 255, 0.82);
	margin-bottom: 28px;
	line-height: 1.45;
}

.splash__deck strong {
	color: #fff;
	font-weight: 700;
}

.splash__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 36px;
}

.splash__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.splash__chip {
	font-size: 13px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(4px);
}

.splash__stats {
	position: relative;
	z-index: 1;
	max-width: var(--max);
	margin: clamp(32px, 5vw, 48px) auto 0;
	width: 100%;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

.stat-card {
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--radius-md);
	padding: 20px 16px;
	text-align: center;
	backdrop-filter: blur(8px);
}

.stat-card__num {
	font-family: Bounded, Evolventa, sans-serif;
	font-size: clamp(22px, 4vw, 36px);
	color: #fff;
	margin-bottom: 4px;
}

.stat-card__label {
	font-size: 12px;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.65);
}

.splash__scroll {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.45);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	animation: bounce 2s ease infinite;
}

@keyframes bounce {
	0%, 100% { transform: translateX(-50%) translateY(0); }
	50% { transform: translateX(-50%) translateY(6px); }
}

/* Hook band */
.hook {
	background: #fff;
	padding: clamp(40px, 6vw, 64px) var(--pad);
	text-align: center;
}

.hook__text {
	font-family: Bounded, Evolventa, sans-serif;
	font-size: clamp(22px, 4.5vw, 38px);
	line-height: 1.2;
	max-width: 900px;
	margin: 0 auto;
}

/* Value row (VDI-style pills) */
.value-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin-top: 8px;
}

.value-pill {
	background: #fff;
	border-radius: var(--radius-md);
	padding: 20px 16px;
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 120px;
	transition: transform 0.25s, box-shadow 0.25s;
}

.value-pill:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
}

.value-pill img {
	width: 32px;
	height: 32px;
}

.value-pill p {
	font-size: 14px;
	line-height: 1.35;
	font-weight: 700;
}

/* Pain */
.pain {
	background: #fff;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	padding: clamp(24px, 4vw, 40px);
}

.pain__headline {
	font-family: Bounded, Evolventa, sans-serif;
	font-size: clamp(22px, 4vw, 34px);
	text-align: center;
	margin-bottom: 28px;
}

.pain__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.pain__col {
	border-radius: var(--radius-md);
	padding: clamp(20px, 3vw, 28px);
}

.pain__col--bad {
	background: #f7f7f7;
}

.pain__col--good {
	background: linear-gradient(145deg, rgba(48, 58, 243, 0.08), rgba(255, 59, 62, 0.06));
	border: 2px solid var(--blue);
}

.pain__col h3 {
	font-family: Bounded, Evolventa, sans-serif;
	font-size: 18px;
	margin-bottom: 14px;
}

.pain__list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.pain__list li {
	display: flex;
	gap: 10px;
	font-size: clamp(14px, 2vw, 16px);
	line-height: 1.4;
}

.pain__mark {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
}

.pain__mark--bad { background: #ffe8e8; color: var(--primary); }
.pain__mark--good { background: #e4e7ff; color: var(--blue); }

/* Flow */
.flow-card {
	background: #fff;
	border-radius: var(--radius-lg);
	padding: clamp(24px, 4vw, 40px);
	box-shadow: var(--shadow-sm);
}

.flow__track {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: center;
	gap: 8px;
	margin-top: 20px;
}

.flow__node {
	flex: 1 1 100px;
	min-width: 90px;
	max-width: 140px;
	background: var(--bg);
	border-radius: var(--radius-sm);
	padding: 14px 10px;
	text-align: center;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.25;
}

.flow__sep {
	align-self: center;
	color: var(--primary);
	font-weight: 700;
	font-size: 18px;
	flex: 0 0 auto;
}

/* Agents — horizontal scroll on mobile */
.agents {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

.agent-card {
	background: #fff;
	border-radius: var(--radius-md);
	padding: 20px;
	box-shadow: var(--shadow-sm);
	border-left: 4px solid var(--blue);
	min-height: 168px;
}

.agent-card:nth-child(3n) { border-left-color: var(--primary); }
.agent-card:nth-child(3n + 2) { border-left-color: var(--orange); }

.agent-card__role {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--muted);
	margin-bottom: 4px;
}

.agent-card__name {
	font-family: Bounded, Evolventa, sans-serif;
	font-size: 17px;
	margin-bottom: 8px;
}

.agent-card__quote {
	font-size: 14px;
	color: var(--muted);
	font-style: italic;
	line-height: 1.35;
}

/* Cases */
.cases {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}

.case-card {
	background: #fff;
	border-radius: var(--radius-md);
	padding: 24px;
	box-shadow: var(--shadow-sm);
}

.case-card__num {
	font-family: Bounded, Evolventa, sans-serif;
	font-size: 40px;
	color: rgba(255, 59, 62, 0.2);
	line-height: 1;
	margin-bottom: 8px;
}

.case-card h3 {
	font-family: Bounded, Evolventa, sans-serif;
	font-size: 18px;
	margin-bottom: 8px;
}

.case-card p {
	font-size: 15px;
	color: var(--muted);
	line-height: 1.4;
}

/* OKK band */
.okk-band {
	background: linear-gradient(120deg, var(--blue-dark), var(--blue) 50%, #4a54ff);
	color: #fff;
	border-radius: var(--radius-lg);
	padding: clamp(28px, 5vw, 48px);
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 28px;
	align-items: center;
}

.okk-band__big {
	font-family: Bounded, Evolventa, sans-serif;
	font-size: clamp(48px, 10vw, 80px);
	line-height: 1;
}

.okk-band__list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: clamp(15px, 2vw, 17px);
}

.okk-band__list li::before {
	content: "→ ";
	color: var(--primary);
	font-weight: 700;
}

/* Security */
.security {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}

.security-card {
	background: #fff;
	padding: 22px;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
}

.security-card strong {
	display: block;
	font-family: Bounded, Evolventa, sans-serif;
	margin-bottom: 6px;
	font-size: 17px;
}

.security-card p {
	font-size: 14px;
	color: var(--muted);
	line-height: 1.4;
}

/* Trust */
.trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.trust span {
	background: #fff;
	padding: 10px 18px;
	border-radius: 999px;
	font-size: 14px;
	box-shadow: var(--shadow-sm);
}

/* Steps */
.steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.step {
	background: #fff;
	border-radius: var(--radius-md);
	padding: 24px;
	box-shadow: var(--shadow-sm);
	position: relative;
}

.step__n {
	position: absolute;
	top: 16px;
	right: 20px;
	font-family: Bounded, Evolventa, sans-serif;
	font-size: 36px;
	color: rgba(48, 58, 243, 0.12);
}

.step h3 {
	font-family: Bounded, Evolventa, sans-serif;
	font-size: 17px;
	margin-bottom: 8px;
	padding-right: 40px;
}

.step p {
	font-size: 14px;
	color: var(--muted);
}

/* CTA */
.cta {
	background: linear-gradient(135deg, #0f122d, var(--blue-dark) 40%, var(--primary));
	border-radius: var(--radius-lg);
	padding: clamp(32px, 6vw, 56px) clamp(20px, 4vw, 40px);
	color: #fff;
	text-align: center;
}

.cta__title {
	font-family: Bounded, Evolventa, sans-serif;
	font-size: clamp(24px, 4.5vw, 36px);
	margin-bottom: 12px;
	line-height: 1.15;
}

.cta__sub {
	font-size: clamp(15px, 2vw, 18px);
	opacity: 0.9;
	max-width: 520px;
	margin: 0 auto;
}

.cta__form {
	max-width: 400px;
	margin: 24px auto 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.cta__form input {
	height: 48px;
	border: none;
	border-radius: var(--radius-sm);
	padding: 0 14px;
	font-size: 16px;
	font-family: inherit;
}

.cta__fine {
	font-size: 11px;
	opacity: 0.75;
	margin-top: 8px;
}

/* Footer */
.page-footer {
	padding: 32px var(--pad) 48px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	font-size: 13px;
	color: var(--muted);
	max-width: var(--max);
	margin: 0 auto;
}

/* Sticky mobile CTA */
.sticky-cta {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 900;
	padding: 10px var(--pad);
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

/* Reveal */
.reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
	opacity: 1;
	transform: none;
}

/* ========== RESPONSIVE ========== */
@media (min-width: 900px) {
	.page-header__phone {
		display: block;
	}
}

@media (max-width: 1024px) {
	.splash__stats {
		grid-template-columns: repeat(2, 1fr);
	}

	.value-row {
		grid-template-columns: repeat(2, 1fr);
	}

	.agents {
		grid-template-columns: repeat(2, 1fr);
	}

	.okk-band {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.page-header__nav {
		display: none;
	}

	.page-header__burger {
		display: flex;
	}

	.page-header__cta-header {
		display: none;
	}
}

@media (max-width: 768px) {
	.splash {
		min-height: auto;
		padding-bottom: 48px;
	}

	.splash__title {
		max-width: none;
	}

	.splash__scroll {
		display: none;
	}

	.pain__grid {
		grid-template-columns: 1fr;
	}

	.cases {
		grid-template-columns: 1fr;
	}

	.steps {
		grid-template-columns: 1fr;
	}

	.security {
		grid-template-columns: 1fr;
	}

	.flow__sep {
		display: none;
	}

	.flow__node {
		flex: 1 1 calc(50% - 8px);
		max-width: none;
	}

	.agents {
		display: flex;
		gap: 12px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding-bottom: 8px;
		-webkit-overflow-scrolling: touch;
		margin-left: calc(-1 * var(--pad));
		margin-right: calc(-1 * var(--pad));
		padding-left: var(--pad);
		padding-right: var(--pad);
		grid-template-columns: unset;
	}

	.agents .agent-card {
		flex: 0 0 82vw;
		max-width: 300px;
		scroll-snap-align: start;
	}

	.sticky-cta {
		display: block;
	}

	body {
		padding-bottom: 72px;
	}
}

@media (max-width: 480px) {
	.splash__stats {
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}

	.stat-card {
		padding: 14px 10px;
	}

	.value-row {
		grid-template-columns: 1fr;
	}

	.splash__actions {
		flex-direction: column;
	}

	.splash__actions .btn {
		width: 100%;
		white-space: normal;
		text-align: center;
	}
}
