 /* حل خاص لأجهزة iOS */
      @supports (-webkit-appearance: none) {
        .background-water {
          display: none !important;
        }
        body {
          background: linear-gradient(
            135deg,
            #00195e 0%,
            #004cb7 50%,
            #31abfd 100%
          ) !important;
          background-attachment: scroll !important;
        }
      }

      /* حل نهائي قوي لمشكلة الآيفون */
      @supports (-webkit-touch-callout: none) {
        .background-water {
          display: none !important;
          opacity: 0 !important;
          visibility: hidden !important;
          pointer-events: none !important;
        }
      }

      /* حل إضافي لأجهزة iOS تحديداً */
      @media screen and (-webkit-min-device-pixel-ratio: 1) {
        body {
          background: linear-gradient(
            135deg,
            #00195e 0%,
            #004cb7 50%,
            #31abfd 100%
          ) !important;
          background-size: cover !important;
          background-repeat: no-repeat !important;
          background-attachment: scroll !important;
        }
        .background-water {
          display: none !important;
        }
      }

      /* حل لـ Safari على iPhone */
      @media screen and (-webkit-min-device-pixel-ratio: 2) {
        body {
          -webkit-background-size: cover !important;
          background-size: cover !important;
        }
      }

      /* حل شامل لجميع الأجهزة المحمولة */
      @media (hover: none) and (pointer: coarse) {
        .background-water {
          display: none !important;
          opacity: 0 !important;
          visibility: hidden !important;
        }
      }

      /* حل مخصص للآيفون باستخدام user agent */
      @media only screen and (max-device-width: 812px) and (-webkit-device-pixel-ratio: 3) {
        .background-water {
          display: none !important;
          opacity: 0 !important;
          visibility: hidden !important;
        }
      }

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Root Variables */
:root {
  /* Colors */
  --primary-dark: #00195e;
  --primary-medium: #004cb7;
  --primary-light: #31abfd;
  --success-color: #4caf50;
  --warning-color: #ff9800;
  --error-color: #ff4757;
  --text-dark: #333;
  --text-medium: #666;
  --text-light: #888;
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;

  /* Fonts - Unified IBM Plex Sans Arabic for both languages */
  --font-primary: "IBM Plex Sans Arabic", sans-serif;
  --font-arabic: "IBM Plex Sans Arabic", sans-serif;
  --font-english: "IBM Plex Sans Arabic", sans-serif;

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.4s ease;
}

/* ===== FONT OPTIMIZATION - UNIFIED IBM PLEX SANS ARABIC ===== */
/* Force IBM Plex Sans Arabic everywhere EXCEPT icons */

/* Apply to all elements except Font Awesome icons */
*:not([class*="fa-"]):not(i):not(.fab):not(.fas):not(.far):not(.fal):not(.fad),
*:not([class*="fa-"])::before,
*:not([class*="fa-"])::after {
  font-family: "IBM Plex Sans Arabic", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif !important;
}

/* Specific elements that need the font */
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
div,
input,
button:not([class*="fa"]),
select,
textarea {
  font-family: "IBM Plex Sans Arabic", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Override any inherited fonts for specific classes */
.nav-item,
.header-cta,
.lang-toggle,
.mobile-nav-item,
.feature-card,
.feature-title,
.feature-description,
.comparison-column,
.roi-section,
.highlight-card,
.success-card,
.cta-button,
.modal-content,
.form-input,
.btn-submit,
.footer-section {
  font-family: "IBM Plex Sans Arabic", sans-serif !important;
}

/* Body Base Styles */
body {
  font-family: "IBM Plex Sans Arabic", sans-serif !important;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-medium) 50%,
    var(--primary-light) 100%
  ) !important;
  background-attachment: fixed !important;
  min-height: 100vh;
  position: relative;
  transition: all var(--transition-medium);
}

/* PROTECT Font Awesome icons - CRITICAL */
i,
.fa,
.fas,
.far,
.fal,
.fab,
.fad,
[class^="fa-"],
[class*=" fa-"] {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "FontAwesome" !important;
  font-weight: 900 !important;
  font-style: normal !important;
}

