/* Nazzelha Design System - Modern Dark RTL SaaS */
:root {
	--bg: #080a12;
	--bg-elevated: #0f1424;
	--bg-card: rgba(17, 24, 43, 0.7);
	--bg-card-hover: rgba(26, 36, 64, 0.85);
	--bg-input: rgba(12, 17, 30, 0.8);
	--fg: #f8fafc;
	--fg-muted: #94a3b8;
	--fg-dim: #64748b;
	--accent-purple: #8b5cf6;
	--accent-purple-glow: rgba(139, 92, 246, 0.35);
	--accent-cyan: #22d3ee;
	--accent-cyan-glow: rgba(34, 211, 238, 0.35);
	--gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 50%, #22d3ee 100%);
	--gradient-btn: linear-gradient(135deg, #7c3aed 0%, #6366f1 50%, #0ea5e9 100%);
	--border-subtle: rgba(255, 255, 255, 0.08);
	--border-focus: rgba(139, 92, 246, 0.5);
	--border-glow: rgba(34, 211, 238, 0.3);
	--danger: #ef4444;
	--danger-bg: rgba(239, 68, 68, 0.12);
	--warning: #f59e0b;
	--warning-bg: rgba(245, 158, 11, 0.12);
	--success: #10b981;
	--success-bg: rgba(16, 185, 129, 0.12);
	--info: #0ea5e9;
	--info-bg: rgba(14, 165, 233, 0.12);
	--radius-sm: 8px;
	--radius: 14px;
	--radius-lg: 20px;
	--radius-full: 9999px;
	--font: 'Cairo', system-ui, -apple-system, sans-serif;
	--shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6), 0 0 1px 1px rgba(255, 255, 255, 0.05);
	--shadow-glow: 0 0 35px rgba(139, 92, 246, 0.25);
	--shadow-glow-cyan: 0 0 30px rgba(34, 211, 238, 0.2);
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	direction: rtl;
	text-align: right;
}

body {
	background-color: var(--bg);
	color: var(--fg);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
	overflow-x: hidden;
	position: relative;
}

/* Futuristic background elements */
.bg-grid-overlay {
	position: fixed;
	inset: 0;
	background-image: 
		linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
	background-size: 40px 40px;
	pointer-events: none;
	z-index: 0;
}

.bg-ambient-glow-1 {
	position: fixed;
	top: -10%;
	right: 10%;
	width: 500px;
	height: 500px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
	filter: blur(80px);
	pointer-events: none;
	z-index: 0;
}

.bg-ambient-glow-2 {
	position: fixed;
	top: 30%;
	left: -5%;
	width: 450px;
	height: 450px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(34, 211, 238, 0.12) 0%, transparent 70%);
	filter: blur(80px);
	pointer-events: none;
	z-index: 0;
}

/* Layout Containers */
.app-wrapper {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.25rem;
}

/* Navbar */
.navbar {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(8, 10, 18, 0.85);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--border-subtle);
	transition: all 0.3s ease;
}

.navbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
}

.brand-logo {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	color: var(--fg);
	font-weight: 800;
	font-size: 1.35rem;
}

