/* SYW Home — split hero + recommendation quiz */

* {
	box-sizing: border-box;
}

body.syw-home {
	margin: 0;
	padding: 0;
	background: #05050a;
	font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.syw-hero-viewport {
	position: relative;
	min-height: 480px;
	width: 100%;
	background: #05050a;
	overflow: hidden;
}

/* Background */

.syw-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.syw-bg-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	animation: sywSlowZoom 30s ease-in-out infinite alternate;
}

.syw-bg-overlay {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 50% 45%, rgba(5, 5, 10, 0.72) 0%, rgba(5, 5, 10, 0.5) 55%, rgba(5, 5, 10, 0.3) 100%),
		linear-gradient(180deg, rgba(5, 5, 10, 0.5) 0%, rgba(5, 5, 10, 0) 20%);
}

.syw-bg-fade {
	position: absolute;
	inset: auto 0 0 0;
	height: 180px;
	background: linear-gradient(180deg, rgba(5, 5, 10, 0) 0%, #05050a 100%);
}

@keyframes sywSlowZoom {
	from {
		transform: scale(1);
	}
	to {
		transform: scale(1.08);
	}
}

/* Nav */

.syw-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 6vw;
	position: relative;
	z-index: 30;
}

.syw-logo-img {
	height: 52px;
	width: auto;
	display: block;
}

/* Footer */

.syw-footer {
	position: relative;
	z-index: 10;
	text-align: center;
	padding: 2.5rem 6vw 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.syw-footer-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2rem;
	margin-bottom: 1rem;
}

.syw-footer-links a,
.syw-footer-links a:visited {
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.85rem;
	text-decoration: none;
	transition: color 0.2s ease;
}

.syw-footer-links a:hover,
.syw-footer-links a:visited:hover {
	color: #fff;
}

.syw-footer-copy {
	color: rgba(255, 255, 255, 0.3);
	font-size: 0.75rem;
	margin: 0;
}

.syw-nav-cta {
	display: inline-block;
	background: #fff;
	color: #05050a;
	font-size: 0.875rem;
	font-weight: 500;
	padding: 9px 20px;
	border-radius: 8px;
	text-decoration: none;
	transition: transform 0.2s ease;
}

.syw-nav-cta:hover {
	transform: scale(1.05);
	color: #05050a;
}

/* Hero content */

.syw-hero-content {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 10;
}

.syw-hero-left {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 0.5rem 5vw 3rem;
	width: 100%;
	max-width: 60rem;
	margin: 0 auto;
}

/* Entrance animation */

.syw-anim {
	opacity: 0;
	transform: translateY(24px);
	animation: sywFadeSlideUp 0.8s ease var(--delay, 0s) both;
}

@keyframes sywFadeSlideUp {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Text */

.syw-badge {
	display: inline-block;
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.7);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 999px;
	padding: 6px 14px;
	margin-bottom: 1.25rem;
	width: fit-content;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.syw-hero-left h1 {
	font-size: clamp(2rem, 4vw, 3.25rem);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: #fff;
	margin: 0 0 1.25rem;
}

.syw-sub {
	font-size: clamp(0.95rem, 1.1vw, 1.1rem);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.7);
	max-width: 36rem;
	margin: 0 auto 2rem;
}

/* Stats strip */

.syw-stats {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(1.5rem, 4vw, 3.5rem);
}

.syw-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.syw-stat-num {
	font-size: clamp(1.4rem, 2.2vw, 1.9rem);
	font-weight: 700;
	color: #fff;
	line-height: 1.2;
}

.syw-stat-label {
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.5);
	margin-top: 2px;
}

/* Form */

.syw-quiz {
	width: 100%;
	max-width: 40rem;
	margin: 2rem auto 0;
	text-align: center;
}

.syw-q-group {
	margin-bottom: 1.5rem;
}

.syw-q-label {
	display: block;
	font-size: 0.8rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 0.6rem;
}

.syw-pill-group {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
}

.syw-pill {
	background: rgba(10, 10, 18, 0.55);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: rgba(255, 255, 255, 0.7);
	border-radius: 999px;
	padding: 9px 18px;
	font-size: 0.85rem;
	font-family: inherit;
	cursor: pointer;
	transition: all 0.2s ease;
}

.syw-pill:hover {
	border-color: rgba(255, 255, 255, 0.4);
}

.syw-pill.is-active {
	background: #fff;
	color: #05050a;
	border-color: #fff;
	font-weight: 500;
}

.syw-field-label-primary {
	display: block;
	font-size: clamp(1rem, 1.6vw, 1.15rem);
	font-weight: 500;
	color: #D6249F;
	margin-bottom: 0.75rem;
}

