@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&display=swap");

:root {
  --green-950: #031f17;
  --green-900: #062b20;
  --green-850: #073628;
  --green-800: #0b4331;
  --gold: #d9b667;
  --gold-soft: #f1dca5;
  --ivory: #fff8e7;
  --muted: rgba(255, 248, 231, 0.76);
  --line: rgba(217, 182, 103, 0.28);
  --panel: rgba(6, 43, 32, 0.78);
  --panel-strong: rgba(3, 31, 23, 0.9);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
  font-family: "Cairo", "Avenir Next", "Segoe UI", Tahoma, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(145deg, var(--green-950), var(--green-900) 48%, #02130f);
  color: var(--ivory);
  line-height: 1.75;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(30deg, rgba(217, 182, 103, 0.18) 12%, transparent 12.5%, transparent 87%, rgba(217, 182, 103, 0.18) 87.5%, rgba(217, 182, 103, 0.18)),
    linear-gradient(150deg, rgba(217, 182, 103, 0.18) 12%, transparent 12.5%, transparent 87%, rgba(217, 182, 103, 0.18) 87.5%, rgba(217, 182, 103, 0.18)),
    linear-gradient(30deg, rgba(217, 182, 103, 0.12) 12%, transparent 12.5%, transparent 87%, rgba(217, 182, 103, 0.12) 87.5%, rgba(217, 182, 103, 0.12)),
    linear-gradient(150deg, rgba(217, 182, 103, 0.12) 12%, transparent 12.5%, transparent 87%, rgba(217, 182, 103, 0.12) 87.5%, rgba(217, 182, 103, 0.12)),
    linear-gradient(60deg, rgba(255, 248, 231, 0.08) 25%, transparent 25.5%, transparent 75%, rgba(255, 248, 231, 0.08) 75.5%),
    linear-gradient(120deg, rgba(255, 248, 231, 0.08) 25%, transparent 25.5%, transparent 75%, rgba(255, 248, 231, 0.08) 75.5%);
  background-position: 0 0, 0 0, 36px 62px, 36px 62px, 0 0, 0 0;
  background-size: 72px 124px;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(90deg, rgba(217, 182, 103, 0.16) 1px, transparent 1px),
    linear-gradient(0deg, rgba(217, 182, 103, 0.12) 1px, transparent 1px);
  background-size: 144px 144px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.site-shell::before {
  content: "";
  position: absolute;
  inset: 72px 0 auto;
  height: 520px;
  pointer-events: none;
  opacity: 0.28;
  background:
    repeating-linear-gradient(45deg, transparent 0 42px, rgba(217, 182, 103, 0.16) 42px 43px, transparent 43px 84px),
    repeating-linear-gradient(-45deg, transparent 0 42px, rgba(217, 182, 103, 0.16) 42px 43px, transparent 43px 84px);
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 31, 23, 0.82);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark,
.brand-logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(217, 182, 103, 0.5);
  border-radius: 14px;
  color: var(--gold-soft);
  font-weight: 800;
  background: linear-gradient(145deg, rgba(217, 182, 103, 0.18), rgba(255, 255, 255, 0.04));
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-title {
  display: block;
  font-weight: 800;
  color: var(--ivory);
}

.brand-subtitle {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: -4px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lang-link,
.mail-link,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 9px 15px;
  text-decoration: none;
  color: var(--ivory);
  font-weight: 700;
}

.lang-link {
  min-width: 48px;
  background: rgba(255, 255, 255, 0.04);
}

.lang-link.active,
.button.primary {
  border-color: rgba(217, 182, 103, 0.78);
  background: linear-gradient(135deg, var(--gold), #f5d88d);
  color: #09261d;
}

.mail-link,
.button.secondary {
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  min-height: 720px;
  display: grid;
  align-items: center;
  position: relative;
  background:
    linear-gradient(90deg, rgba(3, 31, 23, 0.96), rgba(3, 31, 23, 0.78) 46%, rgba(3, 31, 23, 0.94)),
    repeating-linear-gradient(45deg, transparent 0 46px, rgba(217, 182, 103, 0.2) 46px 47px, transparent 47px 92px),
    repeating-linear-gradient(-45deg, transparent 0 46px, rgba(217, 182, 103, 0.16) 46px 47px, transparent 47px 92px),
    linear-gradient(145deg, var(--green-900), var(--green-950));
  border-bottom: 1px solid var(--line);
}

[dir="rtl"] .hero {
  background:
    linear-gradient(270deg, rgba(3, 31, 23, 0.96), rgba(3, 31, 23, 0.78) 46%, rgba(3, 31, 23, 0.94)),
    repeating-linear-gradient(45deg, transparent 0 46px, rgba(217, 182, 103, 0.2) 46px 47px, transparent 47px 92px),
    repeating-linear-gradient(-45deg, transparent 0 46px, rgba(217, 182, 103, 0.16) 46px 47px, transparent 47px 92px),
    linear-gradient(145deg, var(--green-900), var(--green-950));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, rgba(3, 31, 23, 0.92));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 40px));
  padding: 84px 0 118px;
}

