@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --font-en: 'Outfit', sans-serif;
  --font-ar: 'Cairo', sans-serif;

  /* Obsidian, Silver & Ice-Blue theme */
  --bg-primary: #05060a;
  --bg-secondary: #0c0e15;
  --card-bg: rgba(15, 17, 26, 0.95);
  --card-border: rgba(150, 176, 205, 0.14);
  --card-border-hover: rgba(110, 198, 255, 0.35);

  --text-primary: #f5f6f8;
  --text-secondary: #8e92a8;
  --text-faint: #5a5d71;

  --color-primary: #6ec6ff;
  /* Light Blue */
  --color-secondary: #2b1b54;
  /* Deep Indigo */
  --color-silver: #c3c9d4;
  /* Silver accent */
  --color-success: #52d18a;
  --color-danger: #ef6a6a;
  --blue-bright: #9ad9ff;
  /* Bright light-blue used for hover states */

  --gradient-glow: linear-gradient(135deg, #ffffff, var(--color-primary));
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
  /* تم تصليحها هنا لمنع السكرول الجانبي دون تعطيل الهيدر الثابت */
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-en), var(--font-ar);
  line-height: 1.6;
  font-size: 13.5px;
}

/* Background elements built to be GPU-friendly to eliminate scrolling lag */
.bg-watermark {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: -2;
}

.bg-ambient-1 {
  position: fixed;
  top: -10%;
  left: 5%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(195, 201, 212, 0.045) 0%, transparent 75%);
  z-index: -1;
  pointer-events: none;
}

.bg-ambient-2 {
  position: fixed;
  bottom: -10%;
  right: 5%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(110, 198, 255, 0.05) 0%, transparent 75%);
  z-index: -1;
  pointer-events: none;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: #191c28;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

/* Header & Navigation */
header {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 7, 12, 0.94);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
}

.logo-text {
  font-size: 17px;
  font-weight: 800;
  background: var(--gradient-glow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-en);
  letter-spacing: 0.5px;
}

/* Buttons */
.btn {
  position: relative;
  overflow: hidden;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 12.5px;
  font-family: var(--font-ar), var(--font-en), sans-serif;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.btn::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: rgba(255, 255, 255, 0.55);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.15s var(--ease);
  pointer-events: none;
}

.btn:hover::after {
  transform: scaleX(1);
  transform-origin: right;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--card-border-hover);
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(110, 198, 255, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  filter: brightness(1.1);
  box-shadow: 0 6px 20px rgba(110, 198, 255, 0.3);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  padding: 64px 0 56px;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.55;
  max-width: 820px;
  margin: 0 auto 18px;
}

.hero h1 span {
  background: var(--gradient-glow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 32px;
  line-height: 1.85;
}

/* Generic Section Title (used above Plans / Features) */
.section-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 36px;
}

/* Dashboard Sidebar Menu Layout */
.dashboard-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  padding: 32px 0;
}

@media (max-width: 900px) {
  .dashboard-layout {
    grid-template-columns: 1fr;
  }
}

/* Premium Obsidian Cards */
.settings-block-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 26px 28px;
  transition: var(--transition-smooth);
}

.settings-block-card:hover {
  border-color: var(--card-border-hover);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.block-card-eyebrow {
  font-family: var(--font-en);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 8px;
  display: block;
}

.block-card-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.block-card-desc {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Forms */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--card-border);
  color: var(--text-primary);
  border-radius: 8px;
  font-size: 12.5px;
  outline: none;
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 10px rgba(110, 198, 255, 0.1);
}

/* Alerts */
.alert {
  padding: 12px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid transparent;
}

.alert-success {
  background: rgba(82, 209, 138, 0.08);
  color: var(--color-success);
  border-color: rgba(82, 209, 138, 0.15);
}

.alert-error {
  background: rgba(239, 106, 106, 0.08);
  color: var(--color-danger);
  border-color: rgba(239, 106, 106, 0.15);
}

.alert-info {
  background: rgba(110, 198, 255, 0.08);
  color: var(--color-primary);
  border-color: rgba(110, 198, 255, 0.15);
}

/* Wiki / Help Cards */
.wiki-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wiki-card {
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 18px 20px;
  transition: var(--transition-smooth);
}

.wiki-card:hover {
  border-color: var(--card-border-hover);
  background: rgba(255, 255, 255, 0.03);
}

.wiki-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wiki-title i {
  color: var(--color-primary);
  font-size: 13px;
}

.wiki-text {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
}

/* Modern copy field */
.modern-copy-field {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--card-border);
  border-radius: 9px;
  padding: 10px 14px;
  gap: 10px;
}

.modern-copy-val {
  flex: 1;
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--text-primary);
  word-break: break-all;
}

