/**
 * Landing Page - Revolutionary Design 2.0
 * Advanced Glassmorphism, Neon Glows, and 3D Depth
 * Designed for maximal visual impact and premium feel.
 */

:root {
  /* Core Colors */
  --bg-dark: #030712;
  --bg-darker: #02040a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-glass: rgba(17, 25, 40, 0.75);

  /* Brand Gradients - More Vibrant */
  --primary-hue: 220;
  /* Blue */
  --purple-hue: 270;
  /* Purple */
  --cyan-hue: 190;
  /* Cyan */

  --color-primary: hsl(var(--primary-hue), 90%, 60%);
  --color-purple: hsl(var(--purple-hue), 90%, 60%);
  --color-cyan: hsl(var(--cyan-hue), 90%, 60%);

  --gradient-main: linear-gradient(135deg, var(--color-primary) 0%, var(--color-purple) 100%);
  --gradient-accent: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-primary) 100%);
  --gradient-text: linear-gradient(to right, #fff 20%, #bfdbfe 100%);
  --gradient-border: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);

  /* Text */
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Effects */
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  --neon-glow: 0 0 20px rgba(59, 130, 246, 0.5);
  --card-radius: 24px;

  /* Spacing */
  --container-width: 1280px;
  --header-height: 80px;
}

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

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

body {
  font-family: 'Tajawal', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  direction: rtl;
  /* Complex dark background */
  background-image:
    radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.08), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.08), transparent 25%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Utilities */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Enhancements */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  font-weight: 800;
  color: var(--text-main);
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* -------------------------------------------------------------------------- */
/* Navigation */
/* -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(3, 7, 18, 0.6);
  backdrop-filter: blur(20px);
  border-bottom: var(--glass-border);
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(3, 7, 18, 0.9);
  height: 70px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-weight: 900;
  font-size: 1.4rem;
  position: relative;
  z-index: 1001;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-main);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
  position: relative;
  overflow: hidden;
}

.logo-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

.logo-icon img {
  width: 24px;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s;
  position: relative;
}

.nav-link:hover {
  color: white;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  /* RTL */
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  transition: width 0.3s ease;
}

.nav-link:hover::before {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.8rem;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  font-family: inherit;
}

.btn i {
  font-size: 1.1em;
}

.btn-primary {
  background: var(--gradient-main);
  color: white;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-glow {
  position: relative;
}

.btn-glow::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient-main);
  filter: blur(10px);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-glow:hover::after {
  opacity: 0.6;
}

.w-100 {
  width: 100%;
}

.sticky-cta {
  display: flex;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
}

/* -------------------------------------------------------------------------- */
/* Hero Section */
/* -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--header-height);
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Animated background elements */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(ellipse at top, #0f172a 0%, #020617 100%);
}

.hero-bg::before,
.hero-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float-slow 10s infinite alternate;
}

.hero-bg::before {
  width: 500px;
  height: 500px;
  background: var(--color-primary);
  top: -100px;
  right: -100px;
}

.hero-bg::after {
  width: 400px;
  height: 400px;
  background: var(--color-purple);
  bottom: -50px;
  left: -50px;
  animation-delay: -5s;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  z-index: 1;
  width: 100%;
}

@media (min-width: 1200px) {
  .hero-wrapper {
    gap: 5rem;
  }
}

.hero-content {
  position: relative;
  text-align: right;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #60a5fa;
  margin-bottom: 2rem;
  backdrop-filter: blur(5px);
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.hero-trust {
  color: var(--text-muted);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.hero-trust i {
  color: #22c55e;
}

.hero-title {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.title-line {
  display: block;
}

.title-gradient {
  background: linear-gradient(135deg, #fff 30%, #a5f3fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
}

.title-gradient::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--gradient-accent);
  opacity: 0.3;
  z-index: -1;
  border-radius: 4px;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 90%;
  line-height: 1.8;
}

.hero-description strong {
  color: var(--text-main);
  font-weight: 800;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-dim);
}

.hero-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  perspective: 1000px;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-wrapper:hover .hero-img {
  transform: rotateY(-2deg) rotateX(2deg) scale(1.02);
}

.hero-image-glow {
  position: absolute;
  inset: -20px;
  background: var(--gradient-main);
  filter: blur(60px);
  opacity: 0.2;
  z-index: -1;
  transform: translateZ(-50px);
  border-radius: 32px;
}

/* -------------------------------------------------------------------------- */
/* Sections Base */
/* -------------------------------------------------------------------------- */
.section {
  padding: 8rem 0;
  position: relative;
}

.section-light {
  background: rgba(255, 255, 255, 0.01);
}

.section-dark {
  background: var(--bg-dark);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 5rem;
}

.section-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
}

/* -------------------------------------------------------------------------- */
/* Cards (General) */
/* -------------------------------------------------------------------------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background: rgba(30, 41, 59, 0.4);
  /* Slightly lighter dark */
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--card-radius);
  padding: 2.5rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.06), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-modern {
  cursor: pointer;
}

