@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;900&display=swap');

:root {
  /* Color System */
  --bg-deep: #060b15;
  --bg-darker: #091020;
  --bg-card: #0e172a;
  --bg-card-hover: #1e293b;
  
  --primary-glow: #00e5ff;
  --primary-cyan: #38bdf8;
  --primary-silver: #cbd5e1;
  --primary-copper: #f97316;
  --primary-copper-glow: #ff8c00;
  
  --text-white: #ffffff;
  --text-silver: #94a3b8;
  --text-muted: #64748b;
  
  --whatsapp-green: #22c55e;
  --whatsapp-green-hover: #16a34a;
  
  /* Font Family */
  --font-arabic: 'Tajawal', system-ui, -apple-system, sans-serif;
  
  /* Shadows & Glows */
  --glow-blue: 0 0 20px rgba(0, 229, 255, 0.25);
  --glow-blue-strong: 0 0 30px rgba(0, 229, 255, 0.5);
  --glow-orange: 0 0 20px rgba(249, 115, 22, 0.35);
  --glow-green: 0 0 20px rgba(34, 197, 94, 0.35);
  --shadow-premium: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

body {
  font-family: var(--font-arabic);
  background-color: var(--bg-deep);
  color: var(--text-white);
  line-height: 1.6;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-card);
  border-radius: 4px;
  border: 2px solid var(--bg-deep);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-cyan);
}

/* Focus styles */
*:focus-visible {
  outline: 2px dashed var(--primary-glow);
  outline-offset: 4px;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.text-center { text-align: center; }
.text-glow { text-shadow: 0 0 15px rgba(0, 229, 255, 0.4); }
.text-copper { color: var(--primary-copper); }
.text-cyan { color: var(--primary-cyan); }
.text-silver { color: var(--primary-silver); }

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid-layout {
  display: grid;
  gap: 24px;
}

/* Selection */
::selection {
  background: var(--primary-glow);
  color: var(--bg-deep);
}
