/* ============================
   WAZN LOGISTICS - MAIN STYLES
   ============================ */

/* --- Google Fonts & Root Variables --- */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&family=Cairo:wght@300;400;600;700;900&display=swap');

:root {
  --purple-50:  #faf5ff;
  --purple-100: #f3e8ff;
  --purple-400: #c084fc;
  --purple-500: #a855f7;
  --purple-600: #9333ea;
  --purple-700: #7e22ce;
  --indigo-400: #818cf8;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;
  --pink-400:   #f472b6;
  --pink-500:   #ec4899;
  --cyan-400:   #22d3ee;
  --cyan-500:   #06b6d4;

  --dark-950:  #f1f5f9; /* slate-100 */
  --dark-900:  #f8fafc; /* slate-50 */
  --dark-850:  #ffffff; /* white */
  --dark-800:  #ffffff;
  --dark-750:  #f8fafc;
  --dark-700:  #f1f5f9;
  --dark-600:  #e2e8f0;
  --dark-500:  #cbd5e1;
  --dark-400:  #94a3b8;

  --text-white:  #0f172a; /* slate-900 */
  --text-light:  #334155; /* slate-700 */
  --text-muted:  #64748b; /* slate-500 */
  --text-faint:  #94a3b8; /* slate-400 */

  --grad-primary: linear-gradient(135deg, #a855f7 0%, #6366f1 50%, #ec4899 100%);
  --grad-blue:    linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --grad-warm:    linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  --grad-dark:    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);

  --glow-purple: 0 0 40px rgba(168, 85, 247, 0.08);
  --glow-indigo: 0 0 40px rgba(99, 102, 241, 0.08);
  --glow-pink:   0 0 40px rgba(236, 72, 153, 0.08);

  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-2xl: 40px;

  --shadow-sm: 0 2px 8px rgba(148,163,184,0.06);
  --shadow-md: 0 8px 30px rgba(148,163,184,0.08);
  --shadow-lg: 0 20px 50px rgba(148,163,184,0.12);
  --shadow-glow: 0 0 40px rgba(168,85,247,0.05);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  --font-primary: 'Tajawal', 'Cairo', sans-serif;

  --nav-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-primary);
  background: var(--dark-900);
  color: var(--text-light);
  direction: rtl;
  line-height: 1.7;
  overflow-x: hidden;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-900); }
::-webkit-scrollbar-thumb { background: var(--purple-600); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--purple-500); }

/* --- Selection --- */
::selection { background: rgba(168,85,247,0.3); color: white; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography Utilities --- */
.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-right { text-align: right; }

.phone-number {
  direction: ltr !important;
  display: inline-block;
}

input[type="tel"] {
  direction: ltr !important;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-xl);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: var(--transition-bounce);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(100%);
  transition: transform 0.4s ease;
}
.btn:hover::before { transform: translateX(0); }

.btn-primary {
  background: var(--grad-primary);
  color: white;
  box-shadow: 0 4px 24px rgba(168,85,247,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(168,85,247,0.6);
}

.btn-outline {
  background: transparent;
  color: var(--purple-600);
  border-color: rgba(168, 85, 247, 0.3);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  border-color: var(--purple-600);
  color: var(--purple-700);
  background: rgba(168, 85, 247, 0.05);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--text-light);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* --- Section Badge --- */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(168,85,247,0.08);
  color: var(--purple-600);
  border: 1px solid rgba(168,85,247,0.15);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

/* --- Section Title --- */
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-white);
  margin-bottom: 16px;
  text-align: center;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

/* ========================
   NAVBAR
   ======================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(168, 85, 247, 0.08);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 32px rgba(148, 163, 184, 0.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.nav-logo:hover .logo-img {
  transform: scale(1.03);
}

.logo-icon {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 8px rgba(168,85,247,0.6));
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  border-radius: 1px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-white);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

/* ========================
   HERO
   ======================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at center top, rgba(168,85,247,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at center bottom, rgba(99,102,241,0.04) 0%, transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.3) 50%, var(--dark-900) 100%);
}

.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
  animation: hero-enter 1s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(168,85,247,0.08);
  color: var(--purple-600);
  border: 1px solid rgba(168,85,247,0.15);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
  animation: hero-enter 1s 0.2s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--purple-400);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
  box-shadow: 0 0 0 0 rgba(168,85,247,0.7);
}

@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(168,85,247,0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(168,85,247,0); }
  100% { box-shadow: 0 0 0 0 rgba(168,85,247,0); }
}

.hero-logo-large {
  margin-bottom: 24px;
  animation: hero-enter 1s 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.hero-logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(168, 85, 247, 0.1));
}

.hero-brand {
  font-size: 0.85rem;
  color: var(--purple-400);
  font-weight: 600;
  margin-top: 6px;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-white);
  margin-bottom: 20px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
  animation: hero-enter 1s 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-light);
  opacity: 0.85;
  margin-bottom: 44px;
  animation: hero-enter 1s 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
  animation: hero-enter 1s 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
  animation: hero-enter 1s 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.scroll-mouse {
  width: 24px;
  height: 36px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* Floating Cards */
