/* ── CSS Variables ─────────────────────────────────────────────────────── */
:root {
	--navy: #01afef;
	--navy-mid: #00a9e7;
	--blue: #01afef;
	--amber: #f59e0b;
	--amber-lt: #fef3c7;
	--amber-bd: #fde68a;
	--white: #ffffff;
	--off: #f8fafc;
	--slate: #475569;
	--muted: #94a3b8;
	--light: #bdcbe0;
	--border: #e2e8f0;
	--radius: 14px;
	--shadow: 0 4px 32px rgba(10, 37, 64, .10);
	--shadow-card: 0 2px 16px rgba(10, 37, 64, .08);
}

/* ── Reset & Base ──────────────────────────────────────────────────────── */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Onest', sans-serif;
	background: #f0f5fb;
	color: var(--navy);
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
}

/* ── Background Pattern ────────────────────────────────────────────────── */
.page-bg {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(ellipse 70% 50% at 15% -10%, rgba(26, 111, 191, .12) 0%, transparent 80%),
		radial-gradient(ellipse 60% 40% at 85% 110%, rgba(245, 158, 11, .10) 0%, transparent 80%),
		#fdfeff;
}

.page-bg::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(10, 37, 64, .035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(10, 37, 64, .035) 1px, transparent 1px);
	background-size: 48px 48px;
}

/* ── Layout ────────────────────────────────────────────────────────────── */
.page-wrap {
	position: relative;
	z-index: 1;
	min-height: 100vh;
	padding: 48px 16px 80px;
}

.page-inner {
	max-width: 680px;
	margin: 0 auto;
}

/* ── Logo / Header ─────────────────────────────────────────────────────── */
.logo-block {
	text-align: center;
	margin-bottom: 40px;
}

.logo-icon {
	width: 64px;
	height: 64px;
	background: linear-gradient(135deg, var(--navy), var(--blue));
	border-radius: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	box-shadow: 0 8px 24px rgba(26, 111, 191, .25);
}

.logo-name {
	font-size: 2rem;
	color: var(--navy);
	letter-spacing: -0.5px;
	line-height: 1;
}

.logo-name span {
	color: var(--blue);
}

.logo-tag {
	font-size: 10px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #ccc;
	margin-top: 4px;
	font-weight: 200;
}

/* ── Badge ─────────────────────────────────────────────────────────────── */
.promo-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--amber-lt);
	border: 1.5px solid var(--amber-bd);
	color: #92400e;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .5px;
	text-transform: uppercase;
	padding: 5px 14px;
	border-radius: 100px;
	margin-bottom: 20px;
}

.promo-badge i {
	font-size: 14px;
	color: var(--amber);
}

/* ── Hero Text ─────────────────────────────────────────────────────────── */
.hero-title {
	font-size: clamp(1.75rem, 5vw, 2.6rem);
	line-height: 1.18;
	color: var(--navy);
	letter-spacing: -0.5px;
	margin-bottom: 12px;
}

.hero-title em {
	font-style: italic;
	color: var(--blue);
}

.hero-sub {
	font-size: 16px;
	color: var(--slate);
	line-height: 1.65;
	max-width: 520px;
	margin: 0 auto;
}

/* ── Card ──────────────────────────────────────────────────────────────── */
.main-card {
	background: var(--white);
	border-radius: 20px;
	box-shadow: var(--shadow);
	overflow: hidden;
	margin-top: 36px;
}

.card-header-bar {
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
	padding: 28px 36px;
	display: flex;
	align-items: center;
	gap: 14px;
}

.card-header-bar .ch-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.95);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.card-header-bar .ch-icon i {
	font-size: 22px;
	color: #01afef;
}

.card-header-bar h2 {
	font-size: 1.3rem;
	color: var(--white);
	margin: 0;
	line-height: 1.3;
}

.card-header-bar p {
	font-size: 13px;
	font-weight: 300;
	color: rgba(255, 255, 255, .85);
	margin: 2px 0 0;
}

.card-body-pad {
	padding: 36px;
}

/* ── Package Selector ──────────────────────────────────────────────────── */
.pkg-label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 12px;
}

.pkg-options {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 28px;
}

@media (max-width: 480px) {
	.pkg-options {
		grid-template-columns: 1fr;
	}
}

.pkg-option {
	position: relative;
}

.pkg-option input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.pkg-option label {
	display: block;
	cursor: pointer;
	border: 2px solid var(--border);
	border-radius: var(--radius);
	padding: 18px 20px;
	background: var(--off);
	transition: all .2s ease;
	position: relative;
}

.pkg-option label:hover {
	border-color: var(--blue);
	background: #f0f7ff;
}

.pkg-option input:checked+label {
	border-color: var(--blue);
	background: #eff6ff;
	box-shadow: 0 0 0 3px rgba(26, 111, 191, .12);
}

.pkg-check {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 2px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all .2s;
}

.pkg-option input:checked+label .pkg-check {
	background: var(--blue);
	border-color: var(--blue);
}

.pkg-option input:checked+label .pkg-check::after {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: white;
}

.pkg-kw {
	font-size: 1.5rem;
	color: var(--navy);
	margin-bottom: 2px;
}

.pkg-price {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--blue);
}

.pkg-desc {
	font-size: 12px;
	color: var(--slate);
	margin-top: 6px;
	line-height: 1.5;
}

