/* ملف تنسيقات صفحة الأنظمة - Systems Page Styles */

/* قائمة ميزات الخدمات */
.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0;
  padding: 0;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.service-features li i {
  color: var(--success);
  font-size: 0.8rem;
  width: 16px;
  text-align: center;
}

/* بطاقة الباقة المميزة */
.service-card.featured {
  border: 2px solid var(--accent-500);
  background: linear-gradient(135deg, rgba(14, 184, 226, 0.05), rgba(255, 255, 255, 0.95));
  transform: scale(1.02);
  position: relative;
}

.service-card.featured::before {
  content: "الأكثر طلباً";
  position: absolute;
  top: -10px;
  right: 20px;
  background: linear-gradient(135deg, var(--accent-500), var(--primary-600));
  color: var(--white);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
}

html[dir="rtl"] .service-card.featured::before {
  right: auto;
  left: 20px;
}

/* بطاقات عرض الأنظمة */
.showcase-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(18, 59, 115, 0.08);
  border: 1px solid rgba(18, 59, 115, 0.05);
  overflow: hidden;
  margin-top: 40px;
  transition: all 0.3s ease;
}

.showcase-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(18, 59, 115, 0.12);
}

/* رأس بطاقة العرض */
.showcase-header {
  padding: 32px 32px 16px;
  text-align: center;
  background: linear-gradient(135deg, rgba(14, 184, 226, 0.03), rgba(255, 255, 255, 0.98));
}

.showcase-header h3 {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--primary-700);
  margin: 12px 0 8px;
  line-height: 1.3;
}

.showcase-header p {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto;
}

/* محتوى بطاقة العرض */
.showcase-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 32px;
}

/* قسم معاينة الصور */
.showcase-preview {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.main-image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(18, 59, 115, 0.15);
  transition: var(--transition);
}

.main-image:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 45px rgba(18, 59, 115, 0.2);
}

.preview-image {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
  min-height: 400px;
  object-fit: cover;
}

/* معرض الصور المصغرة */
.thumbnail-gallery {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.thumbnail {
  width: 80px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  opacity: 0.8;
  box-shadow: 0 3px 10px rgba(18, 59, 115, 0.1);
}

.thumbnail:hover,
.thumbnail.active {
  border-color: var(--accent-500);
  opacity: 1;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 6px 16px rgba(14, 184, 226, 0.25);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

/* تفاصيل العرض */
.showcase-details {
  width: 100%;
}

.showcase-details h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-700);
  margin-bottom: 24px;
  text-align: center;
}

/* شبكة الميزات */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.features-grid .feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(14, 184, 226, 0.04);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(14, 184, 226, 0.12);
  transition: all 0.3s ease;
}

.features-grid .feature-item:hover {
  background: rgba(14, 184, 226, 0.08);
  border-color: rgba(14, 184, 226, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(14, 184, 226, 0.15);
}

.features-grid .feature-item i {
  color: var(--accent-500);
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.features-grid .feature-item span {
  font-size: 1rem;
  color: var(--gray-700);
  font-weight: 500;
}

/* أزرار العرض */
.showcase-actions {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.showcase-actions .btn {
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition);
  min-width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

/* الأسئلة الشائعة */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(18, 59, 115, 0.08);
  border: 1px solid rgba(18, 59, 115, 0.05);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: 0 8px 20px rgba(18, 59, 115, 0.12);
}

.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary-700);
  background: linear-gradient(135deg, rgba(14, 184, 226, 0.02), rgba(255, 255, 255, 0.95));
  border-bottom: 1px solid rgba(18, 59, 115, 0.05);
  transition: var(--transition);
  position: relative;
}

.faq-item summary:hover {
  background: linear-gradient(135deg, rgba(14, 184, 226, 0.05), rgba(255, 255, 255, 0.95));
}

.faq-item summary::marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent-500);
  transition: var(--transition);
}

html[dir="rtl"] .faq-item summary::after {
  right: auto;
  left: 24px;
}

.faq-item[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
}

