/**
 * Freedomman Theme - Homepage Styles
 *
 * Source of Truth: Approved Homepage Mockup
 * Strictly adheres to Design System v1.0 (LOCKED)
 *
 * @package Freedomman
 * @version 1.0.4 (Mobile Responsive V1)
 */

html, body {
	overflow-x: hidden;
	max-width: 100vw;
}

/* Note: Global Header styles extracted to assets/css/header.css */

/* ==========================================================================
   2. HERO SECTION (CINEMATIC FULL-COLUMN ARTWORK & PROPORTIONAL COMPOSITION)
   ========================================================================== */
.fm-hero-section {
	position: relative;
	overflow: hidden;
	min-height: clamp(520px, 38vw, 580px);
	padding-top: clamp(20px, 2.4vw, 36px);
	padding-bottom: clamp(8px, 1vw, 16px);
	background-color: var(--fm-bg-page);
	background-image: radial-gradient(circle at 75% 35%, rgba(39, 136, 255, 0.16) 0%, transparent 60%),
	                  radial-gradient(circle at 15% 65%, rgba(115, 87, 255, 0.08) 0%, transparent 45%);
	display: flex;
	align-items: center;
}

.fm-hero-container {
	position: static;
	display: flex;
	align-items: center;
	min-height: inherit;
	width: 100%;
}

.fm-hero-content {
	position: relative;
	z-index: 3;
	max-width: clamp(520px, 44vw, 590px);
	flex-shrink: 0;
}

/* Hero Badge */
.fm-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: var(--fm-radius-pill);
	background-color: rgba(9, 17, 31, 0.85);
	border: 1px solid rgba(0, 221, 251, 0.35);
	margin-bottom: clamp(12px, 1.2vw, 16px);
	box-shadow: 0 0 16px rgba(0, 221, 251, 0.12);
	backdrop-filter: blur(8px);
}

.fm-hero-badge-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: var(--fm-brand-cyan);
	box-shadow: 0 0 8px var(--fm-brand-cyan);
}

.fm-hero-badge-text {
	font-size: 13px;
	font-weight: var(--fm-weight-semibold);
	color: var(--fm-brand-cyan);
	letter-spacing: 0.02em;
}

/* Hero Headline: Exactly 2 visual lines, strong presence */
.fm-hero-title {
	font-size: clamp(52px, 3.9vw, 66px);
	font-weight: 800;
	line-height: 1.05;
	margin-bottom: clamp(12px, 1.2vw, 16px);
	letter-spacing: -0.028em;
}

.fm-hero-title-line1 {
	display: block;
	color: var(--fm-text-primary);
}

.fm-hero-title-line2 {
	display: block;
}

/* Hero Paragraph */
.fm-hero-desc {
	font-size: clamp(15.5px, 1.1vw, 17px);
	line-height: 1.6;
	color: var(--fm-text-secondary);
	margin-bottom: clamp(20px, 2vw, 26px);
	max-width: 530px;
}

/* Hero CTAs */
.fm-hero-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: clamp(22px, 2.2vw, 28px);
}

.fm-hero-btn-primary {
	min-height: 52px;
	padding: 0 28px;
	font-size: 15.5px;
	font-weight: var(--fm-weight-semibold);
	gap: 10px;
	border-radius: var(--fm-radius-pill);
	box-shadow: 0 4px 20px rgba(114, 91, 255, 0.35);
	transition: transform var(--fm-transition-micro), box-shadow var(--fm-transition-micro);
}

.fm-hero-btn-primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 26px rgba(114, 91, 255, 0.5);
}

.fm-hero-btn-secondary {
	min-height: 52px;
	padding: 0 24px;
	font-size: 15.5px;
	font-weight: var(--fm-weight-semibold);
	gap: 10px;
	border-radius: var(--fm-radius-pill);
	background: rgba(13, 23, 40, 0.75);
	border: 1px solid var(--fm-border-visible);
	backdrop-filter: blur(8px);
	transition: transform var(--fm-transition-micro), border-color var(--fm-transition-micro), background-color var(--fm-transition-micro);
}

.fm-hero-btn-secondary:hover {
	transform: translateY(-1px);
	border-color: rgba(255, 255, 255, 0.3);
	background: rgba(17, 28, 50, 0.85);
}

.fm-cta-arrow {
	transition: transform var(--fm-transition-micro);
}

.fm-hero-btn-primary:hover .fm-cta-arrow {
	transform: translateX(4px);
}

/* Hero Stats Row (Strictly 1 Single Row on Desktop - NO Wrapping) */
.fm-hero-stats {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: clamp(10px, 1.8vw, 24px);
	padding-top: clamp(14px, 1.4vw, 18px);
	border-top: 1px solid var(--fm-border-subtle);
	max-width: 560px;
}

.fm-stat-item {
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
}

.fm-stat-number {
	font-size: clamp(1.4rem, 1.9vw, 1.75rem);
	font-weight: var(--fm-weight-extrabold);
	color: var(--fm-text-primary);
	line-height: 1.1;
	letter-spacing: -0.015em;
}

.fm-stat-label {
	font-size: 13px;
	color: var(--fm-text-muted);
	font-weight: var(--fm-weight-medium);
	margin-top: 4px;
	white-space: nowrap;
}

.fm-stat-divider {
	width: 1px;
	height: 32px;
	background-color: var(--fm-border-subtle);
	flex-shrink: 0;
}

/* ==========================================================================
   LAYER 1: HERO ENVIRONMENTAL ARTWORK
   ========================================================================== */
.fm-hero-artwork-wrap {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	pointer-events: none;
	overflow: hidden;
}

.fm-hero-artwork-inner {
	position: relative;
	width: 100%;
	height: 100%;
}

.fm-hero-artwork-inner::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background:
		linear-gradient(to right, var(--fm-bg-page) 0%, var(--fm-bg-page) 24%, rgba(3, 8, 18, 0.9) 32%, rgba(3, 8, 18, 0.5) 40%, rgba(3, 8, 18, 0.12) 46%, transparent 52%),
		linear-gradient(to bottom, rgba(3, 8, 18, 0.35) 0%, transparent 12%),
		linear-gradient(to top, var(--fm-bg-page) 0%, rgba(3, 8, 18, 0.6) 4%, transparent 14%);
}

.fm-hero-artwork-img {
	width: 100%;
	height: 100%;
	max-height: none;
	object-fit: cover;
	object-position: 68% 40%;
	display: block;
}

/* ==========================================================================
   LAYER 2: REAL INTERACTIVE FLOATING AI CARDS
   ========================================================================== */
.fm-hero-floating-cards {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	overflow: hidden;
}

/* Base Floating Card Component - Holographic Glass */
.fm-float-card {
	position: absolute;
	pointer-events: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px 20px 14px;
	min-width: 132px;
	border-radius: 16px;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(7, 16, 32, 0.5) 100%);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1.5px solid rgba(255, 255, 255, 0.16);
	text-decoration: none;
	user-select: none;
	transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1),
	            box-shadow 250ms cubic-bezier(0.16, 1, 0.3, 1),
	            border-color 250ms cubic-bezier(0.16, 1, 0.3, 1),
	            background 250ms ease;
}

