/* Beautiful Loader Styles */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #FC5404 0%, #F9B208 50%, #FF6B35 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  direction: ltr;
  text-align: center;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-container {
  text-align: center;
  color: white;
  animation: fadeInUp 1s ease;
}

.loader-logo {
  margin-bottom: 2rem;
  animation: pulse 2s infinite;
}

.loader-logo-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
  animation: float 3s ease-in-out infinite;
}

.loader-text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: glow 2s ease-in-out infinite alternate;
}

.loader-text p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 3rem;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.loader-spinner {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
}

.spinner-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-radius: 50%;
  animation: spin 2s linear infinite;
}

.spinner-ring:nth-child(1) {
  border-top-color: rgba(255, 255, 255, 0.9);
  animation-delay: 0s;
}

.spinner-ring:nth-child(2) {
  border-right-color: rgba(255, 255, 255, 0.7);
  animation-delay: 0.2s;
  animation-duration: 2.5s;
}

.spinner-ring:nth-child(3) {
  border-bottom-color: rgba(255, 255, 255, 0.5);
  animation-delay: 0.4s;
  animation-duration: 3s;
}

.loader-progress {
  width: 200px;
  margin: 0 auto;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ffffff, #FC5404, #F9B208);
  border-radius: 2px;
  animation: progress 5s ease-in-out;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.progress-text {
  font-size: 0.9rem;
  opacity: 0.8;
  animation: pulse 1.5s ease-in-out infinite;
}

/* Loader Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes glow {
  0% {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  100% {
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.5);
  }
}

@keyframes progress {
  0% {
    width: 0%;
  }

  100% {
    width: 100%;
  }
}

/* Hide main content initially */
.container {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.container.loaded {
  opacity: 1;
}

/* Mobile Menu Styles */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  background: var(--card-hover);
  color: var(--accent-primary);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background: var(--bg-primary);
  border-left: 1px solid var(--border-color);
  transition: right 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.mobile-menu-close {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background: var(--card-hover);
  color: var(--accent-primary);
}

.mobile-menu-content {
  padding: 2rem 1.5rem;
}

.mobile-nav-link {
  display: block;
  color: var(--text-primary);
  text-decoration: none;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--accent-primary);
  padding-left: 1rem;
}

.mobile-nav-link:last-child {
  border-bottom: none;
}

.mobile-menu-controls {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-theme-switcher,
.mobile-lang-switcher {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  justify-content: center;
}

.mobile-theme-switcher:hover,
.mobile-lang-switcher:hover {
  background: var(--card-hover);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* RTL Support for Mobile Menu */
[dir="rtl"] .mobile-menu {
  right: auto;
  left: -100%;
}

[dir="rtl"] .mobile-menu.active {
  left: 0;
  right: auto;
}

[dir="rtl"] .mobile-nav-link:hover {
  padding-left: 0;
  padding-right: 1rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav {
    display: none;
  }

  .nav-container {
    justify-content: space-between;
  }
}

@media (min-width: 769px) {
  .mobile-menu {
    display: none;
  }
}

:root {
  --accent-primary: #FC5404;
  --accent-secondary: #F9B208;
  --accent-hover: #E44A00;
  --accent-secondary-hover: #E09F00;
  --text-primary: #ffffff;
  --text-secondary: #b3b3b3;
  --text-dark: #262626;
  --text-light: #666666;
  --border-color: rgba(255, 255, 255, 0.1);
  --card-bg: rgba(255, 255, 255, 0.05);
  --gradient-1: linear-gradient(135deg, #FC5404 0%, #F9B208 100%);
  --gradient-2: linear-gradient(135deg, #FC5404 0%, #FF6B35 100%);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
}

/* Light Mode Variables */
[data-theme="light"] {
  --bg-primary: #f4f4f4;
  --bg-secondary: #ffffff;
  --bg-tertiary: #e8e8e8;
  --text-primary: #262626;
  --text-secondary: #666666;
  --text-muted: #868e96;
  --border-color: rgba(38, 38, 38, 0.1);
  --card-bg: #ffffff;
  --card-hover: #f8f8f8;
  --nav-bg: rgba(244, 244, 244, 0.95);
  --hero-bg: linear-gradient(135deg, rgba(252, 84, 4, 0.1) 0%, rgba(249, 178, 8, 0.1) 100%);
  --hero-text: #262626;
  --shadow-sm: 0 2px 4px rgba(38, 38, 38, 0.05);
  --shadow-md: 0 4px 6px rgba(38, 38, 38, 0.07);
  --shadow-lg: 0 10px 15px rgba(38, 38, 38, 0.1);
  --shadow-xl: 0 20px 25px rgba(38, 38, 38, 0.15);
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --bg-primary: #262626;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #0d0d0d;
  --text-primary: #ffffff;
  --text-secondary: #b3b3b3;
  --text-muted: #8b8b8b;
  --border-color: rgba(255, 255, 255, 0.1);
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-hover: rgba(255, 255, 255, 0.08);
  --nav-bg: rgba(38, 38, 38, 0.95);
  --hero-bg: linear-gradient(135deg, rgba(252, 84, 4, 0.15) 0%, rgba(249, 178, 8, 0.15) 100%);
  --hero-text: #ffffff;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.6);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

.container {
  min-height: 100vh;
  position: relative;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-primary);
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width 0.3s ease;
}

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

/* Theme Switcher Styles */
.theme-switcher {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.5rem 1rem;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.theme-switcher:hover {
  background: var(--card-hover);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.theme-icon {
  font-size: 1rem;
}

.theme-text {
  font-size: 0.9rem;
}

/* Hero Section */
.hero {
  padding: 8rem 2rem 4rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--hero-bg);
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.plain-text {
  color: var(--text-primary);
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  text-shadow: none;
}

/* Ensure gradient text is visible in both themes */
[data-theme="light"] .gradient-text {
  background: linear-gradient(135deg, #FC5404 0%, #FF6B35 50%, #F9B208 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 1px 4px rgba(252, 84, 4, 0.1);
  filter: drop-shadow(0 1px 2px rgba(252, 84, 4, 0.05));
  position: relative;
}

[data-theme="light"] .gradient-text::before {
  display: none;
}

[data-theme="dark"] .gradient-text {
  background: linear-gradient(135deg, #FFB700 0%, #FC5404 50%, #FF6B35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 1px 4px rgba(252, 84, 4, 0.2);
  filter: drop-shadow(0 1px 2px rgba(252, 84, 4, 0.1));
  position: relative;
}

[data-theme="dark"] .gradient-text::before {
  display: none;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--accent-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(252, 84, 4, 0.3);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(252, 84, 4, 0.4);
}

.btn-secondary {
  background: var(--card-bg);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

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

.btn-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.btn-content small {
  font-size: 0.75rem;
  opacity: 0.8;
  font-weight: 400;
}

.btn-full {
  justify-content: center;
  width: 100%;
}

/* Phone Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

.phone-frame {
  width: 300px;
  height: 600px;
  background: linear-gradient(145deg, #1a1a1a, #262626);
  border-radius: 40px;
  padding: 10px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  position: relative;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #FC5404 0%, #F9B208 50%, #FF6B35 100%);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.app-preview {
  text-align: center;
  color: white;
  padding: 2rem;
}

.app-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  backdrop-filter: blur(5px);
}

.app-icon-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 12px;
}

.app-preview h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.app-preview p {
  opacity: 0.9;
  font-size: 1rem;
}

/* Features Section */
.features {
  padding: 6rem 2rem;
  background: var(--bg-primary);
  position: relative;
  transition: background 0.3s ease;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-5px);
  background: var(--card-hover);
  border-color: var(--accent-primary);
  box-shadow: 0 10px 30px rgba(252, 84, 4, 0.2);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Download Section */
.download {
  padding: 6rem 2rem;
  background: var(--bg-secondary);
  position: relative;
  transition: background 0.3s ease;
}

.download-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.download-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.download-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.download-options {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: stretch;
}

.download-cards-row {
  display: flex;
  gap: 2rem;
  align-items: stretch;
}

.download-card {
  flex: 1;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.download-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.download-card .download-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.download-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.download-card p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
  flex: 1;
}

.download-card .btn {
  margin-top: auto;
}

@media (max-width: 768px) {
  .download-options {
    padding: 4rem 1rem;
  }

  .download-cards-row {
    flex-direction: column;
  }
}

.download-card:hover {
  transform: translateY(-5px);
  background: var(--card-hover);
  border-color: var(--accent-primary);
}

.download-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

.download-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.download-card p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Contact Section */
.contact {
  padding: 6rem 2rem;
  background: var(--bg-primary);
  position: relative;
  transition: background 0.3s ease;
}

.contact-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.contact-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* Clickable Contact Method Links */
.contact-method-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.3s ease;
  border-radius: 16px;
}

.contact-method-link:hover {
  transform: translateY(-5px);
  text-decoration: none;
  color: inherit;
}

.contact-method-link:hover .contact-method {
  background: var(--card-hover);
  border-color: var(--accent-primary);
  box-shadow: 0 10px 30px rgba(252, 84, 4, 0.2);
}

.contact-method-link:focus {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* RTL Support for Contact Links */
[dir="rtl"] .contact-method-link:hover {
  transform: translateY(-5px) translateX(-5px);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-method {
  padding: 2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.contact-method:hover {
  transform: translateX(5px);
  background: var(--card-hover);
  border-color: var(--accent-primary);
  box-shadow: 0 5px 15px rgba(252, 84, 4, 0.2);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.contact-details p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link[href^="tel:"] {
  direction: ltr;
  unicode-bidi: embed;
}

.contact-link:hover {
  color: var(--accent-primary);
}

.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
}

.contact-form h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(252, 84, 4, 0.1);
}

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

.contact-form .btn {
  margin-top: 1rem;
}

/* Footer */
.footer {
  background: var(--bg-tertiary);
  padding: 3rem 2rem 1rem;
  border-top: 1px solid var(--border-color);
  transition: background 0.3s ease;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-logo-img {
  width: 35px;
  height: 35px;
  border-radius: 10px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

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

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

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

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

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

.social-link {
  width: 40px;
  height: 40px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    padding: 1rem;
  }

  .nav {
    display: none;
  }

  .hero {
    padding: 6rem 1rem 4rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.125rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .phone-frame {
    width: 250px;
    height: 500px;
  }

  .section-title {
    font-size: 2rem;
  }

  .features {
    padding: 4rem 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .contact {
    padding: 4rem 1rem;
  }

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

  .contact-form {
    padding: 2rem;
  }

  .download {
    padding: 4rem 1rem;
  }

  .download-options {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .phone-frame {
    width: 200px;
    height: 400px;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Language Switcher Styles */
.lang-switcher {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.5rem 1rem;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.lang-switcher:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.lang-text {
  font-size: 0.9rem;
}

/* RTL Support */
[dir="rtl"] {
  font-family: 'Cairo', 'Inter', sans-serif;
}

[dir="rtl"] .nav-container {
  flex-direction: row-reverse;
}

[dir="rtl"] .nav {
  flex-direction: row-reverse;
  gap: 2rem;
}

[dir="rtl"] .nav-link::after {
  left: auto;
  right: 0;
}

[dir="rtl"] .theme-switcher,
[dir="rtl"] .lang-switcher {
  flex-direction: row-reverse;
}

[dir="rtl"] .nav-link:hover::after {
  width: 100%;
}

[dir="rtl"] .hero-content {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

[dir="rtl"] .hero-buttons {
  flex-direction: row-reverse;
}

[dir="rtl"] .features-grid {
  direction: rtl;
}

[dir="rtl"] .contact-content {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

[dir="rtl"] .contact-methods {
  direction: rtl;
}

[dir="rtl"] .contact-method {
  flex-direction: row;
  gap: 1rem;
}

[dir="rtl"] .contact-method:hover {
  transform: translateY(-2px);
}

[dir="rtl"] .footer-content {
  direction: rtl;
}

[dir="rtl"] .social-links {
  justify-content: flex-start;
}

[dir="rtl"] .btn-content {
  align-items: flex-end;
}

[dir="rtl"] .download-options {
  direction: rtl;
}

[dir="rtl"] .form-group input,
[dir="rtl"] .form-group textarea {
  text-align: right;
}

[dir="rtl"] .notification-content {
  flex-direction: row-reverse;
}

/* Responsive RTL */
@media (max-width: 768px) {
  [dir="rtl"] .hero-content {
    grid-template-columns: 1fr;
  }

  [dir="rtl"] .contact-content {
    grid-template-columns: 1fr;
  }

  [dir="rtl"] .download-options {
    grid-template-columns: 1fr;
  }

  [dir="rtl"] .footer-content {
    grid-template-columns: 1fr;
  }
}

/* Loading Animation */
@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.loading {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}