/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&family=Amiri:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --font-display: 'Geist', system-ui, sans-serif;
  --font-body:    'Geist', system-ui, sans-serif;
  --font-arabic:  'Amiri', serif;
}

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

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-primary);
  background: var(--bg);
  transition: background 0.3s ease, color 0.3s ease;
  background-image: none;
}

[data-theme="dark"] body {
  background-image: radial-gradient(120% 80% at 80% -10%, var(--bg-alt) 0%, var(--bg) 46%, var(--surface-2) 100%);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 600;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 600; }

p { color: var(--text-secondary); }

a { color: inherit; }

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

.arabic {
  font-family: var(--font-arabic);
  direction: rtl;
}
