:root {
  --primary-color: #4361ee;
  --secondary-color: #3f37c9;
  --accent-color: #4895ef;
  --success-color: #20c997;
  --dark-color: #1a1a2e;
  --light-color: #f8f9fa;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Tajawal', sans-serif;
  --light-color: #aac5e0;

}
body {
  font-family: 'Tajawal', sans-serif;
  background-color: var(--light-color);
  padding: 20px;
  color: var(--dark-color);
}





/* قسم الهيرو*/
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 6rem 0;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1;
  min-width: 300px;
  padding-right: 2rem;
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  position: relative;
}

.highlight-part {
  color: var(--success-color);
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  max-width: 500px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.cta-btn {
  background: var(--success-color);
  color: white;
  padding: 1.1rem 2.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(32, 201, 151, 0.3);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(32, 201, 151, 0.4);
  background: #1aa179;
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  padding: 1.1rem 2.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.hero-image {
  flex: 1;
  min-width: 300px;
  position: relative;
  animation: fadeIn 1s ease-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-image {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  transition: transform 0.5s ease;
}

.hero-image:hover .main-image {
  transform: scale(1.02);
}

/* إحصائيات وأرقام */
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 1.2rem 1.8rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 140px;
  text-align: center;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
  color: white;
}

.stat-label {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* خلفية تفاعلية */
.hero-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  animation: pulse 15s infinite alternate;
}

.circle-1 {
  width: 500px;
  height: 500px;
  top: -200px;
  left: -200px;
  animation-delay: 0s;
}

.circle-2 {
  width: 300px;
  height: 300px;
  bottom: -100px;
  right: -100px;
  animation-delay: 2s;
}

.circle-3 {
  width: 200px;
  height: 200px;
  top: 30%;
  right: 20%;
  animation-delay: 4s;
}

/* تأثيرات الحركة */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

@keyframes pulse {
  0% {
      transform: scale(1);
      opacity: 0.1;
  }
  100% {
      transform: scale(1.1);
      opacity: 0.2;
  }
}

/* التجاوب مع الأجهزة المختلفة */
@media (max-width: 992px) {
  .hero-container {
      flex-direction: column;
      text-align: center;
      padding-top: 4rem;
  }
  
  .hero-content {
      padding-right: 0;
      margin-bottom: 3rem;
      display: flex;
      flex-direction: column;
      align-items: center;
  }
  
  .hero-subtitle {
      margin-left: auto;
      margin-right: auto;
  }
  
  .hero-cta {
      justify-content: center;
  }
  
  .hero-stats {
      justify-content: center;
  }
  
  .hero-title {
      font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
      padding: 4rem 0;
      min-height: auto;
  }
  
  .hero-title {
      font-size: 2.3rem;
  }
  
  .hero-subtitle {
      font-size: 1.1rem;
  }
  
  .stat-item {
      padding: 1rem 1.5rem;
      min-width: 120px;
  }
  
  .stat-number {
      font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
      font-size: 1.9rem;
  }
  
  .hero-cta {
      flex-direction: column;
      gap: 1rem;
      width: 100%;
  }
  
  .cta-btn, .secondary-btn {
      width: 100%;
      justify-content: center;
      padding: 1rem;
  }
  
  .hero-stats {
      gap: 1rem;
      width: 100%;
  }
  
  .stat-item {
      flex: 1;
      min-width: auto;
      padding: 0.8rem 1rem;
  }
}






/* ===== قسم المتاجر العام (بدون فراغ جانبي) ===== */
.stores-section {
    padding: 30px 0 20px; /* لاحظ: بدون padding يمين ويسار */
    background: #f8fafc;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ترويسه القسم */
.stores-header {
    text-align: center;
    margin-bottom: 16px;
}

.stores-header h2 {
    margin: 0;
    font-size: 1.8rem;
    color: #111827;
}

.stores-header p {
    margin: 6px 0 0;
    font-size: 0.9rem;
    color: #6b7280;
}

/* ===== الحاوية الرئيسية للسلايدر ===== */
.stores-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto; /* لو عندك container عام، تقدر تشيلها */
}

/* ===== حاوية التمرير الأفقية ===== */
.stores-list-container {
    overflow: hidden;
    direction: ltr; /* التمرير أسهل */
}

.store-list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 0 16px; /* بدون padding جانبي */
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.store-list::-webkit-scrollbar {
    display: none;
}

/* ===== بطاقة المتجر ===== */
.store-card {
    scroll-snap-align: start;
    flex: 0 0 auto;
    width: 210px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    padding: 14px 12px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.store-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    border-color: #93c5fd;
}

.store-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #e5e7eb;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    margin-bottom: 10px;
}

.store-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-text {
    text-align: center;
}

.store-name {
    font-size: 0.98rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 170px;
}

.store-owner {
    font-size: 0.82rem;
    color: #6b7280;
}

.owner-name {
    font-weight: 600;
    color: #374151;
    margin-right: 4px;
}

/* ===== حالة عدم وجود متاجر ===== */
.no-stores {
    flex: 1 0 100%;
    text-align: center;
    padding: 20px;
    background: #eef2ff;
    border-radius: 12px;
    color: #4b5563;
}

/* ===== الأسهم (يمين و يسار في مكانهم) ===== */
.stores-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
    color: #111827;
    z-index: 2;
}

