.sw-home-main {
	background: var(--sw-bg);
	min-height: 100vh;
	padding: 18px 0 56px;
	overflow-x: clip;
}

.sw-home-shell {
	width: min(85vw, 1680px);
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	gap: 34px;
}

.sw-home-section {
	--cards-visible: 5;
	background: rgba(255, 255, 255, 0.015);
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 14px;
	padding: 16px;
	min-width: 0;
}

.sw-home-section-featured {
	padding-inline: 48px;
	position: relative;
}

.sw-home-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 14px;
}

.sw-home-kicker {
	display: block;
	color: rgba(255, 255, 255, 0.42);
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	margin-bottom: 7px;
	text-transform: uppercase;
}

.sw-home-section h2 {
	color: var(--sw-heading);
	font-size: 18px;
	font-weight: 800;
	line-height: 1.2;
	margin: 0;
}

.sw-home-section-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.sw-home-carousel-btn,
.sw-home-view-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.05);
	color: var(--sw-heading);
	border-radius: 999px;
	min-height: 36px;
	text-decoration: none;
}

.sw-home-carousel-btn {
	width: 36px;
	padding: 0;
	cursor: pointer;
	font-size: 22px;
}

.sw-home-carousel-btn:hover,
.sw-home-view-more:hover {
	background: rgba(255, 255, 255, 0.1);
	color: var(--sw-heading);
}

.sw-home-carousel-btn:disabled {
	opacity: 0.32;
	cursor: default;
}

.sw-home-view-more {
	gap: 6px;
	font-size: 12px;
	font-weight: 800;
	padding: 0 14px;
	white-space: nowrap;
}

.sw-home-carousel {
	display: grid;
	grid-auto-columns: calc((100% - (14px * (var(--cards-visible) - 1))) / var(--cards-visible));
	grid-auto-flow: column;
	gap: 14px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	padding-bottom: 8px;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.sw-home-carousel::-webkit-scrollbar {
	display: none;
}

.sw-home-card {
	display: block;
	min-width: 0;
	scroll-snap-align: start;
	text-decoration: none;
}

.sw-home-card.explorer-card {
	width: auto;
	max-width: none;
	min-height: 0;
}

.sw-home-card > * {
	height: 100%;
}

.sw-post-card {
	background: var(--sw-bg-card);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 18px;
	height: 100%;
	min-height: 296px;
	overflow: hidden;
	position: relative;
}

.sw-post-card-media,
.sw-post-card-media img {
	display: block;
	height: 100%;
	width: 100%;
}

.sw-post-card-media img {
	object-fit: cover;
	transition: transform 0.45s ease;
}

.sw-post-card-overlay {
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.18) 44%, rgba(0, 0, 0, 0.84) 100%),
		linear-gradient(90deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.08) 58%, rgba(0, 0, 0, 0.02) 100%);
	inset: 0;
	position: absolute;
}

.sw-post-card-content {
	align-items: flex-start;
	bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	left: 0;
	padding: 24px;
	position: absolute;
	right: 0;
	z-index: 1;
}

.sw-post-card-kicker {
	color: rgba(255, 255, 255, 0.82);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
}

.sw-post-card-title {
	color: var(--sw-heading);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.3;
	margin: 0;
	max-width: 72%;
}

.sw-post-card-cta {
	align-items: center;
	background: rgba(255, 255, 255, 0.14);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	color: var(--sw-heading);
	display: inline-flex;
	font-size: 12px;
	font-weight: 700;
	gap: 10px;
	margin-top: 6px;
	min-height: 44px;
	padding: 0 18px;
}

.sw-home-card:hover .sw-post-card-media img {
	transform: scale(1.04);
}

.sw-home-card:hover .sw-post-card-cta {
	background: rgba(255, 255, 255, 0.18);
}

.sw-home-empty {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 170px;
	padding: 18px;
	border: 1px dashed rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	color: rgba(255, 255, 255, 0.42);
	font-size: 13px;
	font-weight: 700;
	scroll-snap-align: start;
}

.sw-home-empty iconify-icon {
	font-size: 22px;
}

@media (max-width: 1200px) {
	.sw-home-section {
		--cards-visible: min(var(--cards-visible), 4);
	}

	.sw-home-carousel {
		grid-auto-columns: calc((100% - 42px) / 4);
	}
}

@media (max-width: 900px) {
	.sw-home-main {
		padding-top: 84px;
	}

	.sw-home-shell {
		width: min(100% - 24px, 900px);
		gap: 24px;
	}

	.sw-home-section,
	.sw-home-section-featured {
		padding: 14px;
	}

	.sw-home-carousel {
		grid-auto-columns: calc((100% - 14px) / 2);
	}

	.sw-post-card {
		min-height: 260px;
	}

	.sw-post-card-content {
		padding: 20px;
	}

	.sw-post-card-title {
		font-size: 14px;
		max-width: 100%;
	}
}

@media (max-width: 640px) {
	.sw-home-section-head {
		align-items: flex-start;
		flex-direction: column;
	}

	.sw-home-section-actions {
		width: 100%;
	}

	.sw-home-view-more {
		margin-left: auto;
	}

	.sw-home-carousel {
		grid-auto-columns: 82%;
	}

	.sw-post-card {
		min-height: 240px;
	}

	.sw-post-card-content {
		gap: 8px;
		padding: 18px;
	}

	.sw-post-card-kicker {
		font-size: 11px;
	}

	.sw-post-card-title {
		font-size: 14px;
		line-height: 1.3;
	}

	.sw-post-card-cta {
		font-size: 12px;
		gap: 8px;
		min-height: 42px;
		padding: 0 16px;
	}
}