.faq-item p {
  padding: 16px 24px 20px;
  margin: 0;
  color: var(--gray-600);
  line-height: 1.6;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* التصميم المتجاوب */
@media (max-width: 1024px) {
  .showcase-content {
    gap: 24px;
    padding: 24px;
  }

  .showcase-header {
    padding: 24px 24px 12px;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .showcase-header {
    padding: 20px 16px 10px;
  }

  .showcase-header h3 {
    font-size: 1.4rem;
  }

  .showcase-content {
    padding: 20px 16px;
    gap: 24px;
  }

  .thumbnail-gallery {
    gap: 8px;
    margin-top: 16px;
  }

  .thumbnail {
    width: 60px;
    height: 45px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .features-grid .feature-item {
    padding: 12px;
  }

  .showcase-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  .showcase-actions .btn {
    width: 100%;
    max-width: 260px;
  }

  .preview-image {
    min-height: 250px;
  }

  .showcase-details h4 {
    font-size: 1.1rem;
    margin-bottom: 16px;
  }

  .service-features {
    font-size: 0.85rem;
  }

  .faq-item summary {
    padding: 14px 16px;
    font-size: 0.9rem;
  }

  .faq-item p {
    padding: 12px 16px 14px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .service-card.featured::before {
    right: 50%;
    transform: translateX(50%);
  }

  html[dir="rtl"] .service-card.featured::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .thumbnail {
    width: 50px;
    height: 38px;
  }

  .thumbnail-gallery {
    gap: 6px;
  }
}

/* =========================================================================
   الإبداع في تصميم قسم الهيرو للأنظمة - Systems Hero Creative Design
========================================================================= */

.systems-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #030a16;
  overflow: hidden;
  padding: 160px 0 100px;
  color: var(--white);
}

.systems-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Gradients and Glowing Spheres */
.glow-sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.42;
  animation: float-sphere 18s infinite alternate ease-in-out;
  will-change: transform;
}

.sphere-1 {
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  background: rgba(14, 184, 226, 0.28);
  top: -150px;
  right: -100px;
}

.sphere-2 {
  width: 40vw;
  height: 40vw;
  max-width: 500px;
  max-height: 500px;
  background: rgba(34, 101, 194, 0.34);
  bottom: -100px;
  left: -100px;
  animation-delay: -8s;
}

@keyframes float-sphere {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(-16px, 16px) scale(1.05);
  }
}

/* Grid overlay for tech vibe */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
  animation: grid-move 40s linear infinite;
  opacity: 0.28;
  will-change: background-position;
}

@keyframes grid-move {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 0 40px;
  }
}

/* Animated Systems Network */
.systems-animated-bg {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  z-index: 1;
}

.signal-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(14, 184, 226, 0),
    rgba(14, 184, 226, 0.34),
    rgba(14, 184, 226, 0)
  );
  transform-origin: center;
  opacity: 0.6;
}

.signal-line-1 {
  top: 28%;
  left: 16%;
  width: 48%;
  transform: rotate(11deg);
}

.signal-line-2 {
  top: 58%;
  right: 14%;
  width: 42%;
  transform: rotate(-16deg);
}

.signal-line-3 {
  bottom: 24%;
  left: 28%;
  width: 34%;
  transform: rotate(-2deg);
}

.signal-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(14, 184, 226, 0.95);
  box-shadow: 0 0 0 6px rgba(14, 184, 226, 0.08);
  animation: signalPulse 4.8s ease-in-out infinite;
}

.signal-dot-1 {
  top: 25%;
  left: 34%;
}

.signal-dot-2 {
  top: 54%;
  right: 32%;
  animation-delay: -1.6s;
}

.signal-dot-3 {
  bottom: 23%;
  left: 52%;
  animation-delay: -3.2s;
}

@keyframes signalPulse {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.48;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.88;
  }
}

.sys-node {
  position: absolute;
  width: 44px;
  height: 44px;
  background: rgba(6, 18, 38, 0.9);
  border: 1px solid rgba(14, 184, 226, 0.28);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-400);
  font-size: 1.05rem;
  box-shadow: 0 12px 24px rgba(3, 14, 29, 0.24);
  transform: translate(-50%, -50%);
  animation: nodeFloatSoft 12s ease-in-out infinite alternate;
  z-index: 2;
  will-change: transform;
}

.sys-node i {
  filter: none;
}

@keyframes nodeFloatSoft {
  0% {
    transform: translate(-50%, -50%) translate3d(0, 0, 0);
  }

  100% {
    transform: translate(-50%, -50%) translate3d(0, -6px, 0);
  }
}

/* Node positions relative to SVG viewbox */
.sys-node-server {
  top: 26%;
  left: 18%;
  animation-delay: 0s;
}

.sys-node-cloud {
  top: 58%;
  right: 18%;
  left: auto;
  animation-delay: -4s;
}

