* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: "Tajawal", sans-serif;
      background: var(--bg-body);
      color: var(--text-main);
      transition: background 0.3s ease, color 0.3s ease;
      min-height: 100vh;
    }

    /* ===== Navbar ===== */
    .navbar {
      position: fixed;
      top: 0;
      inset-inline: 0;
      height: 72px;
      padding-inline: 3rem;
      background: var(--bg-nav);
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid rgba(148, 163, 184, 0.25);
      backdrop-filter: blur(14px);
      z-index: 1000;
      transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    }

    .navbar.scrolled {
      transform: translateY(-4px);
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    }

    .nav-logo img {
      height: 70px;
      width: 190px;
    }

    .nav-links {
      list-style: none;
      display: flex;
      gap: 2.5rem;
    }

    .nav-links a {
      position: relative;
      color: var(--text-main);
      text-decoration: none;
      font-weight: 800;
      font-size: 0.95rem;
      transition: color 0.3s ease;
      font-size: 20px;
    }

    .nav-links a::after {
      content: "";
      position: absolute;
      inset-inline: 0;
      bottom: -8px;
      height: 2px;
      background: linear-gradient(90deg, var(--accent), var(--accent-dark));
      transform: scaleX(0);
      transform-origin: center;
      transition: transform 0.3s ease;
    }

    .nav-links a:hover {
      color: var(--accent);
    }

    .nav-links a:hover::after {
      transform: scaleX(1);
    }

    .nav-right {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .theme-toggle,
    .user-btn {
      width: 36px;
      height: 36px;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.5);
      background: transparent;
      color: var(--text-main);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: background 0.25s ease, color 0.25s ease,
      transform 0.2s ease,
      box-shadow 0.25s ease;
    }

    .theme-toggle:hover,
    .user-btn:hover {
      background: rgba(148, 163, 184, 0.12);
      transform: translateY(-1px);
      box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
    }

    #theme-icon {
      font-size: 1.1rem;
      color: #facc15;
    }

    body.dark-mode #theme-icon {
      color: #38bdf8;
    }

    .hero {
      padding-top: 100px;
      text-align: center;
      margin-bottom: 3rem;
      background: var(--hero-bg);
    }

    .hero h1 {
      margin-top: 80px;
      font-size: 2.4rem;
      margin-bottom: 1rem;
    }

    /* ===== Menue ===== */
.burger-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: transparent;
  display: none;              /* يظهر في الموبايل فقط */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.burger-btn span {
  display: block;
  height: 2px;
  background: var(--text-main);
  border-radius: 999px;
  width: 20px;
  transition: transform 0.25s ease, opacity 0.25s ease, width 0.25s ease;
}

.burger-btn span:nth-child(1),
.burger-btn span:nth-child(3) {
  width: 18px;
}


.burger-btn span:nth-child(2) {
  width: 12px;
  margin-block: 4px;
}

.burger-btn:hover {
  background: rgba(148, 163, 184, 0.12);
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);
}

.burger-btn.active span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
  width: 20px;
}
.burger-btn.active span:nth-child(2) {
  opacity: 0;
}
.burger-btn.active span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
  width: 20px;
}