/* Body Base Styles */
body {
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-medium) 50%,
    var(--primary-light) 100%
  ) !important;
  background-attachment: fixed !important;
  min-height: 100vh;
  position: relative;
  transition: all var(--transition-medium);
}

/* ===== SCROLLBAR STYLES ===== */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 25, 94, 0.1);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    var(--primary-light),
    var(--primary-medium),
    var(--primary-dark)
  );
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    var(--primary-light),
    var(--primary-dark),
    var(--primary-medium)
  );
  box-shadow: 0 0 10px rgba(49, 171, 253, 0.5);
}

/* ===== BACKGROUND & DECORATIVE ELEMENTS ===== */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.floating-shape {
  position: absolute;
  opacity: 0.15;
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  top: 20%;
  left: 10%;
  width: 100px;
  height: 100px;
  background: linear-gradient(
    135deg,
    rgba(49, 171, 253, 0.15),
    rgba(0, 25, 94, 0.15)
  );
  border-radius: 50%;
  animation-delay: 0s;
}

.shape-2 {
  top: 60%;
  right: 15%;
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    rgba(0, 76, 183, 0.15),
    rgba(49, 171, 253, 0.15)
  );
  border-radius: 20px;
  animation-delay: 2s;
}

.shape-3 {
  bottom: 20%;
  left: 20%;
  width: 120px;
  height: 60px;
  background: linear-gradient(
    135deg,
    rgba(0, 25, 94, 0.15),
    rgba(0, 76, 183, 0.15)
  );
  border-radius: 30px;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

/* Side Strips */
.side-strip {
  position: fixed;
  top: 0;
  width: 12px;
  height: 100vh;
  z-index: 999;
  background: linear-gradient(
    180deg,
    var(--primary-dark) 0%,
    var(--primary-medium) 50%,
    var(--primary-light) 100%
  );
  animation: stripPulse 3s ease-in-out infinite alternate;
}

.side-strip.left {
  left: 0;
  border-radius: 0 20px 20px 0;
}

.side-strip.right {
  right: 0;
  border-radius: 20px 0 0 20px;
}

@keyframes stripPulse {
  0% {
    box-shadow: inset 0 0 20px rgba(49, 171, 253, 0.3),
      0 0 15px rgba(0, 25, 94, 0.5);
  }
  100% {
    box-shadow: inset 0 0 30px rgba(49, 171, 253, 0.6),
      0 0 25px rgba(0, 76, 183, 0.7);
  }
}

.bottom-strip {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(
    90deg,
    var(--primary-dark) 0%,
    var(--primary-medium) 25%,
    var(--primary-light) 50%,
    var(--primary-medium) 75%,
    var(--primary-dark) 100%
  );
  z-index: 999;
  box-shadow: 0 -2px 20px rgba(49, 171, 253, 0.4),
    0 -4px 10px rgba(0, 76, 183, 0.3);
}

/* ===== HEADER STYLES ===== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 25, 94, 0.1);
  transition: all var(--transition-medium);
  border-bottom: 4px solid transparent;
  background-clip: padding-box;
}

header::before {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-dark) 0%,
    var(--primary-medium) 25%,
    var(--primary-light) 50%,
    var(--primary-medium) 75%,
    var(--primary-dark) 100%
  );
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform var(--transition-medium);
}

.logo img {
  height: 150px;
  width: auto;
}

.logo:hover {
  transform: scale(1.05);
}

/* Navigation */
.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-direction: row;
}

/* RTL Navigation */
html[dir="rtl"] .nav-menu {
  direction: rtl;
}

.nav-item {
  text-decoration: none;
  color: var(--text-medium);
  font-size: 16px;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 12px;
  transition: all var(--transition-medium);
  position: relative;
}

.nav-item:hover,
.nav-item.active {
  color: var(--primary-dark);
  background: rgba(0, 25, 94, 0.1);
  transform: translateY(-2px);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-cta {
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-medium)
  );
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-medium);
  box-shadow: 0 4px 15px rgba(0, 25, 94, 0.3);
  order: 1;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 25, 94, 0.4);
}

.lang-toggle {
  background: linear-gradient(
    135deg,
    var(--primary-light),
    var(--primary-medium)
  );
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-medium);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 12px rgba(49, 171, 253, 0.3);
  min-width: 65px;
  justify-content: center;
  order: 2;
}

