/* Ava AI Landing — glassmorphism theme */
:root {
	--primary: #0c6fff;
	--primary-dark: #0856cc;
	--gradient-a: #6b7dff;
	--gradient-b: #8b71ff;
	--gradient-c: #5da5ff;
	--bg: #f0f4ff;
	--bg-alt: #e8eeff;
	--text: #0f172a;
	--text-secondary: #64748b;
	--glass-bg: rgba(255, 255, 255, 0.55);
	--glass-border: rgba(255, 255, 255, 0.75);
	--glass-shadow: 0 8px 32px rgba(12, 111, 255, 0.08);
	--nav-height: 72px;
	--radius: 20px;
	--font-en: "DM Sans", system-ui, sans-serif;
	/* Vazirmatn loaded locally from assets/fonts/vazirmatn/ (see css/fonts.css) */
	--font-fa: "Vazirmatn", Tahoma, system-ui, sans-serif;
}

html[data-lang="fa"] {
	--font-body: var(--font-fa);
}

html[data-lang="en"] {
	--font-body: var(--font-en);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-body, var(--font-en));
	color: var(--text);
	background: var(--bg);
	overflow-x: hidden;
	padding-top: var(--nav-height);
}

html[data-lang="fa"] body {
	font-family: var(--font-fa);
}

#particle-canvas {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: 0.45;
}

.bg-orbs {
	position: fixed;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}

.orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.5;
	animation: orb-float 18s ease-in-out infinite;
}

.orb-1 {
	width: 420px;
	height: 420px;
	background: var(--gradient-a);
	top: -120px;
	inset-inline-end: -80px;
}

.orb-2 {
	width: 360px;
	height: 360px;
	background: var(--gradient-b);
	bottom: 10%;
	inset-inline-start: -100px;
	animation-delay: -6s;
}

.orb-3 {
	width: 300px;
	height: 300px;
	background: var(--gradient-c);
	top: 45%;
	inset-inline-end: 20%;
	animation-delay: -12s;
}

@keyframes orb-float {
	0%,
	100% {
		transform: translate(0, 0) scale(1);
	}
	33% {
		transform: translate(30px, -40px) scale(1.05);
	}
	66% {
		transform: translate(-20px, 30px) scale(0.95);
	}
}

section,
footer,
nav {
	position: relative;
	z-index: 1;
}

.text-gradient {
	background: linear-gradient(135deg, var(--primary), var(--gradient-b));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* Glass utilities */
.glass-card {
	background: var(--glass-bg);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius);
	box-shadow: var(--glass-shadow);
	transition:
		transform 0.35s ease,
		box-shadow 0.35s ease;
}

.glass-card:hover {
	box-shadow: 0 16px 48px rgba(12, 111, 255, 0.12);
}

.glass-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.4rem 1rem;
	background: var(--glass-bg);
	backdrop-filter: blur(12px);
	border: 1px solid var(--glass-border);
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 500;
}

.glass-nav {
	background: rgba(255, 255, 255, 0.72);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.8);
	padding-top: 0.65rem;
	padding-bottom: 0.65rem;
	transition:
		box-shadow 0.3s ease,
		background 0.3s ease;
}

.glass-nav.scrolled {
	box-shadow: 0 4px 24px rgba(12, 111, 255, 0.1);
	background: rgba(255, 255, 255, 0.88);
}

.brand-icon {
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(12, 111, 255, 0.25);
}

.brand-text {
	font-weight: 700;
	font-size: 1.15rem;
}

.nav-link {
	font-weight: 500;
	color: var(--text-secondary) !important;
	padding: 0.5rem 0.85rem !important;
	border-radius: 10px;
	transition:
		color 0.2s,
		background 0.2s;
}

.nav-link:hover,
.nav-link.active {
	color: var(--primary) !important;
	background: rgba(12, 111, 255, 0.08);
}

.btn-primary {
	--bs-btn-bg: var(--primary);
	--bs-btn-border-color: var(--primary);
	--bs-btn-hover-bg: var(--primary-dark);
	--bs-btn-hover-border-color: var(--primary-dark);
	border-radius: 12px;
	font-weight: 600;
}

.btn-glow {
	box-shadow: 0 8px 28px rgba(12, 111, 255, 0.35);
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
}

