/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: #FEFCF8;
  color: #1A1A1A;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }
img { max-width: 100%; }

/* ── TOKENS ── */
:root {
  --hero-bg:    #091D1B;
  --hero-mid:   #122B28;
  --teal:       #1E5855;
  --teal-light: #2A7470;
  --gold:       #C8A84B;
  --gold-light: #E2C97A;
  --cream:      #F7F2E8;
  --cream-dark: #EDE6D6;
  --sage:       #7A9E7E;
  --white:      #FEFCF8;
  --text:       #1A1A1A;
  --text-mid:   #4A5568;
  --text-light: #6B7280;
  --border:     rgba(200,168,75,0.25);
  --border-soft:rgba(200,168,75,0.12);
}

/* ── NAV ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 66px;
  background: rgba(9,29,27,0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1rem,4vw,3rem);
  transition: background 0.3s;
}
#nav.scrolled { background: rgba(9,29,27,0.98); }
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  background: none; border: none; color: var(--cream);
  font-family: 'Cinzel', serif; font-weight: 700; font-size: 1.1rem;
  letter-spacing: 0.06em;
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-link {
  background: none; border: none; border-bottom: 2px solid transparent;
  color: rgba(247,242,232,0.75); font-size: 0.85rem; letter-spacing: 0.04em;
  padding: 4px 0; transition: all 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--gold); border-bottom-color: var(--gold); font-weight: 600;
}
.btn-waitlist-nav {
  background: var(--gold); color: var(--hero-bg);
  border: none; border-radius: 4px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em;
  padding: 8px 20px; transition: background 0.2s;
  display: inline-block;
}
.btn-waitlist-nav:hover { background: var(--gold-light); }
.hamburger {
  display: none; background: none; border: none;
  color: var(--cream); font-size: 1.4rem;
}
.mobile-menu {
  display: none; position: fixed; top: 66px; left: 0; right: 0;
  background: rgba(9,29,27,0.98); border-bottom: 1px solid var(--border);
  padding: 1.5rem; flex-direction: column; gap: 1rem;
  backdrop-filter: blur(16px); z-index: 199;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { font-size: 1rem; padding: 6px 0; }
.mobile-menu .btn-waitlist-nav { padding: 12px; text-align: center; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
}

/* ── PAGES ── */
.page { padding-top: 66px; }

/* ── SECTIONS ── */
.section { padding: clamp(4rem,8vw,7rem) clamp(1.2rem,6vw,4rem); position: relative; }
.section-dark { background: var(--hero-bg); color: var(--cream); }
.section-cream { background: var(--cream); }
.section-cream-dark { background: var(--cream-dark); }
.section-white { background: var(--white); }
.container { max-width: 1140px; margin: 0 auto; position: relative; }

/* ── TYPOGRAPHY ── */
.label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; margin-bottom: 0.75rem; display: block;
}
.label-teal { color: var(--teal); }
.label-gold { color: var(--gold); }
h1.display {
  font-family: 'Cinzel', serif; font-weight: 900;
  font-size: clamp(2.2rem,6vw,4.4rem);
  line-height: 1.1; letter-spacing: 0.01em;
}
h2.section-title {
  font-family: 'Cinzel', serif; font-weight: 700;
  font-size: clamp(1.7rem,3.5vw,2.6rem);
  line-height: 1.25; margin: 0.3rem 0 1rem;
}
h3.card-title {
  font-family: 'Cinzel', serif; font-weight: 600;
  font-size: 1rem; margin-bottom: 0.75rem;
}
p.body { font-size: 0.95rem; line-height: 1.8; color: var(--text-mid); }
p.body-lg { font-size: 1rem; line-height: 1.75; color: var(--text-mid); }

/* ── DIVIDER ── */
.gold-divider { display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0; }
.gold-divider::before, .gold-divider::after { content: ''; flex: 1; height: 1px; }
.gold-divider::before { background: linear-gradient(to right, transparent, var(--gold)); }
.gold-divider::after  { background: linear-gradient(to left,  transparent, var(--gold)); }
.gold-divider-diamond {
  width: 6px; height: 6px; background: var(--gold);
  transform: rotate(45deg); flex-shrink: 0;
}