.brand-icon {
	width: 40px;
	height: 40px;
	border-radius: var(--radius-sm);
	background: var(--gradient-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	box-shadow: 0 0 15px var(--accent-purple-glow);
}

.brand-badge {
	font-size: 0.7rem;
	padding: 0.2rem 0.6rem;
	border-radius: var(--radius-full);
	background: rgba(139, 92, 246, 0.15);
	color: var(--accent-purple);
	border: 1px solid rgba(139, 92, 246, 0.3);
	font-weight: 600;
}

.nav-links {
	display: none;
	align-items: center;
	gap: 1.75rem;
	list-style: none;
}

.nav-link {
	color: var(--fg-muted);
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 500;
	transition: color 0.2s ease;
	position: relative;
	padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
	color: var(--fg);
}

.nav-link:hover::after, .nav-link.active::after {
	content: '';
	position: absolute;
	bottom: 0;
	right: 0;
	left: 0;
	height: 2px;
	background: var(--gradient-primary);
	border-radius: 2px;
}

.nav-actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.menu-toggle-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: var(--radius-sm);
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	color: var(--fg);
	cursor: pointer;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
	position: fixed;
	top: 72px;
	right: 0;
	left: 0;
	bottom: 0;
	background: rgba(8, 10, 18, 0.98);
	backdrop-filter: blur(20px);
	z-index: 49;
	display: flex;
	flex-direction: column;
	padding: 2rem 1.5rem;
	gap: 1.5rem;
	transform: translateY(-100%);
	opacity: 0;
	pointer-events: none;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-drawer.open {
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
}

.mobile-nav-link {
	color: var(--fg);
	font-size: 1.25rem;
	font-weight: 600;
	text-decoration: none;
	padding: 0.75rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* Buttons */
.btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: var(--gradient-btn);
	color: #ffffff;
	padding: 0.75rem 1.4rem;
	border-radius: var(--radius);
	font-family: inherit;
	font-weight: 600;
	font-size: 0.95rem;
	border: 1px solid rgba(255, 255, 255, 0.15);
	cursor: pointer;
	text-decoration: none;
	box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover:not(:disabled) {
	transform: translateY(-2px);
	box-shadow: 0 6px 25px rgba(124, 58, 237, 0.45);
	border-color: rgba(255, 255, 255, 0.3);
}

.btn-primary:disabled {
	opacity: 0.55;
	cursor: not-allowed;
	transform: none;
}

.btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: rgba(255, 255, 255, 0.05);
	color: var(--fg);
	padding: 0.75rem 1.25rem;
	border-radius: var(--radius);
	font-family: inherit;
	font-weight: 600;
	font-size: 0.95rem;
	border: 1px solid var(--border-subtle);
	cursor: pointer;
	text-decoration: none;
	transition: all 0.2s ease;
}

.btn-secondary:hover:not(:disabled) {
	background: rgba(255, 255, 255, 0.09);
	border-color: rgba(255, 255, 255, 0.2);
}

.btn-ghost {
	background: transparent;
	border: none;
	color: var(--fg-muted);
	padding: 0.5rem 0.75rem;
	border-radius: var(--radius-sm);
	font-family: inherit;
	font-weight: 500;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	transition: color 0.2s ease;
}

.btn-ghost:hover {
	color: var(--fg);
	background: rgba(255, 255, 255, 0.04);
}

.btn-sm {
	padding: 0.4rem 0.8rem;
	font-size: 0.825rem;
	border-radius: var(--radius-sm);
}

.btn-icon-only {
	width: 40px;
	height: 40px;
	padding: 0;
	border-radius: var(--radius-sm);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* Hero Section */
.hero-section {
	padding: 4rem 0 3rem;
	position: relative;
}

.hero-content {
	display: grid;
	gap: 2.5rem;
	align-items: center;
}

.hero-text-block {
	text-align: center;
	max-width: 780px;
	margin: 0 auto;
}

.hero-pill-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.4rem 1rem;
	border-radius: var(--radius-full);
	background: rgba(139, 92, 246, 0.12);
	border: 1px solid rgba(139, 92, 246, 0.3);
	color: #c4b5fd;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
	backdrop-filter: blur(8px);
}

.hero-pill-badge .dot {
	width: 7px;
	height: 7px;
	background: var(--accent-cyan);
	border-radius: 50%;
	box-shadow: 0 0 8px var(--accent-cyan);
	animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
	font-size: clamp(2rem, 5vw, 3.25rem);
	font-weight: 900;
	line-height: 1.25;
	letter-spacing: -0.02em;
	margin-bottom: 1.25rem;
}

.hero-title .gradient-text {
	background: var(--gradient-primary);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	display: inline-block;
}

.hero-subtitle {
	font-size: clamp(1rem, 2.5vw, 1.2rem);
	color: var(--fg-muted);
	line-height: 1.7;
	margin-bottom: 2rem;
}

/* Modern Analyzer Input Bar */
.analyzer-card {
	background: var(--bg-card);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-lg);
	padding: 1.5rem;
	box-shadow: var(--shadow-card), 0 0 30px rgba(139, 92, 246, 0.08);
	position: relative;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.analyzer-card:focus-within {
	border-color: var(--border-focus);
	box-shadow: var(--shadow-card), 0 0 40px rgba(139, 92, 246, 0.2);
}

.analyzer-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.analyzer-input-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	background: var(--bg-input);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius);
	padding: 0.35rem 0.5rem 0.35rem 0.75rem;
	transition: all 0.2s ease;
}