.pkg-badge-popular {
	display: inline-block;
	background: var(--amber);
	color: var(--navy);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 2px 8px;
	border-radius: 4px;
	margin-bottom: 6px;
}

/* ── Form Fields ───────────────────────────────────────────────────────── */
.form-section-title {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 16px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--border);
}

.form-floating>label {
	font-size: 14px;
	color: var(--slate);
}

.form-control,
.form-select {
	border: 1.5px solid var(--border);
	border-radius: 10px;
	font-size: 15px;
	color: var(--navy);
	background: var(--off);
	transition: border-color .2s, box-shadow .2s;
}

.form-control:focus,
.form-select:focus {
	border-color: var(--blue);
	box-shadow: 0 0 0 3px rgba(26, 111, 191, .12);
	background: var(--white);
}

.form-control::placeholder {
	color: var(--light);
}

.form-floating>.form-control {
	padding-top: 1.6rem;
}

.input-icon-wrap {
	position: relative;
}

.input-icon-wrap i {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--muted);
	font-size: 16px;
	pointer-events: none;
	z-index: 5;
}

.input-icon-wrap .form-control {
	padding-left: 42px;
}

/* ── Validity notice ───────────────────────────────────────────────────── */
.validity-bar {
	background: var(--amber-lt);
	border: 1.5px solid var(--amber-bd);
	border-radius: 10px;
	padding: 12px 16px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: #92400e;
	margin-bottom: 24px;
}

.validity-bar i {
	font-size: 18px;
	color: var(--amber);
	flex-shrink: 0;
}

/* ── Captcha ───────────────────────────────────────────────────────────── */
.captcha-wrap {
	display: flex;
	justify-content: center;
	margin: 8px 0 4px;
}

/* ── Submit Button ─────────────────────────────────────────────────────── */
.btn-submit {
	width: 100%;
	padding: 15px 24px;
	font-size: 16px;
	font-weight: 700;
	background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
	color: var(--white);
	border: none;
	border-radius: 12px;
	cursor: pointer;
	transition: all .25s ease;
	letter-spacing: .3px;
	box-shadow: 0 4px 16px rgba(26, 111, 191, .3);
}

.btn-submit:hover:not(:disabled) {
	transform: translateY(-1px);
	box-shadow: 0 8px 24px rgba(26, 111, 191, .4);
}

.btn-submit:active:not(:disabled) {
	transform: translateY(0);
}

.btn-submit:disabled {
	opacity: .7;
	cursor: not-allowed;
}

.btn-submit .spinner-border {
	width: 1.1rem;
	height: 1.1rem;
	border-width: 2px;
}

/* ── Alert ─────────────────────────────────────────────────────────────── */
#alert-box {
	display: none;
	border-radius: 10px;
	font-size: 14px;
}

/* ── Success State ─────────────────────────────────────────────────────── */
.success-panel {
	display: none;
	text-align: center;
	padding: 48px 36px;
}

.success-panel .s-icon {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: linear-gradient(135deg, #d1fae5, #6ee7b7);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 24px;
	font-size: 36px;
	color: #065f46;
}

.success-panel h3 {
	font-size: 1.7rem;
	color: var(--navy);
	margin-bottom: 8px;
}

.success-panel p {
	color: var(--slate);
	font-size: 15px;
	line-height: 1.65;
}

.voucher-code-box {
	display: inline-block;
	background: var(--amber-lt);
	border: 2px dashed var(--amber);
	border-radius: 12px;
	padding: 16px 32px;
	font-family: monospace;
	font-size: 1.4rem;
	font-weight: 800;
	color: var(--navy);
	letter-spacing: 3px;
	margin: 20px 0;
}

/* ── Steps / Trust bar ─────────────────────────────────────────────────── */
.steps-bar {
	display: flex;
	justify-content: center;
	gap: 0;
	margin-top: 40px;
	flex-wrap: wrap;
}

.step-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 0 20px;
	border-right: 1px solid var(--border);
	flex: 1;
	min-width: 120px;
}

.step-item:last-child {
	border-right: none;
}

.step-item i {
	font-size: 22px;
	color: var(--blue);
	margin-bottom: 8px;
}

.step-item strong {
	font-size: 13px;
	color: var(--navy);
	display: block;
	margin-bottom: 2px;
}

.step-item span {
	font-size: 12px;
	color: var(--muted);
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.page-footer {
	text-align: center;
	margin-top: 48px;
	font-size: 12px;
	color: var(--muted);
	line-height: 1.8;
}

.page-footer a {
	color: var(--blue);
	text-decoration: none;
}

.page-footer a:hover {
	text-decoration: underline;
}

/* ── Responsive tweaks ─────────────────────────────────────────────────── */
@media (max-width: 575px) {
	.card-header-bar {
		padding: 22px 22px;
	}

	.card-body-pad {
		padding: 24px 20px;
	}

	.steps-bar {
		gap: 16px;
	}

	.step-item {
		border-right: none;
		border-bottom: 1px solid var(--border);
		padding: 16px 0;
	}

	.step-item:last-child {
		border-bottom: none;
	}
}

/* ── Misc ──────────────────────────────────────────────────────────────── */
.required-star {
	color: #e11d48;
	margin-left: 2px;
}

.form-label {
	font-size: 13px;
	font-weight: 600;
	color: var(--navy);
	margin-bottom: 6px;
}

.form-text {
	font-size: 12px;
	color: var(--muted);
}
