/* ======================================
   Root Variables
====================================== */
:root {
  --brand: #28367C;
  --text: #0F172A;
  --muted: #6B7280;
  --bg: #FFFFFF;

  --radius: 12px;
}

/* ======================================
   Reset & Base Styles
====================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);

  /* Cairo font */
  font-family: "Cairo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* Better Arabic rendering */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ======================================
   Page Wrapper
====================================== */
.page {
  min-height: 100vh;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ======================================
   Header
====================================== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  /* RTL trick: menu on the left, logo on the right */
  flex-direction: row-reverse;
}

/* Menu Button */
.menu-btn {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  border-radius: 10px;
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  background-color: #F7F7F7;
}

.menu-btn img {
  width: 22px;
  height: 22px;
  display: block;
}

/* Logo */
.logo img {
  height: 22px;
  width: auto;
  display: block;
}

/* ======================================
   Hero Section
====================================== */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Hero Image */
.hero-image {
  width: 100%;
  max-width: 300px;
  margin: 24px auto 20px;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Hero Title */
.hero-title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
}

/* Hero Subtitle */
.hero-subtitle {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 320px;
}

/* CTA Button */
.cta-btn {
  width: 100%;
  max-width: 340px;
  height: 48px;
  border-radius: 10px;
  background: var(--brand);
  color: #FFFFFF;
  text-decoration: none;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 15px;
  font-weight: 700;
}

/* ======================================
   Slight Enhancement for Bigger Screens
====================================== */
@media (min-width: 420px) {
  .page {
    max-width: 420px;
    margin: 0 auto;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 15px;
  }
}