.btn-glow:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 36px rgba(12, 111, 255, 0.45);
}

.btn-glass {
	background: var(--glass-bg);
	backdrop-filter: blur(12px);
	border: 1px solid var(--glass-border);
	color: var(--text);
	border-radius: 12px;
	font-weight: 600;
}

.btn-glass:hover {
	background: rgba(255, 255, 255, 0.85);
	color: var(--primary);
	border-color: rgba(12, 111, 255, 0.2);
}

.lang-toggle {
	min-width: 42px;
	font-weight: 700;
	font-size: 0.75rem;
}

/* Sections */
.section-pad {
	padding: 5rem 0;
}

.section-pad-sm {
	padding: 3rem 0;
}

.section-alt {
	background: linear-gradient(
		180deg,
		transparent,
		var(--bg-alt) 20%,
		var(--bg-alt) 80%,
		transparent
	);
}

.section-tag {
	color: var(--primary);
	font-weight: 600;
}

.section-title {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
	letter-spacing: -0.02em;
}

.section-sub {
	max-width: 560px;
}

.section-head {
	margin-bottom: 0.5rem;
}

/* Hero */
.hero {
	min-height: calc(100vh - var(--nav-height));
	display: flex;
	align-items: center;
}

.hero-title {
	font-size: clamp(2.25rem, 5vw, 3.25rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.03em;
}

.hero-lead {
	font-size: 1.125rem;
	max-width: 520px;
}

.pulse-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #22c55e;
	box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
	animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
	0% {
		box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
	}
	70% {
		box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
	}
}

.stat-value {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--primary);
}

.stat-value[data-suffix]::after {
	content: attr(data-suffix);
	font-size: 0.9rem;
}

.stat-label {
	font-size: 0.7rem;
	color: var(--text-secondary);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* Phone mockup */
.hero-phone-wrap {
	position: relative;
	display: flex;
	justify-content: center;
	padding: 2rem 0;
}

.phone-glow {
	position: absolute;
	width: min(360px, 90vw);
	height: min(360px, 90vw);
	background: radial-gradient(
		circle,
		rgba(12, 111, 255, 0.35),
		transparent 70%
	);
	border-radius: 50%;
	top: 50%;
	inset-inline-start: 50%;
	transform: translate(-50%, -50%);
	animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
	0%,
	100% {
		opacity: 0.6;
		transform: translate(-50%, -50%) scale(1);
	}
	50% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1.1);
	}
}

/* iPhone frame mockup — screen insets match assets/images/mockup.png */
.iphone-mockup {
	--iphone-screen-top: 2.35%;
	--iphone-screen-side: 4.75%;
	--iphone-screen-bottom: 2.35%;
	--iphone-screen-radius: 11.5%;
	--iphone-safe-top: 12%;

	position: relative;
	width: min(320px, 78vw);
	aspect-ratio: 1745 / 3440;
	filter: drop-shadow(0 32px 64px rgba(15, 23, 42, 0.28));
	z-index: 2;
}

.float-anim {
	animation: float-phone 5s ease-in-out infinite;
}

@keyframes float-phone {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-14px);
	}
}

.iphone-frame {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	z-index: 2;
	pointer-events: none;
	user-select: none;
}

.iphone-screen-inner {
	position: absolute;
	top: var(--iphone-screen-top);
	right: var(--iphone-screen-side);
	bottom: var(--iphone-screen-bottom);
	left: var(--iphone-screen-side);
	z-index: 1;
	border-radius: var(--iphone-screen-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	background: #f8fafc;
}

.phone-screen {
	min-height: 0;
}

.mock-header {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	background: linear-gradient(135deg, var(--gradient-a), var(--gradient-c));
	color: #fff;
	flex-shrink: 0;
	padding-top: var(--iphone-safe-top);
}

.mock-avatar {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	object-fit: cover;
	border: 2px solid rgba(255, 255, 255, 0.5);
}

.mock-header small {
	color: rgba(255, 255, 255, 0.85) !important;
}

.mock-chat {
	flex: 1;
	min-height: 0;
	padding: 8px 14px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	overflow: hidden;
}

.mock-chat .bubble:nth-child(1) {
	animation-delay: 0.15s;
}
.mock-chat .bubble:nth-child(2) {
	animation-delay: 0.3s;
}
.mock-chat .bubble:nth-child(3) {
	animation-delay: 0.45s;
}
.mock-chat .bubble:nth-child(4) {
	animation-delay: 0.6s;
}
.mock-chat .bubble:nth-child(5) {
	animation-delay: 0.75s;
}

.bubble {
	max-width: 88%;
	padding: 7px 10px;
	border-radius: 14px;
	font-size: 0.68rem;
	line-height: 1.35;
	animation: bubble-in 0.6s ease backwards;
}

.bubble-row-ava {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
	max-width: 100%;
	animation: bubble-in 0.6s ease backwards;
	animation-delay: 0.2s;
}

.bubble-row-ava .bubble-ava {
	animation: none;
}

.bubble-ava {
	align-self: flex-start;
	background: #fff;
	border: 1px solid #e2e8f0;
}

.bubble-actions {
	display: flex;
	align-items: center;
	gap: 5px;
	padding-top: 4px;
}

.bubble-action-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid #e2e8f0;
	color: var(--primary);
	font-size: 0.62rem;
	line-height: 1;
	box-shadow: 0 2px 6px rgba(12, 111, 255, 0.08);
}

