/* ╔══════════════════════════════════════════════════════════════════╗
   ║  SUPREME V5 — WORLD #1 VISUAL ENGINE                           ║
   ║  Ahmed Ashraf Portfolio — Awalim Group                         ║
   ║  "من غزة إلى قمة العالم"                                       ║
   ╚══════════════════════════════════════════════════════════════════╝ */

/* ─────────────────────────────────────────────
   1. HERO AURORA — ثلاثة أبعاد من الضوء
───────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 70% 60% at 15% 45%, rgba(163,207,43,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 55% 70% at 85% 20%, rgba(0,137,123,0.14) 0%, transparent 65%),
    radial-gradient(ellipse 45% 55% at 55% 85%, rgba(99,102,241,0.09) 0%, transparent 65%),
    radial-gradient(ellipse 35% 35% at 30% 10%, rgba(163,207,43,0.07) 0%, transparent 60%);
  animation: supremeAurora 12s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes supremeAurora {
  0%   { transform: scale(1)    rotate(0deg);   opacity: 0.8; }
  33%  { transform: scale(1.06) rotate(1.5deg); opacity: 1;   }
  66%  { transform: scale(0.97) rotate(-1deg);  opacity: 0.9; }
  100% { transform: scale(1.04) rotate(2deg);   opacity: 1;   }
}

/* ─────────────────────────────────────────────
   2. CURSOR TRAIL — ذيل المؤشر المضيء
───────────────────────────────────────────── */
.sv5-trail {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99990;
  mix-blend-mode: screen;
  transition: opacity 0.4s ease;
  will-change: transform;
}

/* ─────────────────────────────────────────────
   3. SPOTLIGHT — بقعة الضوء التفاعلية
───────────────────────────────────────────── */
.sv5-spotlight {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(163,207,43,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  will-change: left, top;
}

/* ─────────────────────────────────────────────
   4. 3D CARD TILT — إمالة البطاقات ثلاثية الأبعاد
───────────────────────────────────────────── */
.sv5-tilt {
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out, box-shadow 0.3s ease;
  will-change: transform;
}

.sv5-tilt:hover {
  box-shadow:
    0 30px 60px rgba(0,0,0,0.4),
    0 0 40px rgba(163,207,43,0.12),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

.sv5-tilt .tilt-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--x,50%) var(--y,50%), rgba(255,255,255,0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 10;
}

.sv5-tilt:hover .tilt-shine {
  opacity: 1;
}

/* ─────────────────────────────────────────────
   5. HOLOGRAPHIC SHIMMER — لمعان هولوغرافي
───────────────────────────────────────────── */
@keyframes holoShimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

.sv5-holo {
  position: relative;
  overflow: hidden;
}

.sv5-holo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 30%,
    rgba(163,207,43,0.12) 40%,
    rgba(0,137,123,0.09) 50%,
    rgba(99,102,241,0.07) 55%,
    rgba(163,207,43,0.10) 62%,
    transparent 70%,
    transparent 100%
  );
  background-size: 300% 100%;
  animation: holoShimmer 5s linear infinite;
  pointer-events: none;
  border-radius: inherit;
}