.modern-copy-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 13px;
  padding: 2px 4px;
  transition: color 0.2s;
}

.modern-copy-btn:hover {
  color: var(--color-primary);
}

.modern-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 600px) {
  .modern-fields-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   PLANS & PRICING GRID LAYOUT
   ========================================== */
.category-section {
  margin-bottom: 40px;
}

.category-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 20px;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

/* Pricing Card Styling */
.card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-featured {
  border-color: var(--color-primary);
  box-shadow: 0 0 20px rgba(110, 198, 255, 0.12);
}

.card-header-info {
  margin-bottom: 20px;
}

.card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-price-wrapper {
  margin-top: 5px;
}

.card-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
}

.card-price span {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 400;
}

.badge-featured {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--color-primary);
  color: #05060a;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.features-list li {
  font-size: 12.5px;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  padding-bottom: 6px;
}

.features-list li:last-child {
  border-bottom: none;
}

.features-list li i {
  color: var(--color-primary);
  margin-right: 8px;
  /* تم تعديلها لتناسب اتجاه الـ RTL العربي بنجاح */
  font-size: 12px;
}

.feature-name {
  display: flex;
  align-items: center;
  gap: 6px;
}

.feature-value {
  font-weight: 700;
  color: var(--text-primary);
}


/* ==========================================
   SHARED COMPONENTS (Dashboard, Profile, Admin)
   ========================================== */

/* Server Status Badges */
.server-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}

.status-online,
.status-on {
  background: rgba(82, 209, 138, 0.1);
  color: var(--color-success);
  border: 1px solid rgba(82, 209, 138, 0.3);
}

.status-suspended,
.status-off {
  background: rgba(239, 106, 106, 0.1);
  color: var(--color-danger);
  border: 1px solid rgba(239, 106, 106, 0.3);
}

.activity-list-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.empty-state {
  text-align: center;
  padding: 30px 20px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.7;
}

/* Slide Panel Buttons */
.sp-actions-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.sp-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 9px;
  border: none;
  font-family: var(--font-ar);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.sp-btn::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: rgba(255, 255, 255, 0.55);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.15s var(--ease);
  pointer-events: none;
}

.sp-btn:hover::after {
  transform: scaleX(1);
  transform-origin: right;
}

.sp-btn-primary {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  color: #ffffff;
}

.sp-btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.sp-btn-success {
  background: rgba(82, 209, 138, 0.1);
  border: 1px solid rgba(82, 209, 138, 0.3);
  color: var(--color-success);
}

.sp-btn-success:hover {
  background: rgba(82, 209, 138, 0.2);
}

.sp-btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.sp-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.sp-btn-danger {
  background: rgba(239, 106, 106, 0.08);
  border: 1px solid rgba(239, 106, 106, 0.25);
  color: var(--color-danger);
}

.sp-btn-danger:hover {
  background: rgba(239, 106, 106, 0.18);
}

.sp-section {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 16px;
}

.sp-section-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sp-confirm-box {
  display: none;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  background: rgba(239, 106, 106, 0.04);
  border: 1px solid rgba(239, 106, 106, 0.12);
  border-radius: 9px;
}

.sp-confirm-box.visible {
  display: flex;
}

.sp-confirm-box label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
}

.sp-confirm-input {
  width: 100%;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(239, 106, 106, 0.25);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-ar);
  font-size: 13px;
  outline: none;
}

.sp-close {
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 18px;
  transition: color 0.2s;
  padding: 4px;
}

.sp-close:hover {
  color: var(--text-primary);
}

.mini-icon {
  display: block;
  font-size: 20px;
  margin-bottom: 6px;
}

/* Robot/AI Float */
.discord-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(110, 198, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
  z-index: 9999;
}

.discord-float:hover {
  transform: scale(1.08) rotate(5deg);
  filter: brightness(1.15);
}

/* AI Chat Window */
.ai-chat-window {
  font-family: var(--font-ar), sans-serif;
  position: fixed;
  bottom: 88px;
  left: 24px;
  width: 340px;
  height: 460px;
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  display: none;
  flex-direction: column;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  z-index: 9998;
  overflow: hidden;
  animation: ntfSlide 0.25s var(--ease);
}

.ai-chat-window.active {
  display: flex;
}