.hero-float-cards {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.float-card {
  position: absolute;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float-card 6s ease-in-out infinite;
  box-shadow: var(--shadow-md);
}

.float-card-1 {
  bottom: 25%;
  right: 8%;
  animation-delay: 0s;
}

.float-card-2 {
  bottom: 30%;
  left: 8%;
  animation-delay: 3s;
}

@keyframes float-card {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

.float-card-icon { font-size: 1.8rem; }
.float-card-num  { display: block; font-size: 1.2rem; font-weight: 800; color: white; }
.float-card-label{ display: block; font-size: 0.75rem; color: var(--text-muted); }

/* ========================
   ABOUT
   ======================== */
.about {
  padding: 100px 0;
  background: var(--dark-850);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-wrapper img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.about-img-wrapper:hover img { transform: scale(1.05); }

.about-img-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(168,85,247,0.2), rgba(99,102,241,0.2));
  pointer-events: none;
}

.about-badge {
  position: absolute;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(168,85,247,0.2);
  border-radius: var(--radius-lg);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--purple-700);
  box-shadow: var(--shadow-md);
  animation: float-card 5s ease-in-out infinite;
}

.about-badge-1 { top: -20px; left: -20px; animation-delay: 0s; }
.about-badge-2 { bottom: -20px; right: -20px; animation-delay: 2.5s; }
.about-badge-icon { font-size: 1.2rem; }

.about-content { padding: 20px 0; }

.about-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 36px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon-sm {
  width: 44px;
  height: 44px;
  background: rgba(168,85,247,0.12);
  border: 1px solid rgba(168,85,247,0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--purple-400);
  transition: var(--transition);
}

.about-feature:hover .feature-icon-sm {
  background: rgba(168,85,247,0.25);
  transform: scale(1.1);
}

.feature-icon-sm svg { width: 20px; height: 20px; }

.about-feature h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ========================
   SERVICES
   ======================== */
.services {
  padding: 100px 0;
  background: var(--dark-900);
  position: relative;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.service-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.75));
  border: 1px solid rgba(168,85,247,0.08);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: right;
  transition: var(--transition);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(168,85,247,0.25);
  box-shadow: 0 20px 40px rgba(168,85,247,0.08);
}

.service-card:hover::before { opacity: 0.04; }

.service-card-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(168,85,247,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.service-card.featured {
  border-color: rgba(168,85,247,0.35);
  background: linear-gradient(135deg, rgba(250,245,255,0.95), rgba(255,255,255,0.9));
  box-shadow: 0 16px 48px rgba(168,85,247,0.08);
}

.featured-glow {
  background: radial-gradient(circle, rgba(236,72,153,0.15) 0%, transparent 70%) !important;
}

.service-featured-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--grad-warm);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
}

.service-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
}

.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tag {
  background: rgba(168,85,247,0.06);
  color: var(--purple-600);
  border: 1px solid rgba(168,85,247,0.12);
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--purple-600);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}

.service-link svg { width: 16px; height: 16px; transition: transform 0.3s ease; }
.service-link:hover { color: var(--purple-700); }
.service-link:hover svg { transform: translateX(-4px); }

/* ========================
   FEATURES
   ======================== */
.features {
  padding: 100px 0;
  background: var(--dark-850);
  position: relative;
  text-align: center;
  overflow: hidden;
}

.features-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-item {
  background: #ffffff;
  border: 1px solid rgba(168,85,247,0.08);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.feature-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-item:hover {
  border-color: rgba(168,85,247,0.2);
  transform: translateY(-4px);
  background: rgba(168,85,247,0.02);
  box-shadow: var(--shadow-md);
}

.feature-item:hover::after { transform: scaleX(1); }

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--grad-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition-bounce);
  box-shadow: 0 8px 24px rgba(168,85,247,0.3);
}

.feature-item:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 32px rgba(168,85,247,0.5);
}

.feature-icon svg { width: 28px; height: 28px; color: white; }

.feature-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ========================
   STATS
   ======================== */