.card-glow {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.card-modern:hover .card-glow {
  opacity: 1;
}

.card-arrow {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  color: var(--color-primary);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s;
}

.card-modern:hover .card-arrow {
  opacity: 1;
  transform: translateX(0);
}

.card-link {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  font-weight: 700;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s;
  text-decoration: none;
}

.card-portfolio:hover .card-link {
  opacity: 1;
  transform: translateX(0);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 51, 234, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  transition: all 0.3s;
}

.card:hover .card-icon {
  background: var(--gradient-main);
  color: white;
  transform: scale(1.1) rotate(5deg);
  border-color: transparent;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card-description {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* Feature Cards Grid (Why Us) */
.cards-grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card-feature {
  padding: 2rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
}

.card-number {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  margin-bottom: 1rem;
  line-height: 1;
  transition: all 0.3s;
}

.card-feature:hover .card-number {
  color: rgba(59, 130, 246, 0.2);
  transform: scale(1.2);
}

/* Portfolio Cards */
.card-portfolio {
  padding: 2.5rem;
  overflow: hidden;
  position: relative;
}

.card-portfolio .card-content {
  padding: 2rem;
}

.card-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

/* -------------------------------------------------------------------------- */
/* Contact Form Section */
/* -------------------------------------------------------------------------- */
.contact-form-wrapper {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: var(--glass-border);
  border-radius: 24px;
  padding: 3rem;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--glass-shadow);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: white;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-control:focus {
  border-color: var(--color-primary);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-control::placeholder {
  color: var(--text-dim);
}

.form-error {
  margin-top: 0.5rem;
  color: #f87171;
  font-size: 0.875rem;
}

.form-success {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
  display: none;
}

.form-success.show {
  display: block;
}

.form-privacy {
  margin-top: 1rem;
  color: var(--text-dim);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-privacy i {
  color: #22c55e;
}

.form-label i {
  color: var(--color-primary);
  margin-left: 0.5rem;
}

/* -------------------------------------------------------------------------- */
/* Footer */
/* -------------------------------------------------------------------------- */
.footer {
  background: #02040a;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  margin-bottom: 1.5rem;
}

.footer-brand span {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
}

.footer-description {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 300px;
}

.footer-title {
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-links a i {
  font-size: 0.85rem;
  margin-left: 0.5rem;
}

.footer-link-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0;
  text-align: right;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
  font-family: inherit;
}

.footer-link-btn:hover {
  color: var(--color-primary);
  transform: translateX(-5px);
}

.footer-copyright {
  color: var(--text-dim);
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-dim);
  font-size: 0.875rem;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: var(--color-primary);
}

.footer-legal span {
  opacity: 0.5;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-brand-col {
  max-width: 300px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 900;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-brand img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s;
}

.social-link:hover {
  background: var(--color-primary);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
}

/* -------------------------------------------------------------------------- */
/* ScreenShot Frame */
/* -------------------------------------------------------------------------- */
.screenshot-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.screenshot-frame {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.screenshot-header {
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.screenshot-dots {
  display: flex;
  gap: 0.5rem;
}

.screenshot-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: background 0.3s;
  display: block;
}

.screenshot-dots span:nth-child(1) {
  background: rgba(239, 68, 68, 0.6);
}

.screenshot-dots span:nth-child(2) {
  background: rgba(245, 158, 11, 0.6);
}

.screenshot-dots span:nth-child(3) {
  background: rgba(34, 197, 94, 0.6);
}

.screenshot-image {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.screenshot-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.screenshot-image:hover img {
  transform: scale(1.02);
}

/* -------------------------------------------------------------------------- */
/* Custom Dev Banner */
/* -------------------------------------------------------------------------- */
.custom-dev-banner {
  background: var(--gradient-main);
  border-radius: 24px;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.custom-dev-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
}

.custom-dev-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.custom-dev-text h3 {
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: white;
}

.custom-dev-text p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  font-size: 1.1rem;
}

/* -------------------------------------------------------------------------- */
/* Modal - Premium (دخول العملاء) */
/* -------------------------------------------------------------------------- */
/* وسط الشاشة المرئية (viewport) وليس الصفحة */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  max-width: 100%;
  max-height: 100%;
  display: none;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.open {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1;
}

.modal.open .modal-backdrop {
  opacity: 1;
}

.modal.open .modal-content {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-content {
  position: relative;
  max-width: 500px;
  width: 100%;
  background: rgba(30, 41, 59, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  z-index: 1;
  opacity: 0;
  transform: translateY(-20px) scale(0.96);
  transition: opacity 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.modal-close {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: rotate(90deg) scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-close:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.modal-note {
  margin-top: 1rem;
  color: var(--text-dim);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-note i {
  color: var(--color-primary);
}

/* -------------------------------------------------------------------------- */
/* Utilities */
/* -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  right: 10px;
  top: -60px;
  background: var(--bg-darker);
  color: var(--text-main);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 10000;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 10px;
}

.center {
  text-align: center;
}

.mt-xl {
  margin-top: 4rem;
}

/* -------------------------------------------------------------------------- */
/* Responsive */
/* -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-content {
    margin-bottom: 3rem;
    text-align: center;
  }

  .hero-image {
    order: -1;
    justify-content: center;
  }

  .hero-image-wrapper {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
  }

  .stat-item {
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
  }

  .mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }

  /* Mobile Nav Logic */
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-height);
    right: 0;
    width: 100%;
    max-width: 300px;
    height: calc(100vh - var(--header-height));
    background: var(--bg-darker);
    padding: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    overflow-y: auto;
  }

  .nav-links.active .nav-link {
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-links.active .btn {
    width: 100%;
    margin-top: 1rem;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .custom-dev-banner {
    flex-direction: column;
    text-align: center;
  }

  .custom-dev-content {
    flex-direction: column;
  }

  .cards-grid,
  .cards-grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 4rem 0 2rem;
  }

  .hero-img {
    border-radius: 16px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .stat-value {
    font-size: 2rem;
  }

  .section {
    padding: 4rem 0;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .screenshot-frame {
    border-radius: 16px;
  }

  .screenshot-image img {
    max-height: 400px;
    object-fit: cover;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* -------------------------------------------------------------------------- */
/* Animations */
/* -------------------------------------------------------------------------- */
@keyframes float-slow {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  100% {
    transform: translateY(-30px) rotate(5deg);
  }
}

@keyframes shine {
  0% {
    left: -100%;
    opacity: 0;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    left: 100%;
    opacity: 0;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}