:root {
  --bg: #fbf5df;
  --surface: #fffdf5;
  --surface-soft: #f6efd4;
  --surface-green: #e4ead6;
  --text: #10231d;
  --muted: #6f735f;
  --green: #006b52;
  --green-dark: #064b3d;
  --gold: #bd8a2f;
  --gold-soft: #e7d09c;
  --border: rgba(117, 94, 39, 0.18);
  --shadow: 0 24px 70px rgba(57, 46, 19, 0.10);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 8%, rgba(13, 116, 89, 0.06), transparent 24rem),
    radial-gradient(circle at 92% 18%, rgba(189, 138, 47, 0.08), transparent 26rem),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body[dir="rtl"] { text-align: right; }
body[dir="ltr"] { text-align: left; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  background: var(--green-dark);
  color: white;
  padding: 10px 16px;
  border-radius: 12px;
  z-index: 999;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid rgba(117, 94, 39, 0.10);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 650;
  font-size: 0.95rem;
  opacity: 0.85;
}
.nav-links a:hover { color: var(--green); opacity: 1; }
.lang-switch {
  display: inline-flex;
  background: rgba(255,255,255,.58);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  box-shadow: 0 8px 24px rgba(57, 46, 19, 0.06);
}
.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 7px 12px;
  cursor: pointer;
  font-weight: 750;
}
.lang-switch button.active {
  background: var(--green);
  color: white;
}
.mobile-menu { display: none; }

.hero {
  padding: 72px 0 54px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 58px;
}
.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--green);
  background: rgba(0, 107, 82, 0.08);
  border: 1px solid rgba(0, 107, 82, 0.14);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: .9rem;
  font-weight: 800;
  margin-bottom: 20px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 1.06;
  letter-spacing: -0.055em;
  max-width: 800px;
}
.hero h1 .accent { color: var(--green); }
.hero-lead {
  max-width: 720px;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  color: #4e594d;
  margin: 24px 0 30px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 16px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--green);
  color: white;
  box-shadow: 0 14px 34px rgba(0, 107, 82, .20);
}
.btn-dark { background: #0b1512; color: white; }
.btn-secondary {
  background: rgba(255,255,255,.55);
  border-color: var(--border);
  color: var(--text);
}
.btn svg { width: 20px; height: 20px; }

.hero-note {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: .93rem;
  max-width: 700px;
}
.hero-note .dot {
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: .7em;
}

.phone-stage {
  position: relative;
  min-height: 650px;
  display: grid;
  place-items: center;
}
.logo-halo {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.75), rgba(230, 211, 157, .22) 54%, transparent 70%);
  filter: blur(.2px);
}
.phone {
  position: absolute;
  width: min(250px, 35vw);
  border-radius: 36px;
  padding: 7px;
  background: #111;
  box-shadow: 0 36px 70px rgba(25, 28, 21, .22);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
}
.phone img { border-radius: 29px; }
.phone.main { z-index: 3; transform: translateY(0) rotate(-2deg); }
body[dir="rtl"] .phone.main { transform: translateY(0) rotate(2deg); }
.phone.back-one { z-index: 2; transform: translateX(-145px) translateY(52px) rotate(-10deg) scale(.91); opacity: .96; }
.phone.back-two { z-index: 1; transform: translateX(145px) translateY(44px) rotate(10deg) scale(.88); opacity: .93; }
body[dir="rtl"] .phone.back-one { transform: translateX(145px) translateY(52px) rotate(10deg) scale(.91); }
body[dir="rtl"] .phone.back-two { transform: translateX(-145px) translateY(44px) rotate(-10deg) scale(.88); }
.app-mark {
  position: absolute;
  z-index: 4;
  width: 126px;
  inset-inline-end: 4%;
  top: 1%;
  filter: drop-shadow(0 18px 20px rgba(89, 61, 10, .14));
}

.section { padding: 74px 0; }
.section.compact { padding: 54px 0; }
.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}
.section-kicker {
  color: var(--gold);
  font-size: .88rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.section h2 {
  margin: 6px 0 10px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.16;
  letter-spacing: -0.04em;
}
.section-head p { margin: 0; color: var(--muted); font-size: 1.05rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 16px 40px rgba(57, 46, 19, 0.05);
}
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--surface-green);
  color: var(--green);
  font-size: 1.25rem;
  margin-bottom: 16px;
}
.feature-card h3 { margin: 0 0 7px; font-size: 1.12rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .95rem; }