.analyzer-input-wrapper:focus-within {
	border-color: var(--accent-cyan);
	background: rgba(14, 20, 36, 0.95);
}

.analyzer-icon {
	color: var(--accent-cyan);
	font-size: 1.2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-left: 0.5rem;
}

.analyzer-input {
	flex: 1;
	background: transparent;
	border: none;
	outline: none;
	color: var(--fg);
	font-family: inherit;
	font-size: 1.05rem;
	padding: 0.6rem 0.5rem;
	direction: ltr;
	text-align: right;
}

.analyzer-input::placeholder {
	color: var(--fg-dim);
	direction: rtl;
	text-align: right;
}

.input-actions {
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

.input-action-btn {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.06);
	color: var(--fg-muted);
	border-radius: var(--radius-sm);
	padding: 0.4rem 0.7rem;
	font-size: 0.8rem;
	font-family: inherit;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 0.3rem;
	transition: all 0.2s;
}

.input-action-btn:hover {
	background: rgba(255, 255, 255, 0.12);
	color: var(--fg);
}

.analyzer-bottom-row {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	justify-content: space-between;
	align-items: stretch;
}

.legal-inline-notice {
	font-size: 0.825rem;
	color: var(--fg-muted);
	display: flex;
	align-items: center;
	gap: 0.45rem;
}

.legal-inline-notice svg {
	color: var(--accent-cyan);
	flex-shrink: 0;
}

/* Quick Demo Badges */
.demo-examples-wrapper {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.demo-examples-title {
	font-size: 0.8rem;
	color: var(--fg-dim);
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.demo-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.demo-pill-btn {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.07);
	color: var(--fg-muted);
	border-radius: var(--radius-full);
	padding: 0.35rem 0.85rem;
	font-size: 0.78rem;
	font-family: inherit;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	transition: all 0.2s ease;
}

.demo-pill-btn:hover {
	background: rgba(139, 92, 246, 0.12);
	border-color: rgba(139, 92, 246, 0.35);
	color: #c4b5fd;
	transform: translateY(-1px);
}

/* Hero Futuristic Telemetry / Visual Element */
.hero-telemetry-card {
	background: rgba(14, 20, 36, 0.7);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-lg);
	padding: 1.25rem;
	backdrop-filter: blur(12px);
	display: grid;
	gap: 1rem;
}

.telemetry-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	padding-bottom: 0.75rem;
}

.telemetry-status {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.8rem;
	color: var(--success);
}

.telemetry-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.75rem;
}

.telemetry-metric {
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.04);
	border-radius: var(--radius-sm);
	padding: 0.6rem;
	text-align: center;
}

.telemetry-metric .val {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--accent-cyan);
}

.telemetry-metric .lbl {
	font-size: 0.7rem;
	color: var(--fg-dim);
}

/* Analysis Processing State */
.loading-steps-card {
	background: var(--bg-card);
	border: 1px solid rgba(139, 92, 246, 0.25);
	border-radius: var(--radius-lg);
	padding: 2rem;
	text-align: center;
	box-shadow: var(--shadow-glow);
	display: grid;
	gap: 1.5rem;
	animation: fadeIn 0.3s ease;
}

.progress-bar-container {
	width: 100%;
	height: 8px;
	background: rgba(255, 255, 255, 0.06);
	border-radius: var(--radius-full);
	overflow: hidden;
	position: relative;
}

.progress-bar-fill {
	height: 100%;
	background: var(--gradient-primary);
	border-radius: var(--radius-full);
	transition: width 0.4s ease;
	box-shadow: 0 0 12px var(--accent-cyan);
}

.steps-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	text-align: right;
	max-width: 400px;
	margin: 0 auto;
}

.step-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.9rem;
	color: var(--fg-dim);
	transition: color 0.3s ease;
}

.step-item.active {
	color: var(--accent-cyan);
	font-weight: 600;
}

.step-item.completed {
	color: var(--success);
}

.step-icon {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border-subtle);
}

