/*
  المتابع — صفحة تسويقية راقية بكامل الشاشة
  كريم + زمرد عميق + ذهبي نقي؛ خط عمّي للعناوين، تجوال للمتن
*/

:root {
  --paper: #faf7f2;
  --paper-2: #f3efe6;
  --ink: #1c1917;
  --ink-soft: #44403c;
  --muted: #78716c;
  --emerald-950: #042f2e;
  --emerald-900: #0f3d39;
  --emerald-800: #134e47;
  --emerald-500: #0d9488;
  --gold: #b8860b;
  --gold-light: #c9a227;
  --gold-pale: #e8d5a8;
  --line: rgba(184, 134, 11, 0.22);
  --shadow: 0 25px 50px -12px rgba(15, 61, 57, 0.18);
  --radius-lg: 20px;
  --radius-xl: 28px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Tajawal", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ink-soft);
  background: var(--paper);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("assets/ornament-cream.png");
  background-size: 360px auto;
  background-repeat: repeat;
  opacity: 0.055;
  pointer-events: none;
  z-index: 0;
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(1280px, 92vw);
  margin-inline: auto;
}

.narrow {
  width: min(780px, 92vw);
}

.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: 12px;
  padding: 0.35rem 0.75rem;
  background: var(--emerald-900);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  z-index: 100;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  flex-wrap: wrap;
}

.identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.identity-mark {
  border-radius: 50%;
  border: 2px solid var(--line);
  box-shadow: 0 4px 14px rgba(15, 61, 57, 0.12);
}

.identity-text {
  display: flex;
  flex-direction: column;
}

.identity-name {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--emerald-900);
}

.identity-tag {
  font-size: 0.82rem;
  color: var(--muted);
}

.nav-desktop {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-desktop a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.nav-desktop a:hover {
  border-bottom-color: var(--gold);
  color: var(--emerald-900);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ver-pill {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  background: rgba(184, 134, 11, 0.1);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--muted);
}

.ver-pill strong {
  color: var(--emerald-900);
  font-weight: 800;
}

.btn-nav {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  background: var(--emerald-900);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.92rem;
  box-shadow: 0 4px 14px rgba(15, 61, 57, 0.25);
  transition: background 0.2s;
}

.btn-nav:hover {
  background: var(--emerald-800);
}

/* ——— Hero — Full Viewport ——— */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 15% -15%, rgba(13, 148, 136, 0.14), transparent 55%),
    radial-gradient(ellipse 80% 60% at 100% 15%, rgba(184, 134, 11, 0.1), transparent 50%),
    radial-gradient(ellipse 60% 50% at 50% 110%, rgba(13, 148, 136, 0.06), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 8vh, 6rem) 0;
}

.hero-copy {
  max-width: 42rem;
}

.basmala {
  font-family: "El Messiri", sans-serif;
  color: var(--gold);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  margin: 0 0 2.5rem;
  padding-top: 1rem;
  letter-spacing: 0.04em;
  text-align: center;
}

.hero-title {
  font-family: "El Messiri", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5.2vw, 3.2rem);
  line-height: 1.35;
  color: var(--emerald-950);
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
}

.hero-lead {
  margin: 0 0 2rem;
  font-size: 1.12rem;
  color: var(--ink-soft);
  line-height: 2;
}

.hero-lead strong {
  color: var(--emerald-900);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  font-size: 1.05rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-solid {
  background: linear-gradient(145deg, var(--emerald-800), var(--emerald-950));
  color: #fdfcfa;
  box-shadow: 0 12px 32px rgba(4, 47, 46, 0.35);
}

.btn-solid:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(4, 47, 46, 0.42);
}

.btn-line {
  background: transparent;
  color: var(--emerald-900);
  border: 2px solid var(--emerald-800);
}

.btn-line:hover {
  background: rgba(13, 148, 136, 0.06);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(155deg, #c9a227, #92700d);
  color: #1c1410;
  box-shadow: 0 12px 32px rgba(146, 112, 13, 0.3);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(146, 112, 13, 0.38);
}

.btn-lg {
  padding: 1.05rem 2.1rem;
  font-size: 1.1rem;
}

.hero-trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.65rem;
}

.hero-trust li {
  padding: 0.4rem 0.95rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  backdrop-filter: blur(4px);
  white-space: nowrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4.5vw, 3.25rem);
  box-shadow: var(--shadow), 0 0 60px rgba(184, 134, 11, 0.08);
  text-align: center;
  max-width: 380px;
  width: 100%;
}

.hero-logo {
  width: min(220px, 70%);
  height: auto;
  border-radius: 50%;
  border: 3px solid rgba(184, 134, 11, 0.35);
  margin-bottom: 1rem;
  box-shadow: 0 8px 30px rgba(184, 134, 11, 0.15);
}

