* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: #222;
	background: #f5f7fa;
	line-height: 1.8;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.demo-page {
	padding: 56px 20px;
}

.demo-page__inner {
	max-width: 1100px;
	margin: 0 auto;
}

.demo-page__header {
	margin-bottom: 36px;
}

.demo-page__label {
	display: inline-block;
	margin: 0 0 14px;
	padding: 6px 12px;
	border-radius: 999px;
	background: #eef4ff;
	color: #1f5eff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
}

.demo-page__title {
	margin: 0 0 12px;
	font-size: 34px;
	line-height: 1.35;
	font-weight: 700;
}

.demo-page__lead {
	margin: 0;
	color: #555;
}

.demo-page__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 24px;
	align-items: start;
}

.demo-form {
	padding: 28px;
	border: 1px solid #e5e7eb;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.demo-form__title {
	margin: 0 0 22px;
	font-size: 24px;
	line-height: 1.4;
	font-weight: 700;
}

.demo-group + .demo-group {
	margin-top: 30px;
}

.demo-group__title {
	margin: 0 0 6px;
	font-size: 18px;
	line-height: 1.4;
	font-weight: 700;
}

.demo-group__text {
	margin: 0 0 14px;
	font-size: 14px;
	color: #666;
}

.demo-options {
	display: grid;
	gap: 10px;
}

.demo-option {
	display: block;
	cursor: pointer;
}

.demo-option input {
	display: none;
}

.demo-option__body {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid #dcdfe5;
	border-radius: 12px;
	background: #fff;
	transition: 0.2s ease;
}

.demo-option__name {
	font-weight: 600;
	line-height: 1.5;
}

.demo-option__price {
	flex: 0 0 auto;
	font-size: 14px;
	color: #555;
	white-space: nowrap;
}

.demo-option input:checked + .demo-option__body {
	border-color: #1f5eff;
	background: #eef4ff;
}

.demo-select-wrap {
	margin-top: 10px;
}

.demo-select-label {
	display: block;
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 600;
}

.demo-select {
	width: 100%;
	height: 46px;
	padding: 0 14px;
	border: 1px solid #dcdfe5;
	border-radius: 10px;
	background: #fff;
	font-size: 14px;
	color: #222;
}

.demo-summary {
	padding: 24px;
	border: 1px solid #e5e7eb;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
	position: sticky;
	top: 20px;
}

.demo-summary__title {
	margin: 0 0 18px;
	font-size: 22px;
	line-height: 1.4;
	font-weight: 700;
}

.demo-summary__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #f0f0f0;
}

.demo-summary__label {
	font-size: 14px;
	color: #555;
}

.demo-summary__value {
	font-weight: 600;
}

.demo-summary__total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 18px 0 0;
	margin-top: 18px;
}

.demo-summary__total-label {
	font-size: 16px;
	font-weight: 700;
}

.demo-summary__total-price {
	font-size: 28px;
	line-height: 1.2;
	font-weight: 700;
	color: #1f5eff;
}

.demo-summary__note {
	margin: 18px 0 0;
	font-size: 13px;
	color: #666;
}

.demo-page__footer {
	margin-top: 28px;
	text-align: center;
}

.demo-page__notice {
	margin: 0 0 8px;
	font-size: 14px;
	color: #555;
}

.demo-page__credit {
	margin: 0;
	font-size: 13px;
	color: #777;
}

.demo-cta {
	margin-top: 60px;
	padding: 48px 20px;
	background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
	border-radius: 20px;
}

.demo-cta__inner {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.demo-cta__title {
	margin: 0 0 16px;
	font-size: 26px;
	line-height: 1.4;
	font-weight: 700;
}

.demo-cta__text {
	margin: 0 0 28px;
	color: #555;
}

.demo-cta__box {
	padding: 28px 20px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid #e5e7eb;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.demo-cta__name {
	margin: 0 0 8px;
	font-weight: 700;
}

.demo-cta__price {
	margin: 0 0 16px;
	font-size: 28px;
	font-weight: 700;
	color: #1f5eff;
}

.demo-cta__price span {
	font-size: 14px;
	color: #666;
	font-weight: 400;
}

.demo-cta__button {
	display: inline-block;
	padding: 14px 24px;
	border-radius: 12px;
	background: #1f5eff;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	transition: 0.2s ease;
}

.demo-cta__button:hover {
	opacity: 0.9;
}

.demo-cta__note {
	margin: 14px 0 0;
	font-size: 13px;
	color: #666;
}

@media screen and (max-width: 767px) {
	.demo-page {
		padding: 40px 16px;
	}

	.demo-page__title {
		font-size: 28px;
	}

	.demo-page__layout {
		grid-template-columns: 1fr;
	}

	.demo-form,
	.demo-summary {
		padding: 20px;
	}

	.demo-summary {
		position: static;
	}

	.demo-summary__total-price {
		font-size: 24px;
	}

	.demo-option__body {
		flex-direction: column;
		align-items: flex-start;
	}

	.demo-option__price {
		white-space: normal;
	}

	.demo-cta {
		padding: 36px 16px;
	}

	.demo-cta__title {
		font-size: 22px;
	}

	.demo-cta__price {
		font-size: 24px;
	}
}