.lang-btn {
  width: 40px;
  height: 40px;
  padding-inline: 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: transparent;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lang-btn:hover {
  background: rgba(148,163,184,0.12);
}


/* ===== DROPDOWN (المزيد) ===== */

/* العنصر الأساسي */
.nav-dropdown {
  position: relative;
}

/* زر "المزيد" */
.nav-dropdown-toggle {
  background: transparent;
  border: none;
  color: var(--text-main);
  font: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0;    
}

.nav-dropdown-toggle i {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

/* منيو الدروب داون */
.nav-dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
  background: var(--bg-card);
  border-radius: 14px;
  border: 1px solid var(--border-color);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  position: absolute;
  top: 120%;
  inset-inline-start: 0;  
  min-width: 190px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 30;
}


.light-mode .nav-dropdown-menu {
  background: var(--text-main);
  border-color: var(--bg-card);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* نص الروابط في Light Mode */
.light-mode .nav-dropdown-menu a {
  color:var(--bg-card) !important;
}

.light-mode .nav-dropdown-menu a:hover {
  background: #f3f4f6;
  color: #1f2937 !important;
  border-radius: 20px;
}


/* حالة الفتح */
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown.open .nav-dropdown-toggle i {
  transform: rotate(180deg);
}

/* عناصر المنيو */
.nav-dropdown-menu li a {
  display: block;
  padding: 0.5rem 0.9rem;
  color: var(--text-main);
  font-size: 0.9rem;
  text-decoration: none;
}

.nav-dropdown-menu li a:hover {
  background: rgba(148,163,184,0.1);
  border-radius: 20px;
}



/* ==============================
        HERO SECTION
    ============================== */
    .hero {
      position: relative;
      height: 90vh;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      padding: 0 20px;
      text-align: center;
    }

    .hero .container {
      max-width: 700px;
      z-index: 10;
      position: relative; 
    }

    .hero h1 {
      font-size: 36px;
      font-weight: 800;
      line-height: 1.3;
      margin-bottom: 15px;
    }

    .hero h1 span {
      background: linear-gradient(45deg,#4c8bff,#8b4cff,#ff4ca9);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero p {
      font-size: 18px;
      opacity: .9;
      margin-bottom: 25px;
    }

    .hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

    .btn-primary, .btn-secondary {
      padding: 12px 25px;
      border-radius: 12px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      transition: .3s;
      border: none;
    }

    .btn-primary {
      background: #4c8bff;
      color: #fff;
      box-shadow: 0 0 15px #4c8bff55;
    }
    .btn-primary:hover { transform: translateY(-3px); filter: brightness(1.2); }

    .btn-secondary {
      background: transparent;
      border: 2px solid var(--text);
      color: var(--text);
    }
    .btn-secondary:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }



/* ==============================
      FLOATING GLASS BOXES
============================== */
    .floating-box {
      position: absolute;
      width: 50px;
      height: 50px;
      backdrop-filter: blur(12px);
      border-radius: 15px;
        background: rgba(255, 255, 255, 0.12); 
      border: 2px solid #4c8bff; 
      box-shadow: 0 0 20px #4c8bff, 0 0 40px #4c8bff50, 0 0 60px #4c8bff30;
      z-index: 1;
      display: flex;
      align-items: center;
      justify-content: center;
    }

  .floating-box i {
  font-size: 1.4rem;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.floating-box.icon-change i {
  opacity: 0;
  transform: scale(0.5) rotate(-10deg);
}

    .hero::before {
      content: "";
      position: absolute;
      width: 300px;
      height: 300px;
      background: var(--light);
      border-radius: 50%;
      filter: blur(100px);
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      opacity: 0.25;
      z-index: 0;
    }

.floating-box.box1 { top: 80%; left: 33%; }
.floating-box.box2 { top: 30%; left: 28%; }
.floating-box.box3 { top: 50%; left: 82%; }
.floating-box.box4 { top: 65%; left: 64%; }
.floating-box.box5 { top: 80%; left: 70%; }
.floating-box.box6 { top: 70%; left: 15%; }


    /* ===== STATS SECTION ===== */

.stats {
  padding: 3rem 2rem 4rem;
  background: var(--bg-body);
  margin-top: 1rem;
  margin-bottom: 3.5rem;
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

/* كروت */
.stat-card {
  position: relative;
  border-radius: 18px;
  padding: 1.6rem 1.8rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  color: #f9fafb;
  box-shadow: 0 18px 40px var(--shadow-color);
}

/* خط سفلي متحرك */
.stat-card::after {
  content: "";
  position: absolute;
  inset-inline: 18px;
  bottom: 10px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(248,250,252,0.4), #ffffff);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
  opacity: 0.9;
}
.stat-card:hover::after {
  transform: scaleX(1);
}

.stat1::after { background: linear-gradient(90deg, #fdba74, #f97316); }
.stat2::after { background: linear-gradient(90deg, #38bdf8, #0ea5e9); }
.stat3::after { background: linear-gradient(90deg, #c4b5fd, #a855f7); }
.stat4::after { background: linear-gradient(90deg, #6ee7b7, #22c55e); }



/* ألوان مختلفة لكل كرت في الدارك */
.stat1 { background: #2b1b12; }
.stat2 { background: #101c3a; }
.stat3 { background: #1a1237; }
.stat4 { background: #082b29; }

/* في وضع اللايت نخليها أفتح شوية */
.light-mode .stat1 { background: #fff3e6; color: #7c2d12; }
.light-mode .stat2 { background: #e0f2fe; color: #0f172a; }
.light-mode .stat3 { background: #ede9fe; color: #1e1b4b; }
.light-mode .stat4 { background: #dcfce7; color: #064e3b; }

.stat-number {
  font-size: 1.9rem;
  font-weight: 800;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

/* النقطة المتوهجة */
.stat-dot {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #f97316;
  box-shadow: 0 0 18px rgba(249,115,22,0.9);
}

.stat2 .stat-dot { background: #38bdf8; box-shadow: 0 0 18px rgba(56,189,248,0.9); }
.stat3 .stat-dot { background: #a855f7; box-shadow: 0 0 18px rgba(168,85,247,0.9); }
.stat4 .stat-dot { background: #22c55e; box-shadow: 0 0 18px rgba(34,197,94,0.9); }



/* الموجة أسفل الهيرو */
.hero-wave {
  position: relative;
  width: 100%;
  height: 110px;
  overflow: hidden;
  margin-top: -1px;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* موجة عامة */
.wave {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 200%;            
  height: 110px;
}

/* الموجة الخلفية – حركة أبطأ وأوسع */
.wave-back {
  opacity: 0.7;
  animation: waveBack 12s linear infinite;
}

/* الموجة الأمامية – حركة أسرع شوية */
.wave-front {
  opacity: 1;
  animation: waveFront 8s linear infinite;
}

/* أنيميشن يشبه حركة البحر (رايح جاي + اختلاف بسيط في الارتفاع) */
@keyframes waveBack {
  0%   { transform: translateX(0) translateY(0); }
  50%  { transform: translateX(-25%) translateY(4px); }
  100% { transform: translateX(-50%) translateY(0); }
}

@keyframes waveFront {
  0%   { transform: translateX(0) translateY(0); }
  50%  { transform: translateX(-30%) translateY(-4px); }
  100% { transform: translateX(-60%) translateY(0); }
}


.hero-wave svg {
  width: 120%;
  height: 100%;
  display: block;
  animation: waveMove 14s linear infinite;
}

/* لون الموج في الدارك (الوضع الافتراضي) */
.wave path {
  fill: var(--stats-bg);  
}

/* لون الموج في اللايت مود */
.light-mode .wave path {
  fill: var(--stats-was);           
}



/* لون الجزء المتعرج = لون سكشن الإحصائيات */
.hero-wave path {
  fill: var(--stats-bg);
}

.hero-wave path {
  fill: var(--bg-wav);  
}



/* ===== FEATURES SECTION ===== */

.features {
  padding: 4rem 2rem 4.5rem;
  background: var(--features-bg, var(--bg-body));
}

.light-mode .features {
  --features-bg: #f9fafb;
}

.features-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.features-kicker {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.features-title {
  font-size: clamp(2rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: var(--text-main);
}

.features-title .brand {
  color: var(--accent);
}

/* الشبكة */
.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}

/* الكارت */
.feature-card {
  position: relative;
  padding: 1.6rem 1.6rem 1.4rem;
  border-radius: 18px;
  background: rgba(15,23,42,0.85);
  border: 1px solid rgba(148,163,184,0.2);
  box-shadow: 0 18px 40px var(--shadow-color);
  color: #e5e7eb;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.light-mode .feature-card {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(148,163,184,0.35);
  box-shadow: 0 16px 35px rgba(15,23,42,0.08);
}

.feature-card h3 {
  margin-top: 0.9rem;
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* أيقونة دائرية */
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
  margin-bottom: 0.2rem;
}

/* ألوان مختلفة لكل أيقونة */
.fi1 { background: #0ea5e9; }
.fi2 { background: #6366f1; }
.fi3 { background: #f97316; }
.fi4 { background: #22c55e; }
.fi5 { background: #e11d48; }
.fi6 { background: #facc15; color: #1f2937; }


/****************************Tracks*******************/
.tracks {
  padding: 4rem 2rem 4.5rem;
  background: var(--bg-body);
}

.light-mode .tracks {
  background: #f9fafb;
}

.section-head {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

.section-kicker.brand {
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #105c2c;
}

.section-title.with-line {
  position: relative;
  display: inline-block;
  padding-bottom: 1.2rem;
  font-size: clamp(2rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-main);
}

.section-title.with-line::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 120px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, #cf0707, #830202);
}

.section-desc {
  margin-top: 0.8rem;
  color: var(--text-muted);
}

/* الشبكة */
.tracks-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.6rem;
}

/* الكروت */
.track-card {
  position: relative;
  border-radius: 22px;
  padding: 1.8rem 1.6rem 1.5rem;
  background: #020617;
  border: 1px solid rgba(148,163,184,0.25);
  box-shadow: 0 22px 45px rgba(0,0,0,0.55);
  color: #e5e7eb;
  overflow: hidden;
  transform: translateY(0) scale(1);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

/* ألوان مختلفة لكل كرت في الدارك */
.tc1 { background: #1f2937; }
.tc2 { background: #111827; }
.tc3 { background: #1e1b4b; }
.tc4 { background: #064e3b; }

/* في اللايت */
.light-mode .tc1 { background: #fef3c7; color: #7c2d12; }
.light-mode .tc2 { background: #e0f2fe; color: #0f172a; }
.light-mode .tc3 { background: #ede9fe; color: #1e1b4b; }
.light-mode .tc4 { background: #dcfce7; color: #064e3b; }

.track-card h3 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.track-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* الأيقونة */
.track-icon {
  width: 56px;
  height: 56px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: rgba(15,23,42,0.6);
  color: #f9fafb;
}

.tc1 .track-icon { background: rgba(251,191,36,0.18); color: #fbbf24; }
.tc2 .track-icon { background: rgba(59,130,246,0.18); color: #3b82f6; }
.tc3 .track-icon { background: rgba(236,72,153,0.18); color: #ec4899; }
.tc4 .track-icon { background: rgba(34,197,94,0.18); color: #22c55e; }

/* زر */
.track-btn {
  margin-top: 1.3rem;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.track-btn:hover {
  background: var(--accent-dark);
  box-shadow: 0 14px 30px rgba(0,0,0,0.45);
  transform: translateY(-1px);
}

/* هوفر على الكارت بالكامل */
.track-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top, rgba(248,250,252,0.16), transparent 60%);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.track-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 26px 60px rgba(0,0,0,0.7);
  border-color: rgba(248,250,252,0.4);
}

.track-card:hover::before {
  opacity: 1;
  transform: translateY(0);
}

.testi-clean {
  padding: 4rem 2rem 4.5rem;
  background: var(--bg-body);
}

.light-mode .testi-clean {
  background: #f9fafb;
}

.testi-clean-head {
  text-align: center;
  margin-bottom: 2rem;
}

.testi-clean-wrapper {
  max-width: 700px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.testi-clean-card {
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 18px 40px var(--shadow-color);
  padding: 1.7rem 1.9rem;
  min-height: 190px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.light-mode .testi-clean-card {
  background: #ffffff;
  border-color: rgba(148,163,184,0.3);
  box-shadow: 0 18px 38px rgba(15,23,42,0.1);
}

.testi-clean-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.testi-clean-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.8rem;
}

.testi-clean-avatar {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.testi-clean-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.testi-clean-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.testi-clean-quote {
  font-size: 1rem;
  color: var(--text-main);
}

/* الأسهم */
.testi-clean-arrow {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.5);
  background: transparent;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.testi-clean-arrow:hover {
  background: rgba(148,163,184,0.15);
  transform: translateY(-1px);
}

/* النقاط */
.testi-clean-dots {
  margin-top: 1.2rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.testi-clean-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(148,163,184,0.5);
  cursor: pointer;
  transition: width 0.15s ease, background 0.15s ease;
}

.testi-clean-dots .dot.active {
  width: 22px;
  background: var(--accent);
}




/*******************About Us**************************/

.about {
  padding: 4.5rem 2rem 4.5rem;
  background: var(--bg-body);
}

.light-mode .about {
  background: #f9fafb;
}

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
  gap: 3rem;
  align-items: center;
}

/* الصورة */
.about-media {
  position: relative;
}

.about-image-wrap {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: 0 24px 55px var(--shadow-color);
  transform: translateY(0);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-image {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* جلو بسيط خلف الصورة */
.about-image-wrap::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at top, rgba(56,189,248,0.25), transparent 60%);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* بادج صغيرة */
.about-badge {
  position: absolute;
  bottom: 16px;
  inset-inline-start: 16px;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.85);
  color: #f9fafb;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-size: 0.85rem;
  backdrop-filter: blur(10px);
}

.about-badge span {
  font-weight: 800;
  font-size: 1.1rem;
  color: #facc15;
}

/* هوفر على الصورة */
.about-image-wrap:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.6);
}

.about-image-wrap:hover::before {
  opacity: 1;
  transform: translateY(0);
}

/* النص */
.about-content .section-kicker.brand {
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f97316;
}

.about-content .section-title.with-line {
  position: relative;
  display: inline-block;
  padding-bottom: 1.1rem;
  font-size: clamp(2rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-main);
}

.about-content .section-title.with-line::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 120px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, #f97316, #ea580c);
}

.about-lead {
  margin-top: 0.7rem;
  font-size: 1.05rem;
  color: var(--text-main);
}

.about-text {
  margin-top: 0.6rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.about-list {
  margin-top: 1.1rem;
  list-style: none;
  padding: 0;
}

.about-list li {
  position: relative;
  padding-inline-start: 1.4rem;
  margin-bottom: 0.4rem;
  color: var(--text-main);
  font-size: 0.94rem;
}

.about-list li::before {
  content: "✔";
  position: absolute;
  inset-inline-start: 0;
  top: 0.05rem;
  font-size: 0.8rem;
  color: var(--accent);
}

.about-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.about-actions .btn.primary {
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.about-actions .btn.primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 18px 40px var(--shadow-color);
  transform: translateY(-2px);
}

.about-actions .btn.outline {
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.5);
  background: transparent;
  color: var(--text-main);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

.about-actions .btn.outline:hover {
  background: rgba(148,163,184,0.15);
  transform: translateY(-2px);
}



/* ==============================
      Faq
============================== */
/* ===== FAQ PAGE ===== */

.page-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem 4.5rem;
}

.page-hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

/* قائمة الأسئلة */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

/* الكارت */
.faq-item {
  border-radius: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.faq-item.open {
  border-color: rgba(248,250,252,0.35);
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
  transform: translateY(-2px);
}

/* السؤال */
.faq-question {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: none;
  background: transparent;
  color: var(--text-main);
  font: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-question span {
  font-weight: 600;
  font-size: 1rem;
}

.faq-question i {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.page-wrapper .supp {
  margin-top: 20px;
}

/* الإجابة */
.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 1.2rem;
  transition:
    max-height 0.25s ease,
    opacity 0.25s ease,
    padding-top 0.25s ease,
    padding-bottom 0.25s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px; /* يكفي إجابة من سطرين/ثلاثة */
  opacity: 1;
  padding-top: 0.3rem;
  padding-bottom: 0.9rem;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
}









.payment-grid.premium {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.payment-card {
  background: var(--bg-card);
  border-radius: 18px;
  border: 1px solid var(--border-color);
  box-shadow: 0 14px 40px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.payment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 70px rgba(0,0,0,0.14);
  border-color: var(--primary-color);
}

.payment-head {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem 1.75rem 1.25rem;
}

.payment-icon-large {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.7rem;
  flex-shrink: 0;
}

.payment-icon-large.alt {
  background: linear-gradient(135deg, #f59e0b, #e11d48);
}

.payment-head-text h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.payment-head-text p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.payment-tags {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.payment-tags .tag {
  font-size: 0.78rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
}

/* قدم الكارت */
.payment-foot {
  padding: 0.75rem 1.75rem 1.15rem;
  border-top: 1px solid rgba(255,255,255,0.03);
}

.payment-toggle-btn {
  width: 100%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--primary-color);
  font-weight: 600;
  cursor: pointer;
  padding: 0.55rem 0;
}

.payment-toggle-btn .chevron {
  transition: transform 0.25s ease;
}

/* التفاصيل الداخلية */
.payment-details-inner {
  background: rgba(0,0,0,0.02);
  border-top: 1px solid var(--border-color);
  padding: 0 1.75rem;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transform: translateY(-6px);
  transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.payment-details-content {
  padding: 1rem 0 1.5rem;
}

.payment-list.compact li {
  margin-bottom: 0.35rem;
}

/* عند الفتح */
.payment-card.open .payment-details-inner {
  max-height: 400px; /* زوّدها لو محتاج */
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.payment-card.open .payment-toggle-btn .chevron {
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  .payment-head {
    flex-direction: row;
  }
}

.payment-grid.premium {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.payment-card {
  background: var(--bg-card);
  border-radius: 18px;
  border: 1px solid var(--border-color);
  box-shadow: 0 14px 40px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.payment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 70px rgba(0,0,0,0.14);
  border-color: var(--primary-color);
  background: var(--bg-elevated);
}

.payment-head {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem 1.75rem 1.25rem;
}

.payment-icon-large {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.7rem;
  flex-shrink: 0;
}

.payment-icon-large.alt {
  background: linear-gradient(135deg, #f59e0b, #e11d48);
}

.payment-head-text h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.payment-head-text p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.payment-tags {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.payment-tags .tag {
  font-size: 0.78rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
}

/* قدم الكارت */
.payment-foot {
  padding: 0.75rem 1.75rem 1.15rem;
  border-top: 1px solid rgba(255,255,255,0.03);
}

.payment-toggle-btn {
  width: 100%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--primary-color);
  font-weight: 600;
  cursor: pointer;
  padding: 0.55rem 0;
}

.payment-toggle-btn .chevron {
  transition: transform 0.25s ease;
}

/* التفاصيل */
.payment-details-inner {
  background: rgba(0,0,0,0.02);
  border-top: 1px solid var(--border-color);
  padding: 0 1.75rem;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transform: translateY(-4px);
  transition: max-height 0.4s ease, opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.payment-details-content {
  padding: 1rem 0 1.5rem;
}

.payment-list.compact li {
  margin-bottom: 0.35rem;
}

/* فتح الكارت */
.payment-card.open .payment-details-inner {
  max-height: 500px; /* عدّل لو محتاج */
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.payment-card.open .payment-toggle-btn .chevron {
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  .payment-head {
    flex-direction: row;
  }
}



































/*********************Footer****************************/
.site-footer {
  background: var(--bg-body);
  color: var(--text-main);
  padding: 3.5rem 2rem 2rem;
  border-top: 1px solid rgba(148,163,184,0.25);
  font-size: 0.9rem;
}

.light-mode .site-footer {
  background: var(--text-muted);
  color: var(--bg-body);
}

.footer-top {
  max-width: 1100px;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 2.2rem;
}

.footer-logo img {
  height: 40px;
  display: block;
  margin-bottom: 0.9rem;
}

.footer-text {
  color: #9ca3af;
  max-width: 320px;
}

/* سوشيال أيقونز */
.footer-social {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  border: 1px solid rgba(148,163,184,0.4);
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, border-color 0.25s ease;
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0b1120;
  transform: translateY(-2px);
}

/* الأعمدة */
.footer-col h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.55rem;
}

.footer-col ul li a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: #e5e7eb;
}

/* تواصل معنا */
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #9ca3af;
}

.footer-contact i {
  color: var(--accent);
  font-size: 0.95rem;
}

/* الجزء السفلي */
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(148,163,184,0.25);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  color: #6b7280;
}

.footer-bottom a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: #e5e7eb;
}

.footer-bottom .dot {
  margin: 0 0.4rem;
}





/************* CONTACT PAGE *******************/

.contact {
  margin-top: 1.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 2.5rem;
  align-items: flex-start;
}

/* صندوق المعلومات */
.contact-info {
  background: var(--bg-card);
  border-radius: 22px;
  padding: 1.8rem 1.6rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 18px 40px rgba(15,23,42,0.7);
}

.contact-info h2 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.contact-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-main);
  font-size: 0.95rem;
}

.contact-list i {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(148,163,184,0.16);
  color: var(--accent);
  font-size: 0.9rem;
}

/* سوشيال */
.contact-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.contact-social a {
  width: 32px;
  height: 32px;
  text-decoration: none;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  background: rgba(15,23,42,0.9);
  transition: background-color 0.2s ease, transform 0.15s ease, color 0.2s ease;
}

.contact-social a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

/* الفورم */
.contact-form {
  background: var(--bg-card);
  border-radius: 22px;
  padding: 1.8rem 1.6rem 2rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 18px 40px rgba(15,23,42,0.7);
}

.field-group {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field-group label {
  font-size: 0.9rem;
  color: var(--text-main);
}

.field-group input,
.field-group select,
.field-group textarea {
  background: rgba(15,23,42,0.9);
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,0.6);
  padding: 0.65rem 0.8rem;
  color: var(--text-main);
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.field-group textarea {
  resize: vertical;
  min-height: 140px;
}

.field-group input::placeholder,
.field-group textarea::placeholder {
  color: rgba(148,163,184,0.7);
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(129,140,248,0.4);
}

/* زر الإرسال */
.contact-submit {
  margin-top: 0.4rem;
  width: 100%;
}

.contact-note {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* لايت مود */
.light-mode .contact-info,
.light-mode .contact-form {
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15,23,42,0.07);
}

.light-mode .field-group input,
.light-mode .field-group select,
.light-mode .field-group textarea {
  background: #f9fafb;
  border-color: rgba(148,163,184,0.7);
}



.about-section {
  max-width: 900px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}

.section-title.small {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.about-list li {
  margin-bottom: 0.5rem;
  line-height: 1.9;
}

.about-list strong {
  color: var(--primary-color);
}

/* أرقام */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat-card {
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  text-align: center;
  background-color: var(--bg-elevated, rgba(0,0,0,0.02));
}

.stat-number {
  display: block;
  font-weight: 800;
  font-size: 1.4rem;
}

/* فريق */
.team-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.team-item i {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.about-team-cta {
  max-width: 1100px;
  margin: 3rem auto 4rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
  gap: 2rem;
  align-items: stretch;
}

/* كرت الفريق */
.about-team-card,
.about-cta-card {
  background: var(--bg-secondary, rgba(255,255,255,0.02));
  border: 1px solid var(--border-color, rgba(255,255,255,0.08));
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
}

.team-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1.25rem;
}

.team-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.team-avatar i {
  font-size: 1.7rem;
  color: var(--primary-color);
}

.team-info h3 {
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.team-info p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
}

/* كرت الـ CTA */
.about-cta-card {
  text-align: right;
}

.about-cta-card p {
  margin: 0.75rem 0 1.25rem;
  line-height: 1.9;
}

.about-cta-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.about-cta-actions .btn {
  padding-inline: 1.75rem;
}


/**********************************payment*****************************/

.payment-methods-section {
  margin-top: 3rem;
}

.payment-grid.premium {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.payment-card {
  background: var(--bg-card);
  border-radius: 18px;
  border: 1px solid var(--border-color);
  box-shadow: 0 14px 40px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.payment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 70px rgba(0,0,0,0.14);
  border-color: var(--primary-color);
  background: var(--bg-elevated);
}

.payment-head {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem 1.75rem 1.25rem;
}

.payment-icon-large {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.7rem;
  flex-shrink: 0;
}

.payment-icon-large.alt {
  background: linear-gradient(135deg, #f59e0b, #e11d48);
}

.payment-head-text h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.payment-head-text p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.payment-tags {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.payment-tags .tag {
  font-size: 0.78rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
}

/* قدم الكارت */
.payment-foot {
  padding: 0.75rem 1.75rem 1.15rem;
  border-top: 1px solid rgba(255,255,255,0.03);
}

.payment-toggle-btn {
  width: 100%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--primary-color);
  font-weight: 600;
  cursor: pointer;
  padding: 0.55rem 0;
}

.payment-toggle-btn .chevron {
  transition: transform 0.25s ease;
}

/* التفاصيل */
.payment-details-inner {
  background: rgba(0,0,0,0.02);
  border-top: 1px solid var(--border-color);
  padding: 0 1.75rem;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transform: translateY(-4px);
  transition: max-height 0.4s ease, opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.payment-details-content {
  padding: 1rem 0 1.5rem;
}

.payment-list.compact li {
  margin-bottom: 0.35rem;
}

/* عند فتح الكارت */
.payment-card.open .payment-details-inner {
  max-height: 500px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.payment-card.open .payment-toggle-btn .chevron {
  transform: rotate(180deg);
}

.payment-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

/* copy button */
.copy-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.copy-text {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.copy-value {
  font-family: "Cairo", system-ui;
  direction: ltr;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-btn i {
  font-size: 0.9rem;
}

.copy-btn:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  transform: translateY(-1px);
}

.copy-btn.copied {
  background: rgba(34, 197, 94, 0.12);
  border-color: #22c55e;
  color: #22c55e;
}

@media (max-width: 768px) {
  .payment-head {
    flex-direction: row;
  }
}
.payment-card {
  padding: 1.25rem 1.5rem 1.25rem;
}

.payment-details-content {
  padding: 0.75rem 0 1rem;
  font-size: 0.9rem;
  line-height: 1.7;
}
.info-label {
  font-weight: 600;
  color: var(--text-primary);
}
.info-value {
  color: var(--text-secondary);
}
.payment-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px,1fr));
  gap: 0.75rem;
}












/**********************************payment*****************************/
.pricing-plans {
  margin-top: 2.5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* كروت موحّدة */
.plan-card {
  background: var(--bg-card);
  border-radius: 18px;
  border: 1px solid var(--border-color);
  box-shadow: 0 14px 40px rgba(0,0,0,0.08);
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.plan-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.plan-footer {
  margin-top: 1.25rem;
}

/* هالة ديناميكية */
.plan-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at top, rgba(59,130,246,0.16), transparent 60%);
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.plan-card:hover::before,
.plan-card.active::before {
  opacity: 1;
}

.plan-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  border-color: var(--primary-color);
}

/* الخطة المميزة */
.plan-card.featured {
  border-color: var(--primary-color);
  background: linear-gradient(145deg, rgba(59,130,246,0.18), rgba(15,23,42,0.98));
  transform: translateY(-4px);
}

.plan-card.featured:hover {
  transform: translateY(-8px) scale(1.03);
}

.plan-badge {
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border-color);
}
.plan-badge.primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: rgba(59,130,246,0.12);
}

.plan-name {
  font-size: 1.3rem;
  margin: 0.4rem 0 0.1rem;
}

.plan-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-top: 0.4rem;
}

.price-currency {
  font-size: 0.9rem;
  opacity: 0.9;
}

.price-amount {
  font-size: 1.8rem;
  font-weight: 800;
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.price-amount.switching {
  transform: translateY(-6px);
  opacity: 0;
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.price-note {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.2rem;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0.5rem;
}

.plan-features li {
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  position: relative;
  padding-right: 1.2rem;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: var(--primary-color);
  font-size: 0.85rem;
}

.full-width {
  width: 100%;
}

/* Toggle */
.pricing-toggle {
  margin-top: 1.5rem;
  text-align: center;
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
}

.billing-toggle span {
  font-size: 0.9rem;
}

.save-badge {
  background: rgba(34,197,94,0.12);
  color: #22c55e;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 22px;
}
.switch input { display: none; }
.slider {
  position: absolute;
  inset: 0;
  background-color: var(--border-color);
  border-radius: 999px;
  cursor: pointer;
  transition: .2s;
}
.slider::before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  top: 3px;
  background-color: #fff;
  border-radius: 50%;
  transition: .2s;
}
input:checked + .slider {
  background-color: var(--primary-color);
}
input:checked + .slider::before {
  transform: translateX(18px);
}

@media (max-width: 768px) {
  .plan-card.featured {
    order: -1;
  }
}









/*تعديل جديد */




.voltage-button-wrapper {
  position: relative;
  display: inline-block;
  direction: rtl;
  font-family: Tahoma, Arial, sans-serif;
}


.voltage-button-wrapper .btn-voltage {
  color: white;
  background: #0D1127;
  padding: 1rem 3rem;
  border-radius: 5rem;
  border: 5px solid #5978F3;
  font-size: 1.2rem;
  line-height: 1em;
  letter-spacing: 0.075em;
  text-decoration: none;
  display: inline-block;
  position: relative;
  z-index: 2;
  transition: background 0.3s;
}

.voltage-button-wrapper .btn-voltage:hover {
  background: #0F1C53;
  cursor: pointer;
}


.voltage-button-wrapper .voltage-svg {
  position: absolute;
  top: -0.75em;
  left: -0.25em;
  width: calc(100% + 0.5em);
  height: calc(100% + 1.5em);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  transition-delay: 0.1s;
}

.voltage-button-wrapper:hover .voltage-svg {
  opacity: 1;
}

.voltage-button-wrapper .voltage-svg .voltage {
  stroke-dasharray: 100;
  filter: url("#glow-voltage");
}

.voltage-button-wrapper .voltage-svg .line-1 {
  animation: spark-1 3s linear infinite;
}

.voltage-button-wrapper .voltage-svg .line-2 {
  animation: spark-2 3s linear infinite;
  stroke-dashoffset: 500;
}

/* النقاط */
.voltage-button-wrapper .voltage-dots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  transition-delay: 0.4s;
}

.voltage-button-wrapper:hover .voltage-dots {
  opacity: 1;
}

.voltage-button-wrapper .dot {
  width: 1rem;
  height: 1rem;
  background: white;
  border-radius: 50%;
  position: absolute;
  opacity: 0;
}

.voltage-button-wrapper .dot-1 {
  top: 0;
  left: 20%;
  animation: fly-up 3s linear infinite;
}

.voltage-button-wrapper .dot-2 {
  top: 0;
  left: 55%;
  animation: fly-up 3s linear infinite;
  animation-delay: 0.5s;
}

.voltage-button-wrapper .dot-3 {
  top: 0;
  left: 80%;
  animation: fly-up 3s linear infinite;
  animation-delay: 1s;
}

.voltage-button-wrapper .dot-4 {
  bottom: 0;
  left: 30%;
  animation: fly-down 3s linear infinite;
  animation-delay: 2.5s;
}

.voltage-button-wrapper .dot-5 {
  bottom: 0;
  left: 65%;
  animation: fly-down 3s linear infinite;
  animation-delay: 1.5s;
}


@keyframes spark-1 {
  to { stroke-dashoffset: -1000; }
}

@keyframes spark-2 {
  to { stroke-dashoffset: -500; }
}

@keyframes fly-up {
  0% { opacity: 0; transform: translateY(0) scale(0.2); }
  5% { opacity: 1; transform: translateY(-1.5rem) scale(0.4); }
  10%, 100% { opacity: 0; transform: translateY(-3rem) scale(0.2); }
}

@keyframes fly-down {
  0% { opacity: 0; transform: translateY(0) scale(0.2); }
  5% { opacity: 1; transform: translateY(1.5rem) scale(0.4); }
  10%, 100% { opacity: 0; transform: translateY(3rem) scale(0.2); }
}

@media (prefers-reduced-motion: reduce) {
  .voltage-button-wrapper .voltage-svg .voltage,
  .voltage-button-wrapper .dot {
    animation: none !important;
  }
}









/*تعديل جديد*/



 .nav-user-section {
    display: flex;
    align-items: center;
    gap: 0.8rem;
  }

  .desktop-user {
    display: none;
  }

  .mobile-user-menu {
    position: relative;
    display: block;
  }

  .mobile-user-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    list-style: none;
    padding: 0.5rem 0;
    min-width: 170px;
    z-index: 1000;
    direction: rtl;
  }

  .mobile-user-dropdown a {
    display: block;
    padding: 0.65rem 1.2rem;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
  }

  .mobile-user-dropdown a:hover {
    background: rgba(148, 163, 184, 0.12);
  }


  @media (max-width: 768px) {
    .desktop-user {
      display: none !important;
    }
  }


  @media (min-width: 769px) {
    .desktop-user {
      display: flex !important;
    }
    .mobile-user-menu {
      display: none !important;
    }
  }









