<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Technical Test Platform</title>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-F5G7GHJ7ZZ"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'G-F5G7GHJ7ZZ');
</script>

<style>
body {

  background-color: #000;
  color: #fff;
  font-family: 'Arial', sans-serif;
  text-align: center;
  margin: 0;
  padding: 0;
}
header {
  background-color: #111;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  color: #fff;
}
.button {
  background-color: gold;
  color: black;
  padding: 10px 20px;
  margin: 5px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  display: inline-block;
  transition: background-color 0.3s, color 0.3s;
  border: none;
}
.button:hover {
  background-color: #fff;
  color: #000;
}
.subscription-info {
  font-weight: bold;
  color: gold;
  margin-left: 15px;
}
.platform-info {
  margin: 30px auto;
  font-size: 1.5em;
  font-weight: bold;
  max-width: 700px;
  line-height: 1.4em;
}
.category-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.category-card {
  background-color: #111;
  border: 2px solid gold;
  border-radius: 10px;
  padding: 20px;
  width: 220px;
  text-align: center;
  box-sizing: border-box;
}
.category-card h3 {
  margin: 10px 0;
  color: gold;
}
.category-card a {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 15px;
  background: gold;
  color: black;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
}
.category-card a:hover {
  background: #fff;
  color: black;
}
/* Subscription Plans */
.plans-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1000px;
  margin: 40px auto 20px;
}
.plan {
  flex: 1;
  min-width: 280px;
  background-color: #111;
  border-radius: 10px;
  padding: 25px 20px;
  color: white;
  box-sizing: border-box;
}
.plan h2 {
  color: gold;
  margin-bottom: 15px;
}
.plan ul {
  list-style: none;
  padding: 0;
  line-height: 1.8em;
  text-align: inherit;
}
.plan ul li {
  margin-bottom: 8px;
}
.plan hr {
  border-color: #444;
  margin: 20px 0;
}
/* Arabic and English text alignment */
.plan.arabic {
  direction: rtl;
  text-align: right;
}
.plan.english {
  direction: ltr;
  text-align: left;
}

/* Modal */
#aboutModal {
  display: none;
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(0,0,0,0.85);
  justify-content:center; align-items:center;
  z-index:9999;
}
#aboutModalContent {
  background:#111;
  color:#fff;
  padding:30px;
  border:2px solid gold;
  border-radius:10px;
  max-width:700px;
  width:90%;
  text-align:center;
  position:relative;
  line-height:1.6em;
}
#closeAbout {
  position:absolute;
  top:15px;
  right:15px;
}
/* Responsive */
@media (max-width: 700px) {
  .plans-container {
    flex-direction: column;
    gap: 20px;
  }
  .category-card {
    width: 90%;
  }
}
</style>
</head>
<body>

<header>
      <div>
      <a href="login.php" class="button">Login</a>
      <a href="register.php" class="button">Register</a>
    </div>
  </header>

<!-- About Us Button -->
<button id="aboutBtn" class="button">About Us | من نحن</button>

<!-- Modal -->
<div id="aboutModal">
  <div id="aboutModalContent">
    <h2>About Us | من نحن</h2>
    <p>
      Start your journey to pass technical job tests and interviews.<br>
      🚀 Boost your career preparation and access all technical categories worldwide.<br><br>
      منصة إلكترونية تساعدك على اجتياز اختبارات الوظائف التقنية وتحسين مهاراتك المهنية.<br>
      الوصول الكامل لجميع الأقسام التقنية والمحتوى التعليمي لتعزيز فرصك في الحصول على الوظيفة المناسبة.
    </p>
    <button id="closeAbout" class="button">X</button>
  </div>
</div>

<div class="platform-info">
  <p>Start your journey to pass technical job tests and interviews.</p>

      <p></p>
  </div>

<!-- زر دليل صناعة التطبيقات -->
<div style="margin-top: 30px;">
      <form method="post" style="display:inline;">
      <button type="submit" name="go_guide" class="button">📘 تحميل دليل صناعة التطبيقات + مقاطع فيديو + ملف جاهز للتحميل</button>
    </form>
  </div>

<div class="plans-container">

  <!-- Arabic Plan -->
  <div class="plan arabic">
    <h2>الباقة المجانية</h2>
    <ul>
      <li>👁️ عرض سؤال واحد فقط إذا لم تكن مسجلاً</li>
      <li>📝 عرض سؤالين إذا كنت مسجلاً</li>
      <li>📴 محتوى محدود</li>
    </ul>

    <hr>

    <h2>الباقة المدفوعة – $10</h2>
    <ul>
      <li>✅ الوصول الكامل لجميع الأسئلة</li>
      <li>📚 أكثر من 30 سؤال في كل قسم</li>
      <li>📅 اشتراك لمدة 3 أشهر</li>
      <li>🚀 جهز نفسك لاجتياز اختبارات الوظائف</li>
    </ul>

    <a href="register.php" class="button">اشترك الآن</a>
  </div>

  <!-- English Plan -->
  <div class="plan english">
    <h2>Free Plan</h2>
    <ul>
      <li>👀 View 1 question if not registered</li>
      <li>📝 View 2 questions if registered</li>
      <li>🔐 Limited content</li>
    </ul>

    <hr>

    <h2>Pro Plan – $10</h2>
    <ul>
      <li>✅ Full access to all questions</li>
      <li>📚 30+ questions per category</li>
      <li>📅 3 months subscription</li>
      <li>🚀 Boost your interview preparation</li>
    </ul>

    <a href="register.php" class="button">Subscribe Now</a>
  </div>

</div>