/* ── BUTTONS ── */
.btn-gold {
  background: var(--gold); color: var(--hero-bg);
  border: none; border-radius: 4px;
  font-weight: 600; font-size: 0.9rem; letter-spacing: 0.06em;
  padding: 13px 32px; transition: background 0.2s;
  display: inline-block;
}
.btn-gold:hover { background: var(--gold-light); }
.btn-outline {
  background: transparent; color: var(--gold-light);
  border: 1.5px solid var(--gold-light); border-radius: 4px;
  font-weight: 600; font-size: 0.9rem; letter-spacing: 0.06em;
  padding: 12px 30px; transition: all 0.2s;
  display: inline-block;
}
.btn-outline:hover { color: var(--gold); border-color: var(--gold); }

/* ── ISLAMIC STAR BACKGROUND ── */
.islamic-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.islamic-bg svg { width: 100%; height: 100%; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--hero-bg) 0%, var(--hero-mid) 60%, #183330 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.hero-content { text-align: center; padding: clamp(3rem,8vw,6rem) clamp(1.2rem,4vw,2rem); }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,168,75,0.08); border: 1px solid var(--border);
  border-radius: 100px; padding: 6px 18px; margin-bottom: 2rem;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); display: inline-block;
}
.hero-eyebrow span {
  font-size: 0.78rem; color: var(--gold-light);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.hero h1 { color: var(--cream); margin-bottom: 1.5rem; }
.hero h1 .accent { color: var(--gold); }
.hero-sub {
  font-size: clamp(1rem,2vw,1.15rem); color: rgba(247,242,232,0.72);
  max-width: 580px; margin: 0 auto 2.5rem; line-height: 1.7; font-weight: 300;
}
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: clamp(2rem,5vw,4rem); justify-content: center; flex-wrap: wrap;
  margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--border-soft);
}
.stat-val {
  font-family: 'Cinzel', serif; font-weight: 700;
  font-size: clamp(1.3rem,3vw,2rem); color: var(--gold);
}
.stat-label { font-size: 0.78rem; color: rgba(247,242,232,0.5); margin-top: 4px; letter-spacing: 0.08em; }

