/* Localuck marketing site — colours sampled from the logo (assets/img/logo.jpg):
   dominant navy background, green + gold accents, white text. */
:root {
  --navy-900: #0c1a38;
  --navy-800: #122148;
  --navy-700: #1a2c5a;
  --navy-600: #24386e;
  --green: #34a853;
  --green-light: #5bbe6a;
  --green-deep: #1e7d38;
  --gold: #f5c518;
  --gold-deep: #e0a800;
  --white: #ffffff;
  --muted: #aeb8d4;
  --radius: 16px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
[dir="rtl"] body { font-family: "Noto Naskh Arabic", "Segoe UI", Tahoma, sans-serif; }

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

img { max-width: 100%; height: auto; }

/* Grid children must be allowed to shrink below their content's intrinsic
   width (images default to min-width:auto), otherwise wide placeholder
   artwork forces horizontal overflow on narrow screens. */
.hero .wrap > *,
.showcase > *,
.feature-grid > *,
.steps > * { min-width: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 26, 56, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--white);
}
.logo img { width: 34px; height: 34px; display: block; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a.navlink {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}
.nav a.navlink:hover { color: var(--white); text-decoration: none; }

.lang-select {
  background: var(--navy-700);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 14px;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--white);
  font-size: 26px;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--green); color: var(--white); box-shadow: 0 8px 22px rgba(52, 168, 83, 0.35); }
.btn-primary:hover { background: var(--green-light); }
.btn-gold { background: var(--gold); color: var(--navy-900); box-shadow: 0 8px 22px rgba(245, 197, 24, 0.3); }
.btn-gold:hover { background: var(--gold-deep); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.3); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(52, 168, 83, 0.22), transparent 60%),
    radial-gradient(900px 480px at 6% 12%, rgba(245, 197, 24, 0.14), transparent 55%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
  padding: 72px 0 64px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(52, 168, 83, 0.16);
  border: 1px solid rgba(52, 168, 83, 0.45);
  color: var(--green-light);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}
.hero h1 .accent { color: var(--gold); }
.hero p.lead {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--muted);
  max-width: 540px;
  margin: 0 0 28px;
}
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; }
.hero .note { font-size: 13px; color: var(--muted); }
.hero-art { display: flex; justify-content: center; }
.hero-art img {
  width: 100%;
  max-width: 360px;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
  border-radius: 28px;
}

/* ---------- Value strip ---------- */
.valuestrip {
  background: var(--navy-700);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.valuestrip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  justify-content: center;
  padding: 18px 20px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}
.valuestrip .dot { color: var(--green-light); }

/* ---------- Section ---------- */
section.block { padding: 76px 0; }
section.block.alt { background: var(--navy-800); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .kicker {
  color: var(--green-light);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.section-head h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  margin: 10px 0 12px;
}
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--navy-700);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(52, 168, 83, 0.5); }
.feature-card .ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(52, 168, 83, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-card .ico svg { width: 28px; height: 28px; }
.feature-card h3 { margin: 0 0 8px; font-size: 19px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Showcase rows ---------- */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.showcase + .showcase { margin-top: 64px; }
.showcase.reverse .text { order: 2; }
.showcase img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.showcase .text h3 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 14px; }
.showcase .text p { color: var(--muted); font-size: 16px; margin: 0 0 16px; }
.showcase .text ul { margin: 0; padding-inline-start: 20px; color: var(--muted); }
.showcase .text li { margin-bottom: 8px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  text-align: center;
  padding: 28px 22px;
  background: var(--navy-700);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.step .num {
  width: 46px;
  height: 46px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-900);
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { margin: 0 0 8px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Languages ---------- */
.lang-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.lang-chip {
  background: var(--navy-700);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
}

/* ---------- Download CTA ---------- */
.download {
  text-align: center;
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(245, 197, 24, 0.16), transparent 60%),
    var(--navy-800);
}
.download .store-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer-grid h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green-light);
  margin: 0 0 14px;
}
.footer-grid p, .footer-grid li { color: var(--muted); font-size: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid ul li { margin-bottom: 9px; }
.footer-grid ul li a { color: var(--muted); }
.footer-grid ul li a:hover { color: var(--white); text-decoration: none; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; margin-bottom: 12px; }
.footer-brand img { width: 30px; height: 30px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .cta-row, .badge { justify-content: center; }
  .hero p.lead { margin-inline: auto; }
  .hero-art { order: -1; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .showcase, .showcase.reverse .text { grid-template-columns: 1fr; order: 0; }
  .showcase .art { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 64px;
    inset-inline: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    background: var(--navy-800);
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .menu-toggle { display: block; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section.block { padding: 56px 0; }
}
