/* =============================================
   EGFAST – Premium Landing Page CSS
   ============================================= */

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

:root {
  --blue-dark:   #020817;
  --blue-900:    #0a1628;
  --blue-800:    #0d2149;
  --blue-700:    #0f3080;
  --blue-600:    #1a4fd6;
  --blue-500:    #2563eb;
  --blue-400:    #3b82f6;
  --blue-300:    #60a5fa;
  --cyan:        #00d4ff;
  --white:       #ffffff;
  --white-70:    rgba(255,255,255,0.7);
  --white-10:    rgba(255,255,255,0.07);
  --glass-bg:    rgba(255,255,255,0.05);
  --glass-border:rgba(255,255,255,0.12);
  --font: 'Cairo', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--blue-dark);
  color: var(--white);
  overflow-x: hidden;
  direction: rtl;
}

/* GLOBE CONTAINER */
#globe-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

/* BACKGROUND LOGO TEXT */
.bg-logo-text {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 25vw;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  z-index: 0;
  pointer-events: none;
  text-transform: uppercase;
  user-select: none;
  white-space: nowrap;
}

/* CANVAS PARTICLES */
#particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(2, 8, 23, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; gap: 0.5rem; }
.nav-icon { width: 38px; height: 38px; border-radius: 10px; transition: transform 0.3s; }
.nav-brand { font-size: 1.5rem; font-weight: 900; color: var(--white); }
.accent { color: var(--cyan); }

.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a { color: var(--white-70); text-decoration: none; font-weight: 600; transition: color 0.3s; }
.nav-links a:hover { color: var(--cyan); }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem 2rem;
  overflow: hidden;
}

.hero-glow { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.glow-1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(37,99,235,0.3) 0%, transparent 70%); top: -150px; right: -100px; }
.glow-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(0,212,255,0.15) 0%, transparent 70%); bottom: 0; left: -100px; }

.hero-content { position: relative; z-index: 2; text-align: center; max-width: 780px; }

.badge-pill {
  display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.3); padding: 0.4rem 1.2rem; border-radius: 999px;
  font-size: 0.85rem; font-weight: 600; color: var(--cyan); margin-bottom: 2rem;
}

.badge-dot { width: 8px; height: 8px; background: var(--cyan); border-radius: 50%; }

.hero-icon-wrap {
  position: relative; width: 220px; height: 220px; margin: 0 auto 0.5rem;
  display: flex; align-items: center; justify-content: center;
}

.hero-ring {
  position: absolute; border-radius: 50%; border: 1px solid transparent;
  top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none;
}
.ring-1 { width: 160px; height: 160px; border-color: rgba(0,212,255,0.3); animation: spin 10s linear infinite; }
.ring-2 { width: 190px; height: 190px; border-color: rgba(37,99,235,0.2); border-style: dashed; animation: spin 15s linear infinite reverse; }
.ring-3 { width: 220px; height: 220px; border-color: rgba(0,212,255,0.1); animation: spin 20s linear infinite; }

@keyframes spin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }

.hero-icon {
  width: 140px; height: 140px; position: relative; z-index: 2; display: block; object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.hero-icon:hover { transform: scale(1.1); }

.hero-title { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 900; line-height: 1.2; margin-bottom: 1.2rem; }
.gradient-text { background: linear-gradient(135deg, var(--cyan), var(--blue-400)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.hero-desc { font-size: 1.1rem; color: var(--white-70); line-height: 1.8; margin-bottom: 2.5rem; max-width: 600px; margin: 0 auto; }

.hero-actions { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.btn-download {
  display: inline-flex; align-items: center; gap: 0.6rem; background: linear-gradient(135deg, var(--blue-500), var(--cyan));
  color: var(--white); text-decoration: none; padding: 0.9rem 2rem; border-radius: 14px; font-weight: 700;
  box-shadow: 0 4px 25px rgba(37,99,235,0.5); transition: transform 0.3s;
}
.btn-download:hover { transform: translateY(-3px); }
.btn-badge { background: rgba(255,255,255,0.2); padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.75rem; }

/* ---- FOOTER ---- */
.footer { border-top: 1px solid var(--glass-border); padding: 2.5rem 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.footer-copy { color: rgba(255,255,255,0.3); font-size: 0.8rem; }