.hero-logo {
  display: block;
  width: clamp(108px, 18vw, 156px);
  height: auto;
  margin-bottom: 24px;
  border: 1px solid rgba(217, 182, 103, 0.58);
  border-radius: 28px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32);
}

.content-banner {
  display: block;
  width: min(100%, 1024px);
  height: auto;
  margin: 0 auto;
  border: 1px solid rgba(217, 182, 103, 0.38);
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

.pre-footer-banner {
  padding: 44px 0;
  border-top: 1px solid rgba(217, 182, 103, 0.16);
  background:
    radial-gradient(circle at 50% 0%, rgba(217, 182, 103, 0.12), transparent 42%),
    rgba(3, 31, 23, 0.58);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-soft);
  font-weight: 800;
  letter-spacing: 0;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: var(--gold);
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 6vw, 5.3rem);
  line-height: 1.08;
  color: var(--ivory);
}

h2 {
  margin-bottom: 16px;
  color: var(--gold-soft);
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  line-height: 1.2;
}

h3 {
  margin-bottom: 10px;
  color: var(--ivory);
  font-size: 1.14rem;
}

.lead {
  color: rgba(255, 248, 231, 0.88);
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
  max-width: 700px;
}

.hero-actions,
.section-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  padding-inline: 22px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.lang-link:hover,
.mail-link:hover {
  transform: translateY(-1px);
  border-color: rgba(241, 220, 165, 0.82);
}

.status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 700;
}

.pill.ready {
  color: #09261d;
  background: rgba(217, 182, 103, 0.95);
}

.section {
  padding: 86px 0;
}

.section.tight {
  padding-top: 46px;
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, var(--panel), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
  padding: 30px;
}

.panel p,
.feature-card p,
.timeline-card p,
.footer p {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.feature-card {
  min-height: 188px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.055);
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  color: #09261d;
  background: linear-gradient(135deg, var(--gold), #f5d88d);
  font-weight: 900;
}

.pattern-panel {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}

.pattern-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background:
    repeating-linear-gradient(30deg, transparent 0 34px, rgba(217, 182, 103, 0.18) 34px 35px, transparent 35px 68px),
    repeating-linear-gradient(150deg, transparent 0 34px, rgba(217, 182, 103, 0.18) 34px 35px, transparent 35px 68px);
}

.pattern-panel > * {
  position: relative;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.timeline-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.05);
}

.timeline-number {
  color: var(--gold-soft);
  font-weight: 900;
  font-size: 1.4rem;
}

.language-roadmap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.language-roadmap .planned {
  opacity: 0.72;
}

.contact-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(217, 182, 103, 0.12), rgba(255, 255, 255, 0.03));
}

.store-actions {
  align-items: stretch;
}

.store-button {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 190px;
  min-height: 68px;
  border: 1px solid rgba(217, 182, 103, 0.44);
  border-radius: 18px;
  padding: 12px 18px;
  color: var(--ivory);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(217, 182, 103, 0.1));
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.store-button span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.2;
}

.store-button strong {
  color: var(--gold-soft);
  font-size: 1.05rem;
  line-height: 1.25;
}

.store-button.compact {
  min-width: 152px;
  min-height: 58px;
  border-radius: 16px;
}

.store-button.live-store {
  border-color: rgba(217, 182, 103, 0.82);
  background: linear-gradient(135deg, var(--gold), #f5d88d);
}

.store-button.live-store span,
.store-button.live-store strong {
  color: #09261d;
}

.footer {
  padding: 42px 0 28px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(3, 31, 23, 0.72);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--gold-soft);
}

.footer-download {
  align-items: flex-start;
  padding-bottom: 24px;
}

.footer-title {
  margin-bottom: 6px;
  color: var(--ivory) !important;
  font-size: 1.22rem;
  font-weight: 900;
}

.footer-store-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-meta {
  border-top: 1px solid rgba(217, 182, 103, 0.18);
  padding-top: 22px;
}

@media (max-width: 860px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .hero {
    min-height: 680px;
    background-position: center top;
  }

  .hero-content {
    display: grid;
    justify-items: center;
    width: min(100% - 24px, 720px);
    padding-top: 60px;
    text-align: center;
  }

  .hero-logo {
    margin-inline: auto;
  }

  .hero-content .eyebrow {
    justify-content: center;
  }

  .hero-content h1 {
    max-width: 13ch;
    margin-inline: auto;
    font-size: clamp(2rem, 7vw, 2.85rem);
    line-height: 1.18;
    overflow-wrap: break-word;
    text-wrap: balance;
  }

  .hero-content .lead {
    max-width: 36rem;
    margin-inline: auto;
    text-align: center;
  }

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

  .content-banner {
    width: 100%;
    border-radius: 14px;
  }

  .section-grid,
  .feature-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .panel,
  .feature-card,
  .timeline-card {
    border-radius: 18px;
  }

  .footer-store-buttons {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .hero {
    min-height: 720px;
  }

  .hero-content h1 {
    max-width: 12ch;
    font-size: clamp(1.82rem, 8vw, 2.35rem);
  }

  .hero-content .lead {
    font-size: 1rem;
  }

  .content-banner {
    width: 100%;
    margin-inline: 0;
  }

  .mail-link {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .store-button,
  .store-button.compact {
    width: 100%;
  }
}
