/**
 * Landing only — no ../assets/ dependencies.
 */
:root {
  --bg: #f4f6fa;
  --surface: #ffffff;
  --text: #152028;
  --muted: #5a6570;
  --brand: #1565c0;
  --brand-dark: #0d47a1;
  --border: #e0e4ea;
  --hero-from: #0d2844;
  --hero-to: #1e6ba8;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(13, 40, 68, 0.1);
  --max: 1080px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", "Noto Sans Arabic", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--brand); }
a:hover { text-decoration: underline; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: 12px;
  padding: 10px 16px;
  background: var(--brand);
  color: #fff;
  border-radius: 8px;
  z-index: 100;
  transform: translateY(-120%);
  transition: transform 0.2s;
}
.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--hero-to);
  outline-offset: 2px;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}
.container.narrow { max-width: 560px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-h);
  background: rgba(244, 246, 250, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
}
.brand:hover { text-decoration: none; color: var(--brand-dark); }
.brand-logo {
  display: block;
  border-radius: 8px;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  margin: 0 10px;
  background: var(--text);
  border-radius: 1px;
}
.nav-toggle:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.site-nav {
  display: none;
  flex-direction: column;
  position: absolute;
  inset-inline: 0;
  top: 100%;
  padding: 12px 20px 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.site-nav a {
  display: block;
  padding: 12px 0;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.site-nav a:last-child { border-bottom: 0; }
.site-nav a:hover { color: var(--text); text-decoration: none; }
.site-nav .nav-cta {
  margin-top: 8px;
  padding: 12px 16px;
  text-align: center;
  background: var(--brand);
  color: #fff !important;
  border-radius: 10px;
  border: 0;
}
.site-nav .nav-cta:hover { background: var(--brand-dark); }

.site-header.is-nav-open .site-nav { display: flex; }

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .site-header { position: sticky; }
  .site-nav {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    position: static;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .site-nav a {
    padding: 8px 12px;
    border: 0;
    border-radius: 8px;
  }
  .site-nav a:hover { background: rgba(0, 0, 0, 0.05); }
  .site-nav .nav-cta {
    margin-top: 0;
    margin-inline-start: 8px;
  }
}

/* Hero */
.hero {
  background: linear-gradient(150deg, var(--hero-from), var(--hero-to));
  color: #fff;
  padding: 40px 0 56px;
}
.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 880px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}
.eyebrow {
  margin: 0 0 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.85;
}
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 1.25;
}
.hero .lead {
  margin: 0 0 22px;
  opacity: 0.95;
  font-size: 1.05rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font: inherit;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: #fff;
  color: var(--hero-from);
  border-color: #fff;
}
.btn-primary:hover { filter: brightness(0.96); text-decoration: none; }
.btn-ghost {
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-ghost:hover { background: rgba(0, 0, 0, 0.28); text-decoration: none; color: #fff; }
.hero-note { margin: 18px 0 0; font-size: 0.88rem; opacity: 0.82; }

.phone-frame {
  width: min(260px, 88%);
  margin: 0 auto;
  aspect-ratio: 9 / 18.5;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 32px;
  border: 3px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22);
  padding: 12px 12px 14px;
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 22px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 0 0 12px 12px;
}
.phone-screen {
  margin-top: 28px;
  height: calc(100% - 28px);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.08));
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.phone-card {
  height: 64px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.45);
}
.phone-row {
  height: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.28);
}
.phone-row.short { width: 65%; }

/* Sections */
.section { padding: 48px 0; }
.section-alt {
  background: var(--surface);
  border-block: 1px solid var(--border);
}
.section-title {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}
.section-intro {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1rem;
}

.section-badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.bullet-list {
  margin: 0;
  padding: 0;
  padding-inline-start: 1.25rem;
  color: var(--muted);
  line-height: 1.65;
}
.bullet-list li { margin-bottom: 12px; }
.bullet-list li:last-child { margin-bottom: 0; }

