:root {
  --page: #f5f5f7;
  --surface: #ffffff;
  --surface-soft: #fbfbfd;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.09);
  --line-strong: rgba(0, 0, 0, 0.14);
  --accent: #0071e3;
  --accent-dark: #0057b8;
  --success: #1f9d55;
  --danger: #c84646;
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 22px 70px rgba(0, 0, 0, 0.11);
  --radius: 8px;
  --radius-lg: 12px;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--page);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: #f7f7f8;
  color: var(--text);
  font-family: "SF Arabic", "Noto Sans Arabic", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  direction: rtl;
  text-align: right;
}

html[lang="en"] body,
html[lang="fr"] body {
  direction: ltr;
  text-align: left;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

[data-lang] {
  display: none;
}

html[lang="ar"] [data-lang="ar"],
html[lang="en"] [data-lang="en"],
html[lang="fr"] [data-lang="fr"] {
  display: inline;
}

html[lang="ar"] .hero h1[data-lang="ar"],
html[lang="en"] .hero h1[data-lang="en"],
html[lang="fr"] .hero h1[data-lang="fr"],
html[lang="ar"] .hero-sub[data-lang="ar"],
html[lang="en"] .hero-sub[data-lang="en"],
html[lang="fr"] .hero-sub[data-lang="fr"] {
  display: block;
}

.hero-stats[data-lang],
.footer-links[data-lang] {
  display: none;
}

html[lang="ar"] .hero-stats[data-lang="ar"],
html[lang="en"] .hero-stats[data-lang="en"],
html[lang="fr"] .hero-stats[data-lang="fr"],
html[lang="ar"] .footer-links[data-lang="ar"],
html[lang="en"] .footer-links[data-lang="en"],
html[lang="fr"] .footer-links[data-lang="fr"] {
  display: flex;
}

nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.nav-container {
  width: min(100%, 980px);
  height: 52px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: flex;
  align-items: center;
  flex: 1 1 120px;
}

.logo-img {
  width: auto;
  height: 34px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

.logo-img-down {
  width: auto;
  height: 44px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 36px);
  list-style: none;
  flex: 2 1 auto;
}

.nav-links a,
.footer-links a {
  color: rgba(29, 29, 31, 0.72);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--text);
}

.nav-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  flex: 1 1 160px;
}

.lang-wrapper {
  position: relative;
  width: 46px;
}