.sys-node-pos {
  bottom: 20%;
  left: 46%;
  top: auto;
  animation-delay: -7s;
}

.systems-hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

/* Badge styling */
.premium-badge {
  background: rgba(14, 184, 226, 0.1);
  border: 1px solid rgba(14, 184, 226, 0.3);
  backdrop-filter: blur(10px);
  color: var(--accent-400);
  padding: 8px 24px;
  font-size: 1rem;
  box-shadow: 0 0 20px rgba(14, 184, 226, 0.2);
  margin-bottom: 24px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

/* Title Styling */
.systems-hero-title {
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 30%, #67d3f2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.systems-hero-lead {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* Actions */
.systems-hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.btn-glow {
  box-shadow: 0 0 20px rgba(14, 184, 226, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(14, 184, 226, 0.6);
  padding: 14px 32px;
  display: inline-flex;
  align-items: center;
  color: var(--white);
  background: linear-gradient(135deg, rgba(14, 184, 226, 0.2), rgba(34, 101, 194, 0.6));
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s;
}

.btn-glow:hover {
  box-shadow: 0 0 30px rgba(14, 184, 226, 0.6), inset 0 0 15px rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
  color: var(--white);
  background: linear-gradient(135deg, rgba(14, 184, 226, 0.3), rgba(34, 101, 194, 0.7));
}

.btn-glow .arrow-icon {
  transition: transform 0.3s;
}

html[dir="rtl"] .btn-glow .arrow-icon {
  transform: rotate(180deg);
}

.btn-glow:hover .arrow-icon {
  animation: slide-arrow-rtl 0.5s infinite alternate;
}

@keyframes slide-arrow-rtl {
  0% {
    transform: rotate(180deg) translateX(0);
  }

  100% {
    transform: rotate(180deg) translateX(5px);
  }
}

html[dir="ltr"] .btn-glow:hover .arrow-icon {
  animation: slide-arrow-ltr 0.5s infinite alternate;
}

@keyframes slide-arrow-ltr {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(5px);
  }
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 14px 32px;
  display: inline-flex;
  align-items: center;
  color: var(--white);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

/* Glass Stat Cards */
.systems-stats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  width: 100%;
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: skewX(-20deg);
  transition: all 0.5s;
}

.glass-card:hover {
  transform: translateY(-10px);
  border-color: rgba(14, 184, 226, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(14, 184, 226, 0.15);
}

.glass-card:hover::before {
  left: 150%;
}

.stat-icon {
  font-size: 2.2rem;
  color: var(--accent-500);
  margin-bottom: 12px;
  filter: drop-shadow(0 0 12px rgba(14, 184, 226, 0.6));
}

.glass-card .number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 8px;
}

.glass-card .label {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
}

/* Wave bottom */
.systems-hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 3;
}

.systems-hero-wave svg {
  width: calc(100% + 1.3px);
  height: 80px;
  display: block;
}

@media (max-width: 768px) {
  .systems-hero {
    padding: 130px 0 80px;
  }

  .systems-hero-title {
    font-size: 2rem;
  }

  .systems-stats-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .systems-hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .sphere-1,
  .sphere-2 {
    display: none;
  }

  .systems-animated-bg {
    opacity: 0.34;
  }

  .grid-overlay {
    animation: none;
  }

  .signal-line-2,
  .signal-dot-2 {
    display: none;
  }

  .sys-node-cloud {
    right: 12%;
  }

  .sys-node-pos {
    left: 56%;
  }
}

@media (max-width: 992px) {
  .grid-overlay {
    animation: none;
    opacity: 0.2;
  }

  .systems-animated-bg {
    opacity: 0.42;
  }

  .sys-node {
    animation-duration: 14s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .glow-sphere,
  .grid-overlay,
  .sys-node,
  .signal-dot {
    animation: none;
  }
}

/* =========================================================================
   تصميم قسم المميزات والخدمات (الأنظمة) - Systems Features Section
========================================================================= */

/* =========================================================================
   Rebuilt Systems Hero
========================================================================= */

.systems-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 148px 0 96px;
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(14, 184, 226, 0.18), transparent 28%),
    linear-gradient(135deg, #061224 0%, #0c2446 54%, #0d3161 100%);
}

.systems-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 24%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
  opacity: 0.34;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 85%);
  pointer-events: none;
}