.stats {
  padding: 80px 0;
  background: var(--dark-900);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23a855f7' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 40px 20px;
  background: #ffffff;
  border: 1px solid rgba(168,85,247,0.08);
  border-radius: var(--radius-xl);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.stat-item:hover {
  border-color: rgba(168,85,247,0.25);
  background: rgba(168,85,247,0.02);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-icon { font-size: 2rem; margin-bottom: 12px; }

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ========================
   TESTIMONIALS
   ======================== */
.testimonials {
  padding: 100px 0;
  background: var(--dark-850);
  overflow: hidden;
  text-align: center;
}

.testimonials-track {
  overflow: hidden;
  margin-top: 20px;
}

.testimonials-slider {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  min-width: calc(50% - 12px);
  background: #ffffff;
  border: 1px solid rgba(168,85,247,0.08);
  border-radius: var(--radius-xl);
  padding: 36px;
  text-align: right;
  transition: var(--transition);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.testimonial-card:hover {
  border-color: rgba(168,85,247,0.25);
  background: rgba(168,85,247,0.02);
  box-shadow: var(--shadow-md);
}

.testimonial-stars { font-size: 1.1rem; margin-bottom: 16px; }

.testimonial-text {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--grad-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
  flex-shrink: 0;
}

.author-name {
  display: block;
  font-weight: 700;
  color: var(--text-white);
  font-size: 0.95rem;
}

.author-title {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--purple-500);
  width: 24px;
  border-radius: 4px;
}

/* ========================
   CONTACT
   ======================== */
.contact {
  padding: 100px 0;
  background: var(--dark-900);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168,85,247,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  background: rgba(168,85,247,0.12);
  border: 1px solid rgba(168,85,247,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-400);
  flex-shrink: 0;
}

.contact-detail-icon svg { width: 22px; height: 22px; }

.detail-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.detail-value {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-white);
  margin-top: 2px;
}

/* Form */
.contact-form-wrapper {
  background: #ffffff;
  border: 1px solid rgba(168,85,247,0.08);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-white);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
  direction: rtl;
}

.form-group select option { background: #ffffff; color: var(--text-white); }

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple-500);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(168,85,247,0.12);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  color: #34d399;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
}

.form-success svg { width: 22px; height: 22px; flex-shrink: 0; }
.form-success.visible { display: flex; }

/* ========================
   FOOTER
   ======================== */
.footer {
  background: #ffffff;
  border-top: 1px solid rgba(168,85,247,0.08);
  padding: 80px 0 32px;
  position: relative;
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-top: 16px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(168,85,247,0.04);
  border: 1px solid rgba(168,85,247,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.social-link svg { width: 18px; height: 18px; }

.social-link:hover {
  background: rgba(168,85,247,0.12);
  border-color: var(--purple-500);
  color: var(--purple-600);
  transform: translateY(-2px);
}

.footer-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.footer-logo:hover .footer-logo-img {
  transform: scale(1.03);
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--purple-400);
  padding-right: 4px;
}

.footer-col ul li {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: var(--text-faint);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--text-faint);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-bottom-links a:hover { color: var(--purple-400); }

/* ========================
   FLOATING ELEMENTS
   ======================== */
.floating-cta {
  position: fixed;
  bottom: 90px;
  left: 24px;
  z-index: 900;
  animation: float-card 4s ease-in-out infinite;
}

.floating-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--grad-primary);
  border-radius: 50%;
  color: white;
  box-shadow: 0 8px 32px rgba(168,85,247,0.5);
  text-decoration: none;
  transition: var(--transition-bounce);
}

.floating-cta-btn svg { width: 26px; height: 26px; }
.floating-cta-btn:hover { transform: scale(1.15); box-shadow: 0 12px 40px rgba(168,85,247,0.7); }

.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  background: rgba(168, 85, 247, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--purple-600);
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.back-to-top svg { width: 20px; height: 20px; }
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: rgba(168, 85, 247, 0.15); border-color: var(--purple-500); color: var(--purple-700); }

/* ========================
   ANIMATIONS - SCROLL
   ======================== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================
   RESPONSIVE
   ======================== */
.desktop-br { display: block; }

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 50px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  #navCta { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    padding: 20px;
    border-bottom: 1px solid rgba(168,85,247,0.08);
    animation: slide-down 0.3s ease;
  }
  @keyframes slide-down {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .hero-title { font-size: 2.2rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .float-card-1, .float-card-2 { display: none; }
  .desktop-br { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-badge-1, .about-badge-2 { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }

  .testimonial-card { min-width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section-title { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.9rem; }
  .stat-number { font-size: 2.4rem; }
  .contact-form-wrapper { padding: 24px; }
}