.fm-float-card:focus-visible {
	outline: 2px solid #FFFFFF;
	outline-offset: 3px;
}

.fm-float-card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	transition: transform 250ms ease;
}

.fm-float-card-label {
	font-size: 13.5px;
	font-weight: var(--fm-weight-bold, 700);
	color: #FFFFFF;
	white-space: nowrap;
	letter-spacing: -0.01em;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 14px rgba(255, 255, 255, 0.25);
}

/* Individual Card Accents, Glows & Coordinates */
/* 1. Công cụ AI (Cyan Accent) */
.fm-float-tools {
	top: 13%;
	left: 47%;
	min-width: 140px;
	border-color: rgba(0, 221, 251, 0.75);
	box-shadow: 0 0 24px rgba(0, 221, 251, 0.35), inset 0 0 16px rgba(0, 221, 251, 0.15);
	animation: fmFloatTools 6.2s ease-in-out infinite alternate;
}
.fm-float-tools .fm-float-card-icon {
	color: var(--fm-brand-cyan, #00DDFB);
	background: radial-gradient(circle, rgba(0, 221, 251, 0.32) 0%, transparent 70%);
}

/* 2. Quy trình (Blue/Indigo Accent) */
.fm-float-workflows {
	top: 18%;
	left: 58.5%;
	min-width: 138px;
	border-color: rgba(80, 130, 255, 0.75);
	box-shadow: 0 0 24px rgba(60, 120, 255, 0.35), inset 0 0 16px rgba(60, 120, 255, 0.15);
	animation: fmFloatWorkflows 5.5s ease-in-out infinite alternate 0.8s;
}
.fm-float-workflows .fm-float-card-icon {
	color: #5C8DFF;
	background: radial-gradient(circle, rgba(60, 120, 255, 0.32) 0%, transparent 70%);
}

/* 3. Kỹ năng (Violet Accent) */
.fm-float-skills {
	top: 38%;
	left: 43%;
	min-width: 135px;
	border-color: rgba(160, 115, 255, 0.75);
	box-shadow: 0 0 24px rgba(135, 95, 255, 0.35), inset 0 0 16px rgba(135, 95, 255, 0.15);
	animation: fmFloatSkills 7.1s ease-in-out infinite alternate 1.6s;
}
.fm-float-skills .fm-float-card-icon {
	color: #A77DFF;
	background: radial-gradient(circle, rgba(135, 95, 255, 0.32) 0%, transparent 70%);
}

/* 4. Mô hình kinh doanh (Cyan Accent - Wider Card) */
.fm-float-business {
	top: 26%;
	left: 68.5%;
	min-width: 165px;
	border-color: rgba(0, 221, 251, 0.75);
	box-shadow: 0 0 24px rgba(0, 221, 251, 0.35), inset 0 0 16px rgba(0, 221, 251, 0.15);
	animation: fmFloatBusiness 6.6s ease-in-out infinite alternate 0.4s;
}
.fm-float-business .fm-float-card-icon {
	color: var(--fm-brand-cyan, #00DDFB);
	background: radial-gradient(circle, rgba(0, 221, 251, 0.32) 0%, transparent 70%);
}

/* 5. Cộng đồng (Magenta/Purple Accent) */
.fm-float-community {
	top: 48%;
	left: 77.5%;
	min-width: 140px;
	border-color: rgba(225, 75, 255, 0.75);
	box-shadow: 0 0 24px rgba(220, 70, 255, 0.35), inset 0 0 16px rgba(220, 70, 255, 0.15);
	animation: fmFloatCommunity 5.8s ease-in-out infinite alternate 1.2s;
}
.fm-float-community .fm-float-card-icon {
	color: #E14BFF;
	background: radial-gradient(circle, rgba(220, 70, 255, 0.32) 0%, transparent 70%);
}

/* Hover Interactions (Elevate, glow, subtle scale) */
.fm-hero-section .fm-float-card:hover {
	transform: translateY(-8px) scale(1.04);
	border-color: rgba(255, 255, 255, 0.9);
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(10, 22, 45, 0.7) 100%);
}
.fm-hero-section .fm-float-tools:hover {
	box-shadow: 0 0 35px rgba(0, 221, 251, 0.6), inset 0 0 20px rgba(0, 221, 251, 0.25);
}
.fm-hero-section .fm-float-workflows:hover {
	box-shadow: 0 0 35px rgba(80, 130, 255, 0.6), inset 0 0 20px rgba(60, 120, 255, 0.25);
}
.fm-hero-section .fm-float-skills:hover {
	box-shadow: 0 0 35px rgba(160, 115, 255, 0.6), inset 0 0 20px rgba(135, 95, 255, 0.25);
}
.fm-hero-section .fm-float-business:hover {
	box-shadow: 0 0 35px rgba(0, 221, 251, 0.6), inset 0 0 20px rgba(0, 221, 251, 0.25);
}
.fm-hero-section .fm-float-community:hover {
	box-shadow: 0 0 35px rgba(225, 75, 255, 0.6), inset 0 0 20px rgba(220, 70, 255, 0.25);
}
.fm-hero-section .fm-float-card:hover .fm-float-card-icon {
	transform: scale(1.1);
}

/* Subtle Idle Floating Keyframes (Preserving specific resting rotations) */
@keyframes fmFloatTools {
	0% { transform: translateY(0) rotate(-3deg); }
	100% { transform: translateY(-6px) rotate(-1.5deg); }
}
@keyframes fmFloatWorkflows {
	0% { transform: translateY(0) rotate(3.5deg); }
	100% { transform: translateY(-5px) rotate(4.5deg); }
}
@keyframes fmFloatSkills {
	0% { transform: translateY(0) rotate(-3.5deg); }
	100% { transform: translateY(-6px) rotate(-2deg); }
}
@keyframes fmFloatBusiness {
	0% { transform: translateY(0) rotate(3deg); }
	100% { transform: translateY(-5px) rotate(2deg); }
}
@keyframes fmFloatCommunity {
	0% { transform: translateY(0) rotate(-2.5deg); }
	100% { transform: translateY(-6px) rotate(-1deg); }
}

/* Reduced Motion: Disable continuous animations and motion transforms */
@media (prefers-reduced-motion: reduce) {
	.fm-hero-section .fm-float-card {
		animation: none;
		transition: none;
		transform: none;
	}
	.fm-hero-section .fm-float-card:hover {
		transform: none;
	}
}

/* ==========================================================================
   3. CATEGORY / FEATURE CARDS SECTION (RICH PROPORTIONS & GLOWING ICONS)
   ========================================================================== */
.fm-category-section {
	margin-top: clamp(-42px, -3.2vw, -24px);
	padding-top: 0;
	padding-bottom: clamp(32px, 3.8vw, 56px);
	position: relative;
	z-index: 4;
}

.fm-category-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.fm-cat-card {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
	min-height: 114px;
	background-color: var(--fm-bg-surface);
	border: 1px solid var(--fm-border-subtle);
	border-radius: 16px;
	text-decoration: none;
	position: relative;
	transition: transform var(--fm-transition-card),
	            border-color var(--fm-transition-card),
	            background-color var(--fm-transition-card),
	            box-shadow var(--fm-transition-card);
}

.fm-cat-card:hover {
	transform: translateY(-2px);
	background-color: var(--fm-bg-surface-raised);
}

/* Category Accent Modifiers */
.fm-cat-tools {
	background: radial-gradient(circle at 18% 50%, rgba(39, 136, 255, 0.14) 0%, transparent 70%), var(--fm-bg-surface);
	border-color: rgba(39, 136, 255, 0.28);
}
.fm-cat-tools:hover {
	border-color: var(--fm-brand-blue);
	box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4), 0 0 24px rgba(39, 136, 255, 0.25);
}

