/**
 * Kaapia For Business landing page.
 */

.kfb {
	background: #fff;
	color: #0b1648;
}

.kfb-eyebrow {
	margin: 0 0 0.7rem;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #2f6bff;
}

.kfb-eyebrow--light {
	color: #00d4c8;
}

.kfb-head {
	max-width: 640px;
	margin: 0 auto 2.4rem;
	text-align: center;
}

.kfb-head h2 {
	margin: 0;
	font-size: clamp(1.55rem, 2.6vw, 2.15rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.2;
}

.kfb-head__lede {
	margin: 0.75rem 0 0;
	color: #5a6478;
	font-size: 0.98rem;
}

.kfb-section {
	padding: 4.5rem 0;
	scroll-margin-top: 6rem;
}

.kfb-section--soft {
	background: #f5f7fb;
}

/* Hero */
.kfb-hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(1000px 520px at -8% -20%, rgba(0, 212, 200, 0.28), transparent 55%),
		radial-gradient(800px 480px at 110% 120%, rgba(139, 61, 255, 0.42), transparent 50%),
		linear-gradient(160deg, #071033 0%, #0b1648 42%, #1a0b4a 100%);
}

.kfb-hero__glow {
	position: absolute;
	inset: auto -18% -28% 18%;
	height: 55%;
	background: radial-gradient(circle, rgba(47, 107, 255, 0.35), transparent 68%);
	pointer-events: none;
}

.kfb-hero__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 88%);
	pointer-events: none;
}

.kfb-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
	gap: 3rem;
	align-items: center;
	padding-top: 4.5rem;
	padding-bottom: 4.5rem;
}

.kfb-hero__title {
	margin: 0 0 1rem;
	font-size: clamp(2rem, 4vw, 3.05rem);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1.12;
	color: #fff;
}

.kfb-hero__lead {
	margin: 0 0 1.75rem;
	max-width: 36rem;
	font-size: 1.05rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.78);
}

.kfb-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.kfb-btn--ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.35);
}

.kfb-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	border-color: #fff;
}

.kfb-hero__panel {
	display: grid;
	gap: 0.85rem;
	padding: 1.35rem;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
	backdrop-filter: blur(12px);
}

.kfb-stat {
	padding: 1.05rem 1.15rem;
	border-radius: 14px;
	background: rgba(7, 16, 51, 0.45);
}

.kfb-stat__value {
	display: block;
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	color: #00d4c8;
}

.kfb-stat__label {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.72);
}

/* Audience + features */
.kfb-audience,
.kfb-features {
	display: grid;
	gap: 1.15rem;
}

.kfb-audience {
	grid-template-columns: repeat(3, 1fr);
}

.kfb-features {
	grid-template-columns: repeat(6, 1fr);
}

.kfb-card,
.kfb-feature {
	padding: 1.5rem 1.4rem 1.35rem;
	border-radius: 18px;
	background: #fff;
	border: 1px solid #e8ecf3;
	box-shadow: 0 12px 32px rgba(11, 22, 72, 0.05);
}

.kfb-card h3,
.kfb-feature h3,
.kfb-steps h3,
.kfb-plan h3 {
	margin: 0 0 0.45rem;
	font-size: 1.08rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.kfb-card p,
.kfb-feature p,
.kfb-steps p {
	margin: 0;
	color: #5a6478;
	font-size: 0.95rem;
	line-height: 1.6;
}

.kfb-feature {
	grid-column: span 2;
}

.kfb-feature:nth-child(4),
.kfb-feature:nth-child(5) {
	grid-column: span 3;
}

.kfb-feature__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 0.9rem;
	border-radius: 12px;
	color: #2f6bff;
	background: linear-gradient(180deg, rgba(47, 107, 255, 0.12), rgba(139, 61, 255, 0.08));
}

.kfb-feature__icon svg {
	width: 22px;
	height: 22px;
}

/* Steps */
.kfb-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.15rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.kfb-steps li {
	position: relative;
	padding: 1.4rem 1.25rem 1.3rem;
	border-radius: 18px;
	background: #fff;
	border: 1px solid #e8ecf3;
}

.kfb-steps__num {
	display: block;
	margin-bottom: 0.7rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: #8b3dff;
}

.kfb-steps__note {
	margin: 1.5rem 0 0;
	text-align: center;
}

.kfb-steps__note a {
	font-weight: 600;
}

/* Plans */
.kfb-plans {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.15rem;
	align-items: stretch;
}

.kfb-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 1.7rem 1.45rem 1.45rem;
	border-radius: 20px;
	background: #fff;
	border: 1px solid #e8ecf3;
}