.lang-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(49, 171, 253, 0.4);
}

.lang-toggle i {
  font-size: 12px;
}

#currentLang {
  font-weight: 700;
  font-size: 12px;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: all var(--transition-medium);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 999;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 25, 94, 0.1);
}

.mobile-nav.active {
  display: block;
}

.mobile-nav-item {
  display: block;
  padding: 15px 20px;
  color: var(--text-medium);
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  border-bottom: 1px solid rgba(0, 25, 94, 0.1);
  transition: all var(--transition-medium);
  border: none;
  background: none;
  text-align: left;
  width: 100%;
}

html[dir="rtl"] .mobile-nav-item {
  text-align: right;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  color: var(--primary-dark);
  background: rgba(0, 25, 94, 0.05);
}

.mobile-cta {
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-medium)
  ) !important;
  color: white !important;
  border-radius: 10px !important;
  margin-top: 10px !important;
}

/* ===== MAIN CONTENT ===== */
.main-content {
  margin-top: 100px;
  padding: 20px;
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== PAGE HEADER ===== */
.page-header {
  text-align: center;
  margin-bottom: 60px;
  padding: 60px 30px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  backdrop-filter: blur(20px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  animation: slideInUp 1s ease-out;
}

.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto;
}

/* ===== FEATURES SECTION ===== */
.features-section {
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 25px;
  padding: 40px 30px;
  text-align: center;
  transition: all var(--transition-slow);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 25, 94, 0.12);
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  animation: slideInUp 1s ease-out;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(49, 171, 253, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 25, 94, 0.2);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-medium)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: all var(--transition-medium);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-icon svg {
  width: 40px;
  height: 40px;
  color: white;
}

.feature-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.feature-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 30px;
}

.feature-benefits {
  list-style: none;
  text-align: left;
}

html[dir="rtl"] .feature-benefits {
  text-align: right;
}

.feature-benefits li {
  padding: 12px 0;
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.8);
  position: relative;
  padding-left: 30px;
  transition: all var(--transition-medium);
}

html[dir="rtl"] .feature-benefits li {
  padding-left: 0;
  padding-right: 30px;
}

.feature-benefits li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-light);
  font-weight: bold;
  font-size: 18px;
}

html[dir="rtl"] .feature-benefits li:before {
  left: auto;
  right: 0;
}

.feature-benefits li:hover {
  color: var(--primary-dark);
  transform: translateX(-5px);
}

html[dir="rtl"] .feature-benefits li:hover {
  transform: translateX(5px);
}

/* ===== COMPARISON SECTION ===== */
.comparison-section {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  backdrop-filter: blur(20px);
  border-radius: 30px;
  padding: 60px 30px;
  margin-bottom: 60px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: slideInUp 1s ease-out 0.2s both;
}

.comparison-header {
  text-align: center;
  margin-bottom: 50px;
}

.comparison-header h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.comparison-header p {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.8);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.comparison-column {
  text-align: center;
  padding: 30px 25px;
  border-radius: 20px;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.comparison-column.traditional {
  background: rgba(248, 249, 250, 0.95);
  border: 2px solid rgba(140, 140, 140, 0.2);
}

.comparison-column.human {
  background: rgba(255, 243, 224, 0.95);
  border: 2px solid #ffb74d;
}

.comparison-column.ai {
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-medium)
  );
  color: white;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 25, 94, 0.3);
}

.comparison-column:hover {
  transform: translateY(-5px);
}

.column-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 25px;
}

.comparison-item {
  padding: 15px 0;
  border-bottom: 1px solid rgba(140, 140, 140, 0.1);
  font-size: 1rem;
  font-weight: 500;
  transition: all var(--transition-medium);
}

.comparison-item:last-child {
  border-bottom: none;
}