.fm-cat-skills {
	background: radial-gradient(circle at 18% 50%, rgba(115, 87, 255, 0.14) 0%, transparent 70%), var(--fm-bg-surface);
	border-color: rgba(115, 87, 255, 0.28);
}
.fm-cat-skills:hover {
	border-color: var(--fm-brand-violet);
	box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4), 0 0 24px rgba(115, 87, 255, 0.25);
}

.fm-cat-workflows {
	background: radial-gradient(circle at 18% 50%, rgba(0, 221, 251, 0.14) 0%, transparent 70%), var(--fm-bg-surface);
	border-color: rgba(0, 221, 251, 0.28);
}
.fm-cat-workflows:hover {
	border-color: var(--fm-brand-cyan);
	box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4), 0 0 24px rgba(0, 221, 251, 0.25);
}

.fm-cat-business {
	background: radial-gradient(circle at 18% 50%, rgba(37, 214, 149, 0.14) 0%, transparent 70%), var(--fm-bg-surface);
	border-color: rgba(37, 214, 149, 0.28);
}
.fm-cat-business:hover {
	border-color: var(--fm-color-success);
	box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4), 0 0 24px rgba(37, 214, 149, 0.25);
}

.fm-cat-icon-box {
	width: 54px;
	height: 54px;
	min-width: 54px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	border: 1px solid var(--fm-border-subtle);
	transition: border-color var(--fm-transition-micro), box-shadow var(--fm-transition-micro), transform var(--fm-transition-micro);
}

.fm-cat-card:hover .fm-cat-icon-box {
	transform: scale(1.04);
}

.fm-cat-tools .fm-cat-icon-box {
	background: radial-gradient(circle, rgba(39, 136, 255, 0.35) 0%, rgba(39, 136, 255, 0.08) 70%, transparent 100%);
	border-color: rgba(39, 136, 255, 0.32);
	box-shadow: 0 0 18px rgba(39, 136, 255, 0.18);
}

.fm-cat-skills .fm-cat-icon-box {
	background: radial-gradient(circle, rgba(115, 87, 255, 0.35) 0%, rgba(115, 87, 255, 0.08) 70%, transparent 100%);
	border-color: rgba(115, 87, 255, 0.32);
	box-shadow: 0 0 18px rgba(115, 87, 255, 0.18);
}

.fm-cat-workflows .fm-cat-icon-box {
	background: radial-gradient(circle, rgba(0, 221, 251, 0.35) 0%, rgba(0, 221, 251, 0.08) 70%, transparent 100%);
	border-color: rgba(0, 221, 251, 0.32);
	box-shadow: 0 0 18px rgba(0, 221, 251, 0.18);
}

.fm-cat-business .fm-cat-icon-box {
	background: radial-gradient(circle, rgba(37, 214, 149, 0.35) 0%, rgba(37, 214, 149, 0.08) 70%, transparent 100%);
	border-color: rgba(37, 214, 149, 0.32);
	box-shadow: 0 0 18px rgba(37, 214, 149, 0.18);
}

.fm-cat-body {
	flex-grow: 1;
	min-width: 0;
}

.fm-cat-title {
	font-size: 16.5px;
	font-weight: var(--fm-weight-bold);
	color: var(--fm-text-primary);
	margin: 0 0 4px 0;
	line-height: 1.25;
}

.fm-cat-desc {
	font-size: 13.5px;
	color: var(--fm-text-muted);
	line-height: 1.45;
	margin: 0;
}

.fm-cat-arrow {
	width: 32px;
	height: 32px;
	border-radius: var(--fm-radius-pill);
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: var(--fm-text-secondary);
	font-size: 13px;
	flex-shrink: 0;
	margin-left: auto;
	transition: transform var(--fm-transition-micro), color var(--fm-transition-micro), background-color var(--fm-transition-micro), border-color var(--fm-transition-micro);
}

.fm-cat-card:hover .fm-cat-arrow {
	transform: translateX(3px);
	color: #FFF;
	background-color: var(--fm-brand-blue);
	border-color: var(--fm-brand-blue);
}

.fm-cat-skills:hover .fm-cat-arrow {
	background-color: var(--fm-brand-violet);
	border-color: var(--fm-brand-violet);
}

.fm-cat-workflows:hover .fm-cat-arrow {
	background-color: var(--fm-brand-cyan);
	border-color: var(--fm-brand-cyan);
	color: #030812;
}

.fm-cat-business:hover .fm-cat-arrow {
	background-color: var(--fm-color-success);
	border-color: var(--fm-color-success);
	color: #030812;
}

/* ==========================================================================
   4. POPULAR AI TOOLS SECTION (8 COLUMNS, VIBRANT LOGOS, PROPORTIONAL)
   ========================================================================== */
.fm-tools-section {
	padding-top: 0;
	padding-bottom: clamp(36px, 4vw, 60px);
}

.fm-section-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 18px;
	gap: var(--fm-space-4);
}

.fm-title-accent-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 4px;
}

.fm-vertical-accent {
	width: 4px;
	height: 20px;
	border-radius: 2px;
	background: var(--fm-brand-cyan);
	flex-shrink: 0;
}

.fm-section-title {
	font-size: 20px;
	font-weight: var(--fm-weight-bold);
	color: var(--fm-text-primary);
	margin: 0;
	line-height: 1.2;
}

.fm-section-subtitle {
	font-size: 14px;
	color: var(--fm-text-muted);
	margin: 0;
}

.fm-section-more-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: var(--fm-weight-medium);
	color: var(--fm-brand-cyan);
	text-decoration: none;
	white-space: nowrap;
	transition: color var(--fm-transition-micro), transform var(--fm-transition-micro);
}

.fm-section-more-link:hover {
	color: #FFF;
	transform: translateX(2px);
}

.fm-tools-row-wrap {
	display: flex;
	align-items: center;
	gap: 12px;
}

