/* ---- AppSumo Licensing — Signup / activation page ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
	--appsumo-gold:    #FFBC00;
	--appsumo-gold-dk: #e6a800;
	--appsumo-dark:    #021414;
	--appsumo-dark-2:  #0a2222;
	--appsumo-blue:    #0E6EF4;
	--appsumo-gray:    #EAEAF0;
	--appsumo-text-2:  #5A6879;
	--appsumo-white:   #ffffff;
}

html, body { height: 100%; }

body {
	background: var(--appsumo-gray);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	color: var(--appsumo-dark);
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px 16px;
}

/* ---- Shell ---- */
.appsumo-shell {
	display: flex;
	width: 100%;
	max-width: 900px;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 4px 6px rgba(0,0,0,.07), 0 20px 60px rgba(0,0,0,.14);
}

/* ---- Brand panel (left) ---- */
.appsumo-brand {
	width: 360px;
	flex-shrink: 0;
	background: var(--appsumo-dark);
	padding: 44px 36px;
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: hidden;
}

/* Subtle radial glow behind content */
.appsumo-brand::before {
	content: '';
	position: absolute;
	top: -80px; left: -80px;
	width: 320px; height: 320px;
	background: radial-gradient(circle, rgba(255,188,0,.15) 0%, transparent 70%);
	pointer-events: none;
}

.appsumo-brand__logo {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	margin-bottom: 60px;
	position: relative;
}

.appsumo-brand__badge {
	align-self: center;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.appsumo-brand__badge-icon {
	display: block;
	width: 28px;
	height: 28px;
	object-fit: contain;
}

.appsumo-brand__name {
	margin: 0;
	color: var(--appsumo-white);
	font-size: 18px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: .04em;
}

.appsumo-brand__plus {
	align-self: center;
	color: rgba(255,255,255,.5);
	font-size: 18px;
	font-weight: 600;
	line-height: 1;
}

.appsumo-brand__product-logo {
	align-self: center;
	display: block;
	max-height: 40px;
	max-width: 180px;
	width: auto;
	height: auto;
	/* margin-top: -10px; */
	vertical-align: middle;
}

.appsumo-brand__site {
	color: rgba(255,255,255,.5);
	font-size: 13px;
	font-weight: 500;
}

.appsumo-brand__headline {
	color: var(--appsumo-white);
	font-size: 22px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -.02em;
	margin-bottom: 10px;
	position: relative;
}

.appsumo-brand__headline span {
	color: var(--appsumo-gold);
}

.appsumo-brand__sub {
	color: rgba(255,255,255,.55);
	font-size: 13px;
	line-height: 1.6;
	margin-bottom: 36px;
	position: relative;
}

.appsumo-brand__perks {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 14px;
	position: relative;
	margin-top: auto;
}

.appsumo-brand__perk {
	display: flex;
	align-items: center;
	gap: 12px;
	color: rgba(255,255,255,.8);
	font-size: 13px;
	line-height: 1.4;
}

.appsumo-perk-icon {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(255,188,0,.15);
	border: 1px solid rgba(255,188,0,.3);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--appsumo-gold);
}

/* ---- Form panel (right) ---- */
.appsumo-form-panel {
	flex: 1;
	background: var(--appsumo-white);
	padding: 44px 44px 36px;
	display: flex;
	flex-direction: column;
}

.appsumo-form-title {
	font-size: 20px;
	font-weight: 800;
	color: var(--appsumo-dark);
	letter-spacing: -.02em;
	margin-bottom: 4px;
}

.appsumo-form-sub {
	font-size: 13px;
	color: var(--appsumo-text-2);
	margin-bottom: 28px;
	line-height: 1.5;
}

/* ---- Messages ---- */
.appsumo-messages { margin-bottom: 20px; }

.appsumo-message {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 11px 14px;
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.5;
	margin-bottom: 8px;
	border: 1px solid transparent;
}
.appsumo-message:last-child { margin-bottom: 0; }
.appsumo-message.error   { background: #fff1f0; color: #b91c1c; border-color: #fecaca; }
.appsumo-message.success { background: #f0fdf4; color: #15803d; border-color: #bbf7d0; }
.appsumo-message.info    { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }

.appsumo-msg-icon { flex-shrink: 0; width: 16px; height: 16px; margin-top: 1px; }

/* ---- Form ---- */
.appsumo-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-bottom: 14px;
}

.appsumo-group { margin-bottom: 14px; }
.appsumo-group:last-of-type { margin-bottom: 0; }

.appsumo-group label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: var(--appsumo-dark);
	letter-spacing: .03em;
	text-transform: uppercase;
	margin-bottom: 6px;
}

.appsumo-group input {
	width: 100%;
	height: 42px;
	padding: 0 13px;
	border: 1.5px solid var(--appsumo-gray);
	border-radius: 7px;
	font-size: 14px;
	color: var(--appsumo-dark);
	background: #fafafa;
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
	outline: none;
	appearance: none;
}

.appsumo-group input:focus {
	background: var(--appsumo-white);
	border-color: var(--appsumo-gold);
	box-shadow: 0 0 0 3px rgba(255,188,0,.2);
}

.appsumo-group input::placeholder { color: #b0b8c1; }

.appsumo-submit {
	display: block;
	width: 100%;
	height: 44px;
	margin-top: 24px;
	background: var(--appsumo-gold);
	color: var(--appsumo-dark);
	border: none;
	border-radius: 7px;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .01em;
	cursor: pointer;
	transition: background .15s ease, transform .1s ease, box-shadow .15s ease;
}

.appsumo-submit:hover {
	background: var(--appsumo-gold-dk);
	box-shadow: 0 4px 12px rgba(255,188,0,.35);
}

.appsumo-submit:active { transform: scale(.99); }

/* ---- Footer ---- */
.appsumo-form-footer {
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid var(--appsumo-gray);
	text-align: center;
	font-size: 12px;
	color: var(--appsumo-text-2);
	line-height: 1.6;
}

.appsumo-form-footer a {
	color: var(--appsumo-blue);
	text-decoration: none;
	font-weight: 600;
}

.appsumo-form-footer a:hover { text-decoration: underline; }

.appsumo-trust {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 12px;
	font-size: 11px;
	color: #b0b8c1;
}

.appsumo-trust svg { flex-shrink: 0; }

/* ---- Responsive ---- */
@media (max-width: 680px) {
	body { padding: 16px; align-items: flex-start; }

	.appsumo-shell { flex-direction: column; border-radius: 12px; }

	.appsumo-brand {
		width: 100%;
		padding: 24px 24px 20px;
		flex-direction: row;
		align-items: center;
		gap: 16px;
	}

	.appsumo-brand::before { display: none; }
	.appsumo-brand__logo { margin-bottom: 0; }
	.appsumo-brand__headline { font-size: 16px; margin-bottom: 0; }
	.appsumo-brand__sub, .appsumo-brand__perks { display: none; }

	.appsumo-form-panel { padding: 28px 24px 24px; }

	.appsumo-row { grid-template-columns: 1fr; gap: 0; }
}
