@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600&family=Inter:wght@400;500;600&display=swap');

:root {
  --black: #000000;
  --white: #ffffff;
  --border: #cdcdcd;
  --muted: rgba(255, 255, 255, 0.5);
  --radius: 8px;
  --max-width: 1100px;
}

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

html {
  font-size: 16px;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

:lang(ar) {
  font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif;
}

/* ─── Layout ────────────────────────────────────────────── */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

main {
  flex: 1;
}

/* ─── Header ────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  background: var(--black);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  object-fit: contain;
  display: block;
}

.brand-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
  border: 1px solid var(--white);
  border-radius: var(--radius);
  transition: background-color 0.15s ease, color 0.15s ease;
  line-height: 1;
}

.nav-link:hover {
  background-color: var(--white);
  color: var(--black);
}

.nav-link svg {
  flex-shrink: 0;
}

.lang-toggle {
  font-family: inherit;
  background: none;
  border: 1px solid var(--white);
  border-radius: var(--radius);
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  color: var(--white);
  line-height: 1;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.lang-toggle:hover {
  background-color: var(--white);
  color: var(--black);
}

/* ─── Hero ──────────────────────────────────────────────── */

.hero {
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--border);
}

.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-tagline {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted);
  line-height: 1.6;
  max-width: 560px;
}

/* ─── Principles ────────────────────────────────────────── */

.principles {
  padding: 72px 0 80px;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}

.principles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 600px) {
  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .principles-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.principle-card {
  border: 1px solid var(--white);
  border-radius: var(--radius);
  padding: 24px;
}

.principle-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
}

.principle-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── Footer ────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-text {
  font-size: 13px;
  color: var(--muted);
}
