/* ================= LUXURIOUS PREMIUM FOOTER ================= */
.neo-footer {
  position: relative;
  background: linear-gradient(135deg, #000510 0%, var(--color-primary-dark) 30%, #00142f 70%, #000510 100%);
  color: var(--text-inverse);
  overflow: hidden;
  padding: 0;
  margin-top: var(--space-20);
}

/* Subtle background pattern - darker */
.neo-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(2, 60, 133, 0.04) 0%,
      rgba(0, 20, 47, 0.06) 50%,
      rgba(38, 89, 152, 0.03) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Simple top border */
.neo-footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
      transparent 0%,
      var(--color-primary-light) 50%,
      transparent 100%);
  z-index: 1;
}

.footer-shape {
  display: none;
}

/* Grid Layout */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-10);
  padding: var(--space-20) 0 var(--space-12);
  position: relative;
  z-index: 1;
}

/* Logo Section */
.footer-grid .col:first-child {
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  width: 140px;
  height: auto;
  margin: 0 auto var(--space-6);
  filter: brightness(0) invert(1);
  transition: transform var(--transition-normal);
  display: block;
}

.footer-logo:hover {
  transform: scale(1.05);
}

.neo-footer p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  margin: 0;
}

/* Headings - Larger & More Luxurious */
.neo-footer h4 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-6);
  color: var(--text-inverse);
  position: relative;
  padding-bottom: var(--space-4);
  letter-spacing: 0.3px;
  display: inline-block;
  width: fit-content;
}

.neo-footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary-light), var(--color-secondary));
  border-radius: var(--radius-full);
}

/* RTL: الخط تحت الكلمة مباشرة في العربية */
[dir="rtl"] .neo-footer h4::after {
  right: 0;
  left: auto;
}

/* LTR: الخط تحت الكلمة مباشرة في الإنجليزية */
[dir="ltr"] .neo-footer h4::after {
  left: 0;
  right: auto;
}

/* Lists */
.neo-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.neo-footer ul li {
  padding: var(--space-1) 0;
}

.neo-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: var(--text-base);
  transition: all var(--transition-normal);
  display: inline-block;
}

.neo-footer a:hover {
  color: var(--text-inverse);
  transform: translateX(4px);
}

/* Bottom Section - Darker & More Luxurious */
.footer-bottom {
  background: rgba(0, 5, 16, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: var(--space-6) 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.4);
}

.fb-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.fb-inner p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  letter-spacing: 0.4px;
}

/* Social Icons - Simple & Clean */
.socials {
  display: flex;
  gap: var(--space-3);
}

.socials a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-inverse);
  text-decoration: none;
  transition: all var(--transition-normal);
  position: relative;
}

.socials a i {
  font-size: 1.2rem;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.socials a:hover {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-secondary) 100%);
  border-color: rgba(114, 160, 212, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(114, 160, 212, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
    padding: var(--space-16) 0 var(--space-10);
  }

  .footer-grid .col:first-child {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .neo-footer {
    margin-top: var(--space-16);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    padding: var(--space-12) 0 var(--space-8);
    text-align: center;
  }

  .footer-grid .col:first-child {
    grid-column: 1;
  }

  /* في الموبايل، الخط يتبع النص */
  .neo-footer h4 {
    display: inline-block;
    width: fit-content;
  }

  .neo-footer h4::after {
    right: 0;
    left: auto;
  }

  [dir="ltr"] .neo-footer h4::after {
    left: 0;
    right: auto;
  }

  .neo-footer a:hover {
    transform: translateX(0);
  }

  .footer-bottom {
    padding: var(--space-5) 0;
  }

  .fb-inner {
    flex-direction: column;
    text-align: center;
    gap: var(--space-4);
  }

  .socials {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    gap: var(--space-6);
    padding: var(--space-10) 0 var(--space-6);
  }

  .footer-logo {
    width: 120px;
  }

  .neo-footer h4 {
    font-size: var(--text-base);
    margin-bottom: var(--space-5);
  }

  .neo-footer h4::after {
    width: 40px;
    height: 2px;
  }

  .socials a {
    width: 40px;
    height: 40px;
  }

  .socials a i {
    font-size: 1.1rem;
  }

  .fb-inner p {
    font-size: var(--text-xs);
  }
}

@media (max-width: 480px) {
  .footer-grid {
    gap: var(--space-5);
    padding: var(--space-8) 0 var(--space-5);
  }

  .footer-logo {
    width: 100px;
    margin-bottom: var(--space-4);
  }

  .socials a {
    width: 36px;
    height: 36px;
  }

  .socials a i {
    font-size: 0.9rem;
  }
}