.comparison-column.ai .comparison-item {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.comparison-item:hover {
  transform: translateX(-5px);
}

html[dir="rtl"] .comparison-item:hover {
  transform: translateX(5px);
}

.status-positive {
  color: #2e7d32;
  font-weight: 700;
}

.status-negative {
  color: #d32f2f;
  font-weight: 700;
}

.status-partial {
  color: #f57c00;
  font-weight: 700;
}

.status-excellent {
  color: var(--primary-light);
  font-weight: 700;
  text-shadow: 0 0 10px rgba(49, 171, 253, 0.3);
}

/* ===== ROI SECTION ===== */
.roi-section {
  background: linear-gradient(
    135deg,
    var(--primary-light),
    var(--primary-medium)
  );
  color: white;
  border-radius: 30px;
  padding: 60px 30px;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
  animation: slideInUp 1s ease-out 0.4s both;
}

.roi-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.roi-section h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.roi-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.roi-stat {
  text-align: center;
  padding: 20px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all var(--transition-medium);
}

.roi-stat:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
}

.roi-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.roi-label {
  font-size: 1.1rem;
  opacity: 0.9;
  font-weight: 600;
}

.roi-section > p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ===== ADDITIONAL FEATURES ===== */
.additional-features {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  backdrop-filter: blur(20px);
  border-radius: 30px;
  padding: 60px 30px;
  margin-bottom: 60px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: slideInUp 1s ease-out 0.5s both;
}

.additional-features h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: white;
  margin-bottom: 40px;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.feature-highlight {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.highlight-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 30px 25px;
  text-align: center;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 25, 94, 0.1);
}

.highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 25, 94, 0.2);
}

.highlight-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-medium)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all var(--transition-medium);
}

.highlight-card:hover .highlight-icon {
  transform: scale(1.1);
}

.highlight-icon svg {
  width: 40px;
  height: 40px;
  color: white;
}

.highlight-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.highlight-description {
  font-size: 1rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* ===== SUCCESS STORIES ===== */
.success-stories {
  background: linear-gradient(
    135deg,
    var(--primary-medium),
    var(--primary-dark)
  );
  color: white;
  border-radius: 30px;
  padding: 60px 30px;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
  animation: slideInUp 1s ease-out 0.6s both;
}

.success-stories h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

.success-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.success-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px 25px;
  text-align: center;
  transition: all var(--transition-slow);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.success-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.success-metric {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 15px;
  display: block;
}

.success-label {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 15px;
}

.success-description {
  font-size: 0.95rem;
  opacity: 0.8;
  line-height: 1.5;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  backdrop-filter: blur(20px);
  border-radius: 30px;
  padding: 60px 30px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 60px;
  animation: slideInUp 1s ease-out 0.7s both;
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-section p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  background: linear-gradient(
    135deg,
    var(--primary-light),
    var(--primary-medium)
  );
  color: white;
  padding: 18px 36px;
  border: none;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-medium);
  text-decoration: none;
  display: inline-block;
  min-width: 200px;
  box-shadow: 0 6px 20px rgba(49, 171, 253, 0.4);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(49, 171, 253, 0.6);
}

.cta-button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ===== MODAL STYLES ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2500;
  backdrop-filter: blur(10px);
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: 20px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.7);
  opacity: 0;
  transition: all var(--transition-medium);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
  opacity: 1;
}

.modal-header {
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-medium)
  );
  color: white;
  padding: 30px;
  border-radius: 20px 20px 0 0;
  text-align: center;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

html[dir="rtl"] .modal-close {
  left: auto;
  right: 15px;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.modal-title {
  font-size: clamp(1.5rem, 3vw, 24px);
  font-weight: 700;
  margin-bottom: 10px;
}

.modal-subtitle {
  font-size: clamp(0.9rem, 2vw, 16px);
  opacity: 0.9;
}

.modal-body {
  padding: 30px 20px;
}

.service-info {
  background: var(--bg-light);
  padding: 20px;
  border-radius: 15px;
  margin: 10px 0 20px;
  text-align: center;
}

.service-info h3 {
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.service-info p {
  color: var(--text-medium);
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

html[dir="rtl"] .form-label {
  text-align: right;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 16px;
  transition: border-color var(--transition-fast);
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-dark);
}

.btn-submit {
  width: 100%;
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-medium)
  );
  color: white;
  padding: 15px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-medium);
  position: relative;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 25, 94, 0.3);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.loading-spinner {
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  display: none;
  margin: 0 auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Success Message */
.success-message {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-medium)
  );
  color: white;
  padding: 20px 40px;
  border-radius: 15px;
  z-index: 3000;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 25, 94, 0.3);
}