.notice-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  background: linear-gradient(135deg, var(--green-dark), #0b6f58);
  color: white;
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: 0 22px 50px rgba(0, 77, 59, .20);
}
.notice-card .notice-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.12);
  font-size: 1.4rem;
}
.notice-card h3 { margin: 0 0 8px; font-size: 1.45rem; }
.notice-card p { margin: 0; color: rgba(255,255,255,.82); }
.notice-card strong { color: #fff7cf; }

.gallery-shell {
  position: relative;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: 18px;
  overflow-x: auto;
  padding: 12px 4px 24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.gallery-item {
  min-width: 205px;
  scroll-snap-align: center;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 32px;
  box-shadow: 0 22px 42px rgba(50, 42, 20, .12);
  transition: transform .2s ease;
}
.gallery-item:hover { transform: translateY(-5px); }
.gallery-item img { border-radius: 32px; width: 100%; }

.split-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.info-panel {
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.55);
}
.info-panel.green { background: var(--surface-green); }
.info-panel h3 { margin: 0 0 10px; font-size: 1.4rem; }
.info-panel p { margin: 0 0 18px; color: #596055; }
.info-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.info-list li { display: flex; gap: 10px; align-items: flex-start; }
.info-list li::before { content: "✓"; color: var(--green); font-weight: 900; }

.cta {
  background: linear-gradient(135deg, #fffaf0, #f1ead2);
  border: 1px solid var(--border);
  border-radius: 38px;
  padding: clamp(28px, 5vw, 54px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow);
}
.cta h2 { margin: 0 0 8px; font-size: clamp(1.8rem, 4vw, 3rem); }
.cta p { margin: 0; color: var(--muted); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.site-footer {
  margin-top: 80px;
  border-top: 1px solid var(--border);
  padding: 30px 0 44px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: start;
}
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand img { width: 54px; height: 54px; }
.footer-brand strong { display: block; }
.footer-brand small { color: var(--muted); }
.footer-links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-links a { text-decoration: none; color: var(--muted); }
.footer-links a:hover { color: var(--green); }
.footer-meta { margin-top: 22px; color: var(--muted); font-size: .88rem; }

/* Legal pages */
.page-hero { padding: 62px 0 24px; }
.page-hero h1 { margin: 0 0 12px; font-size: clamp(2.4rem, 6vw, 4.8rem); letter-spacing: -0.05em; line-height: 1.05; }
.page-hero p { color: var(--muted); max-width: 760px; margin: 0; }
.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.legal-toc {
  position: sticky;
  top: 100px;
  background: rgba(255,255,255,.56);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px;
}
.legal-toc strong { display: block; margin-bottom: 8px; }
.legal-toc a { display: block; padding: 7px 0; text-decoration: none; color: var(--muted); font-size: .92rem; }
.legal-toc a:hover { color: var(--green); }
.legal-content {
  background: rgba(255,255,255,.58);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: clamp(24px, 5vw, 46px);
}
.legal-content section { scroll-margin-top: 105px; margin-bottom: 34px; }
.legal-content section:last-child { margin-bottom: 0; }
.legal-content h2 { font-size: 1.5rem; margin: 0 0 10px; letter-spacing: -0.02em; }
.legal-content h3 { font-size: 1.08rem; margin: 18px 0 8px; }
.legal-content p, .legal-content li { color: #4f584e; }
.legal-content ul { padding-inline-start: 22px; }
.legal-updated { color: var(--gold); font-weight: 750; margin-bottom: 20px; }

/* Feedback */
.feedback-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: start; }
.contact-card, .form-card {
  background: rgba(255,255,255,.60);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: clamp(22px, 4vw, 34px);
}
.contact-card h2, .form-card h2 { margin: 0 0 8px; }
.contact-card p, .form-card > p { margin: 0 0 20px; color: var(--muted); }
.form-row { display: grid; gap: 8px; margin-bottom: 16px; }
.form-row label { font-weight: 750; }
.input, .textarea {
  width: 100%;
  border: 1px solid rgba(81, 73, 46, .20);
  background: #fffdf7;
  color: var(--text);
  border-radius: 15px;
  padding: 13px 15px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus, .textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(0, 107, 82, .10);
}
.textarea { min-height: 170px; resize: vertical; }
.field-hint { color: var(--muted); font-size: .82rem; }
.form-status { margin-top: 14px; min-height: 28px; font-size: .92rem; }
.form-status.success { color: var(--green); }
.form-status.error { color: #a43529; }
.form-status.wait { color: #8c681e; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(7, 13, 11, .88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 90vh; width: auto; border-radius: 30px; box-shadow: 0 30px 90px rgba(0,0,0,.5); }
.lightbox-close {
  position: absolute;
  top: 20px;
  inset-inline-end: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.12);
  color: white;
  cursor: pointer;
  font-size: 1.4rem;
}

[data-lang-block] { display: none; }
body[data-language="ar"] [data-lang-block="ar"] { display: block; }
body[data-language="en"] [data-lang-block="en"] { display: block; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 18px; }
  .hero-copy { max-width: 760px; }
  .phone-stage { min-height: 610px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(5, 230px); }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .feedback-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .container { width: min(calc(100% - 22px), var(--max)); }
  .nav { min-height: 68px; }
  .brand span { display: none; }
  .hero { padding-top: 44px; }
  .hero h1 { font-size: clamp(2.35rem, 12vw, 4rem); }
  .phone-stage { min-height: 520px; margin-top: 8px; }
  .phone { width: 190px; border-radius: 29px; padding: 5px; }
  .phone img { border-radius: 24px; }
  .phone.back-one { transform: translateX(-92px) translateY(44px) rotate(-9deg) scale(.88); }
  .phone.back-two { transform: translateX(92px) translateY(38px) rotate(9deg) scale(.86); }
  body[dir="rtl"] .phone.back-one { transform: translateX(92px) translateY(44px) rotate(9deg) scale(.88); }
  body[dir="rtl"] .phone.back-two { transform: translateX(-92px) translateY(38px) rotate(-9deg) scale(.86); }
  .app-mark { width: 92px; top: 2%; }
  .feature-grid { grid-template-columns: 1fr; }
  .split-card { grid-template-columns: 1fr; }
  .notice-card { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(5, 190px); }
  .cta { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  body[dir="rtl"] .footer-links { justify-content: flex-start; }
  .page-hero { padding-top: 42px; }
  .legal-content { border-radius: 22px; }
}

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