/* 🎨 إعدادات عامة */
body {
  margin: 0;
  padding: 0;
  font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  background: linear-gradient(to bottom, #fdfdfd, #f6f6f6);
  color: #222;
  line-height: 1.7;
  transition: all 0.3s ease-in-out;
}

/* ✅ الحاوية الأساسية */
.container {
  max-width: 980px;
  margin: auto;
  padding: 20px;
}

/* 🧠 الهيدر */
header {
  background: linear-gradient(to right, #fff07a, #ffe062);
  border-bottom: 2px solid #e6c700;
  text-align: center;
  padding: 30px 20px;
  border-radius: 0 0 12px 12px;
}

header h1 {
  font-size: 2.2em;
  margin: 0;
  color: #333;
}

#tagline {
  font-size: 1.2em;
  color: #555;
  margin-top: 10px;
}

/* 🔳 أزرار التنقل */
.pro-btn, .ad-button, .subscribe-button {
  background-color: #ffdf00;
  color: #000;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  margin: 6px;
  text-decoration: none;
  transition: 0.3s ease;
  display: inline-block;
}

.pro-btn:hover, .ad-button:hover, .subscribe-button:hover {
  background-color: #ffce00;
  transform: scale(1.03);
}

/* 🧰 شبكة الأدوات */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin-top: 30px;
  padding: 20px;
}

.tools-grid a {
  display: block;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  text-align: center;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.tools-grid a:hover {
  background: #fff4c4;
  transform: translateY(-2px);
}

/* 📣 قسم الإعلانات والمشاركة */
.toolify-safe-ad {
  background-color: #fffef4;
  border-left: 4px solid #ffd900;
  padding: 25px;
  border-radius: 10px;
  margin: 40px auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.04);
}

.toolify-safe-ad h2, .ad-headline {
  font-size: 1.3em;
  color: #333;
  margin-top: 0;
}

/* 💼 الاشتراك */
.subscription-section {
  background: linear-gradient(to right, #fff9db, #fff5c5);
  padding: 30px;
  text-align: center;
  border-radius: 12px;
  margin: 40px auto;
}

.subscription-section h2 {
  font-size: 1.5em;
  color: #222;
  margin-bottom: 10px;
}

.subscription-box {
  background: #fff8dc;
  border: 2px solid #ffce00;
  padding: 20px;
  border-radius: 10px;
  display: inline-block;
}

.subscription-box h3 {
  margin-bottom: 10px;
  font-size: 1.2em;
  color: #222;
}

.subscription-note {
  font-size: 12px;
  margin-top: 10px;
  color: #555;
}

/* 📄 الفوتر */
footer {
  background: #f9f9f9;
  border-top: 2px solid #eee;
  text-align: center;
  padding: 15px;
  font-size: 0.9em;
}

footer a {
  color: #555;
  text-decoration: none;
  margin: 0 6px;
}

footer a:hover {
  color: #000;
}

/* 🎯 الشعار */
.logo-container {
  display: flex;
  justify-content: center;
  padding: 30px 0;
}

.logo-container img {
  max-width: 180px;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  transition: transform 0.3s ease;
}

.logo-container img:hover {
  transform: scale(1.05);
}

/* 📱 استجابة للجوال */
@media (max-width: 480px) {
  .tools-grid {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  header, footer, section {
    padding: 12px;
  }

  .logo-container img {
    max-width: 140px;
  }

  .subscription-box {
    width: 100%;
    box-sizing: border-box;
  }
}