.kfb-plan--featured {
	border-color: transparent;
	background: linear-gradient(#fff, #fff) padding-box,
		linear-gradient(135deg, #2f6bff, #8b3dff) border-box;
	border: 2px solid transparent;
	box-shadow: 0 18px 40px rgba(47, 107, 255, 0.14);
	transform: translateY(-8px);
}

.kfb-plan__badge {
	position: absolute;
	top: -0.7rem;
	left: 1.2rem;
	padding: 0.22rem 0.65rem;
	border-radius: 999px;
	background: var(--kaapia-btn-gradient, linear-gradient(135deg, #2f6bff, #8b3dff));
	color: #fff;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.kfb-plan__seats {
	margin: 0 0 1rem;
	font-size: 0.92rem;
	font-weight: 600;
	color: #2f6bff;
}

.kfb-plan ul {
	margin: 0 0 1.4rem;
	padding: 0;
	list-style: none;
	flex: 1;
}

.kfb-plan li {
	position: relative;
	padding: 0.35rem 0 0.35rem 1.35rem;
	font-size: 0.92rem;
	color: #3d4656;
}

.kfb-plan li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.72rem;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #00d4c8;
}

.kfb-plan.is-selected,
.kfb-plan--featured.is-selected {
	box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.28), 0 18px 40px rgba(47, 107, 255, 0.14);
}

.kfb-plan__select {
	width: 100%;
	justify-content: center;
	cursor: pointer;
}

/* Quote */
.kfb-quote {
	padding: 4rem 0;
	background:
		radial-gradient(700px 280px at 10% 0%, rgba(0, 212, 200, 0.18), transparent 60%),
		linear-gradient(160deg, #071033 0%, #0b1648 100%);
	color: #fff;
}

.kfb-quote blockquote {
	margin: 0 auto;
	max-width: 760px;
	text-align: center;
}

.kfb-quote p {
	margin: 0 0 1.1rem;
	font-size: clamp(1.25rem, 2.4vw, 1.7rem);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.4;
}

.kfb-quote footer {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.65);
}

/* FAQ */
.kfb-faq-wrap {
	max-width: 820px;
}

/* Form */
.kfb-talk {
	background:
		radial-gradient(900px 400px at 100% 0%, rgba(139, 61, 255, 0.08), transparent 55%),
		#f5f7fb;
}

.kfb-talk__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 2.5rem;
	align-items: start;
}

.kfb-talk__copy h2 {
	margin: 0 0 0.75rem;
	font-size: clamp(1.6rem, 2.5vw, 2.1rem);
	letter-spacing: -0.035em;
}

.kfb-talk__copy > p {
	margin: 0 0 1.25rem;
	color: #5a6478;
}

.kfb-talk__points {
	margin: 0;
	padding: 0;
	list-style: none;
}

.kfb-talk__points li {
	position: relative;
	padding: 0.35rem 0 0.35rem 1.35rem;
	font-weight: 500;
}

.kfb-talk__points li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.75rem;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #2f6bff;
}

.kfb-form-card {
	padding: 1.6rem 1.5rem 1.4rem;
	border-radius: 20px;
	background: #fff;
	border: 1px solid #e8ecf3;
	box-shadow: 0 18px 50px rgba(11, 22, 72, 0.07);
}

.kfb-form {
	display: flex;
	flex-direction: column;
	gap: 0.95rem;
}

.kfb-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.85rem;
}

.kfb-field {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.kfb-field label {
	font-size: 0.82rem;
	font-weight: 600;
}

.kfb-field input,
.kfb-field select,
.kfb-field textarea {
	width: 100%;
	padding: 0.78rem 0.9rem;
	border: 1px solid #dbe1ea;
	border-radius: 12px;
	font: inherit;
	font-size: 0.95rem;
	color: #0b1648;
	background: #fbfcfe;
}

.kfb-field input:focus,
.kfb-field select:focus,
.kfb-field textarea:focus {
	outline: none;
	border-color: #6a2dff;
	box-shadow: 0 0 0 4px rgba(106, 45, 255, 0.14);
	background: #fff;
}

.kfb-field textarea {
	min-height: 7rem;
	resize: vertical;
}

.kfb-form__submit {
	width: 100%;
	justify-content: center;
}

.kfb-form__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.kfb-notice {
	margin-bottom: 1rem;
	padding: 0.85rem 1rem;
	border-radius: 12px;
	font-size: 0.92rem;
	font-weight: 500;
}

.kfb-notice--success {
	background: #ecfdf3;
	color: #027a48;
	border: 1px solid #abefc6;
}

.kfb-notice--error {
	background: #fef2f2;
	color: #b42318;
	border: 1px solid #fecaca;
}

@media (max-width: 980px) {
	.kfb-hero__inner,
	.kfb-audience,
	.kfb-steps,
	.kfb-plans,
	.kfb-talk__grid {
		grid-template-columns: 1fr;
	}

	.kfb-features {
		grid-template-columns: 1fr 1fr;
	}

	.kfb-feature,
	.kfb-feature:nth-child(4),
	.kfb-feature:nth-child(5) {
		grid-column: span 1;
	}

	.kfb-plan--featured {
		transform: none;
	}

	.kfb-hero__inner {
		padding-top: 3rem;
		padding-bottom: 3rem;
		gap: 2rem;
	}
}

@media (max-width: 640px) {
	.kfb-section {
		padding: 3rem 0;
	}

	.kfb-features,
	.kfb-form__row {
		grid-template-columns: 1fr;
	}

	.kfb-hero__actions .btn {
		width: 100%;
		justify-content: center;
	}
}
