/* ─── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── Tokens ─────────────────────────────────────────────────────────────────── */
:root {
  --bg:           #16161a;
  --surface:      #242629;
  --card:         #2E2A2A;
  --gold:         #f9bc60;
  --terracotta:   #E26436;
  --indigo:       #2A3F6F;
  --cream:        #f0e6d3;
  --text-2:       #A39075;
  --border:       #3B342B;

  --font-en: 'Outfit', system-ui, sans-serif;
  --font-ar: 'Amiri', serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── Base ───────────────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-en);
  background: var(--bg);
  color: var(--cream);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── Header ─────────────────────────────────────────────────────────────────── */
.site-header {
  padding: 24px 48px;
}

.logo-text {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ─── Main ───────────────────────────────────────────────────────────────────── */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ─── Hero ───────────────────────────────────────────────────────────────────── */
.hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding: 48px 48px 80px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Bismillah */
.bismillah {
  font-family: var(--font-ar);
  font-size: 28px;
  color: var(--gold);
  line-height: 1.6;
  letter-spacing: 0;
  opacity: 0.85;
}

/* Headline */
h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--cream);
}

/* Subheading */
.sub {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 380px;
}

/* ─── Store Buttons ──────────────────────────────────────────────────────────── */
.store-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--cream);
  transition: background 200ms var(--ease-out), border-color 200ms var(--ease-out);
  cursor: pointer;
  min-width: 160px;
}

.store-btn:hover {
  background: var(--surface);
  border-color: var(--gold);
}

.store-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--cream);
}

.store-label {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.store-sub {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-2);
  text-transform: uppercase;
}

.store-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--cream);
}

/* ─── Hero Image ─────────────────────────────────────────────────────────────── */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-image img {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  filter: drop-shadow(0 32px 64px rgba(249, 188, 96, 0.12));
}

/* ─── Geometric accent ───────────────────────────────────────────────────────── */
.hero-content::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--terracotta);
  border-radius: 2px;
  margin-bottom: -12px;
}

/* ─── Footer ─────────────────────────────────────────────────────────────────── */
footer {
  padding: 24px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 400;
}

.footer-links a {
  color: var(--text-2);
  transition: color 200ms var(--ease-out);
}

.footer-links a:hover { color: var(--cream); }

.divider {
  color: var(--border);
  user-select: none;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-2);
  opacity: 0.6;
}

.footer-copy a {
  color: var(--text-2);
}

.footer-copy a:hover { color: var(--cream); }

/* ─── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .site-header {
    padding: 20px 24px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 32px 24px 64px;
    text-align: left;
  }

  .hero-image {
    order: -1;
    justify-content: center;
  }

  .hero-image img {
    max-width: 240px;
  }

  .sub {
    max-width: 100%;
  }

  footer {
    padding: 20px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
