/* Aada site chrome — shared across all marketing pages (Nile Paper system) */

/* paper grain */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .035 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; }

/* ---- nav ---- */
nav.top {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 241, 232, .88); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; }
.nav-in .brand .wordmark { font-size: 30px; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a:not(.btn) { color: var(--ink); font-weight: 500; font-size: 15px; position: relative; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px;
  height: 1.5px; background: var(--accent); transition: right .22s ease; }
.nav-links a:not(.btn):hover::after, .nav-links a:not(.btn).active::after { right: 0; }
.nav-links a.active { color: var(--brand); }
.lang-btn { background: none; border: 1.5px solid var(--ink); color: var(--ink);
  border-radius: 999px; padding: 7px 16px; font-weight: 600; font-size: 14px; transition: all .18s; }
.lang-btn:hover { background: var(--ink); color: var(--cream); }
.nav-burger { display: none; background: none; border: none; width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-burger span { width: 22px; height: 2px; background: var(--ink); transition: all .2s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile { display: none; border-top: 1px solid var(--border); background: var(--bg);
  padding: 10px 28px 22px; flex-direction: column; gap: 2px; }
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 12px 0; font-weight: 500; font-size: 17px; border-bottom: 1px dashed var(--border); }
.nav-mobile a.active { color: var(--brand); }
@media (max-width: 960px) {
  .nav-links a.hide-m { display: none; }
  .nav-burger { display: flex; }
}

/* ---- shared type blocks ---- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--brand); font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; font-size: 13px; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--brand); }
[dir="rtl"] .eyebrow { letter-spacing: 0; }
h2.sec { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -.02em; line-height: 1.04; margin-bottom: 18px; }
[dir="rtl"] h2.sec { font-weight: 700; line-height: 1.28; letter-spacing: 0; }
h2.sec em, .page-hero h1 em { font-style: normal; color: var(--accent-2); }
p.sub { color: var(--sub); max-width: 40rem; font-size: 17.5px; }
section { padding: 96px 0; position: relative; z-index: 2; }

/* subpage hero */
.page-hero { padding: 90px 0 30px; position: relative; z-index: 2; }
.page-hero h1 { font-family: var(--font-display); font-weight: 400;
  font-size: clamp(3rem, 7.5vw, 6.2rem); line-height: 1; letter-spacing: -.025em; max-width: 16ch; }
[dir="rtl"] .page-hero h1 { font-weight: 700; line-height: 1.2; letter-spacing: 0; font-size: clamp(2.6rem, 6.4vw, 5.2rem); }
.page-hero p.lede { color: var(--sub); font-size: 19px; max-width: 36rem; margin-top: 24px; }

/* final CTA band (shared) */
.cta-final { background: var(--brand-ink); color: var(--cream); border-radius: 26px;
  padding: 90px 30px; text-align: center; position: relative; overflow: hidden; }
.cta-final::after { content: "ع"; position: absolute; inset-inline-end: 20px; bottom: -130px;
  font-family: var(--font-display); font-weight: 800; font-size: 380px; line-height: 1; color: var(--accent-2); opacity: .1;
  pointer-events: none; }
.cta-final h2 { font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.4rem, 5.5vw, 4.4rem); letter-spacing: -.02em; line-height: 1.04; margin-bottom: 18px; }
[dir="rtl"] .cta-final h2 { font-weight: 700; line-height: 1.28; }
.cta-final h2 em { font-style: normal; color: var(--accent-2); }
.cta-final p { opacity: .78; margin-bottom: 34px; font-size: 17px; }
.cta-final .btn-gold { background: var(--cream); color: var(--brand-ink); }
.cta-final .btn-gold:hover { background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }

/* ---- footer ---- */
footer.site {
  border-top: 1px solid var(--border); margin-top: 40px; padding: 64px 0 40px;
  position: relative; z-index: 2;
}
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand .brand .wordmark { font-size: 44px; }
.foot-brand p { color: var(--sub); font-size: 14.5px; max-width: 26rem; margin-top: 12px; }
.foot-col h4 { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sub); margin-bottom: 16px; }
[dir="rtl"] .foot-col h4 { letter-spacing: 0; }
.foot-col a { display: block; padding: 5px 0; color: var(--ink); font-size: 15px; transition: color .16s; }
.foot-col a:hover { color: var(--brand); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  border-top: 1px solid var(--border); margin-top: 52px; padding-top: 24px;
  color: var(--sub); font-size: 14px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* ---- scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