.fm-tools-grid {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	gap: 12px;
	flex-grow: 1;
}

.fm-tool-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	min-height: 64px;
	background-color: var(--fm-bg-surface);
	border: 1px solid var(--fm-border-subtle);
	border-radius: 14px;
	cursor: pointer;
	user-select: none;
	transition: transform var(--fm-transition-micro),
	            border-color var(--fm-transition-micro),
	            box-shadow var(--fm-transition-micro),
	            background-color var(--fm-transition-micro);
}

.fm-tool-item:hover {
	transform: translateY(-2px);
	border-color: var(--fm-border-visible);
	background-color: var(--fm-bg-surface-raised);
	box-shadow: var(--fm-glow-interactive);
}

.fm-tool-logo {
	width: 40px;
	height: 40px;
	min-width: 40px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.fm-logo-char {
	font-weight: var(--fm-weight-extrabold);
	font-size: 20px;
	color: #FFF;
	line-height: 1;
}

.fm-char-black {
	color: #000;
}

/* Individual Tool Logo Colors from Mockup */
.fm-logo-chatgpt    { background-color: #10A37F; }
.fm-logo-claude     { background-color: #D97706; }
.fm-logo-midjourney { background-color: #FFFFFF; }
.fm-logo-runway     { background-color: #7C3AED; }
.fm-logo-notion     { background-color: #FFFFFF; }
.fm-logo-figma      { background-color: #181E29; border: 1px solid #2B384E; }
.fm-logo-capcut     { background-color: #000000; border: 1px solid #222222; }
.fm-logo-dalle      { background-color: #0D1525; border: 1px solid #1F2E47; }

.fm-tool-info {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.fm-tool-name {
	font-size: 14.5px;
	font-weight: var(--fm-weight-bold);
	color: var(--fm-text-primary);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.25;
}

.fm-tool-rating {
	font-size: 12.5px;
	font-weight: var(--fm-weight-medium);
	color: var(--fm-text-secondary);
	display: flex;
	align-items: center;
	gap: 3px;
	white-space: nowrap;
	margin-top: 2px;
}

.fm-star {
	color: #F59E0B;
}

.fm-reviews {
	color: var(--fm-text-muted);
	font-size: 11.5px;
}

.fm-tools-nav-btn {
	width: 42px;
	height: 42px;
	min-width: 42px;
	min-height: 42px;
	border-radius: var(--fm-radius-pill);
	background-color: var(--fm-bg-surface);
	border: 1px solid var(--fm-border-subtle);
	color: var(--fm-text-secondary);
	flex-shrink: 0;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color var(--fm-transition-micro), border-color var(--fm-transition-micro), color var(--fm-transition-micro);
}

.fm-tools-nav-btn:hover {
	background-color: var(--fm-bg-surface-raised);
	border-color: var(--fm-border-visible);
	color: var(--fm-text-primary);
	box-shadow: var(--fm-glow-interactive);
}

/* ==========================================================================
   5. FEATURED WORKFLOWS SECTION (RICH CARDS, PROPORTIONAL THUMBNAILS & CTA)
   ========================================================================== */
.fm-workflows-section {
	padding-top: 0;
	padding-bottom: clamp(48px, 6vw, 84px);
}

.fm-workflows-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.fm-wf-card {
	padding: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	border-radius: 16px;
	background-color: var(--fm-bg-surface);
	border: 1px solid var(--fm-border-subtle);
	transition: transform var(--fm-transition-card), border-color var(--fm-transition-card), box-shadow var(--fm-transition-card);
}

.fm-wf-card:hover {
	transform: translateY(-2px);
	border-color: var(--fm-border-visible);
	box-shadow: var(--fm-glow-interactive);
}

.fm-wf-thumb-wrap {
	position: relative;
	width: 100%;
	height: 135px;
	overflow: hidden;
	background-color: var(--fm-bg-deep);
}

.fm-wf-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform var(--fm-transition-card);
}

.fm-wf-card:hover .fm-wf-thumb {
	transform: scale(1.04);
}

.fm-wf-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: var(--fm-weight-semibold);
	letter-spacing: 0.02em;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.fm-badge-blue   { background-color: #2563EB; color: #FFF; }
.fm-badge-red    { background-color: #DC2626; color: #FFF; }
.fm-badge-green  { background-color: #059669; color: #FFF; }
.fm-badge-purple { background-color: #7C3AED; color: #FFF; }

.fm-wf-body {
	padding: 16px 18px 18px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.fm-wf-title {
	font-size: 17px;
	font-weight: var(--fm-weight-bold);
	color: var(--fm-text-primary);
	margin: 0 0 8px 0;
	line-height: 1.35;
}

.fm-wf-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 13.5px;
	color: var(--fm-text-muted);
	margin-bottom: 14px;
}

.fm-wf-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.fm-wf-meta-item svg {
	color: var(--fm-brand-cyan);
}

.fm-wf-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 10px;
	border-top: 1px solid var(--fm-border-subtle);
}

.fm-wf-price {
	font-size: 16px;
	font-weight: var(--fm-weight-extrabold);
	color: #FFB547;
}

.fm-wf-btn {
	padding: 7px 16px;
	min-height: 36px;
	height: 36px;
	font-size: 13.5px;
	font-weight: var(--fm-weight-semibold);
	border-radius: var(--fm-radius-pill);
	background: linear-gradient(135deg, #2788FF 0%, #00DDFB 100%);
	color: #030812;
	border: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
	cursor: pointer;
	transition: filter var(--fm-transition-micro), transform var(--fm-transition-micro);
}

.fm-wf-btn:hover {
	filter: brightness(1.1);
	transform: translateX(2px);
}

/* ==========================================================================
   6. KHÁM PHÁ THEO NHU CẦU (EXPLORE BY NEED)
   ========================================================================== */
.fm-needs-section {
	padding-top: 0;
	padding-bottom: clamp(36px, 4vw, 60px);
}

.fm-needs-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.fm-need-card {
	display: flex;
	flex-direction: column;
	border-radius: 16px;
	background-color: var(--fm-bg-surface);
	border: 1px solid var(--fm-border-subtle);
	overflow: hidden;
	text-decoration: none;
	transition: transform var(--fm-transition-card),
	            border-color var(--fm-transition-card),
	            box-shadow var(--fm-transition-card);
}

.fm-need-card:hover {
	transform: translateY(-2px);
	border-color: var(--fm-brand-cyan);
	box-shadow: 0 4px 20px rgba(0, 221, 251, 0.14);
}

.fm-need-thumb-wrap {
	position: relative;
	width: 100%;
	height: 120px;
	overflow: hidden;
	background-color: var(--fm-bg-deep);
}

.fm-need-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform var(--fm-transition-card);
}

.fm-need-card:hover .fm-need-thumb {
	transform: scale(1.05);
}

.fm-need-body {
	padding: 14px 16px 16px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.fm-need-title {
	font-size: 15.5px;
	font-weight: var(--fm-weight-bold);
	color: var(--fm-text-primary);
	margin: 0 0 4px 0;
	line-height: 1.3;
}

.fm-need-desc {
	font-size: 13px;
	color: var(--fm-text-muted);
	margin: 0 0 12px 0;
	line-height: 1.4;
}

.fm-need-arrow {
	width: 28px;
	height: 28px;
	border-radius: var(--fm-radius-pill);
	background-color: rgba(255, 255, 255, 0.06);
	color: var(--fm-text-secondary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	margin-top: auto;
	transition: background-color var(--fm-transition-micro),
	            color var(--fm-transition-micro),
	            transform var(--fm-transition-micro);
}

.fm-need-card:hover .fm-need-arrow {
	background-color: var(--fm-brand-cyan);
	color: #030812;
	transform: translateX(3px);
}

/* ==========================================================================
   7. BÀI VIẾT & TIN TỨC MỚI NHẤT (LATEST ARTICLES & NEWS)
   ========================================================================== */
.fm-posts-section {
	padding-top: 0;
	padding-bottom: clamp(36px, 4vw, 60px);
}

.fm-posts-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.fm-post-card {
	display: flex;
	flex-direction: column;
	border-radius: 16px;
	background-color: var(--fm-bg-surface);
	border: 1px solid var(--fm-border-subtle);
	overflow: hidden;
	transition: transform var(--fm-transition-card),
	            border-color var(--fm-transition-card),
	            box-shadow var(--fm-transition-card);
}

.fm-post-card:hover {
	transform: translateY(-2px);
	border-color: var(--fm-border-visible);
	box-shadow: var(--fm-glow-interactive);
}

.fm-post-thumb-wrap {
	position: relative;
	width: 100%;
	height: 135px;
	overflow: hidden;
	background-color: var(--fm-bg-deep);
}

.fm-post-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform var(--fm-transition-card);
}

.fm-post-card:hover .fm-post-thumb {
	transform: scale(1.04);
}

.fm-post-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 3px 9px;
	border-radius: 6px;
	font-size: 11.5px;
	font-weight: var(--fm-weight-semibold);
	letter-spacing: 0.02em;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.fm-badge-cyan    { background-color: #0284C7; color: #FFF; }
.fm-badge-magenta { background-color: #C026D3; color: #FFF; }

.fm-post-body {
	padding: 14px 16px 16px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.fm-post-title {
	font-size: 15px;
	font-weight: var(--fm-weight-bold);
	line-height: 1.35;
	margin: 0 0 12px 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.fm-post-title a {
	color: var(--fm-text-primary);
	text-decoration: none;
	transition: color var(--fm-transition-micro);
}

.fm-post-title a:hover {
	color: var(--fm-brand-cyan);
}

.fm-post-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 12.5px;
	color: var(--fm-text-muted);
	margin-top: auto;
	padding-top: 8px;
	border-top: 1px solid var(--fm-border-subtle);
}

.fm-post-meta-date {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.fm-posts-empty {
	grid-column: 1 / -1;
	text-align: center;
	padding: 36px 16px;
	color: var(--fm-text-muted);
	font-size: 14.5px;
	background-color: var(--fm-bg-surface);
	border: 1px dashed var(--fm-border-subtle);
	border-radius: var(--fm-radius-md);
}

/* ==========================================================================
   8. SẢN PHẨM NỔI BẬT (FEATURED PRODUCTS)
   ========================================================================== */
.fm-prods-section {
	padding-top: 0;
	padding-bottom: clamp(40px, 5vw, 68px);
}

.fm-prods-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.fm-prod-card {
	display: flex;
	flex-direction: column;
	border-radius: 16px;
	background-color: var(--fm-bg-surface);
	border: 1px solid var(--fm-border-subtle);
	overflow: hidden;
	transition: transform var(--fm-transition-card),
	            border-color var(--fm-transition-card),
	            box-shadow var(--fm-transition-card);
}

.fm-prod-card:hover {
	transform: translateY(-2px);
	border-color: var(--fm-border-visible);
	box-shadow: var(--fm-glow-interactive);
}

.fm-prod-thumb-wrap {
	position: relative;
	width: 100%;
	height: 155px;
	overflow: hidden;
	background-color: var(--fm-bg-deep);
}

.fm-prod-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform var(--fm-transition-card);
}

.fm-prod-card:hover .fm-prod-thumb {
	transform: scale(1.04);
}

.fm-prod-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 3px 9px;
	border-radius: 6px;
	font-size: 11.5px;
	font-weight: var(--fm-weight-semibold);
	letter-spacing: 0.02em;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.fm-badge-amber   { background-color: #D97706; color: #FFF; }
.fm-badge-emerald { background-color: #059669; color: #FFF; }
.fm-badge-brand   { background-color: #7C3AED; color: #FFF; }

.fm-prod-body {
	padding: 14px 16px 16px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.fm-prod-title {
	font-size: 15.5px;
	font-weight: var(--fm-weight-bold);
	margin: 0 0 6px 0;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.fm-prod-title a {
	color: var(--fm-text-primary);
	text-decoration: none;
	transition: color var(--fm-transition-micro);
}

.fm-prod-title a:hover {
	color: var(--fm-brand-cyan);
}

.fm-prod-rating {
	display: flex;
	align-items: center;
	gap: 3px;
	font-size: 12px;
	color: var(--fm-text-secondary);
	margin-bottom: 12px;
}

.fm-stars {
	color: #F59E0B;
	letter-spacing: 1px;
}

.fm-star-half {
	color: #F59E0B;
	opacity: 0.7;
}

.fm-rating-val {
	font-weight: var(--fm-weight-bold);
	color: var(--fm-text-primary);
	margin-left: 2px;
}

.fm-rating-count {
	color: var(--fm-text-muted);
}

.fm-prod-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 8px;
	border-top: 1px solid var(--fm-border-subtle);
}

.fm-prod-price {
	font-size: 16px;
	font-weight: var(--fm-weight-extrabold);
	color: var(--fm-text-primary);
}

.fm-prod-cart-btn {
	width: 36px;
	height: 36px;
	min-width: 36px;
	min-height: 36px;
	border-radius: 10px;
	background-color: rgba(124, 58, 237, 0.15);
	border: 1px solid rgba(124, 58, 237, 0.35);
	color: #A78BFA;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color var(--fm-transition-micro),
	            border-color var(--fm-transition-micro),
	            color var(--fm-transition-micro),
	            transform var(--fm-transition-micro);
}

.fm-prod-cart-btn:hover {
	background-color: #7C3AED;
	border-color: #7C3AED;
	color: #FFF;
	transform: scale(1.05);
}

/* ==========================================================================
   9. CỘNG ĐỒNG FREEDOMMAN (COMMUNITY CTA BANNER)
   ========================================================================== */
.fm-community-section {
	padding-top: 0;
	padding-bottom: clamp(48px, 6vw, 84px);
}

.fm-community-banner {
	position: relative;
	border-radius: 20px;
	background-color: var(--fm-bg-surface);
	border: 1px solid var(--fm-border-visible);
	padding: clamp(28px, 4vw, 44px);
	overflow: hidden;
}

.fm-community-glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	pointer-events: none;
	opacity: 0.18;
}

.fm-glow-cyan {
	width: 300px;
	height: 300px;
	background: var(--fm-brand-cyan);
	top: -100px;
	left: -50px;
}

.fm-glow-blue {
	width: 320px;
	height: 320px;
	background: var(--fm-brand-blue);
	bottom: -100px;
	right: -50px;
}

.fm-community-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 52fr) minmax(0, 48fr);
	gap: clamp(24px, 4vw, 48px);
	align-items: center;
}

.fm-community-title {
	font-size: clamp(1.8rem, 2.8vw, 2.5rem);
	font-weight: var(--fm-weight-extrabold);
	line-height: 1.15;
	margin: 0 0 12px 0;
	color: var(--fm-text-primary);
}

.fm-community-title span {
	display: block;
}

.fm-text-cyan {
	color: var(--fm-brand-cyan);
}

.fm-community-desc {
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--fm-text-secondary);
	margin: 0 0 24px 0;
	max-width: 480px;
}

.fm-community-members {
	display: flex;
	align-items: center;
	gap: 14px;
}

.fm-avatar-group {
	display: flex;
	align-items: center;
}

.fm-member-avatar {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 2.5px solid var(--fm-bg-surface);
	object-fit: cover;
	margin-left: -8px;
	display: inline-block;
}

.fm-member-avatar:first-child {
	margin-left: 0;
}

.fm-member-count {
	display: flex;
	align-items: baseline;
	gap: 5px;
	font-size: 14.5px;
	color: var(--fm-text-primary);
}

.fm-member-count strong {
	font-size: 17px;
	font-weight: var(--fm-weight-extrabold);
	color: var(--fm-text-primary);
}

.fm-member-count span {
	color: var(--fm-text-muted);
}

/* Right Testimonial Card */
.fm-quote-card {
	position: relative;
	padding: 22px 24px;
	border-radius: 16px;
	background: rgba(13, 23, 40, 0.7);
	border: 1px solid rgba(39, 136, 255, 0.22);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.fm-quote-mark-top {
	color: var(--fm-brand-cyan);
	opacity: 0.6;
	margin-bottom: 8px;
}

.fm-quote-text {
	margin: 0 0 8px 0;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--fm-text-secondary);
	font-style: normal;
}

.fm-quote-mark-bottom {
	color: var(--fm-brand-cyan);
	opacity: 0.6;
	text-align: right;
	margin-bottom: 14px;
}

.fm-quote-author {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.fm-author-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--fm-brand-blue);
	flex-shrink: 0;
}

.fm-author-info {
	display: flex;
	flex-direction: column;
}

.fm-author-name {
	font-size: 14.5px;
	font-weight: var(--fm-weight-bold);
	color: var(--fm-text-primary);
	margin: 0 0 2px 0;
}

.fm-author-role {
	font-size: 12.5px;
	color: var(--fm-text-muted);
	margin: 0;
}

/* Note: Section 10 Site Footer moved to global assets/css/footer.css */

/* ==========================================================================
   11. RESPONSIVE BREAKPOINTS (FLUID FULL-SCALE DESKTOP & MOBILE STACK)
   ========================================================================== */
/* Medium Desktop (1025px to 1279px): Keep 8 tools on 1 row, scale gaps */
@media (max-width: 1279px) and (min-width: 1025px) {
	.fm-tools-grid {
		gap: 8px;
	}
	.fm-tool-item {
		padding: 8px 10px;
		gap: 8px;
	}
	.fm-tool-logo {
		width: 36px;
		height: 36px;
		min-width: 36px;
	}
	.fm-tool-name {
		font-size: 13px;
	}
	.fm-tool-rating {
		font-size: 11.5px;
	}
	.fm-search-form {
		width: 230px;
	}
	.fm-search-form:focus-within {
		width: 260px;
	}
	.fm-nav-link {
		padding: 6px 10px;
		font-size: 13.5px;
	}
	.fm-hero-stats {
		gap: 12px;
	}
	.fm-stat-label {
		font-size: 12px;
	}
	.fm-category-grid {
		gap: 12px;
	}
	.fm-cat-card {
		padding: 14px 12px;
	}
}

/* Tablet (768px to 1024px) */
@media (max-width: 1024px) {

	.fm-hero-section {
		display: flex;
		flex-direction: column;
		min-height: auto;
		padding-top: clamp(24px, 3.5vw, 36px);
		padding-bottom: clamp(24px, 3.5vw, 36px);
	}

	.fm-hero-floating-cards {
		display: none;
	}

	.fm-hero-container {
		order: 1;
		display: flex;
		flex-direction: column;
		gap: var(--fm-space-6);
		min-height: auto;
	}

	.fm-hero-content {
		max-width: 100%;
		padding-right: 0;
	}

	.fm-hero-title {
		font-size: clamp(38px, 5.2vw, 48px);
	}

	.fm-hero-artwork-wrap {
		order: 2;
		position: relative;
		top: auto;
		right: auto;
		bottom: auto;
		left: auto;
		width: 100%;
		margin-top: clamp(20px, 3vw, 32px);
		justify-content: center;
		overflow: visible;
	}

	.fm-hero-artwork-inner {
		width: 100%;
		height: auto;
		max-width: 680px;
		margin: 0 auto;
		border-radius: var(--fm-radius-lg);
		-webkit-mask-image: none;
		mask-image: none;
		overflow: hidden;
	}

	.fm-hero-artwork-inner::before {
		content: '';
		position: absolute;
		inset: 0;
		z-index: 2;
		pointer-events: none;
		background: linear-gradient(to top, var(--fm-bg-page) 0%, rgba(3, 8, 18, 0.75) 12%, transparent 30%),
		            linear-gradient(to bottom, var(--fm-bg-page) 0%, transparent 15%),
		            linear-gradient(to right, var(--fm-bg-page) 0%, transparent 10%),
		            linear-gradient(to left, var(--fm-bg-page) 0%, transparent 10%);
	}

	.fm-hero-artwork-inner::after {
		display: none;
	}

	.fm-hero-artwork-img {
		width: 100%;
		height: auto;
		max-height: 400px;
		object-fit: contain;
		display: block;
		border-radius: var(--fm-radius-lg);
		-webkit-mask-image: none;
		mask-image: none;
	}

	.fm-hero-stats {
		flex-wrap: wrap;
		gap: var(--fm-space-4);
	}

	.fm-category-section {
		margin-top: clamp(20px, 3vw, 32px);
	}

	.fm-category-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.fm-tools-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.fm-workflows-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.fm-needs-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.fm-posts-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.fm-prods-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.fm-community-grid {
		grid-template-columns: 1fr;
		gap: var(--fm-space-6);
	}
}

/* Mobile (< 768px) - Deliberate Mobile Responsive V1 */
@media (max-width: 767px) {
	/* Global Mobile Page & Container Constraints */
	.fm-section,
	.fm-hero-section {
		overflow-x: clip;
		width: 100%;
		max-width: 100vw;
		box-sizing: border-box;
	}

	.fm-container {
		width: 100% !important;
		max-width: 100vw !important;
		padding-left: 16px !important;
		padding-right: 16px !important;
		box-sizing: border-box;
	}


	/* Hero Section */
	.fm-hero-section {
		display: flex;
		flex-direction: column;
		padding-top: 18px;
		padding-bottom: 24px;
		min-height: auto;
	}

	.fm-hero-floating-cards {
		display: none;
	}

	.fm-hero-container {
		order: 1;
		display: flex;
		flex-direction: column;
		gap: 0;
		min-height: auto;
		width: 100%;
	}

	.fm-hero-content {
		display: contents;
	}

	.fm-hero-badge {
		order: 1;
		margin-bottom: 12px;
		align-self: flex-start;
	}

	.fm-hero-title {
		order: 2;
		font-size: clamp(25px, 6.8vw, 34px);
		line-height: 1.14;
		letter-spacing: -0.02em;
		margin-bottom: 12px;
		word-break: break-word;
		overflow-wrap: break-word;
	}

	.fm-hero-desc {
		order: 3;
		font-size: 15px;
		line-height: 1.55;
		color: var(--fm-text-secondary);
		margin-bottom: 20px;
	}

	.fm-hero-actions {
		order: 4;
		display: flex;
		flex-direction: column;
		width: 100%;
		gap: 12px;
		margin-bottom: 24px;
	}

	.fm-hero-btn-primary {
		width: 100%;
		height: 50px;
		font-size: 15px;
		font-weight: 600;
		justify-content: center;
		border-radius: var(--fm-radius-pill);
	}

	.fm-hero-btn-secondary {
		width: 100%;
		height: 50px;
		font-size: 15px;
		font-weight: 500;
		justify-content: center;
		border-radius: var(--fm-radius-pill);
		background: rgba(255, 255, 255, 0.05);
		border: 1px solid rgba(255, 255, 255, 0.12);
	}

	.fm-hero-stats {
		order: 5;
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 14px 20px;
		width: 100%;
		padding-top: 18px;
		margin-bottom: 22px;
		white-space: normal;
	}

	.fm-stat-divider {
		display: none;
	}

	.fm-stat-item {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
	}

	.fm-stat-number {
		font-size: 22px;
		font-weight: 700;
		color: #ffffff;
		line-height: 1.1;
	}

	.fm-stat-label {
		font-size: 12.5px;
		color: var(--fm-text-secondary);
		line-height: 1.3;
	}

	.fm-hero-artwork-wrap {
		order: 6;
		position: relative;
		top: auto;
		right: auto;
		bottom: auto;
		left: auto;
		width: 100%;
		max-width: 100%;
		margin-bottom: 0;
		margin-top: 10px;
		display: flex;
		justify-content: center;
		overflow: visible;
	}

	.fm-hero-artwork-inner {
		width: 100%;
		height: auto;
		max-width: 100%;
		min-height: auto;
		border-radius: var(--fm-radius-md);
		-webkit-mask-image: none;
		mask-image: none;
		overflow: hidden;
	}

	.fm-hero-artwork-inner::before {
		content: '';
		position: absolute;
		inset: 0;
		z-index: 2;
		pointer-events: none;
		background: linear-gradient(to top, var(--fm-bg-page) 0%, rgba(3, 8, 18, 0.7) 15%, transparent 35%),
		            linear-gradient(to bottom, var(--fm-bg-page) 0%, transparent 15%),
		            linear-gradient(to right, var(--fm-bg-page) 0%, transparent 10%),
		            linear-gradient(to left, var(--fm-bg-page) 0%, transparent 10%);
	}

	.fm-hero-artwork-inner::after {
		display: none;
	}

	.fm-hero-artwork-img {
		width: 100%;
		height: auto;
		max-height: 260px;
		object-fit: contain;
		display: block;
		border-radius: var(--fm-radius-md);
		-webkit-mask-image: none;
		mask-image: none;
	}

	/* Section 2: Category Cards (Compact Vertical List) */
	.fm-category-section {
		padding-top: 8px;
		padding-bottom: 24px;
	}

	.fm-category-grid {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	.fm-cat-card {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding: 12px 14px;
		min-height: 64px;
		border-radius: var(--fm-radius-md);
		gap: 12px;
	}

	.fm-cat-icon-box {
		width: 44px;
		height: 44px;
		min-width: 44px;
		border-radius: 11px;
		flex-shrink: 0;
	}

	.fm-cat-icon-box svg {
		width: 24px;
		height: 24px;
	}

	.fm-cat-body {
		flex: 1;
		min-width: 0;
	}

	.fm-cat-title {
		font-size: 15px;
		font-weight: 600;
		color: #ffffff;
		margin-bottom: 2px;
	}

	.fm-cat-desc {
		font-size: 12.5px;
		color: var(--fm-text-secondary);
		white-space: normal;
		line-height: 1.35;
		margin: 0;
	}

	.fm-cat-arrow {
		width: 28px;
		height: 28px;
		min-width: 28px;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.06);
		display: flex;
		align-items: center;
		justify-content: center;
		color: var(--fm-text-secondary);
		font-size: 12px;
		flex-shrink: 0;
	}

	/* Common Section Header for Mobile */
	.fm-section {
		padding-top: 24px;
		padding-bottom: 28px;
	}

	.fm-section-header {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-start;
		gap: 8px;
		margin-bottom: 14px;
	}

	.fm-section-title-wrap,
	.fm-title-group {
		flex: 1;
		min-width: 0;
	}

	.fm-title-accent-row {
		gap: 8px;
		margin-bottom: 3px;
	}

	.fm-vertical-accent {
		height: 18px;
		width: 3.5px;
	}

	.fm-section-title {
		font-size: 18px;
		font-weight: 700;
		line-height: 1.25;
	}

	.fm-section-subtitle {
		font-size: 12px;
		color: var(--fm-text-muted);
		line-height: 1.4;
	}

	.fm-section-more-link {
		font-size: 12.5px;
		color: var(--fm-brand-cyan);
		font-weight: 500;
		white-space: nowrap;
		flex-shrink: 0;
		display: inline-flex;
		align-items: center;
		gap: 4px;
		margin-top: 2px;
	}

	/* Section 3: Popular AI Tools (Horizontal Swipe Carousel) */
	.fm-tools-row-wrap {
		width: calc(100% + 32px);
		max-width: calc(100% + 32px);
		box-sizing: border-box;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		-ms-overflow-style: none;
		margin-left: -16px;
		margin-right: -16px;
		padding-left: 16px;
		padding-right: 16px;
		padding-bottom: 6px;
	}

	.fm-tools-row-wrap::-webkit-scrollbar {
		display: none;
	}

	.fm-tools-grid {
		display: flex;
		flex-wrap: nowrap;
		gap: 10px;
		width: max-content;
	}

	.fm-tool-item {
		flex: 0 0 94px;
		scroll-snap-align: start;
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 12px 8px;
		gap: 8px;
		min-height: 86px;
		border-radius: 12px;
	}

	.fm-tool-logo {
		width: 44px;
		height: 44px;
		min-width: 44px;
		border-radius: 10px;
	}

	.fm-tool-info {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 2px;
		width: 100%;
	}

	.fm-tool-name {
		font-size: 12.5px;
		font-weight: 600;
		color: var(--fm-text-primary);
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		max-width: 80px;
	}

	.fm-tool-rating {
		font-size: 11px;
	}

	/* Section 4: Featured Workflows (Horizontal Swipe Carousel) */
	.fm-workflows-grid {
		width: calc(100% + 32px);
		max-width: calc(100% + 32px);
		box-sizing: border-box;
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		-ms-overflow-style: none;
		margin-left: -16px;
		margin-right: -16px;
		padding-left: 16px;
		padding-right: 16px;
		padding-bottom: 8px;
		gap: 14px;
	}

	.fm-workflows-grid::-webkit-scrollbar {
		display: none;
	}

	.fm-wf-card {
		flex: 0 0 calc(100vw - 52px);
		max-width: 325px;
		min-width: 275px;
		scroll-snap-align: start;
		border-radius: 16px;
	}

	.fm-wf-thumb-wrap {
		height: auto;
		aspect-ratio: 16 / 9;
	}

	.fm-wf-body {
		padding: 14px 16px;
	}

	.fm-wf-title {
		font-size: 16px;
		font-weight: 700;
		margin-bottom: 8px;
	}

	.fm-wf-meta {
		font-size: 13px;
		gap: 12px;
		margin-bottom: 14px;
	}

	.fm-wf-footer {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.fm-wf-price {
		font-size: 16px;
		font-weight: 700;
		color: #FFB547;
	}

	.fm-wf-btn {
		height: 38px;
		padding: 0 16px;
		font-size: 13.5px;
		border-radius: var(--fm-radius-pill);
	}

	/* Section 6: Explore by Need (Compact Vertical Navigation List) */
	.fm-needs-grid {
		display: flex;
		flex-direction: column;
		gap: 8px;
	}

	.fm-need-card {
		display: flex;
		flex-direction: row;
		align-items: center;
		padding: 8px 12px;
		min-height: 56px;
		border-radius: 12px;
		gap: 12px;
	}

	.fm-need-thumb-wrap {
		width: 48px;
		height: 38px;
		min-width: 48px;
		border-radius: 8px;
		overflow: hidden;
		flex-shrink: 0;
		aspect-ratio: auto;
	}

	.fm-need-thumb {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.fm-need-body {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		flex: 1;
		min-width: 0;
		position: static;
		background: none;
		padding: 0;
	}

	.fm-need-title {
		font-size: 14.5px;
		font-weight: 600;
		color: #ffffff;
	}

	.fm-need-desc {
		display: none;
	}

	.fm-need-arrow {
		width: 28px;
		height: 28px;
		min-width: 28px;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.05);
		display: flex;
		align-items: center;
		justify-content: center;
		color: var(--fm-text-muted);
		font-size: 13px;
		flex-shrink: 0;
	}

	/* Section 7: Latest Articles (Horizontal Swipe Carousel) */
	.fm-posts-grid {
		width: calc(100% + 32px);
		max-width: calc(100% + 32px);
		box-sizing: border-box;
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		-ms-overflow-style: none;
		margin-left: -16px;
		margin-right: -16px;
		padding-left: 16px;
		padding-right: 16px;
		padding-bottom: 8px;
		gap: 14px;
	}

	.fm-posts-grid::-webkit-scrollbar {
		display: none;
	}

	.fm-post-card {
		flex: 0 0 270px;
		scroll-snap-align: start;
		border-radius: 14px;
	}

	.fm-post-thumb-wrap {
		aspect-ratio: 16 / 10;
	}

	.fm-post-body {
		padding: 12px 14px;
	}

	.fm-post-title {
		font-size: 14.5px;
		font-weight: 600;
		line-height: 1.4;
		margin-bottom: 8px;
	}

	.fm-post-meta {
		font-size: 12px;
	}

	/* Section 8: Featured Products (Horizontal Swipe Carousel) */
	.fm-prods-grid {
		width: calc(100% + 32px);
		max-width: calc(100% + 32px);
		box-sizing: border-box;
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		-ms-overflow-style: none;
		margin-left: -16px;
		margin-right: -16px;
		padding-left: 16px;
		padding-right: 16px;
		padding-bottom: 8px;
		gap: 12px;
	}

	.fm-prods-grid::-webkit-scrollbar {
		display: none;
	}

	.fm-prod-card {
		flex: 0 0 220px;
		scroll-snap-align: start;
		border-radius: 14px;
	}

	.fm-prod-thumb-wrap {
		aspect-ratio: 1 / 1;
	}

	.fm-prod-body {
		padding: 12px 14px;
	}

	.fm-prod-name {
		font-size: 14.5px;
		font-weight: 600;
		margin-bottom: 4px;
	}

	.fm-prod-rating {
		font-size: 12px;
		margin-bottom: 8px;
	}

	.fm-prod-footer {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.fm-prod-price {
		font-size: 15px;
		font-weight: 700;
	}

	.fm-prod-cart-btn {
		width: 38px;
		height: 38px;
		min-width: 38px;
	}

	/* Section 9: Community Banner (1 Column Stack) */
	.fm-community-banner {
		padding: 24px 16px;
		border-radius: 16px;
	}

	.fm-community-grid {
		display: flex;
		flex-direction: column;
		gap: 20px;
	}

	.fm-community-title {
		font-size: 24px;
		line-height: 1.25;
		margin-bottom: 10px;
	}

	.fm-community-desc {
		font-size: 14px;
		line-height: 1.5;
		margin-bottom: 16px;
	}

	.fm-community-members {
		flex-direction: row;
		align-items: center;
		gap: 12px;
	}

	.fm-community-quote-card {
		padding: 18px 16px;
		border-radius: 14px;
	}

	.fm-quote-text {
		font-size: 14px;
		line-height: 1.5;
	}
}

/* Small Mobile (<= 479px, e.g. 375px - 390px) */
@media (max-width: 479px) {
	.fm-hero-title {
		font-size: 32px;
	}

	.fm-hero-stats {
		gap: 12px 14px;
	}

	.fm-stat-number {
		font-size: 20px;
	}

	.fm-stat-label {
		font-size: 12px;
	}

	.fm-wf-card {
		flex: 0 0 calc(100vw - 44px);
	}

	.fm-tool-item {
		flex: 0 0 88px;
	}

	.fm-cat-card {
		padding: 10px 12px;
	}
}