/* Premium Hero Section */
.sw-hero-section {
	position: relative;
	padding: 80px 20px 60px;
	background: radial-gradient(circle at top, rgba(49, 168, 255, 0.08) 0%, rgba(10, 10, 12, 0) 70%);
	text-align: center;
	overflow: hidden;
}

.sw-hero-container {
	max-width: 840px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.sw-hero-badge {
	background: rgba(49, 168, 255, 0.1);
	border: 1px solid rgba(49, 168, 255, 0.3);
	color: #31a8ff;
	padding: 6px 14px;
	border-radius: 50px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	display: inline-block;
	animation: pulseBadge 3s infinite;
}

@keyframes pulseBadge {
	0%, 100% {
		box-shadow: 0 0 0 0 rgba(49, 168, 255, 0.2);
	}
	50% {
		box-shadow: 0 0 12px 2px rgba(49, 168, 255, 0.2);
	}
}

.sw-hero-title {
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 900;
	line-height: 1.15;
	color: var(--sw-heading, #fff);
	margin: 0;
	letter-spacing: -0.02em;
	background: linear-gradient(180deg, #ffffff 50%, #b0b0b8 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.sw-hero-subtitle {
	font-size: clamp(0.95rem, 2vw, 1.15rem);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.6);
	margin: 0;
	max-width: 720px;
}

/* Simulated Premium Search Bar */
.sw-hero-search-container {
	width: 100%;
	max-width: 580px;
	height: 54px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 99px;
	display: flex;
	align-items: center;
	padding: 0 20px;
	gap: 12px;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.sw-hero-search-container:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(49, 168, 255, 0.4);
	box-shadow: 0 10px 30px rgba(49, 168, 255, 0.08), inset 0 0 0 1px rgba(49, 168, 255, 0.1);
	transform: translateY(-2px);
}

.sw-hero-search-icon {
	font-size: 20px;
	color: rgba(255, 255, 255, 0.45);
	transition: color 0.3s;
}

.sw-hero-search-container:hover .sw-hero-search-icon {
	color: #31a8ff;
}

.sw-hero-search-placeholder {
	flex: 1;
	color: rgba(255, 255, 255, 0.4);
	font-size: 14px;
	text-align: left;
	user-select: none;
}

.sw-hero-search-hotkey {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 6px;
	padding: 3px 8px;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.5);
	font-weight: 700;
	letter-spacing: 0.05em;
}

/* Style Pills */
.sw-hero-styles {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 10px;
}

.style-label {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.4);
	font-weight: 600;
}

.style-pill {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.06);
	color: rgba(255, 255, 255, 0.7);
	padding: 5px 12px;
	border-radius: 50px;
	font-size: 12px;
	font-weight: 500;
	transition: all 0.2s;
}

.style-pill:hover {
	background: rgba(49, 168, 255, 0.08);
	border-color: rgba(49, 168, 255, 0.25);
	color: #31a8ff;
	transform: scale(1.03);
}

/* Features Grid */
.sw-features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	width: 100%;
}

.sw-feature-card {
	background: rgba(255, 255, 255, 0.015);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 16px;
	padding: 24px;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sw-feature-card:hover {
	background: rgba(255, 255, 255, 0.03);
	border-color: rgba(255, 255, 255, 0.12);
	transform: translateY(-4px);
}

.sw-feature-icon-wrap {
	width: 44px;
	height: 44px;
	background: rgba(49, 168, 255, 0.08);
	border: 1px solid rgba(49, 168, 255, 0.2);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #31a8ff;
	font-size: 22px;
}

.sw-feature-card h3 {
	font-size: 15px;
	font-weight: 700;
	color: var(--sw-heading, #fff);
	margin: 0;
}

.sw-feature-card p {
	font-size: 13px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.5);
	margin: 0;
}

/* FAQ Accordion Section */
.sw-faq-section {
	background: rgba(255, 255, 255, 0.015);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 18px;
	padding: 40px;
	margin-bottom: 20px;
}

.sw-faq-header {
	margin-bottom: 30px;
}

.sw-faq-header h2 {
	font-size: 24px;
	font-weight: 800;
	color: var(--sw-heading, #fff);
	margin: 0;
}

.sw-faq-accordion {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sw-faq-item {
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	padding-bottom: 12px;
}

.sw-faq-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.sw-faq-trigger {
	width: 100%;
	background: none;
	border: none;
	padding: 14px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: var(--sw-heading, #fff);
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	text-align: left;
	transition: color 0.2s;
}

.sw-faq-trigger:hover {
	color: #31a8ff;
}

.faq-arrow {
	font-size: 18px;
	opacity: 0.5;
	transition: transform 0.3s ease, opacity 0.3s;
}

.sw-faq-item:hover .faq-arrow {
	opacity: 1;
}

.sw-faq-item.active .faq-arrow {
	transform: rotate(180deg);
	color: #31a8ff;
	opacity: 1;
}

.sw-faq-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sw-faq-content-inner {
	padding: 4px 0 16px;
}

.sw-faq-content p {
	font-size: 13.5px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.55);
	margin: 0;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
	.sw-features-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

@media (max-width: 768px) {
	.sw-hero-section {
		padding: 50px 15px 30px;
	}
	.sw-faq-section {
		padding: 24px;
	}
	.sw-hero-search-container {
		height: 48px;
	}
	.sw-hero-search-hotkey {
		display: none;
	}
}