<div class="category-list">
      <div class="category-card">
      <h3>Artificial Intelligence</h3>
      <a href="category.php?category=artificial-intelligence&limit=1">Enter (Free Question)</a>
    </div>
      <div class="category-card">
      <h3>Cybersecurity</h3>
      <a href="category.php?category=cybersecurity&limit=1">Enter (Free Question)</a>
    </div>
      <div class="category-card">
      <h3>Database</h3>
      <a href="category.php?category=database&limit=1">Enter (Free Question)</a>
    </div>
      <div class="category-card">
      <h3>Database Information Security</h3>
      <a href="category.php?category=database-information-security&limit=1">Enter (Free Question)</a>
    </div>
      <div class="category-card">
      <h3>ForensiQ</h3>
      <a href="category.php?category=forensiq&limit=1">Enter (Free Question)</a>
    </div>
      <div class="category-card">
      <h3>Information Security</h3>
      <a href="category.php?category=information-security&limit=1">Enter (Free Question)</a>
    </div>
      <div class="category-card">
      <h3>Interviews</h3>
      <a href="category.php?category=interviews&limit=1">Enter (Free Question)</a>
    </div>
      <div class="category-card">
      <h3>Networks</h3>
      <a href="category.php?category=networks&limit=1">Enter (Free Question)</a>
    </div>
      <div class="category-card">
      <h3>Programming</h3>
      <a href="category.php?category=programming&limit=1">Enter (Free Question)</a>
    </div>
      <div class="category-card">
      <h3>Technical Support</h3>
      <a href="category.php?category=technical-support&limit=1">Enter (Free Question)</a>
    </div>
      <div class="category-card">
      <h3>Web Design</h3>
      <a href="category.php?category=web-design&limit=1">Enter (Free Question)</a>
    </div>
      <div class="category-card">
      <h3>Web Development</h3>
      <a href="category.php?category=web-development&limit=1">Enter (Free Question)</a>
    </div>
      <div class="category-card">
      <h3>Cloud Computing</h3>
      <a href="category.php?category=cloud-computing&limit=1">Enter (Free Question)</a>
    </div>
      <div class="category-card">
      <h3>DevOps</h3>
      <a href="category.php?category=devops&limit=1">Enter (Free Question)</a>
    </div>
      <div class="category-card">
      <h3>IT Governance</h3>
      <a href="category.php?category=it-governance&limit=1">Enter (Free Question)</a>
    </div>
      <div class="category-card">
      <h3>IT Project Management</h3>
      <a href="category.php?category=it-project-management&limit=1">Enter (Free Question)</a>
    </div>
      <div class="category-card">
      <h3>Machine Learning</h3>
      <a href="category.php?category=machine-learning&limit=1">Enter (Free Question)</a>
    </div>
      <div class="category-card">
      <h3>Mobile Development</h3>
      <a href="category.php?category=mobile-development&limit=1">Enter (Free Question)</a>
    </div>
      <div class="category-card">
      <h3>Software Engineering</h3>
      <a href="category.php?category=software-engineering&limit=1">Enter (Free Question)</a>
    </div>
      <div class="category-card">
      <h3>UX/UI Design</h3>
      <a href="category.php?category=ux%2Fui-design&limit=1">Enter (Free Question)</a>
    </div>
      <div class="category-card">
      <h3>Big Data</h3>
      <a href="category.php?category=big-data&limit=1">Enter (Free Question)</a>
    </div>
      <div class="category-card">
      <h3>Data Centers</h3>
      <a href="category.php?category=data-centers&limit=1">Enter (Free Question)</a>
    </div>
      <div class="category-card">
      <h3>Data Analysis</h3>
      <a href="category.php?category=data-analysis&limit=1">Enter (Free Question)</a>
    </div>
      <div class="category-card">
      <h3>Blockchain</h3>
      <a href="category.php?category=blockchain&limit=1">Enter (Free Question)</a>
    </div>
      <div class="category-card">
      <h3>IoT (Internet of Things)</h3>
      <a href="category.php?category=iot-%28internet-of-things%29&limit=1">Enter (Free Question)</a>
    </div>
      <div class="category-card">
      <h3>Linux Administration</h3>
      <a href="category.php?category=linux-administration&limit=1">Enter (Free Question)</a>
    </div>
      <div class="category-card">
      <h3>Penetration Testing</h3>
      <a href="category.php?category=penetration-testing&limit=1">Enter (Free Question)</a>
    </div>
      <div class="category-card">
      <h3>AI in Cybersecurity</h3>
      <a href="category.php?category=ai-in-cybersecurity&limit=1">Enter (Free Question)</a>
    </div>
      <div class="category-card">
      <h3>Business Intelligence</h3>
      <a href="category.php?category=business-intelligence&limit=1">Enter (Free Question)</a>
    </div>
      <div class="category-card">
      <h3>Virtualization</h3>
      <a href="category.php?category=virtualization&limit=1">Enter (Free Question)</a>
    </div>
  </div>
<!-- زر واتساب عائم -->
<a href="https://wa.me/96895111960?text=%D8%A7%D9%84%D8%AF%D8%B9%D9%85%20%D8%A7%D9%84%D9%81%D9%86%D9%8A%20/%20Technical%20Support" target="_blank" style="
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: transform 0.2s, box-shadow 0.2s;
">
    <img src="https://upload.wikimedia.org/wikipedia/commons/6/6b/WhatsApp.svg" alt="WhatsApp" style="width:24px; height:24px; margin-right:10px;">
    الدعم الفني / Technical Support
</a>

<!-- تأثير الحركة عند مرور الماوس -->
<style>
a[href^="https://wa.me"]:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}
</style>

<script>
document.getElementById('aboutBtn').addEventListener('click', function(){
  document.getElementById('aboutModal').style.display = 'flex';
});
document.getElementById('closeAbout').addEventListener('click', function(){
  document.getElementById('aboutModal').style.display = 'none';
});
</script>

</body>
</html>
