/* =================== الروابط العامة =================== */
* {
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =================== الحاوية العامة =================== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* =================== الأيقونات =================== */
.icon-box {
  font-size: 60px;
  color: #00ff88;
  margin-bottom: 20px;
}

/* =================== قسم Hero =================== */
.hero {
  padding: 100px 20px;
  background: radial-gradient(circle at center, #00110e, #000000);
  background-size: 200% 200%;
  animation: gradientMove 15s ease infinite;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* .hero {
  background-attachment: fixed;
  background-image: url('assets/bg-vps.jpg'); 
  background-size: cover;
  background-position: center;
} */

.hero h1 {
  font-size: 36px;
  color: #00ff88;
  margin-bottom: 15px;
  font-weight: bold;
}

.hero p {
  font-size: 18px;
  margin-bottom: 20px;
  color: #ccc;
}

/* =================== قسم الميزات =================== */
.features {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 60px 0;
  flex-wrap: wrap;
  text-align: center;
}

.feature-card {
  background: #1a1a1a;
  padding: 25px;
  text-align: center;
  border-radius: 10px;
  border: 1px solid #00ff88;
  color: #eee;
  box-shadow: 0 0 6px rgba(0,255,136,0.1);
  width: 280px;
}

.feature-card .icon {
  font-size: 32px;
  margin-bottom: 10px;
  color: #00ff88;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: bold;
}

/* =================== قسم من نحن =================== */
.about {
  padding: 30px 0; /* كان 60px */
  text-align: center;
}

.about h2 {
  color: #00ff88;
}

.about p {
  color: #bbb;
}

/* =================== قسم الخطط =================== */
.section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  color: #00ff88;
  font-weight: bold;
}
.plan-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}
.plan {
  background: #1a1a1a;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #00ff88;
  color: #eee;
  box-shadow: 0 0 6px rgba(0,255,136,0.1);
  width: 280px;
  text-align: center;
  position: relative;
}
.plan h3 {
  color: #00ff88;
  font-size: 22px;
  margin-bottom: 10px;
}
.plan .price {
  font-size: 20px;
  margin: 15px 0;
  color: #ccc;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.plan ul li {
  margin-bottom: 10px;
}
.plan:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
  transition: 0.3s ease;
}
/* =================== الفوتر =================== */
footer {
  background: #0e0e0e !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  text-align: center;
  color: #888;
  font-size: 14px;
}


footer a {
  color: #00ff88;
  text-decoration: underline;
}

/* =================== دعم RTL و LTR =================== */
html[dir="rtl"] .lang-switch-new {
  flex-direction: row;
}

html[dir="ltr"] .lang-switch-new {
  flex-direction: row-reverse;
}

html[dir="rtl"] .nav-links {
  justify-content: flex-start;
}

html[dir="ltr"] .nav-links {
  justify-content: flex-end;
}

/* =================== faq =================== */
.faq {
  padding: 60px 20px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: #1a1a1a;
  padding: 20px;
  border: 1px solid #00ff88;
  border-radius: 10px;
  box-shadow: 0 0 6px rgba(0,255,136,0.1);
}

.faq-item h4 {
  margin: 0 0 10px;
  color: #00ff88;
  font-size: 18px;
}

.faq-item p {
  margin: 0;
  color: #bbb;
}

/* بطاقة ديسكورد */
.discord-invite {
  padding: 60px 20px;
  text-align: center;
}

.discord-card {
  background: #5865F2;
  color: white;
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.3);
}

.discord-card p {
  color: #ccc;
  margin-bottom: 20px;
}