.bubble-user {
	align-self: flex-end;
	background: var(--primary);
	color: #fff;
}

.bubble.typing {
	display: flex;
	gap: 4px;
	padding: 12px 16px;
}

.bubble.typing span {
	width: 7px;
	height: 7px;
	background: #94a3b8;
	border-radius: 50%;
	animation: typing-bounce 1.2s infinite;
}

.bubble.typing span:nth-child(2) {
	animation-delay: 0.15s;
}
.bubble.typing span:nth-child(3) {
	animation-delay: 0.3s;
}

@keyframes typing-bounce {
	0%,
	60%,
	100% {
		transform: translateY(0);
	}
	30% {
		transform: translateY(-6px);
	}
}

@keyframes bubble-in {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.mock-input {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 8px 20px 18px;
	padding: 9px 12px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px 12px 30px 30px;
	font-size: 0.68rem;
	color: var(--text-secondary);
	flex-shrink: 0;
}

.mock-input i {
	color: var(--primary);
	font-size: 1.1rem;
}

.floating-chip {
	position: absolute;
	z-index: 3;
	font-size: 0.8rem;
	font-weight: 600;
	animation: chip-float 6s ease-in-out infinite;
}

.chip-1 {
	top: 6%;
	inset-inline-start: -2%;
	animation-delay: 0s;
}

.chip-2 {
	bottom: 10%;
	inset-inline-end: -6%;
	animation-delay: -3s;
}

@keyframes chip-float {
	0%,
	100% {
		transform: translateY(0) rotate(-2deg);
	}
	50% {
		transform: translateY(-8px) rotate(2deg);
	}
}

/* Features */
.feature-card {
	padding: 1.75rem;
}

.feature-card:hover {
	transform: translateY(-6px);
}

.feature-icon {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.35rem;
	color: #fff;
	margin-bottom: 1.25rem;
}

.gradient-1 {
	background: linear-gradient(135deg, var(--primary), var(--gradient-c));
}
.gradient-2 {
	background: linear-gradient(135deg, #8b71ff, #c084fc);
}
.gradient-3 {
	background: linear-gradient(135deg, #0ea5e9, #38bdf8);
}
.gradient-4 {
	background: linear-gradient(135deg, #10b981, #34d399);
}
.gradient-5 {
	background: linear-gradient(135deg, #f59e0b, #fbbf24);
}
.gradient-6 {
	background: linear-gradient(135deg, #ec4899, #f472b6);
}

.feature-card h3 {
	font-size: 1.15rem;
	font-weight: 700;
	margin-bottom: 0.65rem;
}

/* Steps */
.steps-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.step-item {
	display: flex;
	align-items: flex-start;
	gap: 1.25rem;
	padding-block: 1.35rem;
	padding-inline: 1.5rem;
	text-align: start;
}

.step-num {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1.1rem;
	color: #fff;
	background: linear-gradient(135deg, var(--primary), var(--gradient-b));
	border-radius: 12px;
}

.step-item h4 {
	font-size: 1.05rem;
	font-weight: 700;
	margin-bottom: 0.35rem;
}

/* Testimonials */
.testimonial-card {
	margin: 0;
	padding: 1.75rem 1.65rem;
	text-align: start;
	border: none;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	transition:
		transform 0.35s ease,
		box-shadow 0.35s ease;
}

.testimonial-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 48px rgba(12, 111, 255, 0.12);
}

.testimonial-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
}

.testimonial-author {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	min-width: 0;
}

.testimonial-avatar {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.15rem;
	font-weight: 700;
	color: #fff;
	background: linear-gradient(135deg, var(--primary), var(--gradient-b));
	border-radius: 14px;
}

.testimonial-avatar--alt {
	background: linear-gradient(135deg, #10b981, #34d399);
}

.testimonial-name {
	display: block;
	font-style: normal;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--text);
	line-height: 1.3;
}

.testimonial-topic {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--primary);
}

.testimonial-quote-icon {
	flex-shrink: 0;
	font-size: 2rem;
	line-height: 1;
	color: var(--primary);
	opacity: 0.35;
}

.testimonial-text {
	font-size: 1rem;
	line-height: 1.75;
	color: var(--text-secondary);
}

html[dir="rtl"] .testimonial-text {
	line-height: 1.9;
}

/* Pricing comparison table */
.pricing-highlight {
	padding: 1.35rem 1.5rem;
}

.pricing-highlight-label {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--text-secondary);
	margin: 0;
}

.pricing-highlight-price {
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--primary);
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.55rem 0.75rem;
}

.pricing-highlight-old {
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-secondary);
	text-decoration: line-through;
}