/* ─────────────────────────────────────────────
   6. ANIMATED GRADIENT TEXT — نص متدرج متحرك
───────────────────────────────────────────── */
.sv5-grad-text {
  background: linear-gradient(270deg, #a3cf2b, #00897b, #4ade80, #38bdf8, #a3cf2b);
  background-size: 400% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sv5GradShift 6s ease infinite;
}

@keyframes sv5GradShift {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

/* Apply to section tags */
.section-tag {
  background: linear-gradient(270deg, #a3cf2b, #00897b, #4ade80, #a3cf2b);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sv5GradShift 5s ease infinite;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ─────────────────────────────────────────────
   7. CLICK PARTICLE BURST — انفجار جسيمات عند الضغط
───────────────────────────────────────────── */
.sv5-particle {
  position: fixed;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  animation: sv5ParticleFly 0.7s cubic-bezier(0,0.9,0.57,1) forwards;
}

@keyframes sv5ParticleFly {
  0%   { transform: translate(0,0) scale(1);   opacity: 1; }
  100% { transform: var(--tx) scale(0);        opacity: 0; }
}

/* ─────────────────────────────────────────────
   8. SECTION REVEAL — كشف الأقسام بأناقة
───────────────────────────────────────────── */
.sv5-reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1),
              transform 0.8s cubic-bezier(0.16,1,0.3,1);
}

.sv5-reveal.sv5-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ─────────────────────────────────────────────
   9. SERVICE CARDS — بطاقات الخدمات المطورة
───────────────────────────────────────────── */
.service-card {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s cubic-bezier(0.16,1,0.3,1),
    box-shadow 0.3s ease,
    border-color 0.3s ease !important;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(163,207,43,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #a3cf2b, transparent);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}

.service-card:hover::after {
  transform: scaleX(1);
}

/* ─────────────────────────────────────────────
   10. PORTFOLIO ITEMS — تأثيرات معرض الأعمال
───────────────────────────────────────────── */
.portfolio-item {
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1) !important;
}

.portfolio-item .port-img-wrap {
  overflow: hidden;
  border-radius: 14px;
}

.portfolio-item .port-img-wrap img {
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1) !important;
}

.portfolio-item:hover .port-img-wrap img {
  transform: scale(1.08) !important;
}

/* ─────────────────────────────────────────────
   11. COURSE CARDS — بطاقات الدورات المطورة
───────────────────────────────────────────── */
.course-card {
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(163,207,43,0.15) 60deg,
    transparent 120deg
  );
  animation: sv5ConicSpin 8s linear infinite;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.course-card:hover::before {
  opacity: 1;
}

@keyframes sv5ConicSpin {
  to { transform: rotate(360deg); }
}

/* ─────────────────────────────────────────────
   12. BUTTONS — أزرار متميزة
───────────────────────────────────────────── */
.btn-primary,
.btn-outline,
.nav-cta,
.btn-submit-elite {
  position: relative;
  overflow: hidden;
}

.btn-primary::before,
.btn-outline::before,
.nav-cta::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #a3cf2b, #00897b, #4ade80, #a3cf2b);
  background-size: 300% 300%;
  border-radius: inherit;
  z-index: -1;
  animation: sv5BtnGradient 4s ease infinite;
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover::before,
.btn-outline:hover::before,
.nav-cta:hover::before {
  opacity: 1;
}

@keyframes sv5BtnGradient {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

/* Ripple wave on buttons */
.sv5-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: scale(0);
  animation: sv5Ripple 0.6s linear;
  pointer-events: none;
}

@keyframes sv5Ripple {
  to { transform: scale(4); opacity: 0; }
}

/* ─────────────────────────────────────────────
   13. NAVIGATION — شريط التنقل المطور
───────────────────────────────────────────── */
.nav {
  transition: background 0.4s ease, backdrop-filter 0.4s ease !important;
}

.nav.scrolled {
  background: rgba(2,26,30,0.97) !important;
  backdrop-filter: blur(20px) saturate(1.5) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.5) !important;
  box-shadow: 0 1px 0 rgba(163,207,43,0.15), 0 8px 32px rgba(0,0,0,0.4) !important;
}

/* ─────────────────────────────────────────────
   14. HERO STATS — إحصائيات الهيرو المضيئة
───────────────────────────────────────────── */
.stat-num-v2 {
  position: relative;
}

.stat-num-v2::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #a3cf2b, #00897b);
  border-radius: 2px;
  transition: width 0.5s cubic-bezier(0.16,1,0.3,1);
}

.stat-item-v2:hover .stat-num-v2::after {
  width: 100%;
}

/* ─────────────────────────────────────────────
   15. JOURNEY MILESTONES — محطات الرحلة
───────────────────────────────────────────── */
.milestone-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.35s ease !important;
}

.milestone-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(163,207,43,0.05) 0%,
    transparent 50%,
    rgba(0,137,123,0.03) 100%
  );
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.journey-milestone:hover .milestone-card {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35), 0 0 30px rgba(163,207,43,0.08) !important;
}

.journey-milestone:hover .milestone-card::after {
  opacity: 1;
}

