:root {
  --green-980: #032718;
  --green-950: #063b29;
  --green-900: #07573a;
  --green-780: #0d6f48;
  --green-700: #168052;
  --mint-100: #e4f8ef;
  --mint-50: #f5fcf8;
  --gold: #f4c542;
  --gold-soft: #f9e7a4;
  --coral: #f26d4f;
  --cream: #fffaf0;
  --ink: #141713;
  --muted: #5f685f;
  --line: #dfe7df;
  --white: #ffffff;
  --shadow-lg: 0 24px 60px rgba(6, 59, 41, 0.16);
  --shadow-md: 0 16px 42px rgba(6, 59, 41, 0.1);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Tajawal", "Segoe UI", Tahoma, sans-serif;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

html[lang="en"] body {
  font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
ul {
  margin-top: 0;
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  color: var(--white);
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(6, 59, 41, 0.08);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.02rem;
  font-weight: 900;
  white-space: nowrap;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 0.98rem;
  font-weight: 700;
}

.nav-links a,
.footer-links a {
  opacity: 0.9;
}

.nav-links a:hover,
.footer-links a:hover {
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta,
.button {
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  font: inherit;
  font-weight: 900;
  letter-spacing: 0;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.header-cta {
  background: var(--gold);
  color: var(--ink);
}

.language-link {
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  color: var(--white);
  font-weight: 900;
  line-height: 1;
}

.site-header.is-scrolled .language-link,
.legal-page .language-link {
  border-color: var(--line);
  background: var(--white);
  color: var(--green-950);
}

.button.primary {
  background: var(--white);
  color: var(--green-950);
  box-shadow: 0 16px 34px rgba(3, 39, 24, 0.18);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.pricing .button.primary,
.download .button.primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 16px 34px rgba(244, 197, 66, 0.22);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 470px);
  gap: clamp(26px, 4vw, 58px);
  align-items: center;
  min-height: min(94svh, 920px);
  padding: 122px clamp(20px, 5vw, 72px) 82px;
  color: var(--white);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background:
    radial-gradient(circle at 14% 18%, rgba(244, 197, 66, 0.24), transparent 22%),
    radial-gradient(circle at 82% 18%, rgba(242, 109, 79, 0.14), transparent 24%),
    radial-gradient(circle at 78% 82%, rgba(255, 255, 255, 0.08), transparent 22%),
    linear-gradient(140deg, var(--green-980) 0%, var(--green-950) 40%, var(--green-780) 100%);
}

.hero-overlay {
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02)),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.035) 0,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px,
      transparent 16px
    );
}

.hero-content,
.screen-rail {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--gold-soft);
  font-size: 0.96rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.eyebrow.dark {
  color: var(--green-700);
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.24rem, 2vw, 1.58rem);
  line-height: 1.2;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.08rem, 2vw, 1.4rem);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-pills span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-weight: 800;
  font-size: 0.96rem;
  backdrop-filter: blur(10px);
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.trust-note {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
}

.screen-rail {
  display: grid;
  grid-template-columns: 1.06fr 0.88fr;
  gap: 16px;
  align-items: start;
}

.screen-rail img,
.product-flow img,
.preview-screens img {
  width: 100%;
  border: 6px solid rgba(255, 255, 255, 0.82);
  border-radius: 28px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.screen-rail img {
  aspect-ratio: 591 / 1280;
}

.screen-rail .primary-shot {
  grid-row: 1 / span 2;
  align-self: center;
}

.section {
  padding: clamp(76px, 10vw, 132px) clamp(20px, 5vw, 72px);
}

.section.alt {
  background:
    linear-gradient(180deg, var(--mint-50), var(--white));
}

.section-copy,
.section-heading,
.download-copy {
  max-width: 860px;
}

.section-copy p,
.section-heading p,
.preview-copy p,
.pricing p,
.download-copy p,
.feature p,
.step p,
.faq p,
.audience-card p {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.problem {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.pain-list {
  display: grid;
  gap: 12px;
}

.pain-list span {
  border: 1px solid var(--line);
  border-right: 7px solid var(--coral);
  border-radius: 20px;
  padding: 18px 20px;
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(6, 59, 41, 0.06);
}

.audience-grid,
.steps,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.audience-card,
.step,
.feature,
.pricing-card,
.faq details,
.download-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.audience-card,
.step,
.feature,
.pricing-card {
  padding: 28px;
}

.audience-label,
.pricing-tier {
  margin-bottom: 14px;
  color: var(--green-900);
  font-size: 0.92rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

html[lang="ar"] .audience-label,
html[lang="ar"] .pricing-tier {
  letter-spacing: 0;
}

.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--mint-100);
  color: var(--green-900);
  font-weight: 900;
}

.product-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
  margin-top: 54px;
  align-items: start;
}

.product-flow figure {
  margin: 0;
}

.product-flow img,
.preview-screens img {
  width: min(100%, 320px);
  margin-inline: auto;
  aspect-ratio: 591 / 1280;
}

.product-flow figcaption {
  margin-top: 16px;
  color: var(--green-950);
  font-weight: 900;
  text-align: center;
}

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

.feature:last-child {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--cream), var(--white));
}