.success-message h3 {
  margin-bottom: 10px;
}

/* ===== FOOTER STYLES ===== */
footer {
  background: linear-gradient(
    135deg,
    rgba(0, 25, 94, 0.98) 0%,
    rgba(0, 76, 183, 0.95) 50%,
    rgba(49, 171, 253, 0.92) 100%
  );
  backdrop-filter: blur(20px);
  color: white;
  padding: 80px 20px 40px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
  border-top: 4px solid rgba(255, 255, 255, 0.2);
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(49, 171, 253, 0.9) 25%,
    rgba(255, 255, 255, 1) 50%,
    rgba(49, 171, 253, 0.9) 75%,
    rgba(255, 255, 255, 0.8) 100%
  );
  background-size: 200% 100%;
  animation: footerGradientFlow 4s linear infinite;
  box-shadow: 0 2px 15px rgba(255, 255, 255, 0.4);
}

@keyframes footerGradientFlow {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 200% 0%;
  }
}

footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.12)"/><circle cx="90" cy="10" r="0.8" fill="rgba(255,255,255,0.06)"/><circle cx="10" cy="90" r="1.2" fill="rgba(255,255,255,0.1)"/></svg>')
    repeat;
  opacity: 0.3;
  pointer-events: none;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.footer-section {
  transition: transform var(--transition-medium);
}

.footer-section:hover {
  transform: translateY(-5px);
}
.footer-logo {
  text-align: left;
  margin-bottom: 30px;
}

html[dir="rtl"] .footer-logo {
  text-align: right;
}

.footer-logo img {
  height: 140px;
  width: auto;
  filter: brightness(1.3) contrast(1.1);
  transition: transform var(--transition-medium);
}

.footer-logo img:hover {
  transform: scale(1.05);
}

.footer-section h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 25px;
  color: white;
  position: relative;
  padding-bottom: 15px;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, white, rgba(255, 255, 255, 0.5));
  border-radius: 2px;
}

html[dir="rtl"] .footer-section h3::after {
  right: 0;
  left: auto;
}

.footer-section p {
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 15px;
  text-align: justify;
  font-size: 16px;
  font-weight: 400;
}

