/* public/assets/css/style.css */

/* ==========================================
   متغيرات CSS
   ========================================== */
:root {
  --primary-color: #ff4757;
  --secondary-color: #2f3542;
  --success-color: #2ed573;
  --warning-color: #ffa502;
  --danger-color: #ff3838;
  --info-color: #3742fa;
  --light-color: #f8f9fa;
  --dark-color: #2c2c54;
  --gradient-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-accent: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.2);
  --border-radius: 15px;
  --border-radius-lg: 25px;
  --transition: all 0.3s ease;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
}

/* ==========================================
   الإعدادات العامة
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Tajawal', sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  overflow-x: hidden;
  font-size: var(--font-size-base);
}

html {
  scroll-behavior: smooth;
}

/* ==========================================
   التنقل والهيدر
   ========================================== */
.navbar {
  padding: 1rem 0;
  transition: var(--transition);
  box-shadow: var(--shadow);
  background: var(--gradient-bg) !important;
}

.navbar-brand {
  font-weight: 900;
  font-size: 1.8rem;
  color: white !important;
}

.brand-text {
  background: linear-gradient(45deg, #fff, #f1f2f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem !important;
  border-radius: var(--border-radius-lg);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white !important;
  transform: translateY(-2px);
}

/* ==========================================
   القسم الرئيسي (Hero)
   ========================================== */
.hero-section {
  background: var(--gradient-bg);
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  animation: float 20s ease-in-out infinite;
}

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

.hero-content {
  z-index: 2;
  position: relative;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #fff, #f1f2f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-description {
  font-size: var(--font-size-lg);
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.hero-stats {
  margin: 2rem 0;
}

.stat-item {
  text-align: center;
  margin-bottom: 1rem;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--warning-color);
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-buttons {
  margin-top: 2rem;
}

.hero-buttons .btn {
  padding: 1rem 2rem;
  font-size: var(--font-size-lg);
  border-radius: var(--border-radius-lg);
  font-weight: 600;
  transition: var(--transition);
  border: none;
  box-shadow: var(--shadow);
}

.hero-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* صورة الهيرو */
.hero-image {
  position: relative;
  z-index: 2;
  text-align: center;
}

.phone-mockup {
  position: relative;
  display: inline-block;
  margin-top: 2rem;
}

.phone-screen {
  width: 300px;
  height: 600px;
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  border-radius: 35px;
  padding: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25), inset 0 2px 4px rgba(255, 255, 255, 0.9);
  border: 8px solid #2c2c54;
  position: relative;
  animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(-2deg);
  }
  50% {
    transform: translateY(-15px) rotate(2deg);
  }
}

.app-interface {
  background: var(--gradient-bg);
  border-radius: var(--border-radius-lg);
  padding: 25px;
  height: 100%;
  color: white;
  position: relative;
  overflow: hidden;
}

.app-header {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.5rem;
  font-weight: 700;
}

.app-header i {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
  color: var(--warning-color);
}

.location-input {
  background: rgba(255, 255, 255, 0.2);
  padding: 15px;
  border-radius: var(--border-radius);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  backdrop-filter: blur(10px);
}

.location-input i {
  margin-left: 10px;
  color: var(--warning-color);
}

.categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.category {
  background: rgba(255, 255, 255, 0.15);
  padding: 20px;
  border-radius: var(--border-radius);
  text-align: center;
  font-size: 0.9rem;
  backdrop-filter: blur(5px);
  transition: var(--transition);
}

.category:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

/* موجة القسم الرئيسي */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.hero-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 100px;
}

.hero-wave .shape-fill {
  fill: #f8f9fa;
}

/* ==========================================
   العناوين والأقسام
   ========================================== */
.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--dark-color);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.section-subtitle {
  font-size: var(--font-size-xl);
  color: #666;
  font-weight: 400;
}

/* ==========================================
   بطاقات المميزات
   ========================================== */
