/* Homepage and reusable Elementor sections */

/* Hero */
.fj-hero { background: var(--fj-primary); color: #cbd5e1; overflow: hidden; position: relative; }
.fj-hero::after { content: ""; position: absolute; inset: auto -10% -40% auto; width: 520px; height: 520px; background: radial-gradient(closest-side, color-mix(in srgb, var(--fj-secondary) 35%, transparent), transparent); pointer-events: none; }
.fj-hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: var(--fj-space-5); padding-block: var(--fj-space-6); position: relative; z-index: 1; }
.fj-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.1; margin-bottom: 20px; }
.fj-hero__desc { font-size: 1.15rem; color: #94a3b8; max-width: 56ch; margin: 0; }
.fj-hero__visual { display: flex; justify-content: center; }
.fj-hero__img, .fj-illustration { width: 100%; max-width: 560px; border-radius: var(--fj-radius); }
.ill-win { fill: #1b2740; stroke: rgba(255, 255, 255, 0.12); }
.ill-bar { fill: #243252; }
.ill-side { fill: #172238; }
.ill-dot.a { fill: #f87171; } .ill-dot.b { fill: #fbbf24; } .ill-dot.c { fill: #34d399; }
.ill-line { fill: #475a82; } .ill-line.dim { fill: #2f3d5e; }
.ill-tile.t1 { fill: var(--fj-secondary); }
.ill-tile.t2 { fill: #0e7490; }
.ill-tile.t3 { fill: #243252; }
.ill-tile.t4 { fill: #243252; }
.ill-tile.t5 { fill: #243252; }
.ill-play { fill: #fff; }
.ill-glyph { fill: rgba(255, 255, 255, 0.85); }

/* Categories */
.fj-cat-card {
	position: relative; display: grid; gap: 6px; padding: 24px; background: var(--fj-surface); border: 1px solid var(--fj-border); border-radius: var(--fj-radius);
	color: var(--fj-text); transition: all var(--fj-ease);
}
.fj-cat-card:hover { border-color: var(--fj-secondary); box-shadow: var(--fj-shadow-md); transform: translateY(-2px); text-decoration: none; }
.fj-cat-card__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: color-mix(in srgb, var(--fj-secondary) 10%, transparent); color: var(--fj-secondary); margin-bottom: 8px; }
.fj-cat-card__name { font-family: var(--fj-font-heading); font-weight: 800; color: var(--fj-primary); font-size: 1.1rem; }
.fj-cat-card__count { font-size: 0.85rem; color: var(--fj-muted); }
.fj-cat-card__arrow { position: absolute; top: 24px; right: 22px; color: var(--fj-muted); transition: all var(--fj-ease); }
.fj-cat-card:hover .fj-cat-card__arrow { color: var(--fj-secondary); transform: translateX(3px); }

/* AI tool */
.fj-tool__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--fj-space-5); align-items: center; }
.fj-tool__grid:has(> div:only-child) { grid-template-columns: 1fr; max-width: 720px; }
.fj-tool__media img { border-radius: var(--fj-radius); border: 1px solid rgba(255, 255, 255, 0.12); width: 100%; }

/* Why */
.fj-why { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--fj-space-4) var(--fj-space-3); }
.fj-why__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--fj-primary); color: var(--fj-accent); margin-bottom: 16px; }
.fj-why__item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.fj-why__item p { color: var(--fj-muted); font-size: 0.95rem; margin: 0; }

/* Final CTA */
.fj-cta { background: var(--fj-primary); color: #cbd5e1; text-align: center; padding-block: var(--fj-space-6); }
.fj-cta h2 { color: #fff; }
.fj-cta .fj-section-desc { margin-inline: auto; color: #94a3b8; }
.fj-cta__inner { max-width: 760px; }

/* Elementor-friendly helper classes (set in Elementor > Advanced > CSS Classes) */
.fj-section-dark { background: var(--fj-primary); color: #cbd5e1; }
.fj-section-dark h1, .fj-section-dark h2, .fj-section-dark h3, .fj-section-dark .elementor-heading-title { color: #fff; }
.fj-section-light { background: var(--fj-bg); }
.fj-section-white { background: var(--fj-surface); }
.fj-pad { padding-block: var(--fj-space-5); }
.fj-text-muted { color: var(--fj-muted); }
.fj-section-dark .fj-text-muted { color: #94a3b8; }
.fj-page-builder .fj-btn-widget .elementor-button { background: var(--fj-secondary); color: #fff; }
.fj-page-builder .fj-btn-widget--light .elementor-button { background: transparent; border: 1px solid rgba(255, 255, 255, 0.35); color: #fff; }