.waqf {
  margin: 0 0 1.15rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.06em;
  font-size: 1rem;
}

.hero-quote {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
  font-style: normal;
  line-height: 1.9;
}

/* ——— Scroll Hint ——— */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  color: var(--emerald-900);
  font-size: 1.3rem;
  box-shadow: 0 4px 20px rgba(15, 61, 57, 0.12);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ——— Stripe — Full Width ——— */
.stripe {
  padding: 0;
  margin-top: -1px;
}

.stripe-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: var(--emerald-900);
  color: rgba(253, 250, 244, 0.95);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  font-size: 1rem;
}

.stripe-item {
  font-weight: 600;
  text-align: center;
}

.stripe-ic {
  display: inline-block;
  margin-inline-end: 0.4rem;
  color: var(--gold-light);
}

/* ——— Sections — Full Height ——— */
.section {
  padding: clamp(4rem, 10vh, 7rem) 0;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.why {
  background: linear-gradient(180deg, transparent 0%, rgba(19, 78, 71, 0.04) 40%, rgba(19, 78, 71, 0.07) 100%);
  text-align: center;
}

.section-title {
  font-family: "El Messiri", sans-serif;
  font-size: clamp(1.8rem, 4.2vw, 2.6rem);
  color: var(--emerald-950);
  margin: 0 0 1.15rem;
  line-height: 1.4;
}

.section-lead {
  margin: 0 auto;
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 680px;
  line-height: 2;
}

/* ——— Bento — Full Width ——— */
.pillars {
  background: var(--paper);
}

.pillars-intro {
  margin-bottom: 2.5rem;
  text-align: center;
}

.bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.bento-card {
  background: #fffef9;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  box-shadow: 0 12px 36px rgba(28, 25, 23, 0.05);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.bento-card:hover {
  border-color: rgba(184, 134, 11, 0.4);
  box-shadow: 0 18px 50px rgba(15, 61, 57, 0.12);
  transform: translateY(-4px);
}

.bento-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.3rem;
  color: var(--emerald-900);
}

.bento-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.9;
}

.b-span-2 {
  grid-column: span 2;
}

/* ——— Download — Full Width Edge-to-Edge ——— */
.download {
  background: linear-gradient(165deg, var(--emerald-950), var(--emerald-900) 42%, var(--emerald-800));
  color: rgba(253, 250, 244, 0.94);
  position: relative;
  overflow: hidden;
}

.download::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 80% 90%, rgba(184, 134, 11, 0.12), transparent 60%);
  pointer-events: none;
}

.download-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.eyebrow-inv {
  color: var(--gold-pale);
}

.download-title {
  font-family: "El Messiri", sans-serif;
  font-size: clamp(1.8rem, 3.8vw, 2.5rem);
  margin: 0 0 1rem;
  line-height: 1.4;
}

.download-lead {
  margin: 0 0 1.5rem;
  opacity: 0.95;
  font-size: 1.08rem;
  line-height: 2;
}

.download-lead strong {
  color: #fff;
}

.download-actions {
  margin-top: 0.5rem;
}

.download-note small {
  color: rgba(253, 250, 244, 0.6);
  font-size: 0.86rem;
}

.checklist {
  list-style: none;
  padding: 1.75rem 2rem;
  margin: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(253, 250, 244, 0.15);
  background: rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(6px);
}

.checklist li {
  position: relative;
  padding-inline-start: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.05rem;
}

.checklist li:last-child {
  margin-bottom: 0;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 0.1em;
  color: var(--gold-light);
  font-weight: 800;
  font-size: 1.1rem;
}

/* ——— Releases timeline ——— */
.releases {
  background: var(--paper-2);
}

.releases .section-title {
  margin-bottom: 2rem;
  text-align: center;
}

.releases .eyebrow {
  text-align: center;
}

.timeline {
  display: grid;
  gap: 1.25rem;
  max-width: 800px;
  margin-inline: auto;
}

.timeline-card {
  background: #fffef9;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 12px 36px rgba(28, 25, 23, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.timeline-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(28, 25, 23, 0.1);
}

.timeline-card header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.timeline-card h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--emerald-900);
}

.timeline-date {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.timeline-card ul {
  margin: 0;
  padding-inline-start: 1.35rem;
  color: var(--ink-soft);
  line-height: 2;
}

/* ——— Footer — Full Width ——— */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 4rem;
  background: var(--emerald-950);
  color: rgba(253, 250, 244, 0.85);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.footer-brand {
  display: inline-block;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--gold-pale);
}

.site-footer p {
  margin: 0.75rem 0 0;
  color: rgba(253, 250, 244, 0.7);
}