.feature-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: var(--transition);
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
  transition: var(--transition);
}

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

.feature-card h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.feature-card p {
  color: #666;
  line-height: 1.8;
  font-size: var(--font-size-base);
}

/* ==========================================
   خطوات العمل
   ========================================== */
.step-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  position: relative;
  height: 100%;
}

.step-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.step-number {
  position: absolute;
  top: -20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: var(--font-size-lg);
}

.step-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem auto 1.5rem;
  color: var(--dark-color);
  font-size: 2rem;
}

.step-card h4 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.step-card p {
  color: #666;
  line-height: 1.8;
}

/* ==========================================
   مناطق التغطية
   ========================================== */
.coverage-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  height: 100%;
  transition: var(--transition);
}

.coverage-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.current-coverage {
  border-top: 4px solid var(--success-color);
}

.future-coverage {
  border-top: 4px solid var(--warning-color);
}

.coverage-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.coverage-header i {
  font-size: 1.5rem;
  color: var(--success-color);
}

.future-coverage .coverage-header i {
  color: var(--warning-color);
}

.coverage-header h4 {
  color: var(--dark-color);
  font-weight: 700;
  margin: 0;
  flex: 1;
}

.coverage-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.coverage-list li {
  padding: 0.8rem 0;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f1f3f4;
}

.coverage-list li:last-child {
  border-bottom: none;
}

.coverage-list i {
  color: var(--primary-color);
  margin-left: 0.8rem;
  width: 20px;
}

.coverage-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f1f3f4;
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  color: var(--dark-color);
  font-size: var(--font-size-lg);
  font-weight: 700;
}

.stat span {
  color: #666;
  font-size: 0.9rem;
}

.expansion-timeline {
  background: rgba(255, 170, 2, 0.1);
  padding: 1rem;
  border-radius: 10px;
  border-right: 4px solid var(--warning-color);
  margin-top: 1.5rem;
}

.expansion-timeline p {
  margin: 0;
  color: #666;
  font-weight: 500;
}

/* ==========================================
   بطاقات الشركاء
   ========================================== */
.partner-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.partner-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.partner-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.partner-card h5 {
  color: var(--dark-color);
  font-weight: 700;
  margin-bottom: 1rem;
}

.partner-card p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================
   حاسبة الأسعار
   ========================================== */
.pricing-calculator {
  background: white;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 3px solid var(--primary-color);
  position: relative;
  overflow: hidden;
}

.pricing-calculator::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-bg);
}

.pricing-calculator h4 {
  color: var(--dark-color);
  font-weight: 700;
  margin-bottom: 2rem;
}

.form-label {
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.8rem;
}

.form-select,
.form-control {
  padding: 1rem;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: var(--font-size-base);
  transition: var(--transition);
  background: white;
}

.form-select:focus,
.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
}

/* ==========================================
   جدول الأسعار
   ========================================== */
.pricing-table {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.pricing-table h4 {
  color: var(--dark-color);
  font-weight: 700;
  margin-bottom: 2rem;
}

.table {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.table thead th {
  background: var(--gradient-bg);
  color: white;
  border: none;
  padding: 1.2rem 1rem;
  font-weight: 600;
  text-align: center;
}

.table tbody td {
  padding: 1rem;
  border-color: #f1f3f4;
  vertical-align: middle;
  text-align: center;
}

.table tbody tr:hover {
  background: rgba(255, 71, 87, 0.05);
  transform: scale(1.01);
  transition: var(--transition);
}

/* ==========================================
   العروض الخاصة
   ========================================== */
.special-offers {
  margin-top: 3rem;
}

.offer-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid var(--primary-color);
  height: 100%;
}

.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.offer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.offer-header h5 {
  color: var(--dark-color);
  font-weight: 700;
  margin: 0;
}

.offer-discount {
  background: var(--primary-color);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: var(--border-radius-lg);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ==========================================
   شهادات العملاء
   ========================================== */
.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.stars {
  color: var(--warning-color);
  margin-bottom: 1rem;
  font-size: var(--font-size-lg);
}

.testimonial-card p {
  color: #666;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: var(--font-size-base);
}

.customer-info {
  border-top: 1px solid #f1f3f4;
  padding-top: 1rem;
}

.customer-info strong {
  display: block;
  color: var(--dark-color);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.customer-info span {
  color: #666;
  font-size: 0.9rem;
}

/* ==========================================
   ساعات العمل
   ========================================== */
.hours-item {
  padding: 2rem;
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.hours-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.2);
}

.hours-item i {
  opacity: 0.8;
}

.hours-item h4 {
  font-weight: 700;
  margin: 1rem 0;
}

/* ==========================================
   قسم التحميل
   ========================================== */
.download-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark-color);
  margin-bottom: 1.5rem;
}

.features-list {
  margin: 2rem 0;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(255, 71, 87, 0.05);
  border-radius: 10px;
  transition: var(--transition);
}

.feature-item:hover {
  background: rgba(255, 71, 87, 0.1);
  transform: translateX(10px);
}

.feature-item i {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-left: 1rem;
  width: 30px;
}

.feature-item span {
  font-weight: 500;
  color: var(--dark-color);
}

.download-buttons {
  margin: 2rem 0;
}

.download-buttons .btn {
  padding: 1rem 2rem;
  font-size: var(--font-size-lg);
  border-radius: 10px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.download-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* زر التحميل المباشر */
.direct-download-btn {
  background: linear-gradient(135deg, #2ed573 0%, #17a2b8 100%);
  border: none;
  color: white;
  position: relative;
  animation: pulse-glow 2s infinite;
}

.direct-download-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: var(--transition);
}

.direct-download-btn:hover::before {
  left: 100%;
}

.direct-download-btn:hover {
  background: linear-gradient(135deg, #17a2b8 0%, #2ed573 100%);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(46, 213, 115, 0.4);
}

.direct-download-btn small {
  font-size: 0.75rem;
  opacity: 0.9;
  font-weight: 400;
}

/* أزرار قريباً */
.coming-soon-btn {
  background: #6c757d;
  border: none;
  color: white;
  opacity: 0.8;
  cursor: not-allowed;
}

.coming-soon-btn:hover {
  background: #5a6268;
  transform: translateY(-2px);
  opacity: 1;
}

/* تأثير النبض للزر المباشر */
@keyframes pulse-glow {
  0% {
    box-shadow: 0 8px 25px rgba(46, 213, 115, 0.3);
  }
  50% {
    box-shadow: 0 8px 35px rgba(46, 213, 115, 0.5);
  }
  100% {
    box-shadow: 0 8px 25px rgba(46, 213, 115, 0.3);
  }
}

.coming-soon-notice {
  margin-top: 2rem;
}

/* معاينة التطبيق */
.app-preview {
  position: relative;
  margin-top: 2rem;
}

.phone-frame {
  width: 280px;
  height: 560px;
  background: linear-gradient(145deg, #2c2c54, #40407a);
  border-radius: 35px;
  padding: 20px;
  margin: 0 auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), inset 0 2px 10px rgba(255, 255, 255, 0.1);
  position: relative;
  animation: phoneFloat 8s ease-in-out infinite;
}

.phone-content {
  width: 100%;
  height: 100%;
  background: var(--gradient-bg);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  position: relative;
}

.app-screen {
  padding: 30px 20px;
  height: 100%;
  color: white;
}

.screen-header {
  text-align: center;
  margin-bottom: 40px;
}

.status-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  margin-bottom: 20px;
}

.screen-header h5 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.location-section {
  background: rgba(255, 255, 255, 0.2);
  padding: 15px;
  border-radius: var(--border-radius);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  backdrop-filter: blur(10px);
}

.location-section i {
  margin-left: 10px;
  color: var(--warning-color);
}

.categories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 30px;
}

.category-item {
  background: rgba(255, 255, 255, 0.15);
  padding: 25px;
  border-radius: var(--border-radius);
  text-align: center;
  font-size: 2rem;
  backdrop-filter: blur(5px);
  transition: var(--transition);
}

.category-item:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.order-button {
  background: var(--primary-color);
  color: white;
  padding: 15px;
  border-radius: var(--border-radius-lg);
  text-align: center;
  font-weight: 600;
  margin-top: auto;
  box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3);
  transition: var(--transition);
}

.order-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 71, 87, 0.4);
}

/* ==========================================
   الفوتر
   ========================================== */
footer {
  background: var(--dark-color) !important;
}

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

footer p,
footer li {
  color: rgba(255, 255, 255, 0.8);
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  transition: var(--transition);
}

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

.contact-info p {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.contact-info i {
  width: 20px;
  color: var(--primary-color);
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-right: 10px;
}

/* ==========================================
   زر العودة للأعلى
   ========================================== */
.btn-back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 1000;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
}

.btn-back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.btn-back-to-top:hover {
  background: var(--dark-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* ==========================================
   الأزرار
   ========================================== */
.btn {
  font-weight: 600;
  border-radius: var(--border-radius-lg);
  padding: 0.8rem 2rem;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-bg);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-danger {
  background: var(--primary-color);
  border: none;
}

.btn-danger:hover {
  background: #ff3838;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 71, 87, 0.3);
}

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

.btn-outline-light:hover {
  background: white;
  color: var(--dark-color);
  border-color: white;
}

.badge {
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-lg);
}

/* ==========================================
   التحسينات الإضافية
   ========================================== */
.alert {
  border-radius: var(--border-radius);
  border: none;
  padding: 1.2rem;
  font-weight: 500;
}

.alert-success {
  background: rgba(46, 213, 115, 0.1);
  color: var(--success-color);
  border-right: 4px solid var(--success-color);
}

.alert-info {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  border-right: 4px solid #667eea;
}

/* تحسين التحديد */
::selection {
  background: var(--primary-color);
  color: white;
}

::-moz-selection {
  background: var(--primary-color);
  color: white;
}

/* تحسين شريط التمرير */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--dark-color);
}

/* تأثيرات الحركة */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

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

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

/* ==========================================
   الاستجابة للهواتف
   ========================================== */
@media (max-width: 768px) {
  :root {
    --font-size-base: 0.9rem;
    --font-size-lg: 1rem;
    --font-size-xl: 1.1rem;
  }

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

  .hero-subtitle {
    font-size: 1.3rem;
  }

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

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

  .phone-frame {
    width: 220px;
    height: 440px;
  }

  .feature-card,
  .step-card,
  .coverage-card,
  .partner-card,
  .testimonial-card {
    margin-bottom: 2rem;
  }

  .hero-buttons .btn,
  .download-buttons .btn {
    display: block;
    margin-bottom: 1rem;
    width: 100%;
    text-align: center;
  }

  .download-buttons .btn {
    padding: 1.2rem 1rem;
    font-size: 1rem;
  }

  .direct-download-btn {
    font-size: 1.1rem;
    padding: 1.3rem 1rem;
  }

  .table-responsive {
    font-size: 0.8rem;
  }

  .btn-back-to-top {
    bottom: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
  }

  .coverage-stats {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .offer-header {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

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

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

  .pricing-calculator,
  .feature-card,
  .step-card {
    padding: 1.5rem;
  }

  .hero-section {
    padding-top: 100px;
  }

  .stat-item h3 {
    font-size: 2rem;
  }

  .step-number {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .feature-icon,
  .step-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* تحسينات الأداء للأجهزة البطيئة */
.low-performance * {
  animation-duration: 0.1s !important;
  transition-duration: 0.1s !important;
}

.low-performance .hero-section::before {
  animation: none;
}

.low-performance .phone-screen,
.low-performance .phone-frame {
  animation: none;
}
