:root {
	color-scheme: dark;
	--canvas: #14161a;
	--surface: #181b20;
	--raised: #1e2228;
	--border: #323742;
	--text: #f1f3f5;
	--muted: #a1a8b3;
	--brand: #20c97f;
}

*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--canvas);
	color: var(--text);
	font-family: 'Inter', system-ui, sans-serif;
	font-size: 14px;
	line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
main { flex: 1; }
.container { width: calc(100% - 64px); margin: 0 auto; }

.site-header { background: #0c0e11; border-bottom: 1px solid #252932; }
.nav { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 11px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; }
.brand img { width: 36px; height: 36px; object-fit: contain; }
.brand { color: #fff; font-size: 16px; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { color: var(--muted); font-weight: 600; padding: 8px 12px; border-radius: 8px; }
.nav-links a:hover { background: #1e2228; color: #fff; }
.nav-links .nav-ucp { color: var(--brand); background: rgba(32, 201, 127, 0.12); border: 1px solid rgba(32, 201, 127, 0.32); }

.hero {
	position: relative;
	background: radial-gradient(ellipse at 80% 10%, rgba(32, 201, 127, 0.15), transparent 50%), linear-gradient(135deg, #0c0e11, #1a2424);
}
.hero-content { min-height: 490px; display: flex; align-items: center; position: relative; padding: 70px 0 120px; }
.hero-copy { position: relative; z-index: 1; width: 57%; }
.hero-illustration { position: absolute; width: min(47%, 560px); aspect-ratio: 1.16; right: 0; top: 10px; }
.hero-illustration img { position: absolute; inset: 0; width: 100%; height: auto; }
.hero-illustration .phone-logo { position: absolute; left: 50.3%; top: 35.1%; width: 7.5%; height: 9.2%; display: grid; place-items: center; border-radius: 50%; background: #275b51; transform: rotate(20deg); }
.hero-illustration .phone-logo img { position: static; width: 65%; height: auto; }
h1, h2, h3 { font-family: 'Plus Jakarta Sans', sans-serif; line-height: 1.25; }
h1 { margin: 0 0 24px; font-size: clamp(32px, 4vw, 46px); font-weight: 800; }
.hero p { margin: 0; color: var(--text); font-weight: 600; font-size: 16px; }

.content { position: relative; margin-top: -65px; padding-bottom: 80px; }
.card { min-width: 0; padding: 35px; border: 1px solid #2a2e37; border-radius: 12px; background: var(--surface); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.server-info { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.server-logo { display: grid; place-items: center; flex: 0 0 76px; height: 76px; border-radius: 12px; background: #101216; border: 1px solid var(--border); }
.server-logo img { width: 55px; height: 55px; object-fit: contain; }
.server-info h3 { margin: 0 0 6px; font-size: 18px; }
.server-info p { margin: 0; color: var(--muted); }
.step-heading { display: flex; justify-content: flex-end; margin-bottom: 18px; }
.choice-grid, .packages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.choice-card, .package-card { padding: 24px; border: 1px solid var(--border); border-radius: 10px; background: var(--raised); }
.server-choices { max-width: 550px; margin: 0 auto; }
.method-icon { display: grid; place-items: center; flex: 0 0 76px; height: 76px; background: #ecf0f1; border-radius: 12px; }
.method-icon img { width: 55px; height: 55px; object-fit: contain; }
button { font: inherit; }
button:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.primary-button { width: 100%; padding: 10px 16px; border: 1px solid var(--brand); border-radius: 8px; background: var(--brand); color: #081b12; font-weight: 700; cursor: pointer; }
.primary-button:hover:not(:disabled) { background: #25dc8c; }
.primary-button:disabled { background: #292e35; border-color: #3a404b; color: #a1a8b3; cursor: not-allowed; }
.back-button { padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--raised); color: var(--text); cursor: pointer; }
.back-button:hover { border-color: var(--brand); }
.packages-caption, #packages-status { margin: 0 0 20px; color: var(--muted); }
#packages-status:empty { display: none; }
.package-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.package-card img { width: 78px; height: 78px; object-fit: contain; margin-bottom: 18px; }
.package-card h4 { margin: 0 0 12px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; }
.package-points { margin: 0 0 22px; color: #38bdf8; font-size: 18px; font-weight: 700; }
.package-card .primary-button { margin-top: auto; }
.checkout-form { max-width: 460px; margin: 0 auto; }
.checkout-form h3 { margin: 0 0 20px; }
.checkout-form label { display: block; margin-bottom: 8px; font-weight: 600; }
.checkout-form input { width: 100%; padding: 11px 12px; border: 1px solid var(--border); border-radius: 8px; background: #101216; color: var(--text); font: inherit; }
.checkout-form input:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.checkout-error { min-height: 1.6em; margin: 8px 0; color: #ff8a8a; }
.payment-result { display: grid; place-items: center; padding: 60px 0; }
.payment-result-card { width: min(100%, 520px); text-align: center; }
.payment-result-card h1 { margin: 0 0 16px; font-size: 26px; }
.payment-result-card p { color: var(--muted); margin: 0 0 24px; }
.payment-home { display: inline-block; width: auto; }
[hidden] { display: none !important; }

.site-footer { background: #0c0e11; border-top: 1px solid #252932; color: var(--muted); }
.footer-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; }
.footer-brand { color: var(--text); letter-spacing: 0.04em; }
.footer-brand img { width: 28px; height: 28px; object-fit: contain; }

@media (max-width: 700px) {
	.container { width: calc(100% - 32px); }
	.nav { min-height: 64px; }
	.brand { font-size: 14px; }
	.brand img { width: 30px; height: 30px; }
	.nav-links { gap: 0; }
	.nav-links a { padding: 7px; font-size: 12px; }
	.brand { font-size: 12px; }
	.hero-content { min-height: 270px; padding: 55px 0 90px; }
	.hero-copy { width: 100%; }
	.hero-illustration { display: none; }
	.content { margin-top: -45px; padding-bottom: 55px; }
	.card { padding: 20px; }
	.footer-inner { flex-wrap: wrap; padding: 22px 0; }
}