.ai-chat-header {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.015);
  border-bottom: 1px solid var(--card-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ai-chat-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-chat-close {
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 14px;
  transition: color 0.2s;
}

.ai-chat-close:hover {
  color: var(--color-danger);
}

.ai-chat-body {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

.ai-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 12.5px;
  line-height: 1.6;
}

.ai-msg.bot {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border-top-right-radius: 2px;
  align-self: flex-start;
}

.ai-msg.user {
  background: var(--color-primary);
  color: #100b00;
  border-top-left-radius: 2px;
  align-self: flex-end;
  font-weight: 600;
}

.ai-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.ai-opt-btn {
  background: rgba(110, 198, 255, 0.07);
  border: 1px solid rgba(110, 198, 255, 0.18);
  color: var(--blue-bright);
  padding: 6px 12px;
  border-radius: 18px;
  font-size: 11px;
  font-family: var(--font-ar);
  cursor: pointer;
  transition: all 0.2s;
}

.ai-opt-btn:hover {
  background: rgba(110, 198, 255, 0.16);
  border-color: var(--color-primary);
}

.ai-chat-input-area {
  padding: 10px 12px;
  border-top: 1px solid var(--card-border);
  display: flex;
  gap: 8px;
  background: rgba(0, 0, 0, 0.15);
}

.ai-chat-input {
  flex: 1;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 8px 12px;
  color: #fff;
  font-family: var(--font-ar);
  font-size: 12.5px;
  outline: none;
}

.ai-chat-input:focus {
  border-color: var(--color-primary);
}

.ai-chat-send {
  background: var(--color-primary);
  border: none;
  color: #100b00;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.ai-chat-send:hover {
  background: var(--blue-bright);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 8, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  z-index: 200;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  transform: translateY(10px);
  transition: transform 0.25s;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-content h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--text-primary);
}

.modal-content p {
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--text-secondary);
}

.modal-close {
  position: absolute;
  top: 14px;
  left: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 16px;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--text-primary);
}

.discord-link-box {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(88, 101, 242, 0.06);
  border: 1px solid rgba(88, 101, 242, 0.2);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--text-primary);
  text-decoration: none;
  margin-bottom: 10px;
  transition: background 0.2s;
}

.discord-link-box::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: rgba(255, 255, 255, 0.4);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
  pointer-events: none;
}

.discord-link-box:hover::after {
  transform: scaleX(1);
}

.discord-link-box:hover {
  background: rgba(88, 101, 242, 0.12);
}

.link-title {
  font-size: 13px;
  font-weight: 700;
}

/* Notifications */
.notification-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  animation: ntfSlide 0.3s ease;
}

.notification-bar.success {
  background: rgba(82, 209, 138, 0.08);
  border: 1px solid rgba(82, 209, 138, 0.2);
  color: var(--color-success);
}

.notification-bar.error {
  background: rgba(239, 106, 106, 0.08);
  border: 1px solid rgba(239, 106, 106, 0.2);
  color: var(--color-danger);
}

.notification-bar.info {
  background: rgba(139, 124, 246, 0.08);
  border: 1px solid rgba(139, 124, 246, 0.2);
  color: var(--color-secondary);
}

.notification-bar.warning {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

@keyframes ntfSlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Profile card parts */
.pass-perforation {
  height: 1px;
  background: repeating-linear-gradient(90deg, transparent, transparent 4px, var(--card-border) 4px, var(--card-border) 8px);
  margin: 16px 0;
}

.pass-top-band {
  text-align: center;
}

.card-stat-box {
  text-align: center;
  padding: 8px 4px;
}

.saas-settings-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Admin table */
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  text-align: right;
  font-size: 12.5px;
  border-bottom: 1px solid var(--card-border);
}

.data-table th {
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.015);
}

.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.015);
}

/* ==========================================
   GLOBAL FEATURES SECTION ("لماذا تختار Mondial Host؟")
   ========================================== */
.global-features {
  padding: 60px 0 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.global-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.feature-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition-smooth);
}

.feature-box:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-box-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 14px;
  background: rgba(110, 198, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--color-primary);
}

.feature-box h4 {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.feature-box p {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
}

/* ==========================================
   FULL RESPONSIVE / MOBILE COMPATIBILITY
   ========================================== */
.hero .container>div {
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero {
    padding: 44px 0 40px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero p {
    font-size: 13px;
  }

  .section-title {
    font-size: 19px;
  }

  .container {
    padding: 0 16px;
  }

  .discord-float {
    left: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
    font-size: 19px;
  }

  .ai-chat-window {
    left: 12px;
    right: 12px;
    width: auto;
    bottom: 76px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 20px;
  }

  .btn {
    font-size: 12px;
    padding: 8px 14px;
  }

  .nav-wrapper .btn {
    padding: 7px 12px;
    font-size: 11.5px;
  }

  .card {
    padding: 18px;
  }
}

footer {
  width: 100%;
  text-align: center !important;
  padding: 40px 20px 20px !important;
  margin-top: auto;
  font-family: var(--font-ar), sans-serif;
  font-size: 12px;
  opacity: 0.5;
  clear: both;
}
footer .container {
  display: block !important;
  text-align: center !important;
}
footer p {
  text-align: center !important;
  margin: 0 auto !important;
}