.systems-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.systems-hero-bg::before,
.systems-hero-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.systems-hero-bg::before {
  width: min(48vw, 560px);
  aspect-ratio: 1;
  top: -14%;
  inset-inline-end: -10%;
  background: radial-gradient(circle, rgba(14, 184, 226, 0.3), transparent 68%);
  animation: heroOrbDrift 16s ease-in-out infinite alternate;
}

.systems-hero-bg::after {
  width: min(34vw, 400px);
  aspect-ratio: 1;
  bottom: 2%;
  inset-inline-start: -8%;
  background: radial-gradient(circle, rgba(242, 169, 59, 0.16), transparent 72%);
  animation: heroOrbDriftAlt 18s ease-in-out infinite alternate;
}

.systems-hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.systems-hero-content {
  max-width: 690px;
  text-align: start;
}

.systems-hero .hero-badge-wrapper {
  margin-bottom: 18px;
}

.systems-hero .premium-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(103, 211, 242, 0.24);
  color: #b9ecfb;
  padding: 10px 18px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 30px rgba(3, 14, 29, 0.18);
}

.systems-hero-title {
  font-size: clamp(2.6rem, 4vw, 4.85rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.05em;
  margin-bottom: 22px;
  max-width: 11ch;
  color: var(--white);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: currentColor;
  filter: none;
}

.systems-hero-title span {
  display: inline;
}

.systems-hero-lead {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 34px;
  max-width: 60ch;
  line-height: 1.95;
}

.systems-hero-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  margin-bottom: 38px;
  flex-wrap: wrap;
}

.systems-hero .btn-glow,
.systems-hero .btn-glass {
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  transition:
    transform 220ms var(--ease-out-quart),
    box-shadow 220ms var(--ease-out-quart),
    border-color 220ms var(--ease-out-quart),
    background-color 220ms var(--ease-out-quart);
}

.systems-hero .btn-glow {
  background: linear-gradient(135deg, rgba(14, 184, 226, 0.2), rgba(34, 101, 194, 0.66));
  border: 1px solid rgba(103, 211, 242, 0.28);
  box-shadow: 0 18px 36px rgba(3, 14, 29, 0.18);
}

.systems-hero .btn-glass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 28px rgba(3, 14, 29, 0.14);
}

.systems-hero .btn-glow:hover,
.systems-hero .btn-glass:hover {
  transform: translateY(-2px);
}

.systems-hero .btn-glow:hover .arrow-icon,
.systems-hero .btn-glow .arrow-icon,
html[dir="ltr"] .systems-hero .btn-glow:hover .arrow-icon,
html[dir="rtl"] .systems-hero .btn-glow:hover .arrow-icon {
  animation: none !important;
}

.systems-stats-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 760px;
}

.systems-hero .glass-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 22px 18px;
  align-items: flex-start;
  box-shadow: 0 20px 36px rgba(3, 14, 29, 0.16);
}

.systems-hero .glass-card::before {
  display: none;
}

.systems-hero .glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px rgba(3, 14, 29, 0.2);
  border-color: rgba(103, 211, 242, 0.24);
}

.systems-hero .stat-icon {
  font-size: 1.4rem;
  color: #8fe0f7;
  margin-bottom: 14px;
  filter: none;
}

.systems-hero .glass-card .number {
  font-size: 2.15rem;
  margin-bottom: 6px;
}

.systems-hero .glass-card .label {
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.72);
}

.systems-hero-visual {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.systems-board {
  position: relative;
  width: min(100%, 440px);
  padding: 24px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(7, 20, 40, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 54px rgba(2, 11, 24, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  animation: boardFloat 9s ease-in-out infinite;
}

.systems-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(103, 211, 242, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 24%);
  pointer-events: none;
}

.systems-board-head {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.systems-board-head span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.systems-board-head span:first-child {
  background: rgba(242, 169, 59, 0.85);
}

.systems-board-head span:nth-child(2) {
  background: rgba(14, 184, 226, 0.85);
}

.systems-board-head span:last-child {
  background: rgba(16, 185, 129, 0.85);
}

.systems-board-highlight {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 16px;
}

.systems-board-icon,
.systems-mini-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(14, 184, 226, 0.2), rgba(34, 101, 194, 0.36));
  color: #9be8fb;
}

.systems-board-copy {
  display: grid;
  gap: 9px;
}

.systems-board-line,
.systems-mini-bar {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  position: relative;
}

.systems-board-line::after,
.systems-mini-bar::after,
.systems-track::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(103, 211, 242, 0.96), rgba(14, 184, 226, 0.24));
  transform-origin: center;
  animation: trackSweep 6.8s ease-in-out infinite;
}