/* ── CARDS ── */
.card-grid { display: grid; gap: 1.5rem; }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card {
  background: var(--white); border: 1px solid var(--cream-dark);
  border-radius: 8px; padding: 2rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover { border-color: var(--gold); box-shadow: 0 4px 24px rgba(200,168,75,0.1); }
.card-dark {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 8px; padding: 2rem;
}
.card-icon { font-size: 1.5rem; color: var(--gold); margin-bottom: 1rem; }
.card-title { color: var(--hero-bg); }

/* ── TRUST BELT ── */
.trust-belt { background: var(--cream-dark); padding: 2.5rem clamp(1.2rem,6vw,4rem); }
.trust-items { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 500; color: var(--text-mid); letter-spacing: 0.06em; }
.trust-star { color: var(--teal); font-size: 0.6rem; }

/* ── PAGE HERO ── */
.page-hero {
  background: var(--hero-bg); padding: 5rem clamp(1.2rem,6vw,4rem);
  position: relative; overflow: hidden; text-align: center;
}
.page-hero h1 {
  font-family: 'Cinzel', serif; font-weight: 700;
  font-size: clamp(2rem,4vw,3.2rem); color: var(--cream);
  margin: 0.5rem 0 1rem;
}
.page-hero p { font-size: 1rem; color: rgba(247,242,232,0.65); max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* ── HOW IT WORKS STEPS ── */
.step-row {
  display: grid; grid-template-columns: 1fr 3fr;
  gap: 2rem; margin-bottom: 3.5rem; padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--cream-dark);
}
.step-row:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.step-num { font-family: 'Cinzel', serif; font-size: 0.68rem; letter-spacing: 0.18em; color: var(--teal); font-weight: 600; text-transform: uppercase; margin-bottom: 0.5rem; }
.step-title { font-family: 'Cinzel', serif; font-weight: 700; font-size: 1.4rem; color: var(--hero-bg); line-height: 1.25; }
.step-point { display: flex; gap: 12px; margin-bottom: 1rem; }
.step-point-star { color: var(--gold); flex-shrink: 0; margin-top: 3px; }

/* ── FEE CARDS ── */
.fee-val { font-family: 'Cinzel', serif; font-weight: 700; font-size: 1.7rem; color: var(--hero-bg); margin: 0.5rem 0 0.75rem; }
.fee-label { font-size: 0.78rem; letter-spacing: 0.12em; color: var(--teal); font-weight: 600; text-transform: uppercase; margin-bottom: 0; }

/* ── SHARIAH ── */
.contract-card {
  border: 1px solid var(--border); border-radius: 8px; padding: 2.5rem;
  background: linear-gradient(135deg, rgba(200,168,75,0.04), transparent);
}
.arabic { font-size: 2rem; color: var(--gold); margin-bottom: 0.25rem; letter-spacing: 0.05em; direction: rtl; }
.transliteration { font-family: 'Cinzel', serif; font-size: 0.7rem; color: var(--teal); letter-spacing: 0.18em; font-weight: 600; text-transform: uppercase; }
.contract-title { font-family: 'Cinzel', serif; font-weight: 700; font-size: 1.3rem; color: var(--hero-bg); margin: 0.5rem 0 1rem; }
.prohibit-title { font-family: 'Cinzel', serif; font-weight: 600; font-size: 0.95rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 8px; color: #8B2020; }
.protect-title  { font-family: 'Cinzel', serif; font-weight: 600; font-size: 0.95rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 8px; color: var(--teal); }
.check-row { display: flex; gap: 10px; margin-bottom: 0.75rem; font-size: 0.9rem; color: var(--text-mid); }

/* ── ABOUT ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.quote-card {
  background: linear-gradient(135deg, var(--teal), var(--hero-bg));
  border-radius: 12px; padding: 3rem; position: relative; overflow: hidden;
}
.quote-mark { font-family: 'Cinzel', serif; font-size: 3rem; color: var(--gold); opacity: 0.3; margin-bottom: 1rem; }
.quote-text { font-family: 'Cinzel', serif; font-size: 1.1rem; color: var(--cream); line-height: 1.7; font-style: italic; margin-bottom: 1.5rem; }
.quote-attr { font-size: 0.8rem; color: var(--gold-light); letter-spacing: 0.1em; }
.founder-grid { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; align-items: start; }
.founder-avatar {
  width: 180px; height: 180px; border-radius: 12px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--border);
}
.founder-name { font-family: 'Cinzel', serif; font-weight: 700; font-size: 1rem; color: var(--hero-bg); margin-top: 1.25rem; }
.founder-role { font-size: 0.82rem; color: var(--teal); margin-top: 4px; font-weight: 500; }
.founder-sub  { font-size: 0.8rem; color: var(--text-light); margin-top: 2px; }
.tag-link {
  display: inline-block; font-size: 0.82rem; color: var(--teal); font-weight: 600;
  border: 1px solid var(--sage); border-radius: 4px; padding: 6px 14px;
  margin: 0.5rem 0.5rem 0 0; transition: all 0.2s;
}
.tag-link:hover { background: var(--teal); color: var(--cream); }

/* ── INVESTORS ── */
.tranche {
  border: 1.5px solid var(--cream-dark); border-radius: 8px; padding: 1.75rem;
  background: var(--white); margin-bottom: 1rem;
}
.tranche.highlight { border-color: var(--gold); background: rgba(200,168,75,0.06); }
.tranche-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.tranche-badge { font-size: 0.7rem; background: var(--gold); color: var(--hero-bg); padding: 3px 10px; border-radius: 100px; font-weight: 600; letter-spacing: 0.08em; }
.tranche-label { font-family: 'Cinzel', serif; font-weight: 700; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; }
.tranche-label.open { color: var(--gold); }
.tranche-label.later { color: var(--teal); }
.tranche-amount { font-family: 'Cinzel', serif; font-weight: 700; font-size: 1.2rem; color: var(--hero-bg); margin-top: 4px; }
.tranche-point { display: flex; gap: 8px; margin-bottom: 6px; font-size: 0.85rem; color: var(--text-mid); }
.calendly-box {
  border: 1.5px solid var(--gold); border-radius: 8px;
  padding: 2rem 2.5rem; background: rgba(200,168,75,0.05);
  margin-top: 2rem; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1.5rem;
}
.calendly-box-text .label { margin-bottom: 0.4rem; }
.calendly-box-title { font-family: 'Cinzel', serif; font-weight: 700; font-size: 1.05rem; color: var(--hero-bg); }
.calendly-box-sub { font-size: 0.88rem; color: var(--text-mid); margin-top: 0.4rem; }

/* ── CONTACT ── */
.social-card {
  display: flex; align-items: center; gap: 1.25rem;
  border: 1px solid var(--cream-dark); border-radius: 8px; padding: 1.25rem 1.5rem;
  margin-bottom: 0.85rem; transition: border-color 0.2s, box-shadow 0.2s; color: inherit;
}
.social-card:hover { border-color: var(--gold); box-shadow: 0 2px 16px rgba(200,168,75,0.1); }
.social-icon {
  width: 44px; height: 44px; border-radius: 8px; background: var(--hero-bg);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; color: var(--gold); flex-shrink: 0;
}
.social-name { font-family: 'Cinzel', serif; font-weight: 600; font-size: 0.9rem; color: var(--hero-bg); }
.social-handle { font-size: 0.82rem; color: var(--teal); margin-top: 2px; }
.social-arrow { margin-left: auto; color: var(--text-light); }
.form-label { font-size: 0.8rem; font-weight: 600; color: var(--hero-bg); display: block; margin-bottom: 6px; letter-spacing: 0.06em; }
.form-input, .form-textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--cream-dark);
  border-radius: 4px; font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  color: var(--text); background: var(--white); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus, .form-textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(200,168,75,0.15); }