/* ─────────────────────────────────────────────
   16. MILESTONE ORB — كرة محطة الرحلة
───────────────────────────────────────────── */
.milestone-orb {
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.journey-milestone:hover .milestone-orb {
  transform: scale(1.15) !important;
  box-shadow: 0 0 25px rgba(163,207,43,0.5) !important;
}

/* ─────────────────────────────────────────────
   17. CONTACT FORM — نموذج التواصل المطور
───────────────────────────────────────────── */
.contact-form input,
.contact-form select,
.contact-form textarea {
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease !important;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(163,207,43,0.5) !important;
  box-shadow: 0 0 0 3px rgba(163,207,43,0.1), 0 0 20px rgba(163,207,43,0.05) !important;
  background: rgba(163,207,43,0.03) !important;
  outline: none !important;
}

/* ─────────────────────────────────────────────
   18. FOOTER — تذييل الصفحة المطور
───────────────────────────────────────────── */
.footer {
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(163,207,43,0.5), rgba(0,137,123,0.5), transparent);
}

/* ─────────────────────────────────────────────
   19. VIBE PROJECTS — بطاقات المشاريع
───────────────────────────────────────────── */
.vproj-card {
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.35s ease !important;
}

.vproj-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 40px rgba(163,207,43,0.1) !important;
}

/* ─────────────────────────────────────────────
   20. GLASS CARDS — بطاقات الزجاج
───────────────────────────────────────────── */
.glass-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.3s ease,
              border-color 0.3s ease !important;
}

.glass-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(163,207,43,0.2) !important;
}

.glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
  border-radius: inherit;
}

/* ─────────────────────────────────────────────
   21. BENTO CARDS — بطاقات بنتو
───────────────────────────────────────────── */
.bento-card {
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.3s ease !important;
}

.bento-card:hover {
  transform: translateY(-6px) scale(1.01) !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35) !important;
}

/* ─────────────────────────────────────────────
   22. VIBE WHAT CARDS
───────────────────────────────────────────── */
.vibe-what-card {
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.35s ease,
              border-color 0.35s ease !important;
}

.vibe-what-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 25px 50px rgba(0,0,0,0.35) !important;
}

/* ─────────────────────────────────────────────
   23. AI TRIGGER ORB — زر المساعد الذكي
───────────────────────────────────────────── */
.ai-trigger-orb {
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.3s ease !important;
}

.ai-trigger-orb:hover {
  transform: scale(1.12) rotate(-5deg) !important;
  box-shadow:
    0 12px 40px rgba(163,207,43,0.5),
    0 0 0 8px rgba(163,207,43,0.1) !important;
}

/* ─────────────────────────────────────────────
   24. NAV LINKS — روابط التنقل
───────────────────────────────────────────── */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, #a3cf2b, #00897b);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* ─────────────────────────────────────────────
   25. HERO TITLE — عنوان الهيرو المضيء
───────────────────────────────────────────── */
.title-accent {
  position: relative;
}

.title-accent::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #a3cf2b, #00897b);
  border-radius: 3px;
  animation: sv5LineGrow 2s ease forwards;
}

@keyframes sv5LineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ─────────────────────────────────────────────
   26. TESTIMONIAL CARDS — بطاقات الشهادات
───────────────────────────────────────────── */
.testi-marquee-card {
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.3s ease !important;
}

.testi-marquee-card:hover {
  transform: translateY(-6px) scale(1.02) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35), 0 0 20px rgba(163,207,43,0.08) !important;
}

/* ─────────────────────────────────────────────
   27. FILTER BUTTONS — أزرار التصفية
───────────────────────────────────────────── */
.filter-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1) !important;
}

.filter-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(163,207,43,0.15), rgba(0,137,123,0.1));
  opacity: 0;
  transition: opacity 0.3s;
}

.filter-btn:hover::before,
.filter-btn.active::before {
  opacity: 1;
}

/* ─────────────────────────────────────────────
   28. FLOATING AMBIENT ORBS — كرات محيطة عائمة
───────────────────────────────────────────── */
.sv5-ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: sv5OrbFloat 12s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes sv5OrbFloat {
  0%   { transform: translate(0, 0)   scale(1);    opacity: 0.4; }
  33%  { transform: translate(30px, -20px) scale(1.1);  opacity: 0.6; }
  66%  { transform: translate(-20px, 30px) scale(0.9);  opacity: 0.3; }
  100% { transform: translate(10px, -40px) scale(1.05); opacity: 0.5; }
}