.systems-board-line {
  width: 100%;
}

.systems-board-line-strong {
  height: 10px;
}

.systems-board-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
}

.systems-board-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.systems-mini-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.systems-mini-bar-short {
  width: 58%;
}

.systems-mini-bar-medium {
  width: 72%;
}

.systems-board-tracks {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.systems-track {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
}

.systems-track-1::after {
  width: 68%;
}

.systems-track-2::after {
  width: 84%;
  animation-delay: -2.2s;
}

.systems-track-3::after {
  width: 52%;
  animation-delay: -4.4s;
}

.systems-floating-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(7, 20, 40, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 30px rgba(2, 11, 24, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: chipBob 8.6s ease-in-out infinite;
}

.systems-floating-chip i {
  color: #9be8fb;
}

.systems-floating-chip-top {
  top: 44px;
  inset-inline-start: 8px;
}

.systems-floating-chip-bottom {
  bottom: 34px;
  inset-inline-end: -8px;
  animation-delay: -4s;
}

@keyframes heroOrbDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(-18px, 18px, 0) scale(1.04);
  }
}

@keyframes heroOrbDriftAlt {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(16px, -12px, 0) scale(1.05);
  }
}

@keyframes boardFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -8px, 0);
  }
}

@keyframes chipBob {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -6px, 0);
  }
}

@keyframes trackSweep {
  0%,
  100% {
    transform: scaleX(0.82);
    opacity: 0.82;
  }

  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@media (max-width: 992px) {
  .systems-hero {
    padding: 136px 0 84px;
  }

  .systems-hero-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .systems-hero-content {
    max-width: 100%;
    text-align: center;
  }

  .systems-hero-title,
  .systems-hero-lead {
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
  }

  .systems-hero-actions {
    justify-content: center;
  }

  .systems-stats-cards {
    max-width: 100%;
  }

  .systems-hero-visual {
    min-height: 420px;
  }
}

@media (max-width: 768px) {
  .systems-hero {
    min-height: auto;
    padding: 126px 0 72px;
  }

  .systems-hero::before {
    background-size: auto, 54px 54px, 54px 54px;
  }

  .systems-hero-title {
    font-size: 2.2rem;
  }

  .systems-hero-lead {
    font-size: 1rem;
    line-height: 1.85;
  }

  .systems-hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .systems-hero .btn-glow,
  .systems-hero .btn-glass {
    width: 100%;
    justify-content: center;
  }

  .systems-stats-cards {
    grid-template-columns: 1fr;
  }

  .systems-hero-visual {
    min-height: 360px;
  }

  .systems-board {
    width: 100%;
    padding: 20px;
  }

  .systems-floating-chip-top,
  .systems-floating-chip-bottom {
    display: none;
  }
}

@media (max-width: 480px) {
  .systems-hero {
    padding: 116px 0 60px;
  }

  .systems-hero-title {
    font-size: 1.95rem;
    line-height: 1.18;
  }

  .systems-hero-lead {
    line-height: 1.75;
  }

  .systems-stats-cards > div {
    padding: 18px 16px;
    border-radius: 18px;
  }

  .systems-hero-visual {
    min-height: 300px;
  }

  .systems-board {
    padding: 16px;
    border-radius: 24px;
  }

  .systems-board-highlight,
  .systems-board-grid {
    grid-template-columns: 1fr;
  }

  .sys-package-card {
    padding: 32px 22px;
  }

  .pkg-header h3 {
    font-size: 1.35rem;
  }

  .sys-project-card {
    padding: 24px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .systems-hero-bg::before,
  .systems-hero-bg::after,
  .systems-board,
  .systems-floating-chip,
  .systems-board-line::after,
  .systems-mini-bar::after,
  .systems-track::after {
    animation: none;
  }
}

.sys-features-section {
  padding: 100px 0;
  background-color: var(--gray-100);
  position: relative;
  overflow: hidden;
}

.sys-features-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(14, 184, 226, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-900);
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

.sys-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 2;
}

.sys-feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  position: relative;
  border: 1px solid rgba(18, 59, 115, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  transition: all 0.4s ease;
  z-index: 1;
}

.sys-feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(18, 59, 115, 0.1);
  border-color: rgba(14, 184, 226, 0.3);
}