.footer-section p strong {
  color: white;
  font-weight: 700;
  display: block;
  margin-top: 20px;
  font-size: 18px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-services {
  list-style: none;
  padding: 0;
}

.footer-services li {
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  transition: all var(--transition-medium);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-services li:last-child {
  border-bottom: none;
}

html[dir="rtl"] .footer-services li {
  padding-left: 0;
  padding-right: 30px;
  text-align: right;
}

.footer-services li::before {
  content: "→";
  color: white;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 12px;
  font-size: 18px;
  transition: transform var(--transition-medium);
}

html[dir="rtl"] .footer-services li::before {
  content: "←";
  left: auto;
  right: 0;
}

.footer-services li:hover {
  color: white;
  padding-left: 35px;
}

html[dir="rtl"] .footer-services li:hover {
  padding-left: 0;
  padding-right: 35px;
}

.footer-services li:hover::before {
  transform: translateX(5px);
}

html[dir="rtl"] .footer-services li:hover::before {
  transform: translateX(-5px);
}

.footer-services li a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color var(--transition-medium);
  font-weight: 500;
}

.footer-services li a:hover {
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-section p i {
  color: white;
  margin-right: 12px;
  width: 25px;
  text-align: center;
  font-size: 18px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

html[dir="rtl"] .footer-section p i {
  margin-right: 0;
  margin-left: 12px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  position: relative;
  z-index: 2;
}

.footer-bottom p {
  margin-bottom: 10px;
  font-weight: 500;
}

.novay-link {
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all var(--transition-medium);
  position: relative;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  display: inline-block;
}

.novay-link:hover {
  color: #ffffff;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
  transform: scale(1.05);
}

.novay-link::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, white, rgba(255, 255, 255, 0.7));
  transition: width var(--transition-medium);
  border-radius: 2px;
}

.novay-link:hover::after {
  width: 100%;
}

/* ===== ANIMATIONS ===== */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large Desktop */
@media (min-width: 1200px) {
  .footer-content {
    grid-template-columns: 2.5fr 1fr 1fr;
    gap: 80px;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
  }

  .header-content {
    padding: 0 15px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-section:first-child {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* Header */
  .nav-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-content {
    height: 70px;
    padding: 0 15px;
  }

  .header-cta {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .lang-toggle {
    padding: 8px 12px;
    font-size: 12px;
    min-width: 55px;
  }

  .lang-toggle i {
    font-size: 10px;
  }

  #currentLang {
    font-size: 11px;
  }

  /* Main Content */
  .main-content {
    margin-top: 80px;
    padding: 15px;
  }

  .page-header,
  .comparison-section,
  .roi-section,
  .additional-features,
  .success-stories,
  .cta-section {
    padding: 40px 20px;
    border-radius: 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .roi-stats {
    grid-template-columns: 1fr 1fr;
  }

  .feature-highlight {
    grid-template-columns: 1fr;
  }

  .success-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-button {
    width: 100%;
    max-width: 300px;
  }

  /* Decorative Elements */
  .side-strip {
    width: 8px;
  }

  .bottom-strip {
    height: 8px;
  }

  /* Modals */
  .modal-overlay {
    padding: 10px;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-section:first-child {
    grid-column: auto;
  }

  .footer-logo {
    text-align: center;
  }

  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  html[dir="rtl"] .footer-section h3::after {
    right: 50%;
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-services li {
    text-align: center;
    padding-left: 0;
  }

  html[dir="rtl"] .footer-services li {
    padding-right: 0;
    text-align: center;
  }

  .footer-services li::before {
    display: none;
  }

  .footer-services li:hover {
    padding-left: 0;
  }

  html[dir="rtl"] .footer-services li:hover {
    padding-right: 0;
  }

  .footer-section p {
    text-align: center;
  }

  .footer-section p i {
    margin-right: 8px;
    float: none;
  }

  html[dir="rtl"] .footer-section p i {
    margin-left: 8px;
    margin-right: 0;
    float: none;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .logo img {
    height: 120px;
  }

  .feature-card {
    padding: 25px 20px;
    min-height: 350px;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
  }

  .feature-icon svg {
    width: 30px;
    height: 30px;
  }

  .highlight-card {
    padding: 25px 20px;
  }

  .highlight-icon {
    width: 60px;
    height: 60px;
  }

  .highlight-icon svg {
    width: 30px;
    height: 30px;
  }

  footer {
    padding: 60px 20px 30px;
  }

  .footer-section h3 {
    font-size: 20px;
  }

  .footer-section p {
    font-size: 14px;
  }
}

/* RTL Specific Adjustments */
html[dir="rtl"] .header-actions {
  flex-direction: row-reverse;
}

html[dir="rtl"] .cta-buttons {
  direction: ltr;
}

html[dir="rtl"] .form-input {
  text-align: right;
}

html[dir="rtl"] .footer-bottom {
  text-align: center;
  direction: rtl;
}

html[dir="rtl"] .footer-section {
  text-align: right;
}

@media (max-width: 768px) {
  html[dir="rtl"] .footer-section {
    text-align: center;
  }

  html[dir="rtl"] .footer-logo {
    text-align: center;
  }
}

/* Performance Optimizations */
.feature-card,
.highlight-card,
.success-card,
.cta-button,
.header-cta,
.lang-toggle {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Accessibility */
*:focus {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}

button:focus,
.cta-button:focus {
  outline: 3px solid var(--primary-light);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-dark: #000;
    --primary-medium: #333;
    --primary-light: #666;
    --text-dark: #000;
    --text-medium: #333;
    --text-light: #666;
  }

  .feature-card,
  .highlight-card,
  .modal-content {
    border: 2px solid #000;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .floating-shape {
    animation: none;
  }

  .side-strip {
    animation: none;
  }
}

/* Print Styles */
@media print {
  .side-strip,
  .bottom-strip,
  .bg-animation,
  header,
  .modal-overlay {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }

  .page-header,
  .comparison-section,
  .roi-section,
  .additional-features,
  .success-stories,
  .cta-section {
    background: white !important;
    border: 1px solid #ccc !important;
  }
}

