body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0f172a;
  color: #ffffff;
}

header {
  padding: 20px 40px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

.hero {
  max-width: 800px;
  margin: 80px auto;
  text-align: center;
  padding: 20px;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.hero p {
  color: #94a3b8;
  font-size: 18px;
  margin-bottom: 30px;
}

.tool-box {
  background: #111827;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.tool-box input {
  width: 70%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  outline: none;
  font-size: 16px;
}

.tool-box button {
  padding: 14px 20px;
  border: none;
  border-radius: 10px;
  background: #2563eb;
  color: white;
  font-size: 16px;
  cursor: pointer;
  margin-left: 10px;
}

.tool-box button:hover {
  opacity: 0.9;
}

.results {
  margin-top: 30px;
}
.error-message {
  margin-top: 14px;
  color: #dc2626;
  font-size: 0.95rem;
  font-weight: 500;
}

.empty-state {
  grid-column: 1 / -1;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 20px;
  padding: 28px;
  text-align: center;
  color: #64748b;
}

.loading {
  opacity: 0.7;
  pointer-events: none;
}.download-all-btn {
  height: 52px;
  padding: 0 22px;
  border: none;
  border-radius: 14px;
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}/* HEADER */
.header{
  position:sticky;
  top:0;
  background:#fff;
  z-index:1000;
  border-bottom:1px solid #eee;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.menu{
  display:flex;
  gap:20px;
  align-items:center;
}

.menu a{
  text-decoration:none;
  color:#111;
  font-weight:500;
}

.menu a.active{
  color:#2563eb;
}

/* DROPDOWN */
.dropdown{
  position:relative;
}

.dropbtn{
  background:none;
  border:none;
  font-weight:500;
  cursor:pointer;
}

.dropdown-content{
  display:none;
  position:absolute;
  background:#fff;
  min-width:220px;
  box-shadow:0 10px 30px rgba(0,0,0,0.1);
  border-radius:12px;
  overflow:hidden;
}

.dropdown-content a{
  display:block;
  padding:12px;
  text-decoration:none;
  color:#111;
}

.dropdown-content a:hover{
  background:#f3f4f6;
}

.dropdown:hover .dropdown-content{
  display:block;
}.mega-menu{
  display: none;
  position: absolute;
  top: 100%; /* مهم */
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  background: #fff;
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  z-index: 999;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}.mega:hover .mega-menu,
.mega-menu:hover{
  display: grid;
}