/* Taqeem Landing Page - Standalone CSS */
/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Tajawal:wght@400;500;700&display=swap');

/* CSS Variables */
:root {
  --primary: 212 95% 31%;
  --primary-foreground: 0 0% 100%;
  --accent: 172 75% 39%;
  --accent-foreground: 0 0% 100%;
  --highlight: 45 100% 62%;
  --highlight-foreground: 220 18% 23%;
  --background: 210 20% 98%;
  --foreground: 220 18% 23%;
  --muted: 210 15% 92%;
  --muted-foreground: 220 10% 46%;
  --border: 210 15% 88%;
  --card: 0 0% 100%;
  --card-foreground: 220 18% 23%;
  --radius: 0.75rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  overflow-x: hidden;
}

/* Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.animate-slide-up {
  animation: slideUp 0.6s ease-out forwards;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-pulse-soft {
  animation: pulseSoft 3s ease-in-out infinite;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes pulseSoft {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.font-arabic {
  font-family: 'Tajawal', sans-serif;
}

.font-english {
  font-family: 'Inter', sans-serif;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.grid { display: grid; }
.relative { position: relative; }
.absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }
.z-10 { z-index: 10; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-foreground { color: hsl(var(--foreground)); }
.text-muted { color: hsl(var(--muted-foreground)); }
.text-primary { color: hsl(var(--primary)); }
.text-accent { color: hsl(var(--accent)); }
.text-highlight { color: hsl(var(--highlight)); }
.text-white { color: white; }

.gradient-text {
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.btn:active {
  transform: scale(0.98);
}

.btn:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
}

.btn-primary {
  background: #133687;
  color: white;
  box-shadow: 0 10px 30px -10px rgba(19, 54, 135, 0.4);
}

.btn-primary:hover {
  background: #0f2a6b;
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(19, 54, 135, 0.3), 0 15px 40px -10px rgba(19, 54, 135, 0.5);
}

.btn-primary:focus-visible {
  outline-color: hsl(var(--accent));
}

.btn-outline {
  background: transparent;
  color: #133687;
  border: 2px solid #133687;
}

.btn-outline:hover {
  background: #133687;
  color: white;
  border-color: #133687;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: hsl(var(--muted-foreground));
}

.btn-ghost:hover {
  color: hsl(var(--foreground));
  background: hsl(var(--muted));
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Cards */
.card {
  background: hsl(var(--card));
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px hsl(var(--foreground) / 0.1);
}