.compare-table-wrap {
	padding: 0;
	overflow: hidden;
}

.compare-table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.compare-table {
	width: 100%;
	min-width: 720px;
	border-collapse: collapse;
	margin: 0;
	font-size: 0.9rem;
	text-align: center;
	direction: inherit;
}

.compare-table th,
.compare-table td {
	border: 1px solid rgba(12, 111, 255, 0.1);
	padding: 0.85rem 0.75rem;
	vertical-align: middle;
}

.compare-table thead th {
	background: rgba(12, 111, 255, 0.06);
	color: var(--text);
	font-weight: 700;
	font-size: 0.82rem;
	line-height: 1.35;
}

.compare-table tbody th[scope="row"] {
	text-align: start;
	background: rgba(255, 255, 255, 0.45);
	color: var(--text);
	font-weight: 700;
	font-size: 0.88rem;
	white-space: nowrap;
}

.compare-table tbody td {
	color: var(--text-secondary);
	font-size: 0.88rem;
	line-height: 1.4;
}

.compare-table tbody tr:hover td,
.compare-table tbody tr:hover th[scope="row"] {
	background: rgba(12, 111, 255, 0.04);
}

.compare-ava {
	background: rgba(12, 111, 255, 0.1) !important;
	color: var(--primary-dark) !important;
	font-weight: 700;
}

.compare-table thead .compare-ava {
	background: linear-gradient(
		135deg,
		rgba(12, 111, 255, 0.18),
		rgba(107, 125, 255, 0.14)
	);
	color: var(--primary-dark);
}

.compare-table-note {
	max-width: 42rem;
	margin-inline: auto;
}

html[dir="rtl"] .pricing-highlight .text-start {
	text-align: right !important;
}

/* Screenshots carousel */
.screens-carousel {
	max-width: 900px;
	margin: 0 auto;
}

.screen-slide {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 2rem;
	padding: 2.5rem;
	min-height: 380px;
}

.screen-phone {
	width: 220px;
	height: 400px;
	border-radius: 28px;
	overflow: hidden;
	background: #0f172a;
	padding: 10px;
	box-shadow: 0 24px 48px rgba(15, 23, 42, 0.25);
	flex-shrink: 0;
}

.screen-phone img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 20px;
}