.stores-arrow:hover {
    background: #eff6ff;
    transform: translateY(-50%) scale(1.05);
}

.stores-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    box-shadow: none;
}

/* سهم اليمين عند طرف اليمين */
.arrow-right {
    right: 0;
}

/* سهم اليسار عند طرف اليسار */
.arrow-left {
    left: 0;
}

/* ===== موبايل وتابلت ===== */
@media (max-width: 991px) {
    .stores-arrow {
        display: none; /* على الموبايل السحب بالإصبع فقط */
    }

    .store-card {
        width: 70vw;
        max-width: 260px;
    }
}






/* قسم العرض*/
.two-column-section {
  max-width: 1400px;
  margin: 0 30px 0 30px;
  display: flex;
  align-items: center;
  gap: 0;
}

.text-column {
  flex: 1;
  padding: 0 0 0 10px;
}

.image-column {
  flex: 1;
  height: 450px;
}

.image-column img {
  width: 100%;
  height: 100%;
  object-fit:contain;
  display: block;
  border-radius: 10px;
  padding: 20px 0;
}

.main-title {
  color: #1e293b;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
}

.sub-title {
  color: #64748b;
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* التصميم للهواتف */
@media (max-width: 992px) {
  .two-column-section {
      flex-direction: column-reverse;
  }
  
  .text-column {
      padding: 40px 30px;
  }
  
  .image-column {
      width: 100%;
      height: 400px;
  }
  .image-column img {
margin: 40px 0 0 0;

  }
  
  .main-title {
      font-size: 32px;
  }
  
  .sub-title {
      font-size: 18px;
  }
}

@media (max-width: 576px) {
  .text-column {
      padding: 30px 20px;
  }
  
  .image-column {
      height: 300px;
  }
  
  .main-title {
      font-size: 26px;
  }
  
  .sub-title {
      font-size: 16px;
  }
  

}






/* قسم عرض حصري*/
.exclusive-offer {
  max-width: 1200px;
  margin: 70px auto 0 auto;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
  color: white;
  display: flex;
  position: relative;
}

.offer-content {
  flex: 1;
  padding: 60px;
  position: relative;
  z-index: 2;
}

.offer-image {
  flex: 1;
  background: url('https://images.unsplash.com/photo-1556740738-b6a63e27c4df?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80') center/cover no-repeat;
  position: relative;
}

.offer-image::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.9) 0%, rgba(59, 130, 246, 0.7) 100%);
}

.offer-tag {
  background-color: #f59e0b;
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 20px;
  font-size: 18px;
  animation: pulse 2s infinite;
}

.offer-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
}