/* Card Glow Effect */
.sys-feature-card .card-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(14, 184, 226, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  transition: transform 0.5s ease;
  z-index: -1;
}

.sys-feature-card:hover .card-glow {
  transform: scale(2);
}

html[dir="rtl"] .sys-feature-card .card-glow {
  right: auto;
  left: -60px;
}

/* Icon Styling */
.feature-icon-wrapper {
  position: relative;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon-wrapper i {
  font-size: 2rem;
  color: var(--primary-600);
  z-index: 2;
  transition: color 0.3s, transform 0.3s;
}

.sys-feature-card:hover .feature-icon-wrapper i {
  color: var(--accent-500);
  transform: scale(1.1);
}

.icon-ring {
  position: absolute;
  inset: 0;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: rgba(14, 184, 226, 0.1);
  animation: morph-ring 8s ease-in-out infinite alternate;
  z-index: 1;
  transition: background 0.3s;
}

.sys-feature-card:hover .icon-ring {
  background: rgba(14, 184, 226, 0.2);
  animation-duration: 4s;
}

@keyframes morph-ring {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }

  25% {
    border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
  }

  50% {
    border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
  }

  75% {
    border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
  }

  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
}

/* Text Content */
.sys-feature-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-800);
  margin-bottom: 12px;
}

.sys-feature-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-700);
}

.feature-list li i {
  color: var(--success);
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .sys-features-section {
    padding: 60px 0;
  }
}

/* =========================================================================
   تصميم قسم الباقات (الأنظمة) - Systems Packages Section - Light Theme
========================================================================= */

.sys-packages-section {
  padding: 100px 0;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

/* Decorative background elements */
.sys-packages-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(var(--gray-200) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  opacity: 0.5;
}

.text-white {
  color: var(--primary-900) !important;
}

.text-white-muted {
  color: var(--gray-600) !important;
}

.sys-packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  align-items: stretch;
  position: relative;
  z-index: 2;
  margin-top: 50px;
}

.sys-package-card {
  background: var(--white);
  border: 1px solid rgba(18, 59, 115, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.sys-package-card:hover {
  transform: translateY(-8px);
  border-color: rgba(14, 184, 226, 0.3);
  box-shadow: 0 20px 40px rgba(18, 59, 115, 0.08);
}

.premium-card {
  transform: scale(1.05);
  background: var(--white);
  border: 2px solid var(--accent-500);
  box-shadow: 0 20px 50px rgba(18, 59, 115, 0.12), 0 0 0 4px rgba(14, 184, 226, 0.05);
  z-index: 2;
}

.premium-card:hover {
  transform: scale(1.05) translateY(-8px);
  border-color: var(--primary-600);
  box-shadow: 0 25px 60px rgba(18, 59, 115, 0.15), 0 0 0 4px rgba(34, 101, 194, 0.1);
}

.premium-label {
  position: absolute;
  top: 0;
  right: 50%;
  transform: translateX(50%);
  background: linear-gradient(135deg, var(--accent-500), var(--primary-600));
  color: #fff;
  padding: 6px 20px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  z-index: 5;
  box-shadow: 0 5px 15px rgba(14, 184, 226, 0.3);
}

.card-glow-aurora {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(14, 184, 226, 0.08) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.pkg-header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.pkg-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(14, 184, 226, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary-600);
  transition: all 0.3s ease;
}

.sys-package-card:hover .pkg-icon {
  background: rgba(14, 184, 226, 0.15);
  transform: scale(1.1);
  color: var(--accent-500);
}

.premium-card .pkg-icon {
  background: linear-gradient(135deg, var(--primary-100), rgba(14, 184, 226, 0.2));
  color: var(--primary-600);
}

.pkg-header h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-800);
  margin-bottom: 12px;
}

.pkg-header p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.5;
  min-height: 45px;
}

.pkg-body {
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.pkg-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pkg-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-700);
  font-size: 0.95rem;
  font-weight: 600;
}

.pkg-features li i {
  color: var(--success);
  font-size: 1rem;
  background: rgba(16, 185, 129, 0.1);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pkg-footer {
  margin-top: auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Button variants for light theme */
.btn-outline-dynamic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--primary-300);
  background: transparent;
  color: var(--primary-700);
  font-weight: 700;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-outline-dynamic:hover {
  background: rgba(14, 184, 226, 0.08);
  border-color: var(--accent-500);
  color: var(--primary-600);
}

.btn-glow-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent-500), var(--primary-600));
  border: none;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(18, 59, 115, 0.15);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-glow-solid:hover {
  box-shadow: 0 15px 30px rgba(18, 59, 115, 0.25);
  transform: translateY(-2px);
}