.step-item.active .step-icon {
	background: rgba(34, 211, 238, 0.15);
	border-color: var(--accent-cyan);
	color: var(--accent-cyan);
	animation: spin 1s linear infinite;
}

.step-item.completed .step-icon {
	background: rgba(16, 185, 129, 0.15);
	border-color: var(--success);
	color: var(--success);
}

/* Result Cards */
.result-card {
	background: var(--bg-card);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(139, 92, 246, 0.3);
	border-radius: var(--radius-lg);
	padding: 1.75rem;
	box-shadow: var(--shadow-card), 0 0 40px rgba(139, 92, 246, 0.15);
	margin-top: 2rem;
	animation: slideUp 0.4s ease;
	position: relative;
	overflow: hidden;
}

.demo-banner-strip {
	background: linear-gradient(90deg, rgba(245, 158, 11, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
	border-bottom: 1px solid rgba(245, 158, 11, 0.25);
	margin: -1.75rem -1.75rem 1.5rem -1.75rem;
	padding: 0.75rem 1.75rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.demo-banner-title {
	font-size: 0.85rem;
	font-weight: 700;
	color: #fbbf24;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.demo-tag {
	background: rgba(245, 158, 11, 0.2);
	border: 1px solid rgba(245, 158, 11, 0.4);
	color: #fef08a;
	padding: 0.15rem 0.5rem;
	border-radius: var(--radius-full);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.05em;
}

.result-main-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

.thumbnail-box {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: var(--radius);
	overflow: hidden;
	background: #1e1e2d;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.thumbnail-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.thumbnail-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 0.75rem;
}

.source-badge {
	align-self: flex-start;
	background: rgba(0, 0, 0, 0.75);
	backdrop-filter: blur(4px);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.25rem 0.6rem;
	border-radius: var(--radius-sm);
	border: 1px solid rgba(255, 255, 255, 0.15);
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

.duration-badge {
	align-self: flex-end;
	background: rgba(0, 0, 0, 0.85);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0.2rem 0.5rem;
	border-radius: 4px;
	font-family: monospace;
}

.result-info-col {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.result-title {
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--fg);
}

.result-meta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	font-size: 0.825rem;
	color: var(--fg-muted);
}

.meta-item {
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

/* Quality Selection */
.quality-selector-block {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.section-label {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--fg-muted);
}

.quality-options-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	gap: 0.65rem;
}

.quality-option-btn {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius-sm);
	padding: 0.75rem 0.6rem;
	text-align: center;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.2rem;
}

.quality-option-btn:hover {
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(255, 255, 255, 0.2);
}

.quality-option-btn.selected {
	background: rgba(139, 92, 246, 0.15);
	border-color: var(--accent-purple);
	box-shadow: 0 0 15px rgba(139, 92, 246, 0.25);
}

.quality-res {
	font-size: 1rem;
	font-weight: 700;
	color: var(--fg);
}

.quality-ext {
	font-size: 0.725rem;
	color: var(--accent-cyan);
	font-weight: 600;
}

.quality-size {
	font-size: 0.75rem;
	color: var(--fg-dim);
}

/* Result Actions */
.result-actions-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 0.5rem;
}

.action-disclaimer {
	font-size: 0.78rem;
	color: var(--fg-dim);
	padding: 0.75rem;
	background: rgba(255, 255, 255, 0.02);
	border-radius: var(--radius-sm);
	border: 1px solid rgba(255, 255, 255, 0.04);
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	line-height: 1.5;
}

/* States: Alert Strips & Feedback Cards */
.state-box {
	background: var(--bg-card);
	border-radius: var(--radius-lg);
	padding: 2rem;
	text-align: center;
	display: grid;
	gap: 1rem;
	margin-top: 2rem;
	border: 1px solid var(--border-subtle);
	animation: fadeIn 0.3s ease;
}

.state-box.error {
	border-color: rgba(239, 68, 68, 0.3);
	background: rgba(239, 68, 68, 0.05);
}

.state-box.warning {
	border-color: rgba(245, 158, 11, 0.3);
	background: rgba(245, 158, 11, 0.05);
}

.state-icon-large {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	font-size: 1.5rem;
}

.state-box.error .state-icon-large {
	background: rgba(239, 68, 68, 0.15);
	color: var(--danger);
	border: 1px solid rgba(239, 68, 68, 0.3);
}

.state-box.warning .state-icon-large {
	background: rgba(245, 158, 11, 0.15);
	color: var(--warning);
	border: 1px solid rgba(245, 158, 11, 0.3);
}

.state-title {
	font-size: 1.2rem;
	font-weight: 700;
}

.state-desc {
	font-size: 0.9rem;
	color: var(--fg-muted);
	max-width: 500px;
	margin: 0 auto;
}

/* Features Section */
.section {
	padding: 5rem 0;
	position: relative;
}

.section-header {
	text-align: center;
	max-width: 650px;
	margin: 0 auto 3rem;
}

.section-badge {
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--accent-cyan);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.5rem;
	display: block;
}

