/* Alqab Studios — reconstructed stylesheet */

:root {
  --accent: #0071e3;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Utility: Apple-style headline ---------- */
.apple-headline {
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.apple-subhead {
  color: #6e6e73;
  font-size: 1rem;
}

.dark .apple-subhead { color: #a1a1a6; }

/* ---------- Frosted nav ---------- */
.frost {
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

/* ---------- Pill buttons ---------- */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
}

/* ---------- Card lift ---------- */
.card-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* ---------- Glow blobs ---------- */
.glow-blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

/* ---------- Section backgrounds ---------- */
.section-light {
  background: #fbfbfd;
  color: #1d1d1f;
}
.dark .section-light {
  background: #0a0a0c;
  color: #f5f5f7;
}

.section-soft {
  background: #f5f5f7;
  color: #1d1d1f;
}
.dark .section-soft {
  background: #131316;
  color: #f5f5f7;
}

.section-dark {
  background: #0a0a0c;
  color: #f5f5f7;
}

/* ---------- Reveal-on-scroll (approximates the opacity/translateY animation) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Card-specific smaller offset */
.reveal-sm {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-sm.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Loader spin (Lucide loader-circle) ---------- */
.animate-spin {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

main { position: relative; }
section { position: relative; }
section > * { position: relative; z-index: 1; }