.btn-outline-dynamic i,
.btn-glow-solid i {
  transition: transform 0.3s;
}

html[dir="rtl"] .btn-outline-dynamic i,
html[dir="rtl"] .btn-glow-solid i {
  transform: rotate(180deg);
}

.btn-outline-dynamic:hover i,
.btn-glow-solid:hover i {
  animation: slide-arrow-rtl 0.5s infinite alternate;
}

html[dir="ltr"] .btn-outline-dynamic:hover i,
html[dir="ltr"] .btn-glow-solid:hover i {
  animation: slide-arrow-ltr 0.5s infinite alternate;
}

@media (max-width: 992px) {
  .premium-card {
    transform: scale(1);
  }

  .premium-card:hover {
    transform: translateY(-8px);
  }
}

@media (max-width: 768px) {
  .sys-packages-section {
    padding: 70px 0;
  }

  .sys-packages-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================================
   تصميم قسم مشاريع الأنظمة - Systems Showcase Section
========================================================================= */

.sys-showcase-section {
  padding: 100px 0;
  background-color: var(--gray-50);
  position: relative;
  overflow: hidden;
}

.sys-showcase-container {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 50px;
}

.sys-project-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 15px 40px rgba(18, 59, 115, 0.05);
  border: 1px solid rgba(18, 59, 115, 0.05);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.sys-project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(18, 59, 115, 0.08);
  border-color: rgba(14, 184, 226, 0.2);
}

.sys-project-card.reverse-layout {
  grid-template-columns: 1.2fr 1fr;
}

.sys-project-card.reverse-layout .sys-project-content {
  order: 2;
}

.sys-project-card.reverse-layout .sys-project-visuals {
  order: 1;
}

/* Content Side */
.sys-project-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 2;
}

.project-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sys-tag {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sys-tag i {
  font-size: 0.9rem;
}

.sys-tag-outline {
  background: transparent;
  color: var(--primary-600);
  border: 1px solid var(--primary-200);
}

.sys-project-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-900);
  line-height: 1.3;
}

.sys-project-desc {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.sys-project-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin: 15px 0;
}

.feat-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-50);
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-800);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.feat-badge i {
  color: var(--accent-500);
  font-size: 1.1rem;
}

.sys-project-card:hover .feat-badge {
  background: var(--white);
  border-color: rgba(14, 184, 226, 0.2);
  box-shadow: 0 5px 15px rgba(18, 59, 115, 0.05);
}

.sys-project-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: -2px;
}

.sys-detail-panel {
  background: linear-gradient(180deg, var(--gray-50), rgba(255, 255, 255, 0.92));
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.sys-detail-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-800);
  margin-bottom: 12px;
  line-height: 1.5;
}

.sys-detail-list {
  gap: 10px;
}

.sys-detail-list li {
  align-items: flex-start;
  line-height: 1.65;
  font-size: 0.93rem;
}

.sys-detail-list li i {
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.sys-project-actions {
  margin-top: 10px;
}

.sys-project-actions .btn {
  display: inline-flex;
  width: fit-content;
}

/* Visuals Side */
.sys-project-visuals {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.visuals-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(18, 59, 115, 0.1);
  background: var(--gray-100);
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sys-project-card:hover .main-screen-img {
  transform: scale(1.03);
}

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-800);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
  animation: float-badge 3s ease-in-out infinite alternate;
}

.floating-badge i {
  color: var(--success);
}

.badge-top {
  top: 20px;
  left: -20px;
  /* Adjust according to RTL */
}

html[dir="rtl"] .badge-top {
  left: auto;
  right: -20px;
}

.badge-bottom {
  bottom: 20px;
  right: -20px;
  animation-delay: 1.5s;
}

html[dir="rtl"] .badge-bottom {
  right: auto;
  left: -20px;
}

@keyframes float-badge {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-10px);
  }
}

.visuals-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.sys-thumb {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  aspect-ratio: 16/10;
}

.sys-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.sys-thumb:hover,
.sys-thumb.active {
  border-color: var(--accent-500);
  box-shadow: 0 5px 15px rgba(14, 184, 226, 0.2);
}

.sys-thumb:hover img,
.sys-thumb.active img {
  opacity: 1;
}

