/* Kulshi — brand site
   navy canvas, orange K, chunky type. Marketing = dark, legal = paper. */

:root {
  --navy: #0d2144;
  --navy-deep: #081630;
  --navy-soft: #16305e;
  --orange: #f27221;
  --orange-soft: #f5894a;
  --paper: #faf6f0;
  --paper-line: #e8dfd2;
  --ink: #1b2a44;
  --cloud: #c9d4e8;
  --cloud-dim: #8fa1c2;
  --radius: 18px;
  --display: "Archivo Black", "Archivo", sans-serif;
  --body: "Archivo", sans-serif;
  --kufi: "Noto Kufi Arabic", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--navy);
  color: var(--cloud);
  line-height: 1.6;
  overflow-x: hidden;
}

/* lattice texture over the navy — faint souq-window diamonds */
body.dark::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(45deg, rgba(242, 114, 33, 0.05) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(242, 114, 33, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 0%, transparent 75%);
  z-index: 0;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ---------- nav ---------- */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 40px; height: 40px; }
.brand-name {
  font-family: var(--display);
  font-size: 1.35rem;
  color: #fff;
  letter-spacing: 0.02em;
}
.brand-name .dot { color: var(--orange); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--cloud);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--orange); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 70px;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(242, 114, 33, 0.16) 0%, transparent 62%);
  pointer-events: none;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-soft);
  animation: rise 0.7s ease both;
}
.eyebrow .ar { font-family: var(--kufi); font-size: 1.1rem; letter-spacing: 0; text-transform: none; }
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 1.06;
  color: #fff;
  margin: 22px auto 0;
  max-width: 14ch;
  animation: rise 0.7s 0.08s ease both;
}
.hero h1 em {
  font-style: normal;
  color: var(--orange);
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: 0.04em;
  height: 0.14em;
  background: rgba(242, 114, 33, 0.28);
  border-radius: 99px;
}
.hero p.lead {
  max-width: 52ch;
  margin: 26px auto 0;
  font-size: 1.13rem;
  color: var(--cloud);
  animation: rise 0.7s 0.16s ease both;
}
.store-badges {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 38px;
  flex-wrap: wrap;
  animation: rise 0.7s 0.24s ease both;
}
.badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 22px;
  border: 1.5px solid rgba(201, 212, 232, 0.28);
  border-radius: 14px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
  background: rgba(8, 22, 48, 0.55);
}
.badge:hover { border-color: var(--orange); transform: translateY(-2px); }
.badge .small { font-size: 0.72rem; color: var(--cloud-dim); letter-spacing: 0.06em; text-transform: uppercase; }
.badge .big { font-family: var(--display); font-size: 1.05rem; color: #fff; }

/* floating chips */
.chips {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 56px;
  animation: rise 0.7s 0.32s ease both;
}
.chip {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cloud);
  border: 1px solid rgba(201, 212, 232, 0.2);
  background: rgba(22, 48, 94, 0.5);
}
.chip.hot { color: var(--navy-deep); background: var(--orange); border-color: var(--orange); }

/* ---------- sections ---------- */
section { padding: 72px 0; position: relative; z-index: 1; }
.section-head {
  font-family: var(--display);
  color: #fff;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  line-height: 1.15;
  max-width: 22ch;
}
.section-head .ar { font-family: var(--kufi); color: var(--orange); }
.section-sub { color: var(--cloud-dim); margin-top: 12px; max-width: 58ch; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 44px;
}
.card {
  background: linear-gradient(160deg, rgba(22, 48, 94, 0.65), rgba(8, 22, 48, 0.65));
  border: 1px solid rgba(201, 212, 232, 0.14);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(242, 114, 33, 0.55); }
.card .icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(242, 114, 33, 0.14);
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.card h3 { color: #fff; font-size: 1.12rem; margin-bottom: 8px; font-weight: 700; }
.card p { font-size: 0.96rem; color: var(--cloud-dim); }

/* AI banner */
.ai-banner {
  margin-top: 20px;
  border-radius: 24px;
  padding: 46px 40px;
  background:
    radial-gradient(circle at 88% 15%, rgba(242, 114, 33, 0.35), transparent 45%),
    linear-gradient(140deg, var(--navy-soft), var(--navy-deep));
  border: 1px solid rgba(242, 114, 33, 0.3);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}
.ai-banner .k-big { font-family: var(--kufi); font-size: clamp(4rem, 10vw, 7rem); color: rgba(242,114,33,0.9); text-align: center; line-height: 1; }
.ai-banner h2 { font-family: var(--display); color: #fff; font-size: clamp(1.5rem, 3.5vw, 2.1rem); line-height: 1.2; }
.ai-banner p { margin-top: 14px; color: var(--cloud); }
.ai-banner .fine { margin-top: 10px; font-size: 0.85rem; color: var(--cloud-dim); }

/* cities marquee */
.marquee {
  overflow: hidden;
  border-top: 1px solid rgba(201, 212, 232, 0.12);
  border-bottom: 1px solid rgba(201, 212, 232, 0.12);
  padding: 18px 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-block;
  animation: slide 40s linear infinite;
}
.marquee span {
  font-family: var(--display);
  font-size: 1.25rem;
  color: rgba(201, 212, 232, 0.5);
  margin: 0 28px;
}
.marquee span.ar { font-family: var(--kufi); color: rgba(242, 114, 33, 0.65); }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid rgba(201, 212, 232, 0.12);
  padding: 48px 0 40px;
  position: relative;
  z-index: 1;
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.foot .col h4 { color: #fff; font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.foot .col a, .foot .col p { display: block; color: var(--cloud-dim); text-decoration: none; font-size: 0.95rem; margin-bottom: 8px; }
.foot .col a:hover { color: var(--orange); }
.copyright { margin-top: 36px; font-size: 0.85rem; color: rgba(143, 161, 194, 0.6); }

/* ---------- paper pages (privacy / support) ---------- */
body.paper { background: var(--paper); color: var(--ink); }
body.paper nav { border-bottom: 1px solid var(--paper-line); }
body.paper .brand-name { color: var(--navy); }
body.paper .nav-links a { color: var(--ink); }
body.paper .nav-links a:hover { color: var(--orange); }
.doc { max-width: 760px; margin: 0 auto; padding: 56px 24px 90px; }
.doc h1 { font-family: var(--display); color: var(--navy); font-size: clamp(1.9rem, 5vw, 2.6rem); line-height: 1.15; }
.doc .meta { color: #8a7f6e; margin-top: 8px; font-size: 0.95rem; }
.doc h2 {
  font-size: 1.18rem;
  color: var(--navy);
  margin: 2.2em 0 0.5em;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--paper-line);
  font-weight: 700;
}
.doc p, .doc li { font-size: 1.02rem; }
.doc p { margin: 0.8em 0; }
.doc ul { padding-left: 1.3em; margin: 0.8em 0; }
.doc li { margin: 7px 0; }
.doc a { color: var(--orange); text-decoration-color: rgba(242, 114, 33, 0.4); }
.doc .contact-card {
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 16px;
}
body.paper footer { border-top: 1px solid var(--paper-line); }
body.paper .foot .col h4 { color: var(--navy); }
body.paper .foot .col a, body.paper .foot .col p { color: #7d7365; }
body.paper .copyright { color: #a89c8a; }

/* ---------- animation ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
@media (max-width: 720px) {
  .ai-banner { grid-template-columns: 1fr; padding: 34px 26px; }
  .nav-links { gap: 18px; }
}
