/* Kurdivery — shared styles for the ku / en / ar landing pages.
   One stylesheet for all three so a copy edit never means a CSS edit.
   RTL (ku, ar) vs LTR (en) is handled by [dir] selectors, not separate files. */

:root{
  --bg:#0a0908;
  --bg-soft:#12100c;
  --gold:#c89b2c;
  --gold-soft:#e9c866;
  --gold-dim:#8a6b22;
  --accent:#e07a1f;
  --ink:#f6f2e8;
  --ink-dim:#ad9f88;
  --ink-faint:#6f6552;
  --line:#282219;
  --line-soft:#1e1b14;
  --max:900px;
}

*{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}
body{
  margin:0;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  background:var(--bg);
  color:var(--ink);
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
/* Arabic-script pages (ku + ar) get a face that actually renders Sorani's
   extra letters (ڕ ڵ ێ ۆ ژ) properly — Inter has no Arabic coverage. */
body[dir="rtl"]{font-family:'Noto Sans Arabic',system-ui,'Segoe UI',Tahoma,sans-serif;}
h1,h2{font-family:'Sora',system-ui,sans-serif;letter-spacing:-0.015em;margin:0;text-wrap:balance;}
body[dir="rtl"] h1,body[dir="rtl"] h2{font-family:'Noto Kufi Arabic','Sora',system-ui,sans-serif;letter-spacing:0;}
p{margin:0;}
a{color:inherit;}
img{max-width:100%;display:block;}
::selection{background:var(--gold);color:#161207;}

/* ── Header ─────────────────────────────────────────── */
header{
  position:sticky;top:0;z-index:30;
  background:rgba(10,9,8,0.72);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line-soft);
}
.nav{
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;padding:14px 28px;max-width:var(--max);margin:0 auto;
}
.brand{
  display:flex;align-items:center;gap:10px;
  font-family:'Sora',system-ui,sans-serif;font-weight:700;font-size:17px;
  text-decoration:none;flex:none;
}
body[dir="rtl"] .brand{font-family:'Noto Kufi Arabic','Sora',sans-serif;}
.brand img{width:30px;height:30px;border-radius:8px;}

.lang-switch{
  display:flex;gap:3px;flex:none;
  background:rgba(255,255,255,0.04);
  border:1px solid var(--line);border-radius:100px;padding:3px;
}
.lang-switch a{
  padding:6px 13px;border-radius:100px;
  font-size:12.5px;font-weight:600;text-decoration:none;
  color:var(--ink-faint);transition:background .15s,color .15s;
  font-family:'Inter',system-ui,sans-serif;
}
.lang-switch a.active{background:var(--gold);color:#161207;}
.lang-switch a:not(.active):hover{color:var(--ink);}

/* ── Hero ───────────────────────────────────────────── */
.hero{
  flex:1;
  position:relative;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;
  padding:80px 24px 72px;
  isolation:isolate;overflow:hidden;
}
.orb{
  position:absolute;border-radius:50%;
  filter:blur(70px);z-index:-1;opacity:.55;
  animation:drift 16s ease-in-out infinite;
}
.orb-1{width:420px;height:420px;background:radial-gradient(circle,rgba(200,155,44,.35),transparent 70%);top:-170px;left:50%;margin-left:-330px;}
.orb-2{width:340px;height:340px;background:radial-gradient(circle,rgba(224,122,31,.20),transparent 70%);top:10px;right:-130px;animation-delay:-6s;}
.orb-3{width:300px;height:300px;background:radial-gradient(circle,rgba(200,155,44,.16),transparent 70%);bottom:-150px;left:-110px;animation-delay:-11s;}
@keyframes drift{0%,100%{transform:translate(0,0);}50%{transform:translate(24px,-18px);}}

.app-icon{
  width:104px;height:104px;border-radius:26px;margin:0 auto 22px;
  box-shadow:0 24px 60px rgba(200,155,44,0.3), 0 0 0 1px rgba(255,255,255,0.06) inset;
  animation:float 5s ease-in-out infinite;
}
@keyframes float{0%,100%{transform:translateY(0);}50%{transform:translateY(-10px);}}

/* App name — the hero line, directly under the logo. Gold, not cream:
   it carries the brand, so it takes the same gradient as the logo's field. */
.hero h1{
  font-size:clamp(2.5rem,6.4vw,3.7rem);font-weight:800;line-height:1.15;
  background:linear-gradient(100deg,var(--gold-soft),var(--gold) 55%,var(--accent));
  -webkit-background-clip:text;background-clip:text;color:transparent;
  /* Arabic-script descenders get clipped by background-clip:text without
     a little breathing room inside the line box. */
  padding-bottom:.08em;
}
body[dir="rtl"] .hero h1{line-height:1.4;}

/* Tagline — deliberately smaller than the name it sits under. */
.tagline{
  margin-top:20px;
  font-size:clamp(1.02rem,2.7vw,1.28rem);
  font-weight:500;line-height:1.6;color:var(--ink-dim);
}
body[dir="rtl"] .tagline{line-height:1.85;}
.tagline .grad{
  background:linear-gradient(100deg,var(--gold-soft),var(--gold) 55%,var(--accent));
  -webkit-background-clip:text;background-clip:text;color:transparent;
  font-weight:700;
}

/* ── Store buttons ──────────────────────────────────── */
.stores{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-top:44px;}
.store{
  display:inline-flex;align-items:center;gap:11px;
  padding:13px 22px;border-radius:14px;
  text-decoration:none;white-space:nowrap;
  border:1px solid var(--line);
  background:rgba(255,255,255,0.03);
  transition:transform .18s ease, border-color .18s, background .18s, box-shadow .18s;
  /* Same as the socials: the press is answered by the button, not by a grey
     rectangle the browser paints over its corners. */
  -webkit-tap-highlight-color:transparent;
}
.store:active{transform:scale(.98);}
.store:focus-visible{
  outline:none;
  box-shadow:0 0 0 3px rgba(255,255,255,0.45);
}
.store:hover{transform:translateY(-2px);border-color:rgba(255,255,255,0.35);
  background:#000;box-shadow:0 10px 24px rgba(0,0,0,0.45);}
.store svg{width:26px;height:26px;flex:none;}

/* The real badges, not our gold. Both stores publish a black pill with white
   wording; only the marks differ, and the Play triangle is four colours. This
   is what people look for when they are trying to leave for a store. */
.store.play,.store.ios{background:#000;border-color:rgba(255,255,255,0.22);}
.store.ios svg{color:#fff;}
/* The four facets of the Play triangle, in source order: the body, the lower
   wing, the upper wing, then the tip. */
.store.play svg path:nth-of-type(1){fill:#00a0ff;}
.store.play svg path:nth-of-type(2){fill:#ff3a44;}
.store.play svg path:nth-of-type(3){fill:#00e676;}
.store.play svg path:nth-of-type(4){fill:#ffce00;}
.store .txt{display:flex;flex-direction:column;line-height:1.25;text-align:start;}
.store .txt small{font-size:10.5px;color:var(--ink-faint);letter-spacing:.03em;}
.store .txt span{font-size:15px;font-weight:700;font-family:'Sora',system-ui,sans-serif;}
body[dir="rtl"] .store .txt span{font-family:'Noto Kufi Arabic','Sora',sans-serif;font-size:14px;}

/* ── Social ─────────────────────────────────────────── */
.social-label{
  margin-top:52px;font-size:12.5px;font-weight:600;
  letter-spacing:.09em;text-transform:uppercase;color:var(--ink-faint);
}
body[dir="rtl"] .social-label{letter-spacing:0;text-transform:none;font-size:13.5px;}
/* Each one in its own colours, the way it is everywhere else, and big enough
   to be a target rather than a footnote: this is the page people open to get
   TO the accounts. */
.social{display:flex;gap:18px;justify-content:center;margin-top:20px;flex-wrap:wrap;}
.social a{
  width:72px;height:72px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  border:1px solid rgba(255,255,255,0.12);color:#fff;
  transition:transform .18s, box-shadow .18s, filter .18s;
  /* A tap used to flash a SQUARE over a round button: the browser's own
     highlight is drawn on the element's box, not its shape. Off, and the
     press is answered by the button itself instead. */
  -webkit-tap-highlight-color:transparent;
  /* Keeps a background inside the circle, whatever paints it. */
  overflow:hidden;
}
.social a:active{transform:scale(.94);}
/* Round, like the thing it is ringing. The default focus outline is a box. */
.social a:focus-visible{
  outline:none;
  box-shadow:0 0 0 3px rgba(255,255,255,0.6);
}
.social svg{width:34px;height:34px;}
.social a:hover{transform:translateY(-3px);filter:brightness(1.08);}

.social a.wa{background:#25d366;}
.social a.wa:hover{box-shadow:0 10px 26px rgba(37,211,102,0.45);}
.social a.fb{background:#1877f2;}
.social a.fb:hover{box-shadow:0 10px 26px rgba(24,119,242,0.45);}
/* Instagram's mark has no single colour — the gradient IS the brand.
   Corner to corner, not out from a point: the radial version ran out of
   stops before it reached the top and bottom of the circle and went flat
   there, which read as a picture that had ended. */
.social a.ig{
  background:linear-gradient(45deg,
    #ffd600 0%,#ff7a00 22%,#ff0069 48%,#d300c5 72%,#7638fa 100%);
}
.social a.ig:hover{box-shadow:0 10px 26px rgba(214,36,159,0.45);}
/* TikTok is black on white; on a dark page the black circle would vanish, so
   it keeps its ring and carries the cyan/red glow the logo is known by. */
.social a.tt{background:#010101;border-color:rgba(255,255,255,0.35);
  box-shadow:0 0 0 1px rgba(37,244,238,0.35), 2px 0 0 rgba(254,44,85,0.35);}
.social a.tt:hover{box-shadow:0 10px 26px rgba(37,244,238,0.35),
  0 0 0 1px rgba(37,244,238,0.6);}
/* Snapchat is the one that is yellow with a BLACK ghost. */
.social a.sc{background:#fffc00;color:#000;border-color:#fffc00;}
.social a.sc:hover{box-shadow:0 10px 26px rgba(255,252,0,0.4);}

/* ── Footer ─────────────────────────────────────────── */
footer{
  border-top:1px solid var(--line-soft);
  padding:22px;text-align:center;
  font-size:13px;color:var(--ink-faint);
}

@media (max-width:520px){
  .nav{padding:12px 16px;}
  .brand{font-size:15px;}
  .brand img{width:26px;height:26px;}
  .lang-switch a{padding:5px 10px;font-size:11.5px;}
  .hero{padding:56px 20px 56px;}
  .app-icon{width:88px;height:88px;border-radius:22px;}
  .stores{flex-direction:column;align-items:stretch;width:100%;max-width:300px;margin-inline:auto;}
  .store{justify-content:center;}
  /* Still the biggest thing on the page after the stores, and still one row:
     5 × 54 + 4 × 10 = 310px, inside a 320px phone. */
  .social{gap:10px;}
  .social a{width:54px;height:54px;}
  .social svg{width:26px;height:26px;}
}

@media (prefers-reduced-motion:reduce){
  *{animation:none !important;transition:none !important;}
}