.glass-card {
  background: hsl(var(--card) / 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: var(--radius);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: transform 0.3s ease;
}

.badge:hover {
  transform: scale(1.05);
}

/* Staggered Animation Delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }

/* Icon Sizing */
.btn i[data-feather],
.badge i[data-feather] {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2.5;
}

i[data-feather] {
  vertical-align: middle;
  display: inline-block;
}

/* Sections */
section {
  padding: 5rem 0;
}

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

/* ==================== NAVBAR ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: hsl(var(--background) / 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid hsl(var(--border) / 0.5);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: hsl(var(--background));
  box-shadow: 0 4px 20px hsl(var(--foreground) / 0.05);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: transform 0.3s ease;
  z-index: 51;
}

.navbar-logo:hover {
  transform: scale(1.05);
}

.navbar-logo-img {
  height: 6.25rem;
  width: auto;
  object-fit: contain;
  margin-right: 0.75rem;
}

.footer-logo-wrapper {
  display: inline-block;
}

.footer-logo-img {
  height: 3.75rem;
  width: auto;
  object-fit: contain;
  display: block;
}

.navbar-logo-text span:first-child,
.navbar-logo-text .brand-name {
  font-family: 'Tajawal', sans-serif;
  font-weight: 800 !important;
  font-size: 1.375rem !important;
  color: #000000 !important;
  display: block;
  line-height: 1.2;
}

.navbar-logo-text span:last-child {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.navbar-links a {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #133687;
  transition: width 0.3s ease;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: hsl(var(--foreground));
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 100%;
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Switcher */
.language-switcher {
  display: flex;
  align-items: center;
  margin: 0 1.5rem;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: calc(var(--radius) * 0.75);
  background: hsl(var(--muted) / 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid hsl(var(--border) / 0.6);
  color: hsl(var(--foreground));
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.language-toggle::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(19, 54, 135, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.language-toggle:hover::before {
  opacity: 1;
}

.language-toggle:hover {
  background: hsl(var(--muted));
  border-color: hsl(var(--border));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(19, 54, 135, 0.1);
}

.language-toggle:active {
  transform: translateY(0);
}

.language-toggle i:first-child {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary));
}

.language-code {
  font-weight: 600;
  letter-spacing: 0.025em;
  position: relative;
  z-index: 1;
}

.language-toggle .chevron {
  width: 0.875rem;
  height: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: transform 0.3s ease;
}

.language-toggle:hover .chevron {
  transform: translateY(2px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: hsl(var(--foreground));
  padding: 0.5rem;
  z-index: 51;
  transition: transform 0.3s ease;
}

.mobile-menu-btn:active {
  transform: scale(0.95);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 5rem;
  left: 0;
  right: 0;
  bottom: 0;
  background: hsl(var(--background));
  padding: 2rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 40;
}

.mobile-menu.active {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transform: translateX(0);
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  list-style: none;
}

.mobile-menu-links a {
  color: hsl(var(--foreground));
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.mobile-menu-links a:hover {
  color: hsl(var(--primary));
}

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

.mobile-menu-language {
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border));
  margin-top: auto;
}

.mobile-menu-language .language-toggle {
  width: 100%;
  justify-content: center;
  padding: 0.75rem 1rem;
}

@media (max-width: 768px) {
  .navbar-links,
  .navbar-cta,
  .language-switcher {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, hsl(var(--primary) / 0.08), transparent 50%),
              radial-gradient(ellipse at bottom left, hsl(var(--accent) / 0.08), transparent 50%);
  animation: pulseSoft 8s ease-in-out infinite;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, hsl(var(--primary) / 0.1), transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: 15%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, hsl(var(--accent) / 0.1), transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite 2s;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-content {
  max-width: 600px;
}

.hero-arabic {
  font-size: 1.5rem;
  color: hsl(var(--accent));
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
  line-height: 1.7;
}

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

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
}

.hero-stat h4 {
  font-size: 2rem;
  color: hsl(var(--primary));
}

.hero-stat p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.hero-visual {
  position: relative;
  animation: float 6s ease-in-out infinite 1s;
}

.hero-mockup {
  background: hsl(var(--card));
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px hsl(var(--primary) / 0.15);
  border: 1px solid hsl(var(--border));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-mockup:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px -15px hsl(var(--primary) / 0.2);
}

.hero-mockup-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid hsl(var(--border));
}

.hero-mockup-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #68D391;
}

.hero-mockup-rating {
  display: flex;
  gap: 0.25rem;
  margin-top: 1rem;
}

.star {
  color: hsl(var(--highlight));
  font-size: 1.5rem;
}

.hero-mockup-text {
  color: hsl(var(--muted-foreground));
  font-style: italic;
  margin-top: 1rem;
}

@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    margin: 0 auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-visual {
    display: none;
  }
  .hero-title {
    font-size: 2.5rem;
  }
}

/* ==================== HERO EXTENDED (FEATURES & DASHBOARD) ==================== */
.hero-extended {
  padding: 4rem 0;
  background: hsl(var(--background));
  position: relative;
  overflow: hidden;
}

/* Feature Pills */
.hero-features-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.feature-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.feature-pill i {
  width: 1rem;
  height: 1rem;
  color: #68D391;
}

.feature-pill span {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
}

/* Dashboard Preview */
.dashboard-preview-wrapper {
  position: relative;
  max-width: 80rem;
  margin: 0 auto;
}

.dashboard-preview-glass {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1.5rem;
  padding: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(19, 54, 135, 0.15);
}

@media (min-width: 768px) {
  .dashboard-preview-glass {
    padding: 1rem;
  }
}

.dashboard-preview-screen {
  background: hsl(var(--secondary) / 0.5);
  border-radius: 1rem;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dashboard-preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(19, 54, 135, 0.1) 0%, transparent 50%, rgba(104, 211, 145, 0.1) 100%);
}

.dashboard-preview-content {
  text-align: center;
  z-index: 10;
  position: relative;
}

.dashboard-preview-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 1rem;
  background: rgba(19, 54, 135, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.dashboard-preview-icon i {
  width: 2.5rem;
  height: 2.5rem;
  color: #133687;
}

.dashboard-preview-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.5rem;
}

.dashboard-preview-subtitle {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Floating Dashboard Cards */
.dashboard-float-card {
  position: absolute;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  display: none;
  align-items: center;
  gap: 0.75rem;
  animation: floatUpIn 0.6s ease-out forwards;
}

@media (min-width: 1024px) {
  .dashboard-float-card {
    display: flex;
  }
}

.dashboard-float-left {
  left: -2rem;
  top: 25%;
  animation-delay: 0.3s;
  opacity: 0;
}

.dashboard-float-right {
  right: -2rem;
  top: 33%;
  animation-delay: 0.5s;
  opacity: 0;
}

.dashboard-float-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dashboard-float-icon-star {
  background: rgba(246, 224, 94, 0.2);
}

.dashboard-float-icon-star i {
  width: 1.25rem;
  height: 1.25rem;
  color: #F6E05E;
}

.dashboard-float-icon-growth {
  background: rgba(104, 211, 145, 0.2);
}

.dashboard-float-icon-growth i {
  width: 1.25rem;
  height: 1.25rem;
  color: #68D391;
}

.dashboard-float-info {
  display: flex;
  flex-direction: column;
}

.dashboard-float-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin: 0;
  line-height: 1;
}

.dashboard-float-label {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin: 0.25rem 0 0 0;
}

@keyframes floatUpIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== PROBLEM ==================== */
.problem {
  background: linear-gradient(180deg, hsl(var(--background)), hsl(var(--muted) / 0.3));
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.problem-card {
  text-align: center;
  padding: 2.5rem;
}

.problem-card-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.problem-card:hover .problem-card-icon {
  transform: scale(1.1) rotate(5deg);
}

.problem-card-icon.red {
  background: hsl(0 70% 50% / 0.1);
  color: hsl(0 70% 50%);
}

.problem-card-icon.yellow {
  background: hsl(var(--highlight) / 0.1);
  color: hsl(var(--highlight));
}

.problem-card-icon.blue {
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}

.problem-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.problem-card p {
  color: hsl(var(--muted-foreground));
  font-size: 0.9375rem;
}

/* Problem Stats Grid */
.problem-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid hsl(var(--border));
}

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

.problem-stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.problem-stat-label {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.4;
}

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

  .problem-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
  }

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

/* ==================== HOW IT WORKS ==================== */
.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.how-it-works-grid::before {
  content: '';
  position: absolute;
  top: 3rem;
  left: 10%;
  right: 10%;
  height: 2px;
  background: #133687;
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.step-number.step-1 { background: hsl(var(--primary)); }
.step-number.step-2 { background: hsl(var(--accent)); }
.step-number.step-3 { background: hsl(var(--highlight)); color: hsl(var(--foreground)); }
.step-number.step-4 { background: hsl(var(--primary)); }

.step-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
}

.step-card:hover .step-icon {
  transform: scale(1.2);
}