.syw-desc-primary {
	width: 100%;
	min-height: 110px;
	resize: vertical;
	background: rgba(10, 10, 18, 0.6);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1.5px solid rgba(255, 255, 255, 0.25);
	border-radius: 14px;
	padding: 18px 20px;
	color: #fff !important;
	caret-color: #fff;
	-webkit-text-fill-color: #fff;
	color-scheme: dark;
	font-family: inherit;
	font-size: clamp(1rem, 1.4vw, 1.1rem);
	line-height: 1.5;
	margin-bottom: 1.25rem;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.syw-desc-primary::placeholder {
	color: rgba(255, 255, 255, 0.4) !important;
	-webkit-text-fill-color: rgba(255, 255, 255, 0.4);
}

.syw-desc-primary:focus {
	outline: none;
	border-color: rgba(125, 211, 252, 0.6);
	background: rgba(255, 255, 255, 0.07);
}

/* Refine (secondary, collapsible) */

.syw-refine {
	text-align: center;
	margin-bottom: 1.5rem;
}

.syw-refine summary {
	cursor: pointer;
	list-style: none;
	font-size: 0.85rem;
	color: #D6249F;
	padding: 4px 0;
	transition: color 0.2s ease;
}

.syw-refine summary::-webkit-details-marker {
	display: none;
}

.syw-refine summary:hover {
	color: #fff;
}

.syw-refine summary::after {
	content: '\25BE';
	display: inline-block;
	margin-left: 6px;
	transition: transform 0.2s ease;
}

.syw-refine[open] summary::after {
	transform: rotate(180deg);
}

.syw-refine .syw-q-group {
	margin-top: 1.5rem;
	margin-bottom: 0;
}

.syw-refine .syw-q-group + .syw-q-group {
	margin-top: 1.25rem;
}

.syw-submit {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	color: #05050a;
	border: none;
	border-radius: 10px;
	padding: 14px 32px;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.2s ease, opacity 0.2s ease;
	margin-top: 0.5rem;
}

.syw-submit:hover {
	transform: scale(1.03);
}

.syw-submit:disabled {
	opacity: 0.6;
	cursor: default;
	transform: none;
}

.syw-error {
	color: #fca5a5;
	font-size: 0.85rem;
	margin-top: 0.75rem;
}

/* Results */

.syw-results {
	margin-top: 2.5rem;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	width: 100%;
	max-width: 64rem;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}

.syw-results .syw-results-note {
	grid-column: 1 / -1;
	text-align: center;
}

.syw-results .syw-affiliate-disclosure {
	grid-column: 1 / -1;
	text-align: center;
}

.syw-card {
	background: rgba(10, 10, 18, 0.6);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 12px;
	padding: 16px 18px;
	opacity: 0;
	transform: translateY(16px);
	animation: sywFadeSlideUp 0.6s ease both;
}

.syw-card-label {
	display: inline-block;
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #7dd3fc;
	margin-bottom: 6px;
}

.syw-card-name {
	font-size: 1.1rem;
	font-weight: 600;
	color: #fff;
	margin: 0 0 6px;
}

.syw-card-reason {
	font-size: 0.85rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.65);
	margin: 0 0 14px;
}

.syw-card-visit {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.8rem;
	font-weight: 600;
	color: #D6249F;
	text-decoration: none;
	transition: color 0.2s ease;
}

.syw-card-visit:hover,
.syw-card-visit:visited:hover {
	color: #fff;
}

.syw-card-visit:visited {
	color: #D6249F;
}

.syw-card-visit::after {
	content: '\2192';
}

.syw-results-note {
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.4);
	margin-top: 0.5rem;
}

.syw-affiliate-disclosure {
	font-size: 0.78rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.55);
	margin-top: 1.5rem;
	max-width: 42rem;
	margin-left: auto;
	margin-right: auto;
}

/* Responsive */

@media (max-width: 900px) {
	.syw-bg-overlay {
		background:
			linear-gradient(180deg, rgba(5, 5, 10, 0.7) 0%, rgba(5, 5, 10, 0.55) 50%, rgba(5, 5, 10, 0.7) 100%);
	}

	.syw-nav {
		padding: 18px 5vw;
	}

	.syw-logo-img {
		height: 42px;
	}

	.syw-hero-left {
		padding: 1.5rem 5vw 3rem;
		max-width: 100%;
	}

	.syw-stats {
		gap: 1.75rem;
	}

	.syw-results {
		grid-template-columns: 1fr;
		max-width: 40rem;
	}
}

@media (max-width: 480px) {
	.syw-logo-img {
		height: 34px;
	}

	.syw-nav-cta {
		font-size: 0.8rem;
		padding: 8px 16px;
	}

	.syw-hero-left h1 {
		font-size: 1.9rem;
	}

	.syw-stats {
		gap: 1.25rem;
	}

	.syw-stat-num {
		font-size: 1.3rem;
	}

	.syw-stat-label {
		font-size: 0.68rem;
	}

	.syw-pill {
		padding: 8px 14px;
		font-size: 0.8rem;
	}

	.syw-submit {
		width: 100%;
		justify-content: center;
	}
}