.form-textarea { resize: vertical; }
.type-btn {
  padding: 8px 16px; border-radius: 4px; font-size: 0.82rem;
  border: 1px solid var(--cream-dark); background: transparent; color: var(--text-mid);
  transition: all 0.2s;
}
.type-btn.selected { background: var(--hero-bg); color: var(--gold); border-color: var(--hero-bg); font-weight: 600; }
.type-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.investor-note {
  border: 1px solid var(--border); border-radius: 8px; padding: 1.75rem;
  background: rgba(200,168,75,0.04); margin-top: 2rem;
}
.investor-note-title { font-family: 'Cinzel', serif; font-weight: 700; font-size: 0.85rem; color: var(--gold); margin-bottom: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.form-hint { font-size: 0.78rem; color: var(--text-light); margin-top: 0.5rem; }
.sent-box { border: 1px solid var(--gold); border-radius: 8px; padding: 2rem; background: rgba(200,168,75,0.06); margin-top: 1.5rem; }
.sent-title { font-family: 'Cinzel', serif; font-weight: 600; font-size: 1rem; color: var(--gold); margin-bottom: 0.5rem; }
.form-status { font-size: 0.84rem; margin-top: 0.5rem; min-height: 20px; }
.form-status.success { color: var(--teal); font-weight: 600; }
.form-status.error   { color: #B91C1C; }

/* ── SCHOLAR BOX ── */
.scholar-box {
  max-width: 680px; margin: 0 auto;
  border: 1px solid var(--border); border-radius: 8px;
  padding: 3rem; background: rgba(200,168,75,0.04); text-align: center;
}
.scholar-icon { font-size: 2rem; color: var(--gold); margin-bottom: 1rem; }
.scholar-title { font-family: 'Cinzel', serif; font-weight: 700; font-size: 1.5rem; color: var(--cream); margin: 0.5rem 0 1.25rem; }

/* ── FOOTER ── */
footer {
  background: var(--hero-bg); border-top: 1px solid var(--border);
  padding: 3.5rem clamp(1.2rem,6vw,4rem) 2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.footer-col-title { font-family: 'Cinzel', serif; font-size: 0.7rem; font-weight: 600; color: var(--gold); letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-link { display: block; font-size: 0.85rem; color: rgba(247,242,232,0.55); margin-bottom: 0.6rem; transition: color 0.2s; background: none; border: none; text-align: left; }
.footer-link:hover { color: var(--gold-light); }
.footer-brand-text { font-family: 'Cinzel', serif; font-weight: 700; font-size: 1.05rem; color: var(--cream); }
.footer-tagline { font-size: 0.85rem; color: rgba(247,242,232,0.5); line-height: 1.7; max-width: 260px; margin: 0 0 1.25rem; }
.footer-waitlist { font-size: 0.82rem; color: var(--gold); font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
.footer-copy { font-size: 0.78rem; color: rgba(247,242,232,0.35); }
.footer-legal { display: flex; gap: 1.25rem; }
.footer-legal a { font-size: 0.78rem; color: rgba(247,242,232,0.4); transition: color 0.2s; }
.footer-legal a:hover { color: var(--gold-light); }

/* ── MISC ── */
.teal-moon { font-size: 2.2rem; color: var(--gold); margin-bottom: 1rem; }
.center { text-align: center; }
.flex-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.inline-link { color: var(--teal); font-weight: 600; }
.border-left-gold { border-left: 2px solid var(--gold); padding-left: 1rem; margin-bottom: 1.25rem; }

@media (max-width: 900px) {
  .two-col, .founder-grid { grid-template-columns: 1fr !important; }
  .step-row { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .calendly-box { flex-direction: column; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