/* ─────────────────────────────────────────────
   29. SKILL NODES — عقد المهارات
───────────────────────────────────────────── */
.skill-node {
  animation: sv5NodePulse 3s ease-in-out infinite alternate;
}

.skill-node:nth-child(odd) {
  animation-delay: -1.5s;
}

@keyframes sv5NodePulse {
  from { filter: brightness(0.9); }
  to   { filter: brightness(1.15); }
}

/* ─────────────────────────────────────────────
   30. SCROLL PROGRESS — شريط التقدم
───────────────────────────────────────────── */
.scroll-progress-bar {
  background: linear-gradient(90deg, #a3cf2b, #00897b, #4ade80) !important;
  box-shadow: 0 0 10px rgba(163,207,43,0.6) !important;
}

/* ─────────────────────────────────────────────
   31. BACK TO TOP BUTTON — زر العودة للأعلى
───────────────────────────────────────────── */
.back-to-top {
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.3s ease,
              background 0.3s ease !important;
}

.back-to-top:hover {
  transform: translateY(-4px) rotate(-5deg) !important;
  box-shadow: 0 12px 30px rgba(163,207,43,0.4) !important;
}

/* ─────────────────────────────────────────────
   32. SOCIAL LINKS — روابط التواصل الاجتماعي
───────────────────────────────────────────── */
.social-link,
.footer-social-btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1),
              color 0.3s ease,
              box-shadow 0.3s ease !important;
}

.social-link:hover,
.footer-social-btn:hover {
  transform: translateY(-4px) scale(1.1) !important;
  box-shadow: 0 8px 25px rgba(163,207,43,0.3) !important;
}

/* ─────────────────────────────────────────────
   33. AVAILABILITY BADGE — شارة الإتاحة
───────────────────────────────────────────── */
.hero-availability,
.availability-badge {
  position: relative;
}

.hero-availability::before,
.availability-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(34,197,94,0.15), rgba(163,207,43,0.1));
  animation: sv5AvailPulse 3s ease infinite;
}

@keyframes sv5AvailPulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}

/* ─────────────────────────────────────────────
   34. PERSONA CARDS — بطاقات الشخصية
───────────────────────────────────────────── */
.persona-side {
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1),
              filter 0.4s ease !important;
}

.persona-side:hover {
  transform: scale(1.02) !important;
  filter: brightness(1.05) !important;
}

/* ─────────────────────────────────────────────
   35. TERMINAL WINDOW — نافذة التيرمينال
───────────────────────────────────────────── */
.terminal-container,
.ai-terminal {
  position: relative;
}

.terminal-container::before,
.ai-terminal::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(163,207,43,0.3), rgba(0,137,123,0.2), rgba(163,207,43,0.3));
  background-size: 200% 200%;
  animation: sv5TermBorder 4s ease infinite;
  z-index: -1;
  filter: blur(8px);
}

@keyframes sv5TermBorder {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

/* ─────────────────────────────────────────────
   36. INFRASTRUCTURE TOOL CARDS
───────────────────────────────────────────── */
.feature-tool {
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.35s ease !important;
}

.feature-tool:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 25px 50px rgba(0,0,0,0.35), 0 0 30px rgba(163,207,43,0.1) !important;
}

/* ─────────────────────────────────────────────
   37. SECTION HEADER — رأس القسم
───────────────────────────────────────────── */
.section-title {
  position: relative;
}

/* ─────────────────────────────────────────────
   38. MOBILE APP BAR — شريط التنقل المحمول
───────────────────────────────────────────── */
.mobile-app-bar {
  border-top: 1px solid rgba(163,207,43,0.15) !important;
  background: rgba(2,18,21,0.97) !important;
  backdrop-filter: blur(20px) saturate(1.5) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.5) !important;
}

.app-nav-item {
  transition: color 0.2s ease, transform 0.2s ease !important;
}

.app-nav-item:hover,
.app-nav-item.active {
  color: #a3cf2b !important;
  transform: translateY(-2px) !important;
}