/* فوتر احترافي */
.footer-advanced {
  background: #111;
  padding: 5px 5px 0px;
  color: #888;
  font-size: 14px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-col h4 {
  color: #00ff88;
  margin-bottom: 8px;
  font-size: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 5px;
}

.footer-col ul li a {
  color: #bbb;
  text-decoration: none;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-col a {
  color: #00ff88;
  text-decoration: underline;
}

.payments img {
  max-width: 100%;
}

.copyright {
  text-align: center;
  margin-top: 0px;
  border-top: 1px solid #222;
  padding-top: 0px;
  color: #666;
}

.payment-icons {
  margin: 0;
  padding: 0;
}
.payment-icons img {
  margin: 0;
  padding: 0;
  height: 24px !important; /* صغّر الحجم إن رغبت */
}

/* تنسيق FAQ + ديسكورد جنبًا إلى جنب */
.faq-discord-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 40px 0; /* كان 60px */
}

.faq-box, .discord-card {
  flex: 1;
  min-width: 280px;
}

.faq-box .faq-item {
  background: #0e0e0e;
  border-bottom: 1px solid #333;
  padding: 15px 10px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.faq-box .faq-item:hover {
  background: #1a1a1a;
}

.faq-box .faq-item h4 {
  margin: 0;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  color: #fff;
}

.faq-box .faq-item p {
  margin-top: 10px;
  color: #aaa;
  font-size: 14px;
  display: none;
}

.faq-box .faq-item.active p {
  display: block;
}

.discord-card h3 {
  color: #00ff88;
  font-size: 24px;
  margin-bottom: 10px;
}

.discord-card p {
  font-size: 14px;
  margin-bottom: 20px;
}

.discord-card .cta-btn {
  background: white;
  color: #5865F2;
  font-weight: bold;
  border-radius: 20px;
  padding: 8px 20px;
  display: inline-block;
}

.faq-box {
  margin-top: -40px; /* جرّب أرقام مثل -20 أو -50 حسب الارتفاع */
}

/* === تحسين واجهة الموقع العالمي === */

body {
  font-family: 'Cairo', sans-serif;
  margin: 0;
  background: #0e0e0e;
  color: #fff;
  scroll-behavior: smooth;
}

/* شريط الإشعار */
.notification-bar {
  background: #00ff88;
  color: #000;
  padding: 12px;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  animation: slideDown 1s ease;
}
@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}



/* زر CTA نابض */
.cta-btn {
  position: relative;
  background: #00ff88;
  color: #000;
  padding: 12px 28px;
  font-weight: bold;
  border-radius: 8px;
  box-shadow: 0 0 10px #00ff88;
  transition: 0.3s ease;
  overflow: hidden;
  z-index: 1;
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.4) 0%, transparent 70%);
  animation: pulse 2s infinite;
  z-index: -1;
}
@keyframes pulse {
  0% { transform: scale(0); opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}

/* باقة مميزة */
.plan.best::after {
  content: attr(data-label);
  background: #00ff88;
  color: #000;
  padding: 4px 12px;
  font-size: 12px;
  position: absolute;
  top: -10px;
  right: -10px;
  border-radius: 0 10px 0 10px;
  font-weight: bold;
  box-shadow: 0 0 5px #00ff88;
}

/* باقي التنسيقات الأصلية تبقى كما هي من ملفك السابق */
.glass-promo {
  backdrop-filter: blur(8px);
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 16px;
  padding: 25px 30px;
  margin: 50px auto;
  max-width: 800px;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
  text-align: center;
  color: #00ff88;
  animation: fadeInScale 1s ease;
}

.glass-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.glass-content span {
  font-size: 20px;
  font-weight: 600;
  color: #e0ffe0;
  text-shadow: 0 0 5px #00ff88;
}

.glass-btn {
  padding: 10px 24px;
  background-color: #00ff88;
  color: #000;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
  text-decoration: none;
}

.glass-btn:hover {
  background-color: #00e676;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.7);
}

@keyframes fadeInScale {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.testimonials {
  padding: 60px 20px;
  text-align: center;
  background: transparent;
}

.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 30px;
}

.testimonial-card {
  background: #141414;
  border: 1px solid #00ff88;
  border-radius: 16px;
  padding: 20px;
  color: #eee;
  width: 280px;
  box-shadow: 0 0 10px rgba(0,255,136,0.1);
  text-align: right;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.user-info img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #00ff88;
}

.user-info strong {
  display: block;
  font-size: 16px;
  color: #fff;
}

.user-info small {
  color: #bbb;
  font-size: 12px;
}

.testimonial-card p {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 10px;
}

.rating {
  color: gold;
  font-weight: bold;
  font-size: 14px;
}

.nav-new {
  justify-content: space-between;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav a {
  padding: 10px 18px;
  border-radius: 10px;
  transition: 0.3s;
  font-weight: 500;
  color: #fff;
}

.nav a:hover {
  background: rgba(0, 255, 136, 0.1);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
  color: #00ff88;
}

.logo-img {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-img img {
  height: 34px;
  filter: drop-shadow(0 0 2px #00ff88);
}

.logo-text {
  color: #00ff88;
  font-weight: bold;
  font-size: 20px;
}

.nav-lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #00ff88;
  color: #000 !important;
  padding: 6px 14px;
  font-weight: bold;
  font-size: 13px;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,255,136,0.3);
  transition: 0.3s;
}

.nav-lang-btn:hover {
  background: #00e676;
}

/* ==== Navbar احترافي ==== */
.main-navbar {
  background: #0e0e0e;
  padding: 14px 0;
  box-shadow: 0 2px 10px rgba(0,255,136,0.05);
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  flex-direction: row; /* default */
}

/* الشعار */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo img {
  height: 34px;
  filter: drop-shadow(0 0 2px #00ff88);
}
.nav-logo span {
  color: #00ff88;
  font-weight: bold;
  font-size: 20px;
}

/* روابط */
.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  /* flex-direction: row;  */
  
}
.nav-links a {
  color: #fff;
  font-size: 15px;
  transition: 0.3s;
  padding: 8px 14px;
  border-radius: 8px;
}

.nav-ar {
  flex-direction: row;
}

.nav-en {
  flex-direction: row-reverse;
}

.nav-links a:hover {
  background: rgba(0, 255, 136, 0.1);
  color: #00ff88;
}
.login-btn {
  background: #00ff88;
  color: #000 !important;
  font-weight: bold;
  border-radius: 8px;
  padding: 8px 16px;
  transition: 0.3s;
}
.login-btn:hover {
  background: #00e676;
}

/* زر اللغة */
.lang-switch-new {
  background: #00ff88;
  color: #000;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  box-shadow: 0 0 8px rgba(0,255,136,0.3);
  direction: ltr; /* يضمن ترتيب طبيعي عند الإنجليزي */
}
.lang-switch-new:hover {
  background: #00e676;
}

.nav-links a,
.login-btn,
.lang-switch-new {
  text-decoration: none;
  cursor: pointer;
}

.login-btn {
  position: relative;
  overflow: hidden;
}
.login-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shine 2s infinite;
}
@keyframes shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* =================== Scrollbar احترافي - Chrome, Edge, Safari =================== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  backdrop-filter: blur(4px); /* خلفية زجاجية */
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 136, 0.4);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.4);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 255, 136, 0.7);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.6);
}

/* =================== Scrollbar احترافي - Firefox =================== */
* {
  scrollbar-width: thin; /* thin = نحيف */
  scrollbar-color: rgba(0, 255, 136, 0.4) rgba(255, 255, 255, 0.05); /* thumb - track */
}

.scroll-box {
  height: 300px; /* حدد الارتفاع */
  overflow-y: scroll; /* فعّل التمرير */
  scrollbar-width: thin; /* دعم فايرفوكس */
}


.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
* {
  outline: none !important;
  box-shadow: none !important;
}

body, html {
  background: #0e0e0e !important;
}

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero, .main-navbar, .container, .section-title, footer {
  position: relative;
  z-index: 1;
}


.cta-btn:active {
  transform: scale(0.95);
  box-shadow: 0 0 20px #00e676;
}


html {
  scroll-behavior: smooth;
}