/* Scope to avoid theme conflicts */
.np-scope {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(
      1200px 800px at 15% 15%,
      rgba(124, 58, 237, 0.25),
      transparent 55%
    ),
    radial-gradient(
      900px 700px at 85% 25%,
      rgba(245, 158, 11, 0.18),
      transparent 55%
    ),
    radial-gradient(
      900px 700px at 55% 85%,
      rgba(59, 130, 246, 0.15),
      transparent 55%
    ),
    #070a12;
  color: #e7eaf3;
  overflow: hidden;
}

.np-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.95;
}

.np-hero-wrap .container {
  z-index: 1;
}

.np-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  font-size: 0.92rem;
}
.np-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.65);
}

.np-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}
.np-accent {
  background: linear-gradient(90deg, #f59e0b, #a78bfa, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.np-lead {
  font-size: 1.1rem;
  color: rgba(231, 234, 243, 0.78);
  max-width: 56ch;
}

.np-btn {
  border-radius: 14px;
  padding: 0.75rem 1rem;
  font-weight: 600;
}
.np-link {
  text-decoration: none;
}

.np-metrics {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.np-metric {
  padding: 0.8rem 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  min-width: 170px;
}
.np-metric__num {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}
.np-metric__label {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}

.np-section {
  position: relative;
}

.np-h2 {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
}

.np-text {
  color: rgba(231, 234, 243, 0.78);
}

.np-card,
.np-work,
.np-cta {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

.np-glass {
  position: relative;
  overflow: hidden;
}
.np-glass:before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.18),
    rgba(124, 58, 237, 0.16),
    rgba(59, 130, 246, 0.12)
  );
  filter: blur(26px);
  opacity: 0.9;
}
.np-glass > * {
  position: relative;
  z-index: 1;
}
header.np-hero.py-5.py-lg-6 {
  background: #00000000 !important;
}
.np-avatar {
  width: 180px;
  height: 180px;
  position: relative;
  margin-inline: auto;
}
.np-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.18);
}
.np-avatar__ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: conic-gradient(
    from 180deg,
    rgba(245, 158, 11, 0.9),
    rgba(124, 58, 237, 0.9),
    rgba(59, 130, 246, 0.9),
    rgba(245, 158, 11, 0.9)
  );
  filter: blur(0px);
  opacity: 0.65;
  animation: npSpin 8s linear infinite;
  z-index: -1;
}
@keyframes npSpin {
  to {
    transform: rotate(360deg);
  }
}

.np-list {
  padding-left: 1.1rem;
  margin: 0;
  color: rgba(231, 234, 243, 0.78);
}
.np-list li {
  margin: 0.35rem 0;
}

.np-badge {
  border-color: rgba(255, 255, 255, 0.16) !important;
  color: rgba(255, 255, 255, 0.8) !important;
  padding: 0.55rem 0.8rem;
}

.np-work {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}
.np-work:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.18);
}
.np-work:before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(
      600px 200px at 20% 0%,
      rgba(245, 158, 11, 0.14),
      transparent 60%
    ),
    radial-gradient(
      600px 200px at 80% 0%,
      rgba(124, 58, 237, 0.14),
      transparent 60%
    );
  opacity: 0.9;
  pointer-events: none;
}
.np-work > * {
  position: relative;
  z-index: 1;
}

.np-work__title {
  font-weight: 800;
  color: #fff;
  font-size: 1.05rem;
}
.np-work__meta {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-top: 0.2rem;
}
.np-work__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.9rem 0 0.75rem;
}
.np-work__tags span {
  font-size: 0.82rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
}
.np-work__desc {
  color: rgba(231, 234, 243, 0.75);
  margin: 0;
}
.np-work__link {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
}
.np-work__link:hover {
  text-decoration: underline;
}

.np-cta {
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.12),
    rgba(124, 58, 237, 0.14),
    rgba(59, 130, 246, 0.1)
  );
  border-color: rgba(255, 255, 255, 0.14);
}

.np-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.25rem;
}
.np-input {
  background: rgba(0, 0, 0, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border-radius: 14px !important;
}
.np-input::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
}

.np-contact {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
}
.np-contact:hover {
  text-decoration: underline;
}

/* Responsive spacing */
.py-lg-6 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* =========================
   Premium Buttons (NP)
   ========================= */

/* قاعدة عامة لكل أزرار الهيرو/الأقسام داخل الصفحة */
.np-scope .btn.np-btn {
  position: relative;
  overflow: hidden;
  border-radius: 16px !important;
  padding: 0.85rem 1.15rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.01em;
  line-height: 1;
  transform: translateZ(0);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

/* لمعان متحرك فوق الزر */
.np-scope .btn.np-btn::after {
  content: "";
  position: absolute;
  top: -35%;
  left: -45%;
  width: 60%;
  height: 170%;
  transform: rotate(25deg);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 35%,
    rgba(255, 255, 255, 0.1) 55%,
    transparent 100%
  );
  opacity: 0;
  transition:
    left 0.55s ease,
    opacity 0.25s ease;
  pointer-events: none;
}

/* Hover: رفع + لمعان + Glow */
.np-scope .btn.np-btn:hover {
  transform: translateY(-4px);
  filter: brightness(1.03);
  box-shadow:
    0 22px 65px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}
.np-scope .btn.np-btn:hover::after {
  left: 120%;
  opacity: 0.9;
}

/* Focus (accessibility) */
.np-scope .btn.np-btn:focus {
  outline: none !important;
  box-shadow:
    0 22px 65px rgba(0, 0, 0, 0.55),
    0 0 0 3px rgba(167, 139, 250, 0.35) !important;
}

/* ===== Primary (Gradient) ===== */
.np-scope .btn.btn-primary.np-btn {
  border: 0 !important;
  color: #0b0f1a !important;
  background: linear-gradient(90deg, #f59e0b, #a78bfa, #60a5fa) !important;
}

/* حلقة Glow خارجية للـPrimary */
.np-scope .btn.btn-primary.np-btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: linear-gradient(
    90deg,
    rgba(245, 158, 11, 0.75),
    rgba(167, 139, 250, 0.75),
    rgba(96, 165, 250, 0.75)
  );
  filter: blur(14px);
  opacity: 0.35;
  z-index: -1;
  transition:
    opacity 0.22s ease,
    filter 0.22s ease;
}
.np-scope .btn.btn-primary.np-btn:hover::before {
  opacity: 0.6;
  filter: blur(18px);
}

/* ===== Outline Light (Glass Outline) ===== */
.np-scope .btn.btn-outline-light.np-btn {
  background: rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}
.np-scope .btn.btn-outline-light.np-btn:hover {
  border-color: rgba(255, 255, 255, 0.28) !important;
  background: rgba(255, 255, 255, 0.09) !important;
}

/* ===== زر "Hire Me" اللي عندك btn-outline-light (لو حبيت يكون بنفس الجودة) ===== */
.np-scope a.btn.btn-outline-light.np-btn {
  backdrop-filter: blur(10px);
}

/* ===== زر Link داخل الهيرو ===== */
.np-scope .btn.np-link {
  position: relative;
  font-weight: 700;
  text-decoration: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.np-scope .btn.np-link:hover {
  color: rgba(255, 255, 255, 0.9) !important;
  transform: none !important;
}
.np-scope .btn.np-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(245, 158, 11, 0.9),
    rgba(167, 139, 250, 0.9),
    rgba(96, 165, 250, 0.9)
  );
  opacity: 0.55;
  transform: scaleX(0.15);
  transform-origin: left;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}
.np-scope .btn.np-link:hover::after {
  opacity: 0.9;
  transform: scaleX(0.45);
}