/* ─────────────────────────────────────────────
   39. LOADING SCREEN — شاشة التحميل
───────────────────────────────────────────── */
.loader-progress {
  background: linear-gradient(90deg, #a3cf2b, #00897b, #4ade80) !important;
  box-shadow: 0 0 15px rgba(163,207,43,0.6) !important;
}

/* ─────────────────────────────────────────────
   40. REDUCED MOTION — احترام إعدادات الحركة
───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .sv5-trail,
  .sv5-spotlight {
    display: none !important;
  }
}

/* ─────────────────────────────────────────────
   41. CONTACT METHOD HOVER
───────────────────────────────────────────── */
.contact-method {
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1),
              background 0.3s ease,
              box-shadow 0.3s ease !important;
}

.contact-method:hover {
  transform: translateX(-6px) !important;
  background: rgba(163,207,43,0.06) !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2) !important;
}

/* ─────────────────────────────────────────────
   42. CMD BUTTONS — أزرار الأوامر
───────────────────────────────────────────── */
.cmd-btn {
  transition: transform 0.25s cubic-bezier(0.16,1,0.3,1),
              background 0.25s ease,
              box-shadow 0.25s ease !important;
}

.cmd-btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(163,207,43,0.2) !important;
}

/* ─────────────────────────────────────────────
   43. QUANTUM NODE — عقدة كوانتم 2090
───────────────────────────────────────────── */
.quantum-node {
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.3s ease !important;
}

.quantum-node:hover {
  transform: scale(1.15) !important;
  box-shadow: 0 0 30px rgba(74,222,128,0.5) !important;
}

/* ─────────────────────────────────────────────
   44. TOOL BADGES — شارات الأدوات
───────────────────────────────────────────── */
.tool-badge {
  transition: transform 0.25s cubic-bezier(0.16,1,0.3,1),
              background 0.25s ease,
              color 0.25s ease !important;
}

.tool-badge:hover {
  transform: translateY(-2px) scale(1.05) !important;
  background: rgba(163,207,43,0.12) !important;
  color: #a3cf2b !important;
}

/* ─────────────────────────────────────────────
   45. OVERALL PAGE POLISH
───────────────────────────────────────────── */
::selection {
  background: rgba(163,207,43,0.3);
  color: #f0f0f0;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: #011215;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #a3cf2b, #00897b);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #b5e030, #00a99d);
}

/* ─────────────────────────────────────────────
   46. HERO VISUAL CARD — البطاقة البصرية في الهيرو
───────────────────────────────────────────── */
.visual-card {
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.5s ease !important;
}

.visual-card:hover {
  transform: translateY(-10px) rotateY(-3deg) !important;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.5),
    0 0 60px rgba(163,207,43,0.12) !important;
}

/* ─────────────────────────────────────────────
   47. TECH PILLS — حبوب التقنيات
───────────────────────────────────────────── */
.tech-pill {
  animation: sv5PillFloat 4s ease-in-out infinite alternate;
  transition: transform 0.3s ease !important;
}

.tech-pill:nth-child(2) { animation-delay: -1.5s; animation-duration: 5s; }
.tech-pill:nth-child(3) { animation-delay: -3s;   animation-duration: 6s; }

@keyframes sv5PillFloat {
  0%   { transform: translateY(0)    rotate(0deg);   }
  50%  { transform: translateY(-8px) rotate(1deg);   }
  100% { transform: translateY(4px)  rotate(-0.5deg);}
}

.tech-pill:hover {
  transform: scale(1.1) translateY(-4px) !important;
  box-shadow: 0 8px 25px rgba(163,207,43,0.25) !important;
}

/* ─────────────────────────────────────────────
   48. GLOW PULSE ON SECTION TAGS CONTAINER
───────────────────────────────────────────── */
.section-header::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 100px;
  background: radial-gradient(ellipse, rgba(163,207,43,0.08) 0%, transparent 70%);
  pointer-events: none;
  animation: sv5HeaderGlow 4s ease-in-out infinite alternate;
}

@keyframes sv5HeaderGlow {
  from { opacity: 0.5; transform: translate(-50%, -50%) scale(0.8); }
  to   { opacity: 1;   transform: translate(-50%, -50%) scale(1.2); }
}

.section-header {
  position: relative;
}