.price-section {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.current-price {
  font-size: 48px;
  font-weight: 800;
}

.old-price {
  font-size: 28px;
  text-decoration: line-through;
  opacity: 0.8;
}

.benefits-list {
  margin-bottom: 40px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 18px;
}

.benefit-item i {
  color: #f59e0b;
  font-size: 24px;
}

.cta-button {
  display: inline-block;
  background-color: white;
  color: #3b82f6;
  padding: 16px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.countdown {
  margin-top: 30px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* التصميم للهواتف */
@media (max-width: 992px) {
  .exclusive-offer {
      flex-direction: column;
  }
  
  .offer-content {
      padding: 40px 30px;
  }
  
  .offer-image {
      height: 300px;
  }
  
  .offer-title {
      font-size: 32px;
  }
  
  .current-price {
      font-size: 36px;
  }
  
  .old-price {
      font-size: 22px;
  }
  
  .benefit-item {
      font-size: 16px;
  }
  
  .cta-button {
      padding: 14px 30px;
      font-size: 18px;
  }
  .exclusive-offer {
    border-radius:0px;
  }
}

@media (max-width: 576px) {
  .offer-content {
      padding: 30px 20px;
  }
  
  .offer-title {
      font-size: 28px;
  }
  
  .price-section {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
  }
}






/* قسم كيف يعمل*/
.how-it-works {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  color: #1e293b;
  margin:60px 0 0px 0;
}

.section-subtitle {
  font-size: 20px;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.steps-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.step-card {
  background: white;
  border-radius: 16px;
  padding: 40px 30px;
  width: calc(33.333% - 20px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #3b82f6;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  font-size: 20px;
}

.step-icon {
  font-size: 48px;
  color: #3b82f6;
  margin-bottom: 25px;
  display: inline-block;
}

.step-title {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 15px;
}

.step-description {
  font-size: 16px;
  color: #64748b;
  line-height: 1.6;
}

.final-step {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
}

.final-step .step-number,
.final-step .step-icon,
.final-step .step-title,
.final-step .step-description {
  color: white;
}

.final-step .step-number {
  background: rgba(255, 255, 255, 0.2);
}

/* التصميم للهواتف */
@media (max-width: 992px) {
  .step-card {
      width: calc(50% - 15px);
  }
  
  .section-title {
      font-size: 36px;
  }
  
  .section-subtitle {
      font-size: 18px;
  }
}

@media (max-width: 768px) {
  .step-card {
      width: 100%;
      max-width: 400px;
  }
  
  .section-title {
      font-size: 32px;
  }
  
  .section-subtitle {
      font-size: 16px;
  }
}

@media (max-width: 576px) {
  body {
      padding: 40px 15px;
  }
  
  .section-header {
      margin-bottom: 40px;
  }
  
  .step-card {
      padding: 30px 20px;
  }
  
  .step-title {
      font-size: 20px;
  }
}





/* قسم المميزات */
.features-section {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 0;
  width: 70%;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 20px;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.feature-card {
  background: white;
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
  color: white;
  font-size: 30px;
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
}

.feature-title {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 15px;
}

.feature-desc {
  font-size: 16px;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-badge {
  display: inline-block;
  background: #f0fdf4;
  color: #16a34a;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid #dcfce7;
}

/* التصميم للهواتف */
@media (max-width: 992px) {
  .section-header {
      margin-bottom: 40px;
  }
  
  .section-title {
      font-size: 36px;
  }
  
  .section-subtitle {
      font-size: 18px;
  }
  
  .features-grid {
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  .features-section {
    margin: 0 20px 0 20px;
  }
}

@media (max-width: 768px) {
  body {
      padding: 60px 20px;
  }
  
  .section-title {
      font-size: 32px;
  }
  
  .feature-card {
      padding: 30px 25px;
  }
  
  .feature-icon {
      width: 60px;
      height: 60px;
      font-size: 26px;
  }
  
  .feature-title {
      font-size: 22px;
  }
}

@media (max-width: 576px) {
  body {
      padding: 50px 15px;
  }
  
  .section-title {
      font-size: 28px;
  }
  
  .section-subtitle {
      font-size: 16px;
  }
  
  .features-grid {
      grid-template-columns: 1fr;
  }
  
  .feature-icon {
      width: 50px;
      height: 50px;
      font-size: 22px;
      border-radius: 12px;
  }
}