:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-soft: #dbeafe;
  --ink: #111827;
  --muted: #4b5563;
  --line: #e5e7eb;
  --bg: #ffffff;
  --radius: 1.25rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

a { color: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.narrow { width: min(760px, calc(100% - 2rem)); }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 55%, #fff 100%);
}

.hero-shape {
  position: absolute;
  pointer-events: none;
}

.hero-shape-a {
  top: 0;
  left: 0;
  width: 100%;
  height: 55%;
  background: linear-gradient(#3b82f6, #93c5fd);
  clip-path: polygon(0 0, 100% 0, 62% 100%, 0 100%);
}

.hero-shape-b {
  right: 0;
  bottom: 0;
  width: 34%;
  height: 34%;
  background: linear-gradient(#60a5fa, #93c5fd);
  clip-path: polygon(100% 100%, 100% 0, 0 100%);
}

.topbar,
.hero-grid {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.25rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fff;
  object-fit: cover;
}

.brand strong { display: block; font-size: 1.25rem; line-height: 1.1; }
.brand small { color: #dbeafe; font-weight: 600; }

.lang {
  display: flex;
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.lang button {
  min-width: 2.6rem;
  border: 0;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  background: transparent;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.lang button.is-active {
  background: #fff;
  color: var(--blue);
}

.hero-grid {
  flex: 1;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding: 3rem 0 4rem;
}

.downloads {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: flex-start;
}

.downloads-center {
  align-items: center;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn svg { width: 20px; height: 20px; flex: none; }

.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18); }

.btn-dark {
  background: linear-gradient(#0f172a, #1e293b);
  color: #fff;
}

.btn-blue {
  background: linear-gradient(var(--blue), var(--blue-dark));
  color: #fff;
}

.btn-light { background: #fff; color: var(--blue); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.phone { display: flex; justify-content: center; }

.phone-frame {
  position: relative;
  width: min(280px, 78vw);
  aspect-ratio: 9 / 19.5;
  padding: 12px;
  border-radius: 36px;
  background: #111;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.28);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
  background: #000;
}

.phone-notch,
.phone-bar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #111;
  z-index: 2;
}

.phone-notch {
  top: 12px;
  width: 42%;
  height: 22px;
  border-radius: 0 0 16px 16px;
}

.phone-bar {
  bottom: 18px;
  width: 34%;
  height: 4px;
  border-radius: 999px;
}

.section { padding: 5rem 0; }
.section-tint { background: linear-gradient(#fff, #eff6ff); }

.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head h2 { margin: 0 0 0.75rem; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; }
.section-head p { margin: 0 auto; max-width: 42rem; color: var(--muted); font-size: 1.15rem; }

.cards {
  display: grid;
  gap: 1.25rem;
}

.cards-2 { grid-template-columns: 1fr; }
.cards-3 { grid-template-columns: 1fr; }
.cards-4 { grid-template-columns: 1fr; }

.card, .resto, .quote {
  background: #fff;
  border-radius: var(--radius);
}

.card-soft {
  padding: 1.6rem;
  background: linear-gradient(160deg, #eff6ff, #dbeafe);
}

.card h3, .resto h3 { margin: 0 0 0.4rem; font-size: 1.15rem; }
.card p, .resto p { margin: 0; color: #374151; }

.icon { font-size: 1.8rem; margin-bottom: 0.6rem; }
.center { text-align: center; }
.center-cta { text-align: center; margin: 2rem 0 0; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.steps li { text-align: center; position: relative; }
.steps span {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 0.8rem;
  border-radius: 50%;
  background: linear-gradient(var(--blue), var(--blue-dark));
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
}
.steps h3 { margin: 0 0 0.4rem; }
.steps p { margin: 0; color: var(--muted); }

.showcase {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.showcase-copy h3 { margin: 0 0 0.75rem; font-size: clamp(1.6rem, 3vw, 2rem); }
.showcase-copy p { margin: 0; color: var(--muted); font-size: 1.1rem; }

.shot-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.shot-nav button {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 1.6rem;
  cursor: pointer;
}

.dots { display: flex; gap: 0.4rem; }
.dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #bfdbfe;
  cursor: pointer;
}
.dots button.is-active { width: 28px; background: var(--blue); }

.stats {
  background: linear-gradient(90deg, var(--blue), var(--blue-dark));
  color: #fff;
  padding: 3.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  text-align: center;
}

.stats strong { display: block; font-size: clamp(2rem, 4vw, 3rem); }
.stats span { color: #dbeafe; }

.resto {
  position: relative;
  padding: 1.4rem 1.4rem 2.6rem;
  border: 1px solid var(--line);
}

.resto .rating {
  position: absolute;
  top: 1.2rem;
  inset-inline-end: 1.2rem;
  background: #fffbeb;
  color: #92400e;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-weight: 700;
}

.resto small {
  position: absolute;
  bottom: 1rem;
  inset-inline-start: 1.4rem;
  color: #6b7280;
}

.quote {
  margin: 0;
  padding: 1.6rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.stars { color: #facc15; letter-spacing: 0.1em; }
.quote p { font-style: italic; color: #374151; }
.quote footer { border-top: 1px solid var(--line); padding-top: 1rem; }
.quote strong, .quote span { display: block; }
.quote span { color: var(--muted); font-size: 0.92rem; }

.faq { display: grid; gap: 0.75rem; }

.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; }

.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border: 0;
  background: #fff;
  text-align: start;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.faq-item button i {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
  flex: none;
}

.faq-item button[aria-expanded="true"] i { transform: rotate(-135deg); }

.faq-panel { background: #eff6ff; border-top: 1px solid var(--line); }
.faq-panel p { margin: 0; padding: 1rem 1.2rem 1.2rem; color: #374151; }

.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fff;
  padding: 3.5rem 1.5rem;
  border-radius: 1.75rem;
  background: linear-gradient(90deg, var(--blue), var(--blue-dark));
}

.cta h2 { margin: 0 0 0.75rem; font-size: clamp(2rem, 4vw, 2.8rem); }
.cta p { margin: 0 auto 1.5rem; max-width: 40rem; color: #dbeafe; font-size: 1.15rem; }
.cta-note { margin: 1.2rem 0 0 !important; font-size: 0.95rem; }

.footer {
  background: #111827;
  color: #d1d5db;
  padding: 3.5rem 0 1.5rem;
}

.footer h3, .footer h4 { color: #fff; margin: 0 0 0.8rem; }
.footer p { margin: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0.4rem 0; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.social { display: flex; gap: 0.5rem; }
.social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1f2937;
  text-decoration: none;
}
.social a:hover { background: var(--blue); color: #fff; }

.footer-bottom {
  display: grid;
  gap: 0.6rem;
  border-top: 1px solid #1f2937;
  padding-top: 1.2rem;
  font-size: 0.92rem;
  color: #9ca3af;
}

.footer-bottom p:nth-child(2) { display: flex; gap: 1rem; flex-wrap: wrap; }

html[dir="rtl"] body { font-family: Tahoma, "Segoe UI", Arial, sans-serif; }
html[dir="rtl"] .hero-shape-a { clip-path: polygon(0 0, 100% 0, 100% 100%, 38% 100%); }
html[dir="rtl"] .hero-shape-b { right: auto; left: 0; }

@media (min-width: 720px) {
  .cards-2 { grid-template-columns: 1fr 1fr; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .cards-4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-bottom { grid-template-columns: 1fr auto 1fr; align-items: center; }
  .footer-bottom p:last-child { text-align: end; }
}

@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1fr 1fr; padding-top: 2rem; }
  .downloads { align-items: center; }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .showcase { grid-template-columns: 280px 1fr; gap: 3rem; }
}
