/* ====== Reset & Base ====== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Noto Sans Arabic', sans-serif;
  background: #f6f7fb;
  color: #1f2937;
  line-height: 1.7;
}
a { text-decoration: none; color: inherit; }

/* ====== Topbar ====== */
.topbar {
  background: #0f172a;
  color: #e2e8f0;
  font-size: .9rem;
}
.topbar .wrap {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: .8rem;
  justify-content: center;
  padding: .4rem 1rem;
  flex-wrap: wrap;
  text-align: center;
}
.topbar a { opacity: .9; transition: .3s; }
.topbar a:hover { opacity: 1; color: #22c55e; }

/* ====== Header / Nav ====== */
header {
  background: #111827;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 800;
  font-size: 1.1rem;
  color: #22c55e;
}
.brand img {
  width: 38px; height: 38px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}
.nav-menu {
  display: flex;
  gap: 1rem;
  align-items: center;
  transition: right .3s ease;
}
.nav-menu a {
  color: #e5e7eb;
  font-weight: 500;
  padding: .4rem .7rem;
  border-radius: .5rem;
  transition: background .3s, color .3s;
}
.nav-menu a:hover {
  background: #1f2937;
  color: #22c55e;
}
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: 0;
}
.hamburger span {
  width: 26px; height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: .3s;
}

/* ====== Mobile Menu ====== */
@media(max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 70%;
    height: 100%;
    background: #0b1220;
    flex-direction: column;
    gap: 20px;
    padding: 80px 25px;
    box-shadow: -2px 0 15px rgba(0,0,0,0.4);
  }
  .nav-menu.active { right: 0; }
  .hamburger { display: flex; }
  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px,-6px); }
}

/* ====== Hero ====== */
.hero {
  position: relative;
  background: url('images/banner.jpg') center/cover no-repeat;
  height: 40vh; min-height: 300px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff;
}
.hero::before {
  content:""; position: absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.4), rgba(0,0,0,.55));
}
.hero .inner { position: relative; padding: 1rem; }
.hero h1 { font-size: clamp(1.4rem, 4vw, 2.4rem); margin-bottom: .6rem; }
.hero p { opacity: .95; margin-bottom: 1rem; font-size: 1rem; }
.btn {
  display: inline-block;
  background: #22c55e;
  color: #08270f;
  padding: .7rem 1.2rem;
  border-radius: .7rem;
  font-weight: 700;
  transition: transform .2s, filter .2s;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-2px); }

/* ====== Sections & Grid ====== */
section { max-width: 1200px; margin: 2rem auto; padding: 0 1rem; }
.sec-head { display: flex; justify-content: space-between; margin-bottom: 1rem; }
.sec-head h2 { font-size: 1.3rem; }
.sec-sub { color: #64748b; font-size: .95rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: .15s;
  border: 1px solid #eee;
  text-align: center;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,.1); }
.card .thumb { background: #f9f9f9; display: flex; justify-content: center; padding: .6rem; }
.card .thumb img {
  width: 140px; height: auto;
  border: 2px solid #22c55e;
  border-radius: 8px; padding: 3px;
  background: #fff;
}
.card .content { padding: .8rem; }
.title { font-weight: 700; margin-bottom: .25rem; font-size: 1rem; color: #111827; }
.price { color: #16a34a; font-weight: 800; margin-bottom: .4rem; }
.muted { font-size: .85rem; color: #6b7280; }

/* ====== Features, Newsletter, Footer ====== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.feat {
  background: #0b1220;
  color: #e2e8f0;
  border-radius: 14px;
  padding: 1rem;
  transition: .3s;
}
.feat:hover { background: #111827; }
.feat h3 { margin-bottom: .4rem; color: #fff; font-size: 1.05rem; }
.feat p { font-size: .9rem; color: #cbd5e1; }

.newsletter {
  background: #111827;
  color: #e5e7eb;
  border-radius: 14px;
  padding: 1.2rem;
  display: flex; flex-wrap: wrap;
  align-items: center; gap: 1rem;
}
.newsletter input {
  flex: 1; min-width: 200px;
  border-radius: 10px;
  border: 1px solid #334155;
  background: #0f172a; color: #e5e7eb;
  padding: .8rem;
}
.newsletter button {
  background: #22c55e;
  color: #08270f;
  border: 0;
  padding: .8rem 1rem;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
  transition: .2s;
}
.newsletter button:hover { filter: brightness(1.08); }

footer {
  background: #0b1220;
  color: #cbd5e1;
  margin-top: 2rem;
}
.foot {
  max-width: 1200px;
  margin: auto;
  padding: 1.2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
}
@media(max-width: 820px) { .foot { grid-template-columns: 1fr; } }
footer h4 { margin-bottom: .4rem; color: #fff; }
.foot a { color: #cbd5e1; transition:.3s; }
.foot a:hover { color:#22c55e; }
.copy {
  border-top: 1px solid #1f2937;
  padding: .8rem;
  text-align: center;
  font-size: .9rem;
}
.social { display: flex; gap: .5rem; flex-wrap: wrap; }
.pill {
  background: #111827;
  border: 1px solid #1f2937;
  color: #e5e7eb;
  padding: .35rem .65rem;
  border-radius: 999px;
  font-size: .9rem;
}
