/* ===== خطوط الهوية — Nassim Arabic Pro ===== */
@font-face {
  font-family: "Nassim";
  src: url("assets/FONNTS.COM-NASSIM-ARABIC-PRO-.OTF") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Nassim";
  src: url("assets/FONNTS.COM-NASSIM-ARABIC-PRO-MEDIUM.OTF") format("opentype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Nassim";
  src: url("assets/FONNTS.COM-NASSIM-ARABIC-PRO-SEMIBOLD-.OTF") format("opentype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Nassim";
  src: url("assets/FONNTS.COM-NASSIM-ARABIC-PRO-EXTRABOLD-.OTF") format("opentype");
  font-weight: 800;
  font-display: swap;
}

/* ===== متغيّرات الهوية ===== */
:root {
  --maroon: #5c1a30;
  --maroon-soft: #7a2a44;
  --green: #1a8a52;
  --green-soft: #2aa566;
  --cream: #f2eee0;
  --cream-deep: #e8e1cd;
  --ink: #3a2230;
  --max-width: 760px;
}

/* ===== أساسيات ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Nassim", "Segoe UI", Tahoma, sans-serif;
  background-color: var(--cream);
  color: var(--ink);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  line-height: 1.85;
  position: relative;
  overflow-x: hidden;
}

/* ===== نمط هندسي خفيف في الخلفية ===== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(92, 26, 48, 0.07) 1.5px, transparent 0),
    radial-gradient(circle at 26px 26px, rgba(26, 138, 82, 0.06) 1.5px, transparent 0);
  background-size: 52px 52px;
  background-position: 0 0;
}

/* توهّجات لونية ناعمة */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 85% -10%, rgba(26, 138, 82, 0.10), transparent 70%),
    radial-gradient(55% 45% at 5% 110%, rgba(92, 26, 48, 0.12), transparent 70%);
}

/* ===== التخطيط ===== */
.page {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px 24px;
}

.hero {
  width: 100%;
  max-width: var(--max-width);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ===== الشعار ===== */
.logo {
  width: clamp(180px, 42vw, 300px);
  height: auto;
  margin-bottom: 32px;
  filter: drop-shadow(0 8px 22px rgba(92, 26, 48, 0.18));
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ===== شارة "قريباً" ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(26, 138, 82, 0.12);
  color: var(--green);
  font-weight: 600;
  font-size: clamp(0.85rem, 2.4vw, 1rem);
  padding: 7px 18px;
  border-radius: 999px;
  border: 1px solid rgba(26, 138, 82, 0.25);
  margin-bottom: 22px;
  animation: rise 0.9s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.badge .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(26, 138, 82, 0.5);
  animation: pulse 2s infinite;
}

/* ===== العناوين ===== */
.title {
  font-weight: 800;
  color: var(--maroon);
  font-size: clamp(3rem, 13vw, 6rem);
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  animation: rise 0.9s 0.18s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.subtitle {
  font-weight: 600;
  color: var(--maroon-soft);
  font-size: clamp(1.05rem, 3.6vw, 1.5rem);
  margin-bottom: 26px;
  animation: rise 0.9s 0.26s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* فاصل زخرفي */
.divider {
  width: 96px;
  height: 3px;
  border: none;
  margin: 0 0 26px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  position: relative;
  animation: rise 0.9s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  background: var(--maroon);
  border-radius: 2px;
  transform: translate(-50%, -50%) rotate(45deg);
}

.about {
  font-weight: 400;
  font-size: clamp(1rem, 3vw, 1.18rem);
  color: var(--ink);
  max-width: 620px;
  margin-bottom: 38px;
  animation: rise 0.9s 0.36s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.about strong {
  color: var(--maroon);
  font-weight: 600;
}

/* ===== روابط التواصل ===== */
.socials {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
  animation: rise 0.9s 0.44s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.social {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--maroon);
  border: 1px solid var(--cream-deep);
  box-shadow: 0 4px 14px rgba(92, 26, 48, 0.08);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease,
    box-shadow 0.25s ease;
}

.social svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.social:hover,
.social:focus-visible {
  transform: translateY(-5px);
  background: var(--maroon);
  color: #fff;
  box-shadow: 0 10px 22px rgba(92, 26, 48, 0.28);
  outline: none;
}

.handle {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--maroon-soft);
  margin-top: 16px;
  letter-spacing: 0.5px;
  direction: ltr;
  animation: rise 0.9s 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ===== التذييل ===== */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px 24px 28px;
  font-size: 0.9rem;
  color: var(--maroon-soft);
  font-weight: 500;
}

/* ===== الحركات ===== */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(26, 138, 82, 0.5);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(26, 138, 82, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(26, 138, 82, 0);
  }
}

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

/* ===== استجابة الموبايل ===== */
@media (max-width: 480px) {
  .page {
    padding: 32px 18px 16px;
  }
  .logo {
    margin-bottom: 24px;
  }
  .social {
    width: 48px;
    height: 48px;
  }
}