.footer-label {
  font-weight: 800;
  color: rgba(253, 250, 244, 0.95);
}

.site-footer a {
  color: var(--gold-light);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-meta {
  text-align: end;
}

.footer-meta p {
  margin-bottom: 0.4rem;
}

/* ——— Reveal animation ——— */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay {
  transition-delay: 0.15s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .btn-gold:hover,
  .btn-solid:hover,
  .btn-line:hover,
  .bento-card:hover,
  .timeline-card:hover {
    transform: none;
  }
}

/* ——— Responsive: Tablet (768px – 1024px) ——— */
@media (max-width: 1024px) {
  .wrap {
    width: min(1280px, 94vw);
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
  }

  .hero-title {
    font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  }

  .bento-card {
    padding: 1.5rem 1.75rem;
  }

  .download-panel {
    gap: 2rem;
  }

  .footer-grid {
    gap: 2rem;
  }
}

/* ——— Responsive: Tablet Portrait & Small Tablets (≤ 900px) ——— */
@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: 2.5rem 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 0;
    gap: 2rem;
  }

  .hero-visual {
    order: -1;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-card {
    max-width: 320px;
    margin-inline: auto;
  }

  .nav-desktop {
    display: none;
  }

  .section {
    min-height: auto;
    padding: clamp(3rem, 8vw, 5rem) 0;
  }

  .stripe-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
  }

  .stripe-ic {
    display: none;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .b-span-2 {
    grid-column: span 1;
  }

  .download-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .checklist {
    text-align: start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-meta {
    text-align: center;
  }

  .scroll-hint {
    bottom: 1.5rem;
  }

  .section-lead {
    max-width: 100%;
  }

  .timeline {
    max-width: 100%;
  }
}

/* ——— Responsive: Mobile (≤ 600px) ——— */
@media (max-width: 600px) {
  body {
    font-size: 1rem;
    line-height: 1.75;
  }

  .wrap {
    width: 92vw;
  }

  .header-inner {
    padding: 0.6rem 0;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
    margin-top: 0.5rem;
  }

  .identity-mark {
    width: 38px;
    height: 38px;
  }

  .identity-name {
    font-size: 1.05rem;
  }

  .identity-tag {
    font-size: 0.75rem;
  }

  .ver-pill {
    font-size: 0.78rem;
    padding: 0.3rem 0.7rem;
  }

  .btn-nav {
    font-size: 0.85rem;
    padding: 0.45rem 0.95rem;
  }

  .hero {
    padding: 1.5rem 0 2rem;
  }

  .hero-grid {
    padding: 1rem 0;
    gap: 1.5rem;
  }

  .hero-title {
    font-size: 1.6rem;
    line-height: 1.45;
  }

  .hero-lead {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-card {
    max-width: 100%;
    padding: 1.5rem;
  }

  .hero-logo {
    width: min(140px, 55%);
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
  }

  .btn-lg {
    padding: 0.95rem 1.75rem;
    font-size: 1.02rem;
  }

  .hero-trust {
    gap: 0.45rem;
  }

  .hero-trust li {
    font-size: 0.82rem;
    padding: 0.35rem 0.8rem;
  }

  .stripe-inner {
    padding: 1rem 1.15rem;
    border-radius: 14px;
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-lead {
    font-size: 1rem;
  }

  .bento-card {
    padding: 1.25rem 1.35rem;
  }

  .bento-card h3 {
    font-size: 1.12rem;
  }

  .bento-card p {
    font-size: 0.98rem;
  }

  .download-title {
    font-size: 1.5rem;
  }

  .download-lead {
    font-size: 1rem;
  }

  .checklist {
    padding: 1.25rem 1.35rem;
  }

  .checklist li {
    font-size: 0.98rem;
    margin-bottom: 0.85rem;
  }

  .timeline-card {
    padding: 1.15rem 1.25rem;
  }

  .timeline-card h3 {
    font-size: 1.05rem;
  }

  .footer-brand {
    font-size: 1.15rem;
  }

  .scroll-hint {
    display: none;
  }
}

/* ——— Responsive: Very Small Phones (≤ 380px) ——— */
@media (max-width: 380px) {
  .wrap {
    width: 94vw;
  }

  .hero-title {
    font-size: 1.4rem;
  }

  .basmala {
    font-size: 1rem;
  }

  .identity-text {
    display: none;
  }

  .header-inner {
    gap: 0.5rem;
  }

  .btn {
    font-size: 0.92rem;
    padding: 0.75rem 1.2rem;
  }

  .bento-card {
    padding: 1rem 1.15rem;
  }

  .stripe-inner {
    font-size: 0.85rem;
    padding: 0.85rem 1rem;
  }
}