.section-title {
	font-size: clamp(1.6rem, 3.5vw, 2.35rem);
	font-weight: 800;
	margin-bottom: 0.75rem;
}

.section-desc {
	color: var(--fg-muted);
	font-size: 1rem;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: 1.25rem;
}

.feature-card {
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius);
	padding: 1.75rem;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	position: relative;
	overflow: hidden;
}

.feature-card::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 2px;
	background: var(--gradient-primary);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.feature-card:hover {
	transform: translateY(-4px);
	border-color: rgba(139, 92, 246, 0.3);
	background: var(--bg-card-hover);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.feature-card:hover::before {
	opacity: 1;
}

.feature-icon-wrapper {
	width: 48px;
	height: 48px;
	border-radius: var(--radius-sm);
	background: rgba(139, 92, 246, 0.12);
	border: 1px solid rgba(139, 92, 246, 0.25);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--accent-purple);
	font-size: 1.35rem;
}

.feature-card:nth-child(2n) .feature-icon-wrapper {
	background: rgba(34, 211, 238, 0.12);
	border-color: rgba(34, 211, 238, 0.25);
	color: var(--accent-cyan);
}

.feature-card-title {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--fg);
}

.feature-card-desc {
	font-size: 0.9rem;
	color: var(--fg-muted);
	line-height: 1.6;
}

/* How It Works (Steps) */
.steps-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
	gap: 1.25rem;
	position: relative;
}

.step-box-card {
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius);
	padding: 1.75rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	position: relative;
}

.step-num-pill {
	font-size: 1.4rem;
	font-weight: 900;
	background: var(--gradient-primary);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	display: inline-block;
	font-family: monospace;
}

.step-box-title {
	font-size: 1.1rem;
	font-weight: 700;
}

.step-box-desc {
	font-size: 0.875rem;
	color: var(--fg-muted);
}

.steps-alert-notice {
	margin-top: 2rem;
	background: rgba(139, 92, 246, 0.08);
	border: 1px solid rgba(139, 92, 246, 0.2);
	border-radius: var(--radius);
	padding: 1rem 1.25rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.875rem;
	color: #c4b5fd;
}

/* FAQ Accordion */
.faq-accordion {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius);
	overflow: hidden;
	transition: all 0.2s ease;
}

.faq-item.open {
	border-color: rgba(139, 92, 246, 0.35);
	background: var(--bg-card-hover);
}

.faq-header {
	width: 100%;
	background: transparent;
	border: none;
	padding: 1.25rem 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: var(--fg);
	font-family: inherit;
	font-size: 1.05rem;
	font-weight: 600;
	cursor: pointer;
	text-align: right;
	direction: rtl;
}

.faq-icon-arrow {
	transition: transform 0.3s ease;
	color: var(--accent-cyan);
}

.faq-item.open .faq-icon-arrow {
	transform: rotate(180deg);
}

.faq-body {
	padding: 0 1.5rem 1.25rem;
	color: var(--fg-muted);
	font-size: 0.925rem;
	line-height: 1.7;
	border-top: 1px solid rgba(255, 255, 255, 0.04);
	padding-top: 1rem;
	animation: fadeIn 0.2s ease;
}

/* Architecture & Future Backend Documentation Card */
.dev-architecture-card {
	background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(24, 18, 48, 0.95) 100%);
	border: 1px solid rgba(139, 92, 246, 0.3);
	border-radius: var(--radius-lg);
	padding: 2rem;
	margin-top: 3rem;
	box-shadow: var(--shadow-card);
}

