/*
 * SYKA Partner Hub — public registration pages.
 * -----------------------------------------------------------------------
 * Reuses the established SYKA token system (tokens.css) for full brand
 * consistency, but this page has a different job than the consumer app:
 * it's a B2B pitch + application flow, not a rewards dashboard. So the
 * signature here is NOT the Reward Ring (that's specifically the earning/
 * redemption motif) — instead: three overlapping circles in the hero,
 * one per partner type, meeting at a shared center point. It reuses the
 * brand's "circles as tokens" visual language but reframes it as three
 * distinct businesses meeting at one platform, which is literally what
 * this page is asking someone to do.
 * -----------------------------------------------------------------------
 */

.syka-hub {
	--hub-max-width: 1040px;
	font-family: var(--syka-font-body, 'IBM Plex Sans', sans-serif);
	color: var(--syka-ink, #1C1B2E);
	background: var(--syka-paper, #F6F6FB);
	line-height: 1.55;
}

.syka-hub * {
	box-sizing: border-box;
}

.syka-hub__section {
	max-width: var(--hub-max-width);
	margin: 0 auto;
	padding: 48px 24px;
}

/* ---- Hero ---- */
.syka-hub__hero {
	text-align: center;
	padding: 72px 24px 56px;
}

.syka-hub__hero-mark {
	display: flex;
	justify-content: center;
	margin-bottom: 28px;
}

.syka-hub__hero-mark svg circle {
	transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: no-preference) {
	.syka-hub__hero-mark svg circle {
		transform-origin: center;
	}
	.syka-hub__hero-mark:hover svg circle:nth-child(1) { transform: translate(-4px, -2px); }
	.syka-hub__hero-mark:hover svg circle:nth-child(2) { transform: translate(4px, -2px); }
	.syka-hub__hero-mark:hover svg circle:nth-child(3) { transform: translate(0, 4px); }
}

.syka-hub__hero h1 {
	font-family: var(--syka-font-display, 'Space Grotesk', sans-serif);
	font-size: clamp(2.1rem, 4.5vw, 3.2rem);
	line-height: 1.1;
	margin: 0 0 16px;
	letter-spacing: -0.01em;
}

.syka-hub__hero p {
	font-size: 1.15rem;
	color: var(--syka-ink-soft, #4A4864);
	max-width: 560px;
	margin: 0 auto;
}

/* ---- Partner type cards ---- */
.syka-hub__cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	padding: 0 24px 64px;
	max-width: var(--hub-max-width);
	margin: 0 auto;
}

@media (max-width: 860px) {
	.syka-hub__cards {
		grid-template-columns: 1fr;
		max-width: 480px;
	}
}

.syka-hub__card {
	background: var(--syka-surface, #fff);
	border: 1px solid var(--syka-mist, #E4E3F0);
	border-radius: 16px;
	padding: 32px 28px;
	display: flex;
	flex-direction: column;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

@media (prefers-reduced-motion: no-preference) {
	.syka-hub__card:hover {
		transform: translateY(-3px);
	}
}

.syka-hub__card--parking { border-top: 3px solid var(--syka-violet-bright, #5B3FE0); }
.syka-hub__card--advertiser { border-top: 3px solid var(--syka-marigold, #F2A93C); }
.syka-hub__card--business { border-top: 3px solid var(--syka-leaf, #22A06B); }

.syka-hub__card-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	margin-bottom: 20px;
}

.syka-hub__card--parking .syka-hub__card-icon { background: var(--syka-violet-tint, #EFEBFC); }
.syka-hub__card--advertiser .syka-hub__card-icon { background: var(--syka-marigold-tint, #FDF2DF); }
.syka-hub__card--business .syka-hub__card-icon { background: var(--syka-leaf-tint, #E4F6EE); }

.syka-hub__card h2 {
	font-family: var(--syka-font-display, 'Space Grotesk', sans-serif);
	font-size: 1.3rem;
	margin: 0 0 10px;
}

.syka-hub__card p {
	color: var(--syka-ink-soft, #4A4864);
	margin: 0 0 24px;
	flex-grow: 1;
}

.syka-hub__btn {
	display: inline-block;
	text-align: center;
	padding: 12px 20px;
	border-radius: 10px;
	font-weight: 600;
	text-decoration: none;
	transition: opacity 0.15s ease;
}

.syka-hub__btn:hover {
	opacity: 0.88;
}

.syka-hub__card--parking .syka-hub__btn { background: var(--syka-violet-bright, #5B3FE0); color: #fff; }
.syka-hub__card--advertiser .syka-hub__btn { background: var(--syka-marigold, #F2A93C); color: var(--syka-ink, #1C1B2E); }
.syka-hub__card--business .syka-hub__btn { background: var(--syka-leaf-strong, #1A7F55); color: #fff; }
.syka-hub__btn:hover { filter: brightness(0.93); }

.syka-hub__btn:focus-visible {
	outline: 3px solid var(--syka-violet-bright, #5B3FE0);
	outline-offset: 2px;
}

/* ---- Registration form ---- */
.syka-hub-form {
	max-width: 640px;
	margin: 0 auto;
	padding: 48px 24px 80px;
}

.syka-hub-form h1 {
	font-family: var(--syka-font-display, 'Space Grotesk', sans-serif);
	font-size: 2rem;
	margin: 0 0 8px;
}

.syka-hub-form > p.syka-hub-form__lede {
	color: var(--syka-ink-soft, #4A4864);
	margin: 0 0 36px;
}

.syka-hub-form fieldset {
	border: none;
	padding: 0;
	margin: 0 0 32px;
}

.syka-hub-form legend {
	font-family: var(--syka-font-display, 'Space Grotesk', sans-serif);
	font-size: 1.05rem;
	margin-bottom: 16px;
	padding: 0;
}

.syka-hub-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-bottom: 14px;
}

@media (max-width: 560px) {
	.syka-hub-form__row {
		grid-template-columns: 1fr;
	}
}

.syka-hub-form label {
	display: block;
	font-size: 0.88rem;
	font-weight: 600;
	margin-bottom: 6px;
	color: var(--syka-ink, #1C1B2E);
}

.syka-hub-form input[type="text"],
.syka-hub-form input[type="tel"],
.syka-hub-form input[type="email"],
.syka-hub-form input[type="number"],
.syka-hub-form input[type="time"],
.syka-hub-form select,
.syka-hub-form textarea {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid var(--syka-mist-dark, #CFCEE2);
	border-radius: 8px;
	font-family: inherit;
	font-size: 0.95rem;
	background: var(--syka-surface, #fff);
	color: var(--syka-ink, #1C1B2E);
}

.syka-hub-form input:focus-visible,
.syka-hub-form select:focus-visible,
.syka-hub-form textarea:focus-visible {
	outline: 2px solid var(--syka-violet-bright, #5B3FE0);
	outline-offset: 1px;
	border-color: var(--syka-violet-bright, #5B3FE0);
}

.syka-hub-form__checkbox-row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 24px;
	font-size: 0.9rem;
}

.syka-hub-form__submit {
	width: 100%;
	padding: 14px;
	border: none;
	border-radius: 10px;
	background: var(--syka-violet-bright, #5B3FE0);
	color: #fff;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.syka-hub-form__submit:hover { opacity: 0.9; }
.syka-hub-form__submit:disabled { opacity: 0.5; cursor: not-allowed; }

.syka-hub-form__message {
	margin-top: 16px;
	padding: 12px 14px;
	border-radius: 8px;
	font-size: 0.92rem;
	display: none;
}

.syka-hub-form__message--error {
	background: var(--syka-coral-tint, #FBE7E5);
	color: var(--syka-coral-deep, #9A2A22);
}

.syka-hub-form__message--success {
	background: var(--syka-leaf-tint, #E4F6EE);
	color: #147049;
}

.syka-hub-form__hint {
	font-size: 0.82rem;
	color: var(--syka-ink-soft, #4A4864);
	margin-top: 4px;
}
