:root {
  --bg: #05070f;
  --bg-alt: #0b0f1c;
  --surface: #11182a;
  --surface-soft: #171f33;
  --surface-muted: #1f2a42;
  --ink: #f5f7ff;
  --muted: #c1c9df;
  --primary: #d89c4b;
  --primary-strong: #f0b766;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 40px 80px rgba(5, 7, 15, 0.65);
  --radius-lg: 1.75rem;
  --radius: 1.25rem;
  font-family: 'Noto Sans Arabic', 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: inherit;
  background: radial-gradient(circle at top, #101832 0%, #05070f 60%);
  color: var(--ink);
  line-height: 1.7;
  font-size: 1rem;
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

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

main {
  padding: 0 1.25rem 5rem;
}

.section {
  margin: 0 auto 4rem;
  max-width: 1200px;
}

.section-header {
  margin-bottom: 1.5rem;
}

.section-text {
  color: var(--muted);
  max-width: 720px;
}

.eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--primary-strong);
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 1rem;
  line-height: 1.3;
}

p {
  margin: 0 0 1rem;
}

.hero {
  display: grid;
  gap: 2.5rem;
  padding: 7rem 0 5rem;
  max-width: 1200px;
  margin: 0 auto 4rem;
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.9rem 2.25rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 1px solid transparent;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #0a0a0a;
  box-shadow: 0 20px 35px rgba(216, 156, 75, 0.3);
}

.btn.primary:hover {
  transform: translateY(-2px);
}

.btn.ghost {
  border-color: var(--border);
  color: var(--ink);
  background-color: transparent;
}

.btn.ghost:hover {
  border-color: var(--primary);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card,
.token,
.myth-card {
  background: linear-gradient(160deg, var(--surface), var(--surface-soft));
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: 0 25px 40px rgba(3, 4, 9, 0.45);
}

.token h3,
.myth-card h3 {
  color: var(--primary-strong);
  font-size: 1.1rem;
}

.definition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.practices {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid var(--border);
}

.activity-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  color: var(--muted);
}

.activity-list li {
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
}

.myth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.timeline-list li {
  position: relative;
  padding: 1.5rem 2rem 1.5rem 1.5rem;
  border-right: 2px solid var(--primary);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(4, 6, 15, 0.4);
}

.timeline-list li::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-strong);
  right: -7px;
  top: 1.75rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.gallery figure {
  margin: 0;
  background: var(--surface);
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(3, 4, 9, 0.45);
}

.gallery figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-soft);
  box-shadow: 0 20px 35px rgba(3, 4, 9, 0.45);
}

.faq-item button {
  width: 100%;
  background: none;
  border: none;
  padding: 1.2rem 1.5rem;
  text-align: right;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item button::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--primary-strong);
}

.faq-item button[aria-expanded='true']::after {
  content: '–';
}

.faq-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--muted);
}

.contact .btn {
  margin-top: 1.25rem;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.25rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--muted);
  text-align: center;
}

.footer-note {
  font-size: 0.95rem;
}

/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 7, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: radial-gradient(circle, #ffffff 0%, #f4f4f4 60%, #d8d8d8 100%);
  padding: 0.35rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  color: var(--muted);
}

.nav-links a {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  background: none;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  padding: 0.6rem;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--ink);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-media img {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    inset-inline: 1rem;
    top: 72px;
    flex-direction: column;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .practices {
    padding: 2rem;
  }
}
