/* ==========================================================================
   Project Unavailable - Dual Language (AR / EN) Minimal Design
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Tajawal:wght@400;500;700;800&display=swap');

:root {
  --bg-dark: #090d16;
  --primary-glow: #6366f1;
  --accent-whatsapp: #25d366;
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --radius-pill: 9999px;
}

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

html {
  font-family: 'Tajawal', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  direction: rtl;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  height: 100%;
}

html[dir="ltr"] {
  direction: ltr;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1.5rem;
  position: relative;
  overflow-x: hidden;
}

/* Ambient Subtle Background */
.bg-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  animation: magicPulse 12s ease-in-out infinite alternate;
}

.orb-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #6366f1 0%, transparent 70%);
  top: -150px;
  right: -150px;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #a855f7 0%, transparent 70%);
  bottom: -150px;
  left: -150px;
  animation-delay: -4s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #ec4899 0%, transparent 70%);
  top: 35%;
  left: 40%;
  animation-delay: -8s;
}

@keyframes magicPulse {
  0% { transform: translate(0, 0) scale(1); opacity: 0.35; }
  50% { transform: translate(30px, -40px) scale(1.15); opacity: 0.5; }
  100% { transform: translate(-30px, 30px) scale(0.9); opacity: 0.3; }
}

/* Magic Particle Canvas */
.magic-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

/* Language Switcher Bar */
.lang-switch-container {
  position: absolute;
  top: 1.5rem;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.25rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(12px);
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.25s ease;
}

.lang-btn:hover {
  color: var(--text-primary);
}

.lang-btn.active {
  background: rgba(99, 102, 241, 0.25);
  color: #ffffff;
  border: 1px solid rgba(99, 102, 241, 0.4);
}

/* Minimal Container */
.minimal-container {
  position: relative;
  z-index: 10;
  max-width: 680px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  margin-top: 2rem;
}

/* Glowing Icon Pulse */
.icon-pulse-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #818cf8;
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.25);
  animation: pulseGlow 3s ease-in-out infinite alternate;
}

.icon-pulse-wrapper svg {
  width: 40px;
  height: 40px;
}

@keyframes pulseGlow {
  0% { transform: scale(1); box-shadow: 0 0 30px rgba(99, 102, 241, 0.2); }
  100% { transform: scale(1.06); box-shadow: 0 0 50px rgba(99, 102, 241, 0.4); }
}

/* Typography & Title Wrapper */
.title-wrapper, .subtitle-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.main-title {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 40%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-title-en {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-secondary);
  opacity: 0.9;
}

.subtitle {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.6;
}

.subtitle-en {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.5;
}

.highlight-name {
  color: #ffffff;
  font-weight: 700;
  border-bottom: 2px solid rgba(99, 102, 241, 0.6);
  padding-bottom: 2px;
}

/* Language Mode Visibility Logic */
body[data-lang="ar"] .text-en {
  display: none !important;
}

body[data-lang="en"] .text-ar {
  display: none !important;
}

body[data-lang="both"] .text-ar,
body[data-lang="both"] .text-en {
  display: block;
}

body[data-lang="both"] .copy-num-btn .text-en {
  display: inline;
  margin-right: 0.35rem;
  opacity: 0.85;
}

body[data-lang="both"] .copy-num-btn .text-ar::after {
  content: ' / ';
  opacity: 0.6;
}

/* Action Group */
.contact-action-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.75rem;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.8rem;
  background: #25d366;
  color: #000000;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  direction: ltr;
}

.whatsapp-btn:hover {
  background: #22c35e;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.45);
}

.copy-num-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.4rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.copy-num-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  pointer-events: none;
}

.toast {
  background: #1e293b;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: toastIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.toast.hide {
  animation: toastOut 0.3s forwards;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-10px) scale(0.95); }
}

@media (max-width: 520px) {
  .contact-action-group {
    flex-direction: column;
    width: 100%;
  }

  .whatsapp-btn, .copy-num-btn {
    width: 100%;
    justify-content: center;
  }
}