/* ═══════════════════════════════════════════════════════════
   SOVEREIGN GLASSMORPHISM V2 — Physical Light Refraction
   Apple Vision Pro level frosted glass
═══════════════════════════════════════════════════════════ */

/* Core glass token — override all glass elements */
:root {
  --glass-bg:        rgba(8, 18, 24, 0.55);
  --glass-border:    rgba(255, 255, 255, 0.08);
  --glass-blur:      saturate(180%) blur(20px);
  --glass-shine-1:   rgba(255, 255, 255, 0.07);
  --glass-shine-2:   rgba(255, 255, 255, 0.03);
  --glass-shadow:    0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
}

/* Physical frosted glass base */
.glass-card,
.service-card,
.bento-card,
.vibe-what-card,
.course-card,
.community-post-card,
.skill-card,
.project-card {
  background:       var(--glass-bg) !important;
  border:           1px solid var(--glass-border) !important;
  -webkit-backdrop-filter: var(--glass-blur) !important;
  backdrop-filter:  var(--glass-blur) !important;
  box-shadow:       var(--glass-shadow) !important;
  position: relative;
  overflow: hidden;
}

/* Top-edge light catch — simulates physical glass edge catching light */
.glass-card::before,
.service-card::before,
.bento-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.18) 30%,
    rgba(163,207,43,0.25) 50%,
    rgba(255,255,255,0.18) 70%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Internal light refraction layer — simulates light bending through thick glass */
.glass-card::after,
.service-card::after,
.bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255,255,255,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(0,137,123,0.04) 0%, transparent 50%),
    linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 50%, rgba(163,207,43,0.02) 100%);
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
}

/* Hover: shift light source */
.glass-card:hover::after,
.service-card:hover::after,
.bento-card:hover::after {
  background:
    radial-gradient(ellipse at 30% 0%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 100%, rgba(163,207,43,0.06) 0%, transparent 50%),
    linear-gradient(125deg, rgba(255,255,255,0.06) 0%, transparent 50%, rgba(0,224,198,0.03) 100%);
  transition: background 0.5s ease;
}

/* Hover elevation — physical depth */
.glass-card:hover,
.service-card:hover,
.bento-card:hover {
  border-color: rgba(163,207,43,0.18) !important;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.5),
    0 0 0 1px rgba(163,207,43,0.1),
    inset 0 1px 0 rgba(255,255,255,0.15) !important;
  transform: translateY(-6px) !important;
}

/* ── Navigation glass ── */
.nav {
  background:      rgba(2, 26, 30, 0.7) !important;
  -webkit-backdrop-filter: saturate(200%) blur(24px) !important;
  backdrop-filter: saturate(200%) blur(24px) !important;
  border-bottom:   1px solid rgba(255,255,255,0.06) !important;
  box-shadow:      0 1px 0 rgba(163,207,43,0.08), 0 4px 24px rgba(0,0,0,0.3) !important;
}

/* ── Hero canvas full coverage ── */
#heroCanvas {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
  pointer-events: none;
}

/* ── Sovereign button glow ── */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: conic-gradient(from 0deg, #a3cf2b, #00897b, #00e0c6, #a3cf2b);
  animation: btnBorderFlow 3s linear infinite;
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover::before {
  opacity: 1;
}
@keyframes btnBorderFlow {
  to { transform: rotate(360deg); }
}

/* ── Quantum glow on section tags ── */
.section-tag {
  position: relative;
}
.section-tag::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: radial-gradient(ellipse at center, rgba(163,207,43,0.15) 0%, transparent 70%);
  filter: blur(6px);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.section-tag:hover::after {
  opacity: 1;
}

/* ── Timeline milestone physical glass ── */
.milestone-card,
.journey-step,
.milestone-item {
  background: rgba(8,18,24,0.6) !important;
  -webkit-backdrop-filter: saturate(160%) blur(16px) !important;
  backdrop-filter: saturate(160%) blur(16px) !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.08) !important;
}

/* ── Skills constellation cards ── */
.skill-node,
.skill-item {
  -webkit-backdrop-filter: blur(12px) !important;
  backdrop-filter: blur(12px) !important;
}

/* ── prefers-reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
  .glass-card::before,
  .service-card::before,
  .bento-card::before { display: none; }
  .btn-primary::before { animation: none; }
}