.app-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: center;
}

.preview-screens {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 30px);
}

.preview-screens img:first-child {
  transform: translateY(32px);
}

.pricing {
  background:
    linear-gradient(180deg, var(--white), #f8faf8);
}

.pricing-card {
  position: relative;
}

.pricing-card.featured {
  border-color: rgba(244, 197, 66, 0.58);
  background: linear-gradient(135deg, #fffdf4, var(--white));
}

.pricing-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.pricing-list li {
  position: relative;
  padding-inline-start: 22px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
}

.pricing-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green-700);
}

.pricing-note {
  max-width: 840px;
  margin-top: 20px;
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 920px;
  margin-top: 36px;
}

.faq details {
  padding: 22px 24px;
}

.faq summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 900;
}

.faq details p {
  margin: 14px 0 0;
}

.download {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 520px);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
  background:
    radial-gradient(circle at 16% 18%, rgba(244, 197, 66, 0.18), transparent 22%),
    linear-gradient(135deg, var(--green-980), var(--green-950) 42%, var(--green-780));
  color: var(--white);
}

.download .eyebrow {
  color: var(--gold);
}

.download p {
  color: rgba(255, 255, 255, 0.8);
}

.download-panel {
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
}

.download-meta {
  font-weight: 800;
}

.download-note {
  margin-bottom: 0;
  font-size: 0.96rem;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.legal-page .site-header {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(6, 59, 41, 0.08);
  backdrop-filter: blur(12px);
}

@media (max-width: 1180px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature:last-child {
    grid-column: span 1;
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .screen-rail {
    max-width: 520px;
  }

  .problem,
  .app-preview,
  .download {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .site-header {
    gap: 14px;
    padding: 12px 16px;
  }

  .header-actions {
    gap: 8px;
  }

  .nav-links {
    display: none;
  }

  .header-cta {
    min-height: 42px;
    padding-inline: 14px;
    font-size: 0.92rem;
  }

  .language-link {
    min-height: 42px;
    padding-inline: 11px;
    font-size: 0.92rem;
  }

  .hero {
    min-height: auto;
    padding: 104px 20px 58px;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.8rem);
  }

  .audience-grid,
  .steps,
  .product-flow,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .product-flow {
    gap: 24px;
  }

  .preview-screens {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 18px;
  }

  .preview-screens img {
    min-width: 220px;
  }

  .preview-screens img:first-child {
    transform: none;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .hero-pills {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .download-actions {
    display: grid;
  }

  .hero-actions .button,
  .download-actions .button {
    width: 100%;
  }

  .site-header .brand span {
    display: none;
  }

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

  .screen-rail {
    grid-template-columns: 1fr 1fr;
  }

  .screen-rail .primary-shot {
    grid-column: 1 / span 2;
    grid-row: auto;
  }

  .section {
    padding-inline: 18px;
  }
}

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

.legal-page {
  background: var(--mint-50);
}

.legal-header {
  position: sticky;
}

.legal-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(58px, 8vw, 96px) clamp(18px, 5vw, 40px);
}

.legal-hero {
  margin-bottom: 32px;
}

.legal-hero h1 {
  max-width: 900px;
  margin-bottom: 12px;
  color: var(--green-950);
  font-size: clamp(2.4rem, 7vw, 5rem);
}

.legal-hero p {
  color: var(--muted);
}

.language-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.language-jump a {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 16px;
  background: var(--white);
  color: var(--green-950);
  font-weight: 900;
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  margin-top: 22px;
  padding: clamp(24px, 5vw, 54px);
  background: var(--white);
  box-shadow: 0 18px 48px rgba(6, 59, 41, 0.08);
}

.legal-card h2 {
  color: var(--green-950);
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.legal-card h3 {
  margin-top: 30px;
  color: var(--green-950);
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 1.04rem;
}

.legal-card a {
  color: var(--green-700);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-card ul {
  padding-left: 22px;
}

.arabic-legal ul {
  padding-right: 22px;
  padding-left: 0;
}

.support-email {
  font-size: clamp(1.4rem, 4vw, 2.2rem) !important;
  line-height: 1.2;
  word-break: break-word;
}
