/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: #0f172a;
  color: #f8fafc;
  min-height: 100vh;
}

/* الحاوية الرئيسية للمحتوى - بتجبر الصفحة كلها تمشي بالترتيب من فوق لتحت */
.privacy-page-wrapper {
  width: 100%;
  max-width: 1000px; /* عرض ممتاز جداً للمحتوى بالعرض */
  margin: 40px auto; /* سنترة المحتوى في نص الصفحة مع مسافة من فوق وتحت */
  padding: 0 20px;
  display: block; /* نضمن إن العناصر مفيش حاجة تيجي جنب بعضها */
}

.privacy-container {
  width: 100%;
  display: flex;
  flex-direction: column; /* ترتيب العناصر فوق بعض رأسياً */
  gap: 30px; /* مسافة بين كارت الخصوصية وكارت إخلاء المسؤولية */
  clear: both; /* إلغاء أي Float قديم من الهيدر أو المنيو */
}

/* Card FX (Glassmorphism + Neon Border) */
.card {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  width: 100%; /* فرد الكارت بعرض الحاوية بالكامل */
  display: block;
}

/* Glow Sweep Effect on Hover */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(56, 189, 248, 0.15),
    transparent
  );
  transition: 0.6s;
}

.card:hover::before {
  right: 100%;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 12px 40px rgba(56, 189, 248, 0.15);
}

/* Main Titles */
.card h2 {
  font-size: 1.6rem;
  color: #38bdf8;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid rgba(56, 189, 248, 0.2);
  padding-bottom: 12px;
}

/* Section Blocks */
.section-block {
  margin-bottom: 20px;
}

.section-block h3 {
  font-size: 1.15rem;
  color: #7dd3fc;
  margin-bottom: 8px;
}

.card p {
  line-height: 1.8;
  color: #cbd5e1;
  font-size: 0.98rem;
  margin-bottom: 10px;
}

.card ul {
  list-style-type: none;
  margin-bottom: 10px;
}

.card ul li {
  position: relative;
  padding-right: 25px;
  margin-bottom: 8px;
  color: #e2e8f0;
  line-height: 1.6;
  font-size: 0.95rem;
}

.card ul li::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: #38bdf8;
  font-weight: bold;
}

/* Disclaimer Styling */
.disclaimer {
  border-color: rgba(244, 63, 94, 0.15);
}

.disclaimer h2 {
  color: #f43f5e;
  border-bottom-color: rgba(244, 63, 94, 0.2);
}

.disclaimer:hover::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(244, 63, 94, 0.15),
    transparent
  );
}

.disclaimer:hover {
  border-color: rgba(244, 63, 94, 0.4);
  box-shadow: 0 12px 40px rgba(244, 63, 94, 0.15);
}

.disclaimer ul li::before {
  content: "⚠️";
  font-size: 0.8rem;
}