.section-how {
  background: linear-gradient(150deg, var(--hero-from), var(--hero-to));
  color: #fff;
}
.section-title--on-dark,
.section-how .section-title {
  color: #fff;
}
.section-intro--on-dark,
.section-how .section-intro {
  color: rgba(255, 255, 255, 0.92);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-how .section-title { text-align: center; }

.steps-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
}
@media (min-width: 700px) {
  .steps-list { grid-template-columns: repeat(3, 1fr); }
}
.step-card {
  text-align: center;
  padding: 20px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
}
.step-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: #fff;
}
.step-card p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.section-download {
  background: linear-gradient(160deg, #0a1624 0%, #1a3048 100%);
  color: #fff;
  text-align: center;
}
.section-download .section-title--on-dark { margin-bottom: 14px; }
.section-download .section-intro--on-dark {
  margin-bottom: 28px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.section-download .store-badge {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  box-shadow: none;
}
.section-download .store-badge:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.16);
}
.section-download .store-action { color: rgba(255, 255, 255, 0.75); }
.download-footnote {
  margin: 20px 0 0;
  font-size: 0.88rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
}

.contact-wrap { max-width: 920px; }
.contact-intro {
  text-align: center;
  margin-bottom: 32px;
}
.contact-intro .section-intro { margin-bottom: 0; }
.contact-grid {
  display: grid;
  gap: 32px;
  align-items: start;
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
.contact-info-title {
  margin: 0 0 12px;
  font-size: 1.15rem;
  line-height: 1.35;
}
.contact-info-lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.98rem;
}
.contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-details li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}
.contact-details li:last-child { border-bottom: 0; }
.contact-details a { text-decoration: none; }
.contact-details a:hover { text-decoration: underline; }

#newsletter .btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
#newsletter .btn-primary:hover { filter: brightness(1.05); }

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
@media (min-width: 700px) {
  .feature-list { grid-template-columns: repeat(3, 1fr); }
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.feature-icon {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 10px;
  opacity: 0.85;
}
.feature-card h3 { margin: 0 0 8px; font-size: 1.12rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: 0.96rem; }

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}
.shot { margin: 0; }
.shot img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: block;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.store-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 200px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: border-color 0.15s, transform 0.15s;
}
.store-badge:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  text-decoration: none;
}
.store-name { font-weight: 800; font-size: 1.05rem; }
.store-action { font-size: 0.9rem; color: var(--muted); margin-top: 4px; }

/* Accordion (<details>) */
.accordion { display: flex; flex-direction: column; gap: 10px; }
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.accordion-item summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::after {
  content: "+";
  flex-shrink: 0;
  margin-inline-start: auto;
  font-weight: 400;
  color: var(--muted);
  font-size: 1.15rem;
}
.accordion-item[open] summary::after { content: "−"; }
.accordion-body {
  padding: 0 18px 16px;
  color: var(--muted);
  font-size: 0.96rem;
  margin: 0;
}

.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.inline-form input {
  flex: 1 1 200px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  background: var(--surface);
}

.stack-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 12px 0 6px;
}
.stack-form label:first-child { margin-top: 0; }
.stack-form input,
.stack-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  background: var(--surface);
}
.stack-form textarea { resize: vertical; min-height: 110px; }

.stack-form .btn-primary {
  margin-top: 8px;
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.stack-form .btn-primary:hover { filter: brightness(1.05); text-decoration: none; }

.site-footer {
  background: #0f1720;
  color: #9aa5b3;
  padding: 28px 0 80px;
  font-size: 0.9rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.site-footer code {
  font-size: 0.82em;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

.footer-brand {
  margin: 0 0 8px;
  font-weight: 700;
  color: #e8ecf0;
  width: 100%;
}
.footer-copy {
  margin: 0;
  flex: 1 1 auto;
}
.site-footer a {
  color: #cbd5e1;
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.to-top {
  position: fixed;
  bottom: 20px;
  inset-inline-start: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  border: 0;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 40;
  font-size: 1.1rem;
  line-height: 1;
}
.to-top.visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--brand-dark); }
