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

:root {
  --color-navy-darkest: #060a11;
  --color-navy-dark: #0a111c;
  --color-navy-card: #0f1a2c;
  --color-navy-border: rgba(197, 160, 89, 0.18);
  --color-gold-light: #f5e4b7;
  --color-gold-primary: #c5a059;
  --color-gold-hover: #dbb367;
  --color-gold-dark: #9d7c38;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', sans-serif;
  background-color: var(--color-navy-darkest);
  color: #f1f5f9;
  overflow-x: hidden;
  direction: rtl;
}

.font-serif-ar {
  font-family: 'Amiri', serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #080e18;
}
::-webkit-scrollbar-thumb {
  background: #253347;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold-primary);
}

/* Text and Border Gold Gradients */
.text-gold-gradient {
  background: linear-gradient(135deg, #fff2cb 0%, #c5a059 45%, #ecc67d 80%, #a9833a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-glow {
  box-shadow: 0 0 25px rgba(197, 160, 89, 0.35);
}

.gold-glow-subtle {
  box-shadow: 0 0 15px rgba(197, 160, 89, 0.15);
}

/* Glassmorphism Cards */
.glass-panel {
  background: rgba(14, 24, 39, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(197, 160, 89, 0.16);
}

.glass-panel-hover {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel-hover:hover {
  transform: translateY(-5px);
  border-color: rgba(197, 160, 89, 0.45);
  box-shadow: 0 16px 36px -8px rgba(197, 160, 89, 0.18), 0 0 0 1px rgba(197, 160, 89, 0.25);
}

/* Luxury Radial Spotlights */
.hero-spotlight {
  background: radial-gradient(circle at 50% 20%, rgba(197, 160, 89, 0.12) 0%, rgba(15, 27, 44, 0.6) 45%, rgba(6, 10, 17, 1) 85%);
}

.section-spotlight {
  background: radial-gradient(circle at 10% 50%, rgba(197, 160, 89, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 90% 50%, rgba(197, 160, 89, 0.05) 0%, transparent 50%);
}

/* Watermark Pattern */
.scales-watermark {
  background-image: radial-gradient(rgba(197, 160, 89, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Pulse animation for badges */
@keyframes goldPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(197, 160, 89, 0);
  }
}

.pulse-gold {
  animation: goldPulse 2.5s infinite;
}

/* Floating animation */
@keyframes floatSoft {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-float {
  animation: floatSoft 4s ease-in-out infinite;
}

/* Modal and Tool Transitions */
.fade-in {
  animation: fadeIn 0.3s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Selection style */
::selection {
  background: #c5a059;
  color: #060a11;
}