.mock-ui-lesson {
	background: linear-gradient(180deg, #1e3a5f, #0f172a);
	display: flex;
	align-items: flex-end;
	padding: 16px;
}

.mini-chat {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.mini-bubble {
	padding: 8px 12px;
	border-radius: 12px;
	font-size: 0.75rem;
	max-width: 90%;
}

.mini-bubble-start {
	background: rgba(255, 255, 255, 0.15);
	color: #e2e8f0;
	align-self: flex-start;
}

.mini-bubble-end {
	background: var(--primary);
	color: #fff;
	align-self: flex-end;
}

.mock-ui-words {
	background: #f8fafc;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.word-card {
	background: #fff;
	border-radius: 16px;
	padding: 1.25rem;
	width: 100%;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	text-align: center;
}

.word-card strong {
	display: block;
	font-size: 1.25rem;
	color: var(--primary);
}

.word-card small {
	color: var(--text-secondary);
}

.word-card p {
	font-size: 0.75rem;
	margin: 0.75rem 0;
	color: var(--text-secondary);
}

.mock-ui-profile {
	background: linear-gradient(160deg, var(--gradient-a), var(--gradient-b));
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.profile-stats {
	list-style: none;
	padding: 0;
	margin: 0;
	width: 100%;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(8px);
	border-radius: 16px;
	overflow: hidden;
}

.profile-stats li {
	display: flex;
	justify-content: space-between;
	padding: 14px 16px;
	color: #fff;
	font-size: 0.8rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.profile-stats li:last-child {
	border-bottom: none;
}

.profile-stats strong {
	font-size: 1rem;
}

.screen-caption {
	flex: 1;
	min-width: 220px;
	max-width: 340px;
}

.screen-caption h4 {
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.carousel-indicators [data-bs-target] {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: var(--primary);
	opacity: 0.35;
}

.carousel-indicators .active {
	opacity: 1;
}

.carousel-control-prev,
.carousel-control-next {
	width: auto;
	opacity: 1;
}

.carousel-control-icon {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	color: var(--primary);
}

/* CTA */
.cta-inner {
	background: linear-gradient(
		135deg,
		rgba(255, 255, 255, 0.7),
		rgba(255, 255, 255, 0.45)
	);
}

.cta-avatar {
	object-fit: cover;
	border: 3px solid #fff;
	box-shadow: 0 8px 24px rgba(12, 111, 255, 0.2);
}

.cta-text {
	max-width: 480px;
}

/* Download */
.download-panel {
	padding: 2rem;
}

.download-panel-head {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

.download-panel-head h3 {
	margin: 0;
	font-weight: 700;
}

.platform-icon {
	font-size: 1.75rem;
	color: var(--primary);
}

.store-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 0.85rem;
}

.store-btn {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.9rem 1rem;
	background: rgba(255, 255, 255, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: 14px;
	text-decoration: none;
	color: var(--text);
	transition:
		transform 0.25s,
		background 0.25s,
		box-shadow 0.25s;
}

.store-btn:hover {
	transform: translateY(-3px);
	background: #fff;
	box-shadow: 0 10px 28px rgba(12, 111, 255, 0.15);
	color: var(--primary);
}

.store-btn i {
	font-size: 1.5rem;
	color: var(--primary);
}

.store-btn span {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.store-btn small {
	font-size: 0.65rem;
	color: var(--text-secondary);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.store-btn strong {
	font-size: 0.9rem;
}

.store-logo {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 0.75rem;
	color: #fff;
	flex-shrink: 0;
	overflow: hidden;
	background: transparent;
}

.store-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.store-logo.bazaar {
	background: transparent;
	padding: 0;
}

.store-logo.myket {
	background: transparent;
	padding: 0;
}

.store-btn[data-disabled="true"] {
	opacity: 0.55;
	pointer-events: none;
}

/* FAQ */
.faq-accordion .accordion-item {
	border: none;
	overflow: hidden;
	border-radius: var(--radius);
}

.faq-accordion .accordion-item.glass-card {
	border-radius: var(--radius);
}

.faq-accordion .accordion-button {
	background: transparent;
	font-weight: 600;
	box-shadow: none;
	padding: 1.25rem 1.5rem;
	border-radius: var(--radius);
}

.faq-accordion .accordion-button:not(.collapsed) {
	color: var(--primary);
	background: transparent;
	border-end-end-radius: 0;
	border-end-start-radius: 0;
}

.faq-accordion .accordion-button.collapsed {
	border-radius: var(--radius);
}

.faq-accordion .accordion-button::after {
	filter: hue-rotate(180deg);
}

.faq-accordion .accordion-collapse {
	border-end-end-radius: var(--radius);
	border-end-start-radius: var(--radius);
	overflow: hidden;
}

.faq-accordion .accordion-body {
	padding: 0 1.5rem 1.25rem;
	border-end-end-radius: var(--radius);
	border-end-start-radius: var(--radius);
}

/* Footer */
.site-footer {
	position: relative;
	padding: 4rem 0 2rem;
	margin-top: 1rem;
	overflow: hidden;
}

.footer-glow {
	position: absolute;
	inset-inline: 10%;
	bottom: -120px;
	height: 280px;
	background: radial-gradient(
		ellipse at center,
		rgba(12, 111, 255, 0.18),
		transparent 70%
	);
	pointer-events: none;
}

.footer-main {
	padding: 2.5rem 2rem;
	background: linear-gradient(
		145deg,
		rgba(255, 255, 255, 0.72),
		rgba(255, 255, 255, 0.48)
	);
	border: 1px solid rgba(255, 255, 255, 0.85);
	box-shadow:
		0 20px 60px rgba(12, 111, 255, 0.1),
		inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.footer-brand-link {
	display: inline-flex;
	align-items: center;
	gap: 0.85rem;
	text-decoration: none;
	color: inherit;
	margin-bottom: 1rem;
	transition: transform 0.25s ease;
}

.footer-brand-link:hover {
	transform: translateY(-2px);
	color: inherit;
}

.footer-logo {
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(12, 111, 255, 0.22);
}

.footer-brand-name {
	display: block;
	font-size: 1.25rem;
	line-height: 1.2;
}

.footer-brand-fa {
	font-size: 0.85rem;
	margin-inline-start: 0.35rem;
}

.footer-tagline {
	font-size: 0.95rem;
	line-height: 1.55;
	max-width: 320px;
	margin-bottom: 1.35rem;
}

.footer-cta {
	font-size: 0.9rem;
}

.footer-heading {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--primary);
	margin-bottom: 1.1rem;
}

.footer-nav {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	padding: 0 !important;
}

.footer-link {
	color: var(--text-secondary);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.92rem;
	transition:
		color 0.2s ease,
		padding-inline-start 0.2s ease;
	display: inline-block;
}

.footer-nav .footer-link:hover {
	color: var(--primary);
	padding-inline-start: 0.35rem;
	padding: 0 !important;
}

.footer-contact-grid {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.footer-contact-card {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 0.85rem 1rem;
	background: rgba(255, 255, 255, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: 14px;
	text-decoration: none;
	color: inherit;
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease,
		border-color 0.25s ease;
}

.footer-contact-card:not(.is-static):hover {
	transform: translateY(-2px);
	border-color: rgba(12, 111, 255, 0.25);
	box-shadow: 0 10px 28px rgba(12, 111, 255, 0.12);
	color: inherit;
}

.footer-contact-card.is-static {
	cursor: default;
}

.footer-contact-icon {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 11px;
	background: linear-gradient(135deg, var(--primary), var(--gradient-c));
	color: #fff;
	font-size: 1rem;
	box-shadow: 0 6px 16px rgba(12, 111, 255, 0.28);
}

.footer-contact-text {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	min-width: 0;
}

.footer-contact-text small {
	font-size: 0.68rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--text-secondary);
	font-weight: 600;
}

.footer-contact-text strong {
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--text);
	word-break: break-word;
}

.footer-bottom {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1rem;
	margin-top: 1.75rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(12, 111, 255, 0.1);
}

.footer-copy {
	justify-self: start;
}

.footer-powered {
	justify-self: center;
	margin: 0;
	font-size: 0.82rem;
	color: var(--text-secondary);
	text-align: center;
	white-space: nowrap;
}

.footer-powered a {
	color: var(--primary);
	font-weight: 700;
	text-decoration: none;
}

.footer-powered a:hover {
	text-decoration: underline;
}

.footer-bottom-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	justify-self: end;
	gap: 0.65rem;
}

.footer-bottom-links .footer-link {
	font-size: 0.82rem;
}

.footer-dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: rgba(12, 111, 255, 0.35);
}

.footer-link[data-disabled="true"] {
	opacity: 0.5;
	pointer-events: none;
}

@media (max-width: 767.98px) {
	.footer-main {
		padding: 1.75rem 1.25rem;
	}

	.footer-bottom {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
	}

	.footer-copy,
	.footer-powered,
	.footer-bottom-links {
		justify-self: center;
	}

	.footer-bottom-links {
		justify-content: center;
	}
}

/* Scroll reveal */
.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition:
		opacity 0.7s ease,
		transform 0.7s ease;
}

.reveal.visible {
	opacity: 1;
	transform: translateY(0);
}

.reveal-delay-1 {
	transition-delay: 0.1s;
}
.reveal-delay-2 {
	transition-delay: 0.2s;
}
.reveal-delay-3 {
	transition-delay: 0.3s;
}

/* Hero app preview stays English + LTR when page is FA */
.app-preview-en {
	font-family: var(--font-en);
}

.app-preview-en,
.app-preview-en * {
	direction: ltr;
	text-align: left;
}

html[dir="rtl"] .app-preview-en .mock-chat .bubble-ava {
	align-self: flex-start;
}

html[dir="rtl"] .app-preview-en .mock-chat .bubble-user {
	align-self: flex-end;
}

/* Responsive */
@media (max-width: 991.98px) {
	.floating-chip.chip-2 {
		inset-inline-end: 4%;
	}

	.screen-slide {
		flex-direction: column;
		text-align: center;
	}
}

@media (max-width: 575.98px) {
	.section-pad {
		padding: 3.5rem 0;
	}

	.hero-stats .stat-label {
		font-size: 0.6rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.reveal {
		opacity: 1;
		transform: none;
	}
}

/* Legal documents — modal on landing + standalone /privacy/ URLs */
.legal-modal {
	--legal-transition: 0.32s cubic-bezier(0.22, 1, 0.36, 1);
	position: fixed;
	inset: 0;
	z-index: 1080;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition:
		opacity var(--legal-transition),
		visibility var(--legal-transition);
}

.legal-modal.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.legal-modal[hidden] {
	display: none !important;
}

.legal-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	opacity: 0;
	transition: opacity var(--legal-transition);
}

.legal-modal.is-open .legal-modal-backdrop {
	opacity: 1;
}

.legal-modal-panel {
	position: relative;
	z-index: 1;
	width: min(720px, 100%);
	max-height: min(85vh, 900px);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--radius);
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
	opacity: 0;
	transform: translateY(20px) scale(0.97);
	transition:
		opacity var(--legal-transition),
		transform var(--legal-transition);
}

.legal-modal.is-open .legal-modal-panel {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.legal-modal-panel.glass-card,
.legal-standalone-page .legal-modal-panel.glass-card {
	background: #fff;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

.legal-modal-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.25rem 1.5rem 0.75rem;
	border-bottom: 1px solid rgba(12, 111, 255, 0.08);
	flex-shrink: 0;
}

.legal-modal-close {
	flex-shrink: 0;
}

.legal-modal-body {
	padding: 1rem 1.5rem 1.5rem;
	overflow-y: auto;
	font-size: 0.95rem;
	line-height: 1.65;
	color: var(--text);
}

.legal-modal-body h2 {
	font-size: 1.05rem;
	margin: 1.25rem 0 0.5rem;
	font-weight: 600;
}

.legal-modal-body h2:first-child {
	margin-top: 0;
}

.legal-modal-body ul {
	padding-inline-start: 1.25rem;
}

.legal-modal-body a {
	color: var(--primary);
}

body.legal-modal-open {
	overflow: hidden;
}

/* Standalone legal URL (indexable; same card as modal) */
body.legal-standalone-page {
	padding-top: 0;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.legal-standalone-backdrop {
	position: fixed;
	inset: 0;
	background: #fff;
	z-index: 0;
}

.legal-standalone-page .legal-modal-panel {
	opacity: 1;
	transform: none;
	box-shadow: 0 16px 48px rgba(15, 23, 42, 0.1);
}

@keyframes legal-standalone-in {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.legal-modal,
	.legal-modal-backdrop,
	.legal-modal-panel,
	.legal-standalone-wrap {
		transition: none !important;
		animation: none !important;
	}

	.legal-modal-panel,
	.legal-standalone-page .legal-modal-panel {
		opacity: 1;
		transform: none;
	}
}

.legal-standalone-wrap {
	position: relative;
	z-index: 1;
	padding: 2rem 0;
	animation: legal-standalone-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.legal-standalone-card {
	max-height: none;
}

.legal-standalone-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0 1.5rem 1.5rem;
	border-top: 1px solid rgba(12, 111, 255, 0.08);
	margin-top: 0.5rem;
}