.lang-btn-icon,
.nav-cta,
.hamburger {
  height: 36px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: rgba(29, 29, 31, 0.8);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.lang-btn-icon {
  width: 43px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 105px;
  padding: 0 16px;
  background: var(--text);
  border-color: var(--text);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.lang-btn-icon:hover,
.hamburger:hover {
  background: #fff;
  border-color: var(--line-strong);
}

.nav-cta:hover {
  background: #000;
  transform: translateY(-1px);
}

.lang-menu {
  position: absolute;
  top: 44px;
  inset-inline: 0;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.lang-wrapper.open .lang-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-menu button {
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.lang-menu button:hover {
  background: var(--page);
}

.hamburger {
  display: none;
  width: 42px;
  padding: 0 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.burger-line {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.hamburger.open .burger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.open .burger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.open .burger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 590px;
  padding: 104px 22px 96px;
  display: grid;
  align-items: start;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 49%, rgba(0, 113, 227, 0.055), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fafafa 65%, #f4f4f5 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 17% 26%, rgba(0, 199, 234, 0.06), transparent 21%),
    radial-gradient(circle at 77% 48%, rgba(29, 29, 31, 0.05), transparent 28%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: min(100%, 930px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(350px, 0.92fr) minmax(450px, 1.08fr);
  align-items: center;
  justify-items: stretch;
  gap: clamp(24px, 5vw, 64px);
  text-align: left;
}

.hero-grid > .hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 26px;
}

html[lang="ar"] .hero-grid > .hero-content {
  align-items: flex-start;
  text-align: right;
}

html[lang="ar"] .hero h1 {
  width: min(100%, 620px);
  margin-inline: 0;
  text-align: right;
}

.hero-badge,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-bottom: 28px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.hero-badge span:first-child {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(31, 157, 85, 0.12);
}

.hero h1,
.section-title {
  color: var(--text);
  font-size: clamp(54px, 5.25vw, 72px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.94;
}

.hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.section-title {
  max-width: 780px;
  margin: 0 auto;
  font-size: clamp(34px, 5vw, 66px);
  text-align: center;
}

.hero-sub,
.section-sub {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.58;
}

.hero-sub {
  max-width: 445px;
  margin-top: 28px;
  text-align: left;
  font-size: 17px;
  line-height: 1.65;
}

html[lang="ar"] .hero-sub {
  width: min(100%, 520px);
  margin-inline: 0;
  text-align: right;
}

.section-sub {
  max-width: 730px;
  margin: 20px auto 0;
  text-align: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.store-badge {
  height: 39px;
  width: auto;
  border-radius: 7px;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.15));
}

.hero-stats {
  display: none !important;
}

.stat {
  position: relative;
  min-width: auto;
  padding: 4px 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.stat + .stat {
  border-inline-start: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-num {
  color: var(--text);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.05;
}

.stat-label {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.hero-visual {
  position: relative;
  width: 100%;
  min-height: 0;
  display: grid;
  place-items: center;
  align-self: start;
  padding-top: 28px;
}

.hero-visual::before {
  display: none;
}

.app-screen {
  position: relative;
  display: none;
  width: min(48vw, 520px);
  height: auto;
  max-height: 405px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  filter: drop-shadow(0 26px 54px rgba(0, 0, 0, 0.12));
}

html[lang="ar"] .ar-screen,
html[lang="en"] .en-screen,
html[lang="fr"] .fr-screen {
  display: block;
}

.counters-section,
section,
footer {
  position: relative;
}

.counters-section {
  z-index: 2;
  margin-top: -84px;
  padding: 0 22px 36px;
  background: transparent;
}

.counters-grid {
  width: min(100%, 705px);
  margin: 0 auto;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.055);
}

.counter-item {
  text-align: center;
}

.counter-num {
  color: var(--text);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.counter-label {
  margin-top: 1px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.counter-divider {
  width: 1px;
  height: 34px;
  background: rgba(0, 0, 0, 0.1);
}

#features,
.how-section,
.reviews-section,
.contact-section {
  padding: clamp(74px, 10vw, 124px) 22px;
}

.section,
.how-inner,
.contact-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section-label {
  display: flex;
  margin-inline: auto;
}

.features-grid,
.reviews-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feat-card,
.review-card,
.step,
.video-wrapper,
.contact-info,
.contact-form-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
}

.feat-card,
.review-card,
.step {
  padding: 24px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.feat-card:hover,
.review-card:hover,
.step:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.feat-icon,
.contact-info-icon,
.float-avatar,
.review-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: #f2f2f4;
  color: var(--text);
  font-size: 20px;
}

.feat-title,
.step-title {
  margin-top: 18px;
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.18;
}

.feat-desc,
.step-desc,
.review-text {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.how-section {
  background: var(--surface);
}

.how-showcase {
  margin-top: 42px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 18px;
  align-items: stretch;
}

.steps {
  position: relative;
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.how-video-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff, #fbfcfe);
  box-shadow: var(--shadow-sm);
}

.how-video-card .section-label {
  margin-inline: 0;
  margin-bottom: 18px;
}

html[lang="ar"] .how-video-card .section-label {
  margin-inline-start: auto;
  margin-inline-end: 0;
}

.how-video-title[data-lang],
.how-video-sub[data-lang] {
  display: none;
}

html[lang="ar"] .how-video-title[data-lang="ar"],
html[lang="en"] .how-video-title[data-lang="en"],
html[lang="fr"] .how-video-title[data-lang="fr"],
html[lang="ar"] .how-video-sub[data-lang="ar"],
html[lang="en"] .how-video-sub[data-lang="en"],
html[lang="fr"] .how-video-sub[data-lang="fr"] {
  display: block;
}

.how-video-title {
  color: var(--text);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.08;
}

.how-video-sub {
  max-width: 560px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.65;
}

html[lang="ar"] .how-video-title,
html[lang="ar"] .how-video-sub {
  margin-inline-start: auto;
  margin-inline-end: 0;
  text-align: right;
}

.step-num {
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.reviews-section {
  background: var(--page);
}

.ba-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.ba-photo-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #eef2f6;
}

.ba-photo-wrap::before {
  content: none;
}

.ba-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.ba-photo-label {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--danger);
  font-size: 12px;
  font-weight: 800;
}

.ba-photo-label.after {
  color: var(--success);
}

.ba-stats {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
}

.ba-stat-item {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  text-align: center;
}

.ba-stat-val {
  font-size: 16px;
  font-weight: 800;
}

.ba-stat-val.before {
  color: var(--danger);
}

.ba-stat-val.after {
  color: var(--success);
}

.ba-stat-key,
.review-handle,
.review-duration,
.ba-progress-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.ba-stat-arrow {
  color: var(--muted);
}

.ba-stat-badge {
  grid-column: 1 / -1;
  width: fit-content;
  margin: 2px auto 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(31, 157, 85, 0.1);
  color: var(--success);
  font-size: 12px;
  font-weight: 800;
}

.ba-progress-wrap {
  margin-top: 16px;
}

.ba-progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8e8ed;
}

.ba-progress-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ba-progress-label {
  display: block;
  margin-top: 8px;
}

.ba-divider {
  height: 1px;
  margin: 18px 0;
  background: var(--line);
}

.review-stars {
  color: #f5a623;
  font-size: 14px;
  letter-spacing: 0;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 18px;
}

.review-avatar {
  background: var(--text);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.review-author-info {
  flex: 1;
}

.review-name {
  font-weight: 800;
}

.float-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: auto;
}

.float-msg {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.float-msg.user {
  justify-content: flex-end;
}

.float-bubble {
  max-width: min(78%, 560px);
  padding: 12px 14px;
  border-radius: var(--radius-lg);
  background: #f2f2f4;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}

.float-msg.user .float-bubble {
  background: var(--accent);
  color: #fff;
}

.float-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.float-chip {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.float-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.float-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.float-input,
.contact-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.float-input {
  height: 46px;
  padding: 0 14px;
}

.float-input:focus,
.contact-input:focus {
  border-color: rgba(0, 113, 227, 0.45);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.float-send,
.contact-submit {
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.float-send {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
}

.float-send:hover,
.contact-submit:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.typing-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 2px;
  border-radius: 50%;
  background: var(--muted);
  animation: typing 1s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.16s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes typing {
  0%, 80%, 100% { opacity: 0.35; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

.video-wrapper {
  max-width: 920px;
  margin: 42px auto 0;
  overflow: hidden;
}

.how-video-card .video-wrapper {
  width: min(100%, 720px);
  max-width: 720px;
  margin: 22px auto 0;
}

.video-placeholder,
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}

.video-placeholder {
  cursor: pointer;
  display: grid;
  place-items: center;
}

.video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 28px;
  background: linear-gradient(180deg, #f5f5f7, #111);
  opacity: 0.88;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.video-placeholder:hover .video-thumb {
  transform: scale(1.02);
  opacity: 0.76;
}

.video-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  color: #fff;
}

.play-btn {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  box-shadow: var(--shadow-md);
}

.video-play-label {
  font-weight: 800;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
}

.contact-info,
.contact-form-wrap {
  padding: 22px;
}

.contact-info {
  display: grid;
  align-content: start;
  gap: 14px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.contact-info-label,
.contact-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.contact-info-val {
  margin-top: 3px;
  color: var(--text);
  font-weight: 800;
}

.contact-field + .contact-field {
  margin-top: 14px;
}

.contact-label {
  display: block;
  margin-bottom: 8px;
}

.contact-input {
  min-height: 48px;
  padding: 12px 14px;
  resize: vertical;
}

.contact-textarea {
  min-height: 124px;
}

.contact-submit {
  width: 100%;
  min-height: 50px;
  gap: 9px;
  margin-top: 16px;
  font-weight: 800;
}

.contact-success {
  align-items: center;
  gap: 12px;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(31, 157, 85, 0.1);
  color: var(--success);
}

.contact-success-icon {
  font-size: 24px;
}

.contact-success-text p {
  color: var(--muted);
}

footer {
  padding: 48px 22px;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 20px;
  align-items: center;
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-center {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.footer-stores {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-socials a:hover {
  color: var(--text);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.social-icon {
  width: 20px;
  height: 20px;
}

.footer-copy {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.float-chat {
  position: fixed;
  z-index: 1100;
  right: 22px;
  bottom: 22px;
}

html[lang="ar"] .float-chat {
  right: auto;
  left: 22px;
}

.float-btn {
  position: relative;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.float-btn-icon {
  display: grid;
  place-items: center;
}

.float-notif {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
}

.float-notif.show {
  opacity: 1;
}

.float-window {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: min(360px, calc(100vw - 44px));
  height: 520px;
  max-height: calc(100vh - 118px);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

html[lang="ar"] .float-window {
  right: auto;
  left: 0;
}

.float-window.open {
  opacity: 1;
  transform: translateY(0);
}

.float-header {
  min-height: 70px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.float-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.float-name {
  font-weight: 800;
}

.float-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.float-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}

.float-close-btn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: var(--radius);
  background: var(--page);
  color: var(--muted);
  cursor: pointer;
}

.float-messages {
  flex: 1;
  padding: 14px;
}

.float-suggestions,
.float-input-row {
  padding: 0 14px 14px;
  margin-top: 0;
}

.float-bubble {
  max-width: 86%;
  font-size: 14px;
}

.float-input-row {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

@media (max-width: 980px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 52px;
    left: 14px;
    right: 14px;
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

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

  .nav-links li + li {
    border-top: 1px solid var(--line);
  }

  .nav-links a {
    display: block;
    padding: 17px 18px;
    font-size: 16px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    width: min(100%, 760px);
  }

  .hero-grid > .hero-content,
  html[lang="en"] .hero-grid > .hero-content,
  html[lang="fr"] .hero-grid > .hero-content {
    align-items: center;
    text-align: center;
    padding-top: 0;
  }

  html[lang="ar"] .hero-grid > .hero-content {
    align-items: flex-start;
    text-align: right;
    padding-top: 0;
  }

  .hero-sub,
  html[lang="en"] .hero-sub,
  html[lang="fr"] .hero-sub {
    text-align: center;
    max-width: 650px;
  }

  html[lang="ar"] .hero-sub {
    text-align: right;
    max-width: 650px;
  }

  .hero-actions,
  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    width: min(100%, 700px);
    min-height: 0;
    padding-top: 4px;
  }

  .app-screen {
    width: min(82vw, 650px);
    max-height: 520px;
  }

  .features-grid,
  .reviews-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .how-showcase {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  footer {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .footer-spacer {
    display: none;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .nav-container {
    padding: 0 14px;
  }

  .nav-cta {
    display: none;
  }

  .logo-img {
    height: 31px;
  }

  .hero {
    min-height: auto;
    padding: 84px 18px 74px;
  }

  .hero h1 {
    font-size: clamp(39px, 12vw, 52px);
    line-height: 0.98;
  }

  .hero-sub {
    margin-top: 18px;
    font-size: 17px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-stats[data-lang] {
    display: none !important;
  }

  .hero-visual {
    width: min(100%, 460px);
    min-height: 0;
  }

  .app-screen {
    width: min(94vw, 430px);
    max-height: none;
  }

  .counters-section {
    margin-top: -42px;
    padding: 0 18px 32px;
  }

  .counters-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px 0;
    padding: 16px;
    border-radius: var(--radius-lg);
  }

  .counter-num {
    font-size: 26px;
  }

  .counter-divider {
    display: none;
  }

  .features-grid,
  .reviews-grid,
  .steps,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .how-showcase {
    gap: 16px;
  }

  .how-video-card {
    padding: 18px;
  }

  .how-video-card .video-wrapper {
    margin-top: 18px;
  }

  .section-title {
    font-size: clamp(32px, 10vw, 48px);
  }

  .feat-card,
  .review-card,
  .step,
  .contact-info,
  .contact-form-wrap {
    padding: 18px;
  }

  .ba-photo-wrap {
    min-height: 118px;
  }

  .float-chat {
    right: 16px;
    bottom: 16px;
  }

  html[lang="ar"] .float-chat {
    left: 16px;
  }
}

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

/* FZAI professional landing refresh */
:root {
  --page: #f6f8fb;
  --surface: #ffffff;
  --surface-soft: #fbfcfe;
  --text: #202229;
  --muted: #707681;
  --line: rgba(32, 34, 41, 0.1);
  --line-strong: rgba(32, 34, 41, 0.17);
  --accent: #08c9f4;
  --accent-dark: #04aeda;
  --success: #22c978;
  --shadow-sm: 0 18px 44px rgba(30, 39, 54, 0.06);
  --shadow-md: 0 26px 72px rgba(30, 39, 54, 0.12);
  --radius: 8px;
  --radius-lg: 8px;
  --max: 1160px;
}

body {
  background:
    radial-gradient(circle at 10% 9%, rgba(8, 201, 244, 0.08), transparent 28rem),
    radial-gradient(circle at 86% 27%, rgba(32, 34, 41, 0.055), transparent 32rem),
    linear-gradient(180deg, #ffffff 0%, #fbfcfe 22%, #f6f8fb 58%, #ffffff 100%);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Arabic", sans-serif;
}

html[lang="en"] body,
html[lang="fr"] body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

nav {
  border-top: 3px solid #164b93;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: none;
}

.nav-container {
  width: min(100%, 1160px);
  height: 58px;
  padding: 0 18px;
}

.logo-img {
  width: auto;
  height: 42px;
  object-fit: contain;
  object-position: left center;
  filter: none;
}

html[lang="ar"] .logo-img {
  object-position: right center;
}

.nav-links {
  gap: clamp(24px, 3vw, 36px);
}

.nav-links a,
.footer-links a {
  color: #5f6470;
  font-size: 12px;
  font-weight: 800;
}

.lang-btn-icon,
.nav-cta,
.hamburger {
  height: 38px;
  border-radius: 8px;
}

.lang-btn-icon {
  background: #fff;
  color: #606673;
  font-size: 12px;
  font-weight: 900;
}

.nav-cta {
  min-width: 116px;
  padding: 0 19px;
  background: #181a20;
  border-color: #181a20;
  box-shadow: 0 10px 24px rgba(24, 26, 32, 0.14);
  font-size: 12px;
  font-weight: 900;
}

.hero {
  min-height: 570px;
  padding: 132px 22px 24px;
  align-items: center;
  overflow: visible;
  background: transparent;
}

.hero-bg {
  background: radial-gradient(circle at 79% 45%, rgba(32, 34, 41, 0.055), transparent 27rem);
}

.hero-grid {
  width: min(100%, 1160px);
  grid-template-columns: minmax(390px, 0.78fr) minmax(640px, 1.22fr);
  column-gap: clamp(28px, 4vw, 52px);
  row-gap: 24px;
  grid-template-areas:
    "content visual"
    "actions visual";
}

html[lang="ar"] .hero-grid {
  grid-template-columns: minmax(390px, 0.78fr) minmax(640px, 1.22fr);
  grid-template-areas:
    "content visual"
    "actions visual";
}

.hero-grid > .hero-content {
  grid-area: content;
  padding-top: 0;
}

html[lang="ar"] .hero-grid > .hero-content {
  align-items: flex-start;
  text-align: right;
}

.hero-badge,
.section-label {
  gap: 10px;
  margin-bottom: 27px;
  padding: 8px 13px;
  border-color: #dfe5ea;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 9px 22px rgba(38, 52, 68, 0.07);
  color: #69717c;
  font-size: 12px;
  font-weight: 900;
}

.hero-badge span:first-child {
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(34, 201, 120, 0.13);
}

.hero h1 {
  max-width: 620px;
  color: #202229;
  font-size: clamp(54px, 5vw, 66px);
  line-height: 0.98;
  font-weight: 900;
}

.hero h1 em {
  color: var(--accent);
}

.hero-sub {
  max-width: 520px;
  margin-top: 28px;
  color: #666c76;
  font-size: 16px;
  line-height: 1.72;
  font-weight: 650;
}

html[lang="ar"] .hero-sub {
  text-align: right;
}

.hero-actions {
  grid-area: actions;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 0;
  direction: ltr;
}

html[lang="ar"] .hero-actions {
  align-self: flex-start;
  justify-content: flex-end;
  width: min(100%, 520px);
  margin-inline: 0;
}

.store-badge {
  height: 45px;
  border-radius: 6px;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.13));
}

.hero-visual {
  grid-area: visual;
  align-self: center;
  padding-top: 0;
}

html[lang="ar"] .hero-visual {
  transform: translateX(clamp(24px, 2vw, 40px));
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto 8% 10% 8%;
  height: 24%;
  background: linear-gradient(90deg, transparent, rgba(10, 15, 24, 0.1), transparent);
  filter: blur(22px);
  opacity: 0.78;
  pointer-events: none;
}

.app-screen {
  z-index: 1;
  width: min(64vw, 820px);
  max-height: 560px;
  filter: drop-shadow(0 26px 48px rgba(28, 34, 46, 0.12));
}

.counters-section {
  position: relative;
  margin-top: 0;
  padding: 0 22px 150px;
  overflow: hidden;
  background: transparent;
}

.counters-section::after {
  content: none;
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 170px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 82%);
}

.counters-grid {
  position: relative;
  width: min(100%, 1010px);
  padding: 35px 0 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 0;
  background: transparent;
  box-shadow: none;
}

.counters-grid::before {
  display: none;
}

.counter-divider {
  display: none;
}

.counter-num {
  color: #202229;
  font-size: clamp(30px, 3.2vw, 38px);
  font-weight: 900;
  letter-spacing: 0;
}

.counter-label {
  margin-top: 10px;
  color: #757a84;
  font-size: 12px;
  font-weight: 800;
}

#features,
.how-section,
.reviews-section,
.contact-section {
  padding: clamp(76px, 9vw, 112px) 22px;
}

#features {
  margin-top: -120px;
  padding-top: clamp(158px, 13vw, 190px);
  background: transparent;
}

.how-section,
.reviews-section,
.contact-section {
  background: transparent;
}

footer {
  background: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(32, 34, 41, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.section-title {
  color: #202229;
  font-size: clamp(36px, 4.2vw, 54px);
  line-height: 1.08;
  font-weight: 900;
}

.section-sub {
  color: #6d737d;
  font-size: 17px;
  line-height: 1.72;
  font-weight: 600;
}

.features-grid {
  gap: clamp(20px, 2.2vw, 28px);
}

.reviews-grid {
  gap: 18px;
}

.feat-card {
  min-height: 292px;
  padding: clamp(30px, 3vw, 42px);
  border-color: rgba(32, 34, 41, 0.07);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.78));
  box-shadow:
    0 1px 2px rgba(32, 34, 41, 0.05),
    0 24px 58px rgba(31, 42, 56, 0.055);
}

.review-card,
.step,
.video-wrapper,
.contact-info,
.contact-form-wrap {
  min-height: 220px;
  padding: 26px;
}

.feat-card:hover,
.review-card:hover,
.step:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.feat-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(239, 250, 253, 0.95), rgba(245, 248, 252, 0.88));
  color: var(--accent-dark);
  font-size: 25px;
}

.contact-info-icon,
.float-avatar,
.review-avatar {
  border-radius: 8px;
  background: rgba(8, 201, 244, 0.11);
  color: var(--accent-dark);
}

.feat-title {
  color: #202229;
  font-size: clamp(24px, 2vw, 30px);
  font-weight: 900;
  line-height: 1.12;
  margin-top: 34px;
}

.step-title {
  color: #202229;
  font-size: 21px;
}

.feat-desc {
  margin-top: 20px;
  color: #606773;
  font-size: clamp(16px, 1.35vw, 18px);
  font-weight: 650;
  line-height: 1.55;
}

.step-desc,
.review-text {
  color: #6d737d;
  font-weight: 600;
}

.step-num {
  color: var(--accent-dark);
}

.ba-progress-fill,
.float-msg.user .float-bubble,
.float-send,
.contact-submit {
  background: var(--accent);
}

.float-chip:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.float-button {
  background: #202226;
  box-shadow: 0 16px 34px rgba(20, 24, 32, 0.24);
}

.float-notif {
  background: var(--accent);
}

img.review-avatar {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border: 2px solid rgba(8, 201, 244, 0.18);
  border-radius: 50%;
  background: #eefaff;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 10px 22px rgba(30, 39, 54, 0.1);
}

.review-card {
  display: flex;
  flex-direction: column;
}

.review-author {
  margin-top: auto;
  padding-top: 18px;
}

@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "visual"
      "actions";
    gap: 28px;
  }

  html[lang="ar"] .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "visual"
      "actions";
  }

  .hero-grid > .hero-content,
  html[lang="en"] .hero-grid > .hero-content,
  html[lang="fr"] .hero-grid > .hero-content {
    align-items: center;
    text-align: center;
  }

  html[lang="ar"] .hero-grid > .hero-content {
    align-items: flex-start;
    text-align: right;
  }

  .hero-sub,
  html[lang="en"] .hero-sub,
  html[lang="fr"] .hero-sub {
    text-align: center;
  }

  html[lang="ar"] .hero-sub {
    text-align: right;
  }

  .hero-actions,
  html[lang="en"] .hero-actions,
  html[lang="fr"] .hero-actions {
    align-self: center;
    justify-content: center;
  }

  html[lang="ar"] .hero-actions {
    width: min(100%, 520px);
    margin-inline: 0;
    align-self: flex-start;
    justify-content: flex-end;
  }

  .app-screen {
    width: min(100%, 760px);
    max-height: 560px;
  }

  html[lang="ar"] .hero-visual {
    transform: none;
  }
}

@media (max-width: 760px) {
  .nav-container {
    height: 62px;
  }

  .logo-img {
    height: 38px;
  }

  .hero {
    min-height: 0;
    padding-top: 102px;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "visual"
      "actions";
  }

  .hero h1 {
    font-size: clamp(46px, 13vw, 62px);
  }

  .hero-sub {
    font-size: 15px;
  }

  .hero-visual {
    order: 2;
    margin-top: 8px;
  }

  .app-screen {
    width: min(96vw, 560px);
    max-height: none;
  }

  .hero-actions,
  html[lang="en"] .hero-actions,
  html[lang="fr"] .hero-actions {
    order: 3;
    width: 100%;
    margin-top: 22px;
    margin-inline: 0;
    align-self: center;
    justify-content: center;
  }

  html[lang="ar"] .hero-actions {
    order: 3;
    width: 100%;
    margin-top: 22px;
    margin-inline: 0;
    align-self: center;
    justify-content: center;
  }

  .store-badge {
    height: 43px;
  }

  .counters-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding-top: 28px;
  }

  .counter-item {
    min-width: 0;
  }

  .counter-num {
    font-size: clamp(15px, 4.7vw, 19px);
    line-height: 1;
  }

  .counter-label {
    max-width: 100%;
    margin-top: 7px;
    padding: 0 2px;
    font-size: clamp(7px, 2vw, 9px);
    line-height: 1.16;
    white-space: normal;
  }

  .feat-card {
    min-height: 250px;
    padding: 28px;
    border-radius: 22px;
  }

  .feat-title {
    margin-top: 28px;
  }
}

@media (max-width: 430px) {
  .hero-actions {
    width: 100%;
  }

  .hero-actions a {
    width: auto;
    display: flex;
    justify-content: center;
  }

  .store-badge {
    height: auto;
    width: min(44vw, 170px);
  }

  .counters-section {
    padding-inline: 16px;
  }

  .counters-grid {
    gap: 0;
  }

  .counter-num {
    font-size: clamp(14px, 4.55vw, 18px);
  }

  .counter-label {
    font-size: clamp(6px, 1.9vw, 8px);
  }
}

/* -------------------- PREMIUM FIRST-VISIT INTRO LOADER -------------------- */
.fzai-intro-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  overflow: hidden;
  --loader-navy: #1d3f6d;
  --loader-deep: #06101e;
  --loader-deeper: #020711;
  --loader-cyan: #18d8f3;
  --loader-cyan-soft: rgba(24, 216, 243, 0.24);
  background:
    radial-gradient(circle at 50% 42%, rgba(24, 216, 243, 0.16), transparent 25%),
    radial-gradient(circle at 26% 22%, rgba(29, 63, 109, 0.72), transparent 31%),
    radial-gradient(circle at 75% 78%, rgba(24, 216, 243, 0.11), transparent 29%),
    linear-gradient(135deg, #020711 0%, #081326 42%, #1d3f6d 125%);
  color: #f7fbff;
  isolation: isolate;
  transition:
    opacity 1.55s cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 1.55s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 1.55s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 1.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

html.fzai-skip-intro .fzai-intro-loader {
  display: none;
}

.fzai-intro-loader::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 76%);
  pointer-events: none;
  opacity: 0.34;
}

.fzai-intro-loader::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(24, 216, 243, 0.055), transparent);
  transform: translateX(-120%);
  animation: fzai-screen-scan 3.25s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  pointer-events: none;
}

.fzai-intro-loader.is-leaving {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-18px) scale(1.014);
  filter: blur(14px);
  pointer-events: none;
}

.fzai-loader-bg,
.fzai-loader-bg * {
  pointer-events: none;
}

.fzai-loader-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.fzai-orb {
  position: absolute;
  width: 44vw;
  max-width: 620px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(54px);
  opacity: 0.38;
  background: radial-gradient(circle, rgba(24, 216, 243, 0.22), transparent 68%);
  animation: fzai-orb-float 9s ease-in-out infinite alternate;
}

.fzai-orb-one {
  top: -16%;
  inset-inline-start: -12%;
}

.fzai-orb-two {
  right: -16%;
  bottom: -18%;
  animation-delay: -2.8s;
  background: radial-gradient(circle, rgba(29, 63, 109, 0.45), transparent 66%);
}

.fzai-health-lines {
  position: absolute;
  inset-inline: -18%;
  height: 260px;
  opacity: 0.30;
  filter: drop-shadow(0 0 14px rgba(24, 216, 243, 0.20));
}

.fzai-health-lines svg {
  width: 140%;
  height: 100%;
  overflow: visible;
}

.fzai-health-lines path {
  fill: none;
  stroke: rgba(116, 235, 255, 0.40);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 760 960;
}

.fzai-health-lines-one {
  top: 20%;
  animation: fzai-line-drift-one 11s linear infinite;
}

.fzai-health-lines-two {
  bottom: 18%;
  opacity: 0.17;
  transform: scaleY(-1);
  animation: fzai-line-drift-two 13s linear infinite;
}

.fzai-data-rings {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0.38;
}

.fzai-data-rings span {
  position: absolute;
  width: min(72vw, 610px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(24, 216, 243, 0.10);
  border-top-color: rgba(24, 216, 243, 0.31);
  border-left-color: rgba(255, 255, 255, 0.09);
  animation: fzai-ring-rotate 12s linear infinite;
}

.fzai-data-rings span:nth-child(2) {
  width: min(54vw, 450px);
  animation-duration: 9.5s;
  animation-direction: reverse;
  opacity: 0.7;
}

.fzai-data-rings span:nth-child(3) {
  width: min(36vw, 290px);
  animation-duration: 7.8s;
  opacity: 0.85;
}

.fzai-loader-content {
  position: relative;
  z-index: 1;
  width: min(86vw, 430px);
  display: grid;
  justify-items: center;
  text-align: center;
  transform: translateZ(0);
}

.fzai-loader-logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: min(58vw, 210px);
  line-height: 0;
  overflow: visible;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  animation: fzai-logo-reveal 2.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.fzai-loader-logo-wrap::before {
  content: "";
  position: absolute;
  inset: -26%;
  background: radial-gradient(circle, rgba(24, 216, 243, 0.24), transparent 58%);
  filter: blur(30px);
  opacity: 0;
  pointer-events: none;
  animation: fzai-logo-glow 3.1s ease-in-out 0.5s both;
}

.fzai-loader-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  filter:
    drop-shadow(0 0 22px rgba(24, 216, 243, 0.26))
    drop-shadow(0 18px 42px rgba(0, 0, 0, 0.52));
}

.fzai-logo-scan {
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(105deg,
      transparent 0%,
      transparent 34%,
      rgba(255, 255, 255, 0.18) 42%,
      rgba(24, 216, 243, 0.92) 50%,
      rgba(255, 255, 255, 0.22) 58%,
      transparent 66%,
      transparent 100%);
  background-size: 260% 100%;
  background-position: 140% 0;
  filter: blur(0.2px) drop-shadow(0 0 16px rgba(24, 216, 243, 0.82));
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  -webkit-mask-image: url("Asset6.png");
  mask-image: url("Asset6.png");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  animation: fzai-logo-scan 2.65s cubic-bezier(0.16, 1, 0.3, 1) 0.62s both;
}

.fzai-loader-progress {
  position: relative;
  width: min(62vw, 245px);
  height: 3px;
  margin-top: 30px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 28px rgba(24, 216, 243, 0.10);
}

.fzai-loader-progress span {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(24, 216, 243, 0.16), #18d8f3, #f7fbff);
  box-shadow: 0 0 19px rgba(24, 216, 243, 0.78);
  transform-origin: left;
  transform: scaleX(0);
  animation: fzai-loader-fill 3.15s cubic-bezier(0.2, 0.8, 0.2, 1) 0.36s both;
}

html[dir="rtl"] .fzai-loader-progress span {
  transform-origin: right;
}

.fzai-loader-status {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(247, 251, 255, 0.62);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: fzai-status-reveal 1.2s ease 0.7s both;
}

.fzai-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #18d8f3;
  box-shadow: 0 0 14px rgba(24, 216, 243, 0.9);
  animation: fzai-dot-pulse 1.4s ease-in-out infinite;
}

html:not(.fzai-skip-intro) body:not(.fzai-intro-complete) > :not(#fzai-intro-loader):not(script) {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(8px);
}

body.fzai-intro-complete > :not(#fzai-intro-loader):not(script) {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition:
    opacity 1.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 1.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 1.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes fzai-logo-reveal {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.88);
    filter: blur(14px);
  }
  58% {
    opacity: 1;
    transform: translateY(0) scale(1.035);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes fzai-logo-scan {
  0% { background-position: 140% 0; opacity: 0; }
  18% { opacity: 1; }
  76% { opacity: 1; }
  100% { background-position: -140% 0; opacity: 0; }
}

@keyframes fzai-logo-glow {
  0%, 100% { opacity: 0.12; transform: scale(0.84); }
  45% { opacity: 0.78; transform: scale(1.1); }
}

@keyframes fzai-loader-fill {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

@keyframes fzai-status-reveal {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fzai-screen-scan {
  0% { transform: translateX(-120%); opacity: 0; }
  18%, 72% { opacity: 1; }
  100% { transform: translateX(120%); opacity: 0; }
}

@keyframes fzai-line-drift-one {
  from { transform: translateX(-8%); }
  to { transform: translateX(8%); }
}

@keyframes fzai-line-drift-two {
  from { transform: translateX(8%) scaleY(-1); }
  to { transform: translateX(-8%) scaleY(-1); }
}

@keyframes fzai-ring-rotate {
  to { transform: rotate(360deg); }
}

@keyframes fzai-orb-float {
  from { transform: translate3d(0, 0, 0) scale(0.95); }
  to { transform: translate3d(5%, -4%, 0) scale(1.08); }
}

@media (max-width: 640px) {
  .fzai-loader-logo-wrap {
    width: min(62vw, 168px);
  }

  .fzai-loader-status {
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .fzai-health-lines {
    inset-inline: -58%;
    opacity: 0.24;
  }

  .fzai-data-rings span {
    width: 86vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fzai-intro-loader,
  .fzai-intro-loader *,
  body.fzai-intro-complete > :not(#fzai-intro-loader):not(script) {
    animation: none !important;
    transition-duration: 0.22s !important;
  }

  .fzai-logo-scan,
  .fzai-health-lines,
  .fzai-data-rings {
    display: none;
  }

  .fzai-loader-logo-wrap,
  .fzai-loader-status {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .fzai-loader-progress span {
    transform: scaleX(1);
  }
}
