/* FAST Growth 8-Axis Checkup — front-end styles
   Palette: blue spectrum only (no purple, no other hues). */

.fcq-app {
	--fcq-blue-100: #dbeafe;
	--fcq-blue-200: #bfdbfe;
	--fcq-blue-light: #93c5fd;
	--fcq-blue: #60a5fa;
	--fcq-blue-mid: #3b82f6;
	--fcq-blue-dark: #2563eb;
	--fcq-blue-deep: #1d4ed8;
	--fcq-blue-navy: #1e3a8a;
	--fcq-radius: 16px;

	direction: rtl;
	font-family: 'IRANYekan', Tahoma, Arial, sans-serif;
	max-width: 640px;
	margin: 32px auto;
	color: #1f2937;
	box-sizing: border-box;
	width: 100%;
}

.fcq-app * {
	box-sizing: border-box;
}

.fcq-content {
	transition: opacity 0.15s ease;
}

/* Progress bar */
.fcq-progress-wrap {
	width: 100%;
	height: 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.5);
	overflow: hidden;
	margin-bottom: 20px;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
}

.fcq-progress-bar {
	height: 100%;
	width: 0%;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--fcq-blue-light), var(--fcq-blue), var(--fcq-blue-deep));
	transition: width 0.4s ease;
}

/* Glass card */
.fcq-card {
	background: rgba(255, 255, 255, 0.55);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: var(--fcq-radius);
	box-shadow: 0 8px 32px rgba(96, 165, 250, 0.18);
	padding: 28px 22px;
	opacity: 0;
	transform: translateY(8px);
	animation: fcqFadeIn 0.4s ease forwards;
}

@keyframes fcqFadeIn {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fcq-axis-badge {
	display: inline-block;
	padding: 4px 14px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--fcq-blue), var(--fcq-blue-deep));
	color: #fff;
	font-size: 13px;
	margin-bottom: 12px;
}

.fcq-question-count {
	font-size: 13px;
	color: #6b7280;
	margin-bottom: 6px;
}

.fcq-question-text {
	font-size: 19px;
	font-weight: 700;
	line-height: 1.7;
	margin: 6px 0 20px;
}

.fcq-options {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.fcq-option {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	min-height: 44px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.6);
	border: 2px solid #e2e8f0;
	cursor: pointer;
	transition: border-color 0.2s ease, transform 0.15s ease, background 0.2s ease;
	font-size: 15px;
}

.fcq-option:hover {
	transform: translateY(-1px);
}

.fcq-option.is-selected {
	border-color: var(--fcq-blue);
	background: rgba(96, 165, 250, 0.15);
	font-weight: 700;
}

.fcq-nav-row {
	display: flex;
	gap: 12px;
	margin-top: 24px;
}

.fcq-btn {
	flex: 1;
	min-height: 48px;
	border: none;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	color: #fff;
	background: linear-gradient(90deg, var(--fcq-blue), var(--fcq-blue-dark));
	box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
	transition: transform 0.15s ease, opacity 0.2s ease;
}

.fcq-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.fcq-btn:not(:disabled):active {
	transform: scale(0.98);
}

.fcq-btn-secondary {
	background: rgba(255, 255, 255, 0.6);
	color: #374151;
	box-shadow: none;
	border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Lead form */
.fcq-field {
	margin-bottom: 16px;
}

.fcq-field label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 6px;
}

.fcq-field input[type="text"],
.fcq-field input[type="tel"] {
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border-radius: 12px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	background: rgba(255, 255, 255, 0.7);
	font-size: 15px;
	direction: rtl;
}

.fcq-error {
	color: #dc2626;
	font-size: 13px;
	margin-top: 6px;
	display: none;
}

.fcq-error.is-visible {
	display: block;
}

/* Results */
.fcq-result-total {
	text-align: center;
	font-size: 40px;
	font-weight: 800;
	background: linear-gradient(90deg, var(--fcq-blue-light), var(--fcq-blue-deep));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin: 0 0 4px;
}

.fcq-result-total small {
	font-size: 16px;
	color: #6b7280;
	-webkit-text-fill-color: #6b7280;
}

.fcq-chart-wrap {
	position: relative;
	max-width: 100%;
	height: 260px;
	margin: 4px auto 16px;
}

.fcq-radar-svg {
	width: 100%;
	height: 100%;
	display: block;
}

.fcq-radar-label {
	font-size: 12px;
	font-family: inherit;
	fill: #1e3a8a;
}

@media (max-width: 480px) {
	.fcq-chart-wrap {
		height: 220px;
	}
	.fcq-radar-label {
		font-size: 10px;
	}
}

.fcq-analysis-text {
	line-height: 2;
	font-size: 15px;
	background: rgba(255, 255, 255, 0.5);
	border-radius: 12px;
	padding: 16px;
	margin-bottom: 20px;
}

.fcq-cta-btn {
	display: block;
	width: 100%;
	min-height: 54px;
	text-align: center;
	line-height: 54px;
	border-radius: 14px;
	color: #fff;
	font-weight: 800;
	font-size: 17px;
	text-decoration: none;
	background: linear-gradient(90deg, var(--fcq-blue-dark), var(--fcq-blue-navy));
	box-shadow: 0 6px 20px rgba(29, 78, 216, 0.4);
	animation: fcqPulse 2.2s ease-in-out infinite;
}

@keyframes fcqPulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.02); }
}

.fcq-loading {
	text-align: center;
	padding: 40px 0;
	color: #6b7280;
}

/* Mobile-first responsive rules */
@media (max-width: 480px) {
	.fcq-app {
		margin: 12px auto;
		padding: 0 12px;
	}
	.fcq-card {
		padding: 20px 16px;
	}
	.fcq-nav-row {
		flex-direction: column;
	}
	.fcq-question-text {
		font-size: 17px;
	}
	.fcq-result-total {
		font-size: 32px;
	}
}