.code-snippet-box {
	background: #06080e;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius-sm);
	padding: 1.25rem;
	font-family: 'Courier New', Courier, monospace;
	font-size: 0.85rem;
	color: #38bdf8;
	direction: ltr;
	text-align: left;
	overflow-x: auto;
	margin-top: 1rem;
}

/* Modals */
.modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(8px);
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	animation: fadeIn 0.2s ease;
}

.modal-dialog {
	background: #0f1424;
	border: 1px solid rgba(139, 92, 246, 0.3);
	border-radius: var(--radius-lg);
	width: 100%;
	max-width: 680px;
	max-height: 85vh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 35px rgba(139, 92, 246, 0.2);
}

.modal-header {
	padding: 1.25rem 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid var(--border-subtle);
}

.modal-title {
	font-size: 1.25rem;
	font-weight: 700;
}

.modal-content-scroll {
	padding: 1.5rem;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	font-size: 0.925rem;
	color: var(--fg-muted);
	line-height: 1.7;
}

.modal-footer {
	padding: 1rem 1.5rem;
	border-top: 1px solid var(--border-subtle);
	display: flex;
	justify-content: flex-end;
}

/* Toast Notifications */
.toast-container {
	position: fixed;
	bottom: 1.5rem;
	left: 1.5rem;
	z-index: 150;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	pointer-events: none;
}

.toast {
	pointer-events: auto;
	background: rgba(17, 24, 43, 0.95);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(139, 92, 246, 0.3);
	border-radius: var(--radius);
	padding: 0.85rem 1.25rem;
	color: var(--fg);
	font-size: 0.9rem;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	gap: 0.75rem;
	animation: slideLeft 0.3s ease;
	max-width: 360px;
}

.toast.success { border-color: rgba(16, 185, 129, 0.4); }
.toast.info { border-color: rgba(34, 211, 238, 0.4); }
.toast.error { border-color: rgba(239, 68, 68, 0.4); }

/* Floating Back To Top Button */
.back-to-top {
	position: fixed;
	bottom: 1.5rem;
	right: 1.5rem;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	color: var(--fg);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 40;
	transition: all 0.25s ease;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.back-to-top:hover {
	background: var(--accent-purple);
	color: #fff;
	transform: translateY(-3px);
}

/* Footer */
.footer {
	margin-top: auto;
	background: #05070c;
	border-top: 1px solid var(--border-subtle);
	padding: 3.5rem 0 2rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 2.5rem;
	margin-bottom: 2.5rem;
}

.footer-col {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.footer-brand-desc {
	font-size: 0.875rem;
	color: var(--fg-muted);
	line-height: 1.6;
}

.footer-col-title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--fg);
}

.footer-links-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.footer-links-list a, .footer-links-list button {
	color: var(--fg-muted);
	text-decoration: none;
	font-size: 0.875rem;
	background: transparent;
	border: none;
	padding: 0;
	font-family: inherit;
	cursor: pointer;
	text-align: right;
	transition: color 0.2s ease;
}

.footer-links-list a:hover, .footer-links-list button:hover {
	color: var(--accent-cyan);
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	padding-top: 1.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	text-align: center;
	font-size: 0.825rem;
	color: var(--fg-dim);
}

/* Responsive Media Queries */
@media (min-width: 768px) {
	.nav-links {
		display: flex;
	}

	.menu-toggle-btn {
		display: none;
	}

	.analyzer-bottom-row {
		flex-direction: row;
		align-items: center;
	}

	.result-main-grid {
		grid-template-columns: 320px 1fr;
	}

	.hero-content {
		grid-template-columns: 1fr;
	}

	.footer-bottom {
		flex-direction: row;
		justify-content: space-between;
	}
}

@media (min-width: 1024px) {
	.hero-content-split {
		display: grid;
		grid-template-columns: 1.2fr 0.8fr;
		gap: 2rem;
		align-items: center;
	}
}

/* Keyframes */
@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

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

@keyframes slideLeft {
	from { opacity: 0; transform: translateX(-20px); }
	to { opacity: 1; transform: translateX(0); }
}

@keyframes spin {
	to { transform: rotate(360deg); }
}