/* Responsive Showcase */
@media (max-width: 992px) {

  .sys-project-card,
  .sys-project-card.reverse-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .sys-project-card.reverse-layout .sys-project-content {
    order: 1;
  }

  .sys-project-card.reverse-layout .sys-project-visuals {
    order: 2;
  }

  .floating-badge {
    display: none;
    /* Hide floating badges on smaller screens for cleaner look */
  }
}

@media (max-width: 768px) {
  .sys-showcase-section {
    padding: 70px 0;
  }

  .sys-project-card {
    padding: 24px;
  }

  .sys-project-title {
    font-size: 1.6rem;
  }

  .sys-project-features {
    grid-template-columns: 1fr;
  }

  .sys-project-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================================
   تصميم قسم الأسئلة الشائعة (الأنظمة) - Systems FAQ Section
========================================================================= */

.sys-faq-section {
  padding: 100px 0;
  background-color: var(--white);
  position: relative;
}

.sys-faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: flex-start;
}

/* FAQ Header Side */
.sys-faq-header {
  position: sticky;
  top: 100px;
}

.sys-faq-header .section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-900);
  line-height: 1.3;
  margin-bottom: 20px;
}

.sys-faq-header .section-lead {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 30px;
}

.sys-faq-contact-box {
  background: var(--gray-50);
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--primary-100);
  text-align: center;
}

.sys-faq-contact-box p {
  color: var(--primary-800);
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

/* FAQ Accordion Side */
.sys-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sys-faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
}

.sys-faq-item:hover {
  border-color: rgba(14, 184, 226, 0.4);
  box-shadow: 0 5px 15px rgba(18, 59, 115, 0.05);
}

.sys-faq-item[open] {
  border-color: var(--accent-500);
  box-shadow: 0 10px 20px rgba(18, 59, 115, 0.08);
}

.sys-faq-item summary {
  padding: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 15px;
  list-style: none;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-800);
  transition: all 0.3s ease;
  user-select: none;
}

.sys-faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gray-50);
  border-radius: 50%;
  color: var(--primary-500);
  transition: all 0.3s ease;
}

.sys-faq-item[open] .faq-icon {
  background: rgba(14, 184, 226, 0.1);
  color: var(--accent-500);
}

.faq-text {
  flex-grow: 1;
}

.faq-toggle {
  color: var(--gray-400);
  transition: all 0.3s ease;
}

.sys-faq-item[open] .faq-toggle {
  transform: rotate(45deg);
  color: var(--danger);
}

.faq-content {
  padding: 0 24px 24px 79px;
  /* align with text */
  color: var(--gray-600);
  line-height: 1.7;
  font-size: 0.95rem;
  animation: faq-fade-in 0.3s ease forwards;
}

html[dir="rtl"] .faq-content {
  padding: 0 79px 24px 24px;
}

@keyframes faq-fade-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 992px) {
  .sys-faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sys-faq-header {
    position: relative;
    top: 0;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .sys-faq-section {
    padding: 70px 0;
  }

  .sys-faq-item summary {
    padding: 20px;
    font-size: 1.05rem;
  }

  html[dir="rtl"] .faq-content {
    padding: 0 20px 20px 20px;
  }
}

/* =========================================================================
   تصميم قسم الدعوة لاتخاذ إجراء - Systems Final CTA
========================================================================= */

.sys-cta-section {
  padding: 100px 0;
  background-color: var(--primary-900);
  position: relative;
  overflow: hidden;
  color: #fff;
}

.sys-cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.sys-cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(14, 184, 226, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 8s ease-in-out infinite alternate;
}

.sys-cta-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
}

@keyframes pulse-glow {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.5;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
  }
}

.relative-z {
  position: relative;
  z-index: 2;
}

.sys-cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.sys-cta-content h2 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.sys-cta-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
}

.sys-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.sys-cta-actions .btn-lg {
  padding: 18px 36px;
  font-size: 1.1rem;
}

.contact-phone {
  background: rgba(255, 255, 255, 0.05);
}

.sys-cta-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon.whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
  transform: translateY(-3px);
}

.social-icon.linkedin:hover {
  background: #0077b5;
  border-color: #0077b5;
  transform: translateY(-3px);
}

.social-icon.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .sys-cta-section {
    padding: 80px 0;
  }

  .sys-cta-content h2 {
    font-size: 2.2rem;
  }

  .sys-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .sys-cta-actions .btn {
    width: 100%;
  }
}