@media (max-width: 1024px) {
  .how-it-works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .how-it-works-grid::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .how-it-works-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================== CASE STUDIES ==================== */
.case-studies {
  background: linear-gradient(180deg, hsl(var(--muted) / 0.3), hsl(var(--background)));
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.case-card {
  overflow: hidden;
  border-radius: var(--radius);
}

.case-card-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.case-card-image.cafe {
  background: hsl(30 60% 90%);
}

.case-card-image.fashion {
  background: hsl(330 60% 90%);
}

.case-card-content {
  padding: 1.5rem;
}

.case-card-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.case-card-badge.cafe {
  background: hsl(var(--highlight) / 0.1);
  color: hsl(var(--highlight-foreground));
}

.case-card-badge.fashion {
  background: hsl(var(--accent) / 0.1);
  color: hsl(var(--accent));
}

.case-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.case-card p {
  color: hsl(var(--muted-foreground));
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

.case-card-stats {
  display: flex;
  gap: 2rem;
}

.case-card-stat span:first-child {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--primary));
}

.case-card-stat span:last-child {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

@media (max-width: 768px) {
  .case-studies-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================== BENEFITS ==================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.benefit-card {
  text-align: center;
  padding: 2.5rem 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -15px hsl(var(--primary) / 0.15);
}

.benefit-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.15) rotate(-5deg);
}

.benefit-icon.trust {
  background: linear-gradient(135deg, hsl(var(--primary) / 0.1), hsl(var(--primary) / 0.2));
  color: hsl(var(--primary));
}

.benefit-icon.insights {
  background: linear-gradient(135deg, hsl(var(--accent) / 0.1), hsl(var(--accent) / 0.2));
  color: hsl(var(--accent));
}

.benefit-icon.growth {
  background: linear-gradient(135deg, hsl(var(--highlight) / 0.1), hsl(var(--highlight) / 0.2));
  color: hsl(var(--highlight-foreground));
}

.benefit-icon.instant {
  background: linear-gradient(135deg, hsl(45 90% 51% / 0.1), hsl(45 90% 51% / 0.2));
  color: hsl(45 90% 51%);
}

.benefit-icon.bilingual {
  background: linear-gradient(135deg, hsl(165 70% 50% / 0.1), hsl(165 70% 50% / 0.2));
  color: hsl(165 70% 50%);
}

.benefit-icon.customer {
  background: linear-gradient(135deg, hsl(340 82% 52% / 0.1), hsl(340 82% 52% / 0.2));
  color: hsl(340 82% 52%);
}

.benefit-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.benefit-card .arabic-title {
  font-size: 1rem;
  color: hsl(var(--accent));
  margin-bottom: 1rem;
}

.benefit-card p {
  color: hsl(var(--muted-foreground));
  font-size: 0.9375rem;
}

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

@media (min-width: 769px) and (max-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==================== PARTNERS ==================== */
.partners {
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(212 95% 25%));
  color: white;
}

.partners .section-header h2,
.partners .section-header p {
  color: white;
}

.partners .section-header p {
  opacity: 0.9;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.partner-benefit {
  text-align: center;
  padding: 2rem;
  background: hsl(0 0% 100% / 0.1);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s ease, background 0.3s ease;
}

.partner-benefit:hover {
  transform: translateY(-5px);
  background: hsl(0 0% 100% / 0.15);
}

.partner-benefit-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: hsl(0 0% 100% / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.partner-benefit:hover .partner-benefit-icon {
  transform: scale(1.1);
  background: hsl(0 0% 100% / 0.3);
}

.partner-benefit h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.partner-benefit p {
  opacity: 0.9;
  font-size: 0.875rem;
}

.partners-flags {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.flags-container {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}

.flag {
  font-size: 2rem;
  transition: transform 0.3s ease;
  cursor: default;
}

.flag:hover {
  transform: scale(1.2);
}

.partners-cta {
  text-align: center;
  margin-top: 2rem;
}

.partners-cta .btn {
  background: white;
  color: hsl(var(--primary));
}

.partners-cta .btn:hover {
  background: hsl(var(--highlight));
}

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

/* ==================== PRICING ==================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

.pricing-card {
  padding: 2.5rem;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card.popular {
  border: 2px solid hsl(var(--primary));
  box-shadow: 0 20px 40px -15px hsl(var(--primary) / 0.2);
}

.pricing-popular-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.pricing-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.pricing-card:hover .pricing-icon {
  transform: scale(1.1) rotate(-5deg);
}

.pricing-icon.silver {
  background: linear-gradient(135deg, #C0C0C0, #E8E8E8);
  color: #666;
}

.pricing-icon.gold {
  background: linear-gradient(135deg, hsl(var(--highlight)), hsl(45 100% 70%));
  color: hsl(var(--highlight-foreground));
}

.pricing-icon.platinum {
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
  color: white;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.pricing-card .arabic-name {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: hsl(var(--primary));
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: hsl(var(--muted-foreground));
}

.pricing-features {
  list-style: none;
  margin: 1.5rem 0;
}

.pricing-features li {
  padding: 0.5rem 0;
  color: hsl(var(--muted-foreground));
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-features li::before {
  content: '✓';
  color: hsl(var(--accent));
  font-weight: 700;
}

.pricing-card .btn {
  width: 100%;
}

/* Period Toggle Buttons */
.pricing-period-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.period-btn {
  position: relative;
  padding: 0.75rem 1.5rem;
  border: 2px solid hsl(var(--border));
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.period-btn:hover {
  border-color: hsl(var(--accent));
  background: hsl(var(--accent) / 0.05);
  transform: translateY(-2px);
}

.period-btn.active {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  border-color: hsl(var(--accent));
}

.period-btn .save-badge {
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  background: hsl(var(--highlight));
  color: hsl(var(--highlight-foreground));
  border-radius: 1rem;
  font-weight: 600;
}

.period-btn.active .save-badge {
  background: hsl(var(--accent-foreground));
  color: hsl(var(--accent));
}

/* Price animation */
.pricing-price {
  transition: opacity 0.3s ease;
}

.pricing-price.updating {
  opacity: 0.5;
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .pricing-period-toggle {
    flex-direction: column;
    gap: 0.5rem;
  }

  .period-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

/* ==================== CTA ==================== */
.cta {
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, hsl(var(--primary) / 0.05), transparent 70%);
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 4rem;
  position: relative;
  z-index: 10;
}

.cta-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: #68D391;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2rem;
  color: white;
  box-shadow: 0 0 40px rgba(104, 211, 145, 0.4);
  animation: pulseSoft 3s ease-in-out infinite;
}

.cta-arabic {
  font-size: 1.25rem;
  color: hsl(var(--accent));
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta p {
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-note {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* ==================== FOOTER ==================== */
.footer {
  background: hsl(var(--foreground));
  color: white;
  padding: 4rem 0 2rem;
}

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

.footer-brand p {
  opacity: 0.7;
  margin: 1rem 0;
  font-size: 0.9375rem;
}

.footer-contact {
  margin: 1.5rem 0;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  opacity: 0.8;
}

.footer-contact-item i {
  width: 1rem;
  height: 1rem;
}

.footer-contact-item a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-contact-item a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-regions {
  margin: 1.5rem 0;
}

.footer-regions-label {
  display: block;
  font-size: 0.875rem;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

.footer-flags {
  display: flex;
  gap: 0.75rem;
}

.footer-flag {
  font-size: 1.5rem;
  cursor: default;
  transition: transform 0.3s ease;
}

.footer-flag:hover {
  transform: scale(1.2);
}

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

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: hsl(0 0% 100% / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: hsl(var(--primary));
  transform: translateY(-3px);
  box-shadow: 0 10px 20px hsl(var(--primary) / 0.3);
}

.footer-column h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
}

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

.footer-column a {
  color: hsl(0 0% 100% / 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-column a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid hsl(0 0% 100% / 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  opacity: 0.7;
  font-size: 0.875rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: hsl(0 0% 100% / 0.7);
  text-decoration: none;
  font-size: 0.875rem;
}

.footer-bottom-links a:hover {
  color: white;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
