@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@700;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Cairo', sans-serif;
  background: #f9fafb;
  color: #1e1e1e;
}
html {
  scroll-behavior: auto;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Header */
.header {
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 14px 32px;
  position: fixed;      /* 👈 يثبت */
  top: 0;
  right: 0;
  width: 100%;
  z-index: 1000;        /* فوق أي حاجة */
}



.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 44px;
  height: 44px;
}

.brand-name {
  font-size: 28px;
  font-weight: 900;
  background: linear-gradient(135deg, #2F80ED, #56CCF2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Button */
.cta-btn {
  background: linear-gradient(135deg, #2F80ED, #56CCF2);
  color: #fff;
  border: none;
  padding: 10px 22px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(47, 128, 237, 0.3);
}


/* Responsive */
@media (max-width: 768px) {
  .header {
    padding: 12px 16px;
  }

  .container {
    position: relative;
    justify-content: center;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .brand img {
    position: absolute;
    right: 16px; /* اللوجو يفضل مكانه */
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 32px;       /* تكبير الاسم */
    text-align: center;
  }


  .container {
    padding: 0 16px;
  }
   .cta-btn {
    display: none;
  }
}

.apps {
  padding: 10px 5px 10px;
}

.apps-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.app-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
  opacity: 0;
  transform: translateY(40px);
    perspective: 1000px;
  position: relative;
  overflow: hidden;
    max-width: 360px;   /* 👈 يمنع التضخيم */
  margin: auto;
}
.app-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
}


.apps-title {
  font-size: 24px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 32px;
  color: #000000;
}
.apps-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #2F80ED, #56CCF2);
  margin: 12px auto 0;
  border-radius: 2px;
}


.app-card:hover::after {
  animation: shimmer 0.8s ease;
}

@keyframes shimmer {
  to {
    left: 100%;
  }
}



.app-card.show {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease;
}


.app-card img {
  width: 100%;
  height: 300px;          /* ارتفاع ثابت */
  object-fit: cover;     /* يملأ المساحة بالكامل */
  border-radius: 16px;
  margin-bottom: 20px;
    transition: transform 0.4s ease;
      animation: float 3.5s ease-in-out infinite;


}



@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}


.app-card:hover img {
  transform: scale(1.08);
}


.app-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.app-card p {
  font-size: 15px;
  color: #666;
  margin-bottom: 16px;
}


.subscribe-btn {
  display: block;
  width: 100%;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  border-radius: 12px;
  color: #fff;

  background: linear-gradient(
    270deg,
    #2F80ED,
    #56CCF2,
    #9B51E0,
    #2F80ED
  );
  background-size: 600% 600%;
  animation: gradientMove 6s ease infinite;

  box-shadow:
    0 0 0 rgba(47,128,237,0),
    0 8px 20px rgba(47,128,237,0.35);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}


/* Gradient animation */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.app-card button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.35),
    transparent
  );
  transform: translateX(-100%);
}



.page-bg {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    -45deg,
    #f5f9ff,
    #eef4ff,
    #f9fbff,
    #eef7ff
  );
  background-size: 400% 400%;
  animation: bgMove 18s ease infinite;
}

@keyframes bgMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
/* Background Shapes */
.bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.bg-shapes span {
  position: absolute;
  display: block;
  width: 260px;
  height: 260px;
  background: radial-gradient(
    circle,
    rgba(47,128,237,0.25),
    rgba(47,128,237,0.05),
    transparent 70%
  );
  border-radius: 50%;
  animation: floatBg 22s linear infinite;
  filter: blur(6px);
}

/* كل عنصر مكانه وسرعته */
.bg-shapes span:nth-child(1) {
  top: 10%;
  left: -80px;
  animation-duration: 26s;
}

.bg-shapes span:nth-child(2) {
  top: 60%;
  right: -100px;
  width: 340px;
  height: 340px;
  animation-duration: 32s;
}

.bg-shapes span:nth-child(3) {
  bottom: -120px;
  left: 30%;
  width: 300px;
  height: 300px;
  animation-duration: 28s;
}

/* Animation */
@keyframes floatBg {
  0% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-120px) translateX(60px);
  }
  100% {
    transform: translateY(0) translateX(0);
  }
}

/* Random Background Particles */
.bg-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.bg-particles span {
  position: absolute;
  width: 12px;
  height: 12px;
  background: rgba(47, 128, 237, 0.18);
  border-radius: 50%;
  animation: particleMove linear infinite;
  filter: blur(0.5px);
}

/* حركة عشوائية */
@keyframes particleMove {
  from {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  to {
    transform: translateY(-120vh) translateX(40px);
    opacity: 0;
  }
}
.page-bg > *:not(.bg-shapes):not(.bg-particles) {
  position: relative;
  z-index: 1;
}
/* Section backgrounds */
.apps-section {
  position: relative;
  padding: 40px 0;
}

/* AI Tools */
.apps-section[data-bg="ai-tools"] {
  background: radial-gradient(circle at top,
    rgba(47,128,237,0.08),
    transparent 70%);
}

/* AI Apps */
.apps-section[data-bg="ai-apps"] {
  background: radial-gradient(circle at top,
    rgba(155,81,224,0.08),
    transparent 70%);
}

/* Design */
.apps-section[data-bg="design"] {
  background: radial-gradient(circle at top,
    rgba(86,204,242,0.10),
    transparent 70%);
}


.bg-particles span,
.bg-shapes span {
  will-change: transform;
}
/* Discount Ribbon */
.discount-ribbon {
  position: absolute;
  top: 16px;
  left: -48px;
  width: 160px;
  padding: 8px 0;

  background: linear-gradient(135deg, #ff3b3b, #d60000);
  color: #fff;

  font-size: 14px;
  font-weight: 900;
  text-align: center;
  letter-spacing: 1px;

  transform: rotate(-45deg);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);

  z-index: 5;
  pointer-events: none;
}
.discount-ribbon.hot {
  background: linear-gradient(135deg, #ff8a00, #ff3b3b);
}
.discount-ribbon::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.5),
    transparent
  );
  animation: ribbonShine 3.5s infinite;
}

@keyframes ribbonShine {
  0% { left: -100%; }
  50% { left: 120%; }
  100% { left: 120%; }
}
.app-card:hover .discount-ribbon {
  animation: ribbonShake 0.4s ease;
}

@keyframes ribbonShake {
  0% { transform: rotate(-45deg) translateX(0); }
  25% { transform: rotate(-45deg) translateX(-3px); }
  50% { transform: rotate(-45deg) translateX(3px); }
  75% { transform: rotate(-45deg) translateX(-3px); }
  100% { transform: rotate(-45deg) translateX(0); }
}
/* ===== Why Us Section ===== */
.why-us-section {
  position: relative;
  padding: 50px 20px;   /* بدل 80px */

}

.why-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.why-title {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 50px;
  color: #1e1e1e;
}

.why-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 4px;
  background: linear-gradient(135deg, #2F80ED, #56CCF2);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.why-card {
  background: #fff;
  border-radius: 18px;
  padding: 36px 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.35s ease;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(47,128,237,0.18);
}

.why-icon {
  font-size: 40px;
  margin-bottom: 18px;
}

.why-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}
/* ===== Reviews Section ===== */
.reviews-section {
  padding: 55px 0;     /* بدل 100px */

}

.reviews-wrapper {
  max-width: 1200px;
  margin: auto;
  text-align: center;
  overflow: hidden;
}

.reviews-title {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 35px;
}

.reviews-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  margin: 10px auto 0;
  background: linear-gradient(135deg, #2F80ED, #56CCF2);
  border-radius: 4px;
}

/* Slider */
.reviews-slider {
  overflow: hidden;
  padding: 10px 0;
}

.reviews-track {
  display: flex;
  gap: 24px;
  transition: transform 1.2s ease-in-out;
}

/* Card */
.review-card {
  min-width: 360px;
  height: 150px;              /* 👈 قللنا الارتفاع */
  background: #fff;
  border-radius: 18px;
  padding: 22px 22px;         /* 👈 padding أقل */
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  text-align: right;

  display: flex;                 /* 👈 مهم */
  flex-direction: column;
  justify-content: space-between;
}

.review-text {
  font-size: 15px;
  color: #555;
  line-height: 1.6;           /* 👈 أقل شوية */

  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;         /* 👈 عدد السطور */
  -webkit-box-orient: vertical;
}

.review-user {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-top: 6px;           /* 👈 بدل 16px */
}
/* ===== Mobile Peek Effect ===== */
@media (max-width: 768px) {
  .reviews-track {
    padding-right: 40px;
  }

   .review-card {
    min-width: 80%;
    height: 150px; /* نفس الارتفاع */
  }
}
/* ===============================
   Hero Split (Integrated)
================================ */
.hero-split {
  position: relative;
  padding: 160px 20px 120px;
  overflow: hidden;
}

/* خلي المحتوى فوق الخلفية */
.hero-inner {
  position: relative;
  z-index: 2;

  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 60px;
}

/* المحتوى */
.hero-content h1 {
  font-size: 72px;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 16px;
  font-size: 28px;
  font-weight: 900;
  background: linear-gradient(135deg, #2F80ED, #56CCF2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;}

.hero-desc {
  font-size: 20px;
  line-height: 1.7;
  color: #444;
  max-width: 520px;
  margin-bottom: 36px;
}

/* زر الاشتراك */
.hero-main-btn {
  display: inline-block;
  padding: 18px 44px;
  font-size: 19px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, #2F80ED, #56CCF2);
  border-radius: 16px;
  text-decoration: none;
  box-shadow:
    0 18px 40px rgba(47,128,237,0.35);
  transition: all 0.3s ease;
}

.hero-main-btn:hover {
  transform: translateY(-4px);
}

/* العناصر البصرية */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hero-card {
  /* Glass base */
  background: rgba(255, 255, 255, 0.35); /* 👈 شفافية حقيقية */
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  /* Glass border */
  border: 1px solid rgba(255, 255, 255, 0.55);

  /* Depth */
  box-shadow:
    0 10px 30px rgba(47,128,237,0.15),
    0 40px 80px rgba(47,128,237,0.25);

  border-radius: 22px;
  padding: 22px 26px;

  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.45),
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.25)
  );
  opacity: 0.6;
  pointer-events: none;
}

.hero-card:nth-child(1) {
  transform: translateX(40px);
}

.hero-card:nth-child(2) {
  transform: translateX(0);
}

.hero-card:nth-child(3) {
  transform: translateX(20px);
}




.hero-card strong {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
}
.hero-card span {
  font-size: 14px;
  color: #666;
}

/* ===============================
   Mobile
================================ */
@media (max-width: 768px) {

  /* الهيرو كله */
  .hero-split {
    padding: 110px 16px 70px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }

  /* العنوان */
  .hero-content h1 {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 12px;
  }

  .hero-desc {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 auto 22px;
  }

  .hero-main-btn {
    padding: 14px 28px;
    font-size: 16px;
  }

  /* ❗ الكروت — ثابتة مش سلايدر */
  .hero-visual {
    display: flex;
    flex-direction: column;   /* 👈 عمودي */
    gap: 14px;
    overflow: visible;        /* 👈 لا سلايدر */
    padding: 0;
  }

  .hero-card {
    width: 100%;
    min-width: unset;         /* 👈 إلغاء السلايدر */
    padding: 18px 20px;
  }
  .hero-card {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
  /* نشيل أي إزاحة */
  .hero-card:nth-child(1),
  .hero-card:nth-child(3) {
    transform: none;
  }
}



.global-footer {
  background: #ffffff;
  padding: 80px 20px 30px;
  border-top: 1px solid #e6e8eb;
}

.footer-wrap {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
}

/* ===== Brand Column ===== */
.footer-brand h3 {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 12px;
  color: #2F80ED;
}

.footer-brand p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  max-width: 360px;
}

.footer-trust {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  color: #27ae60;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== Columns ===== */
.footer-col h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 14px;
  color: #111;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 14px;
  color: #555;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-col a:hover {
  color: #2F80ED;
}

/* ===== Bottom ===== */
.footer-bottom {
  margin-top: 50px;
  padding-top: 18px;
  border-top: 1px solid #e6e8eb;
  font-size: 13px;
  color: #777;
  display: flex;
  justify-content: space-between;
  align-items: center;
    display: flex;
  justify-content: center; /* 👈 الشمال */
}

/* ===============================
   Mobile
================================ */
@media (max-width: 768px) {
  .footer-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .footer-brand p {
    margin: auto;
  }

  .footer-trust {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}
/* Mobile: Company + Contact side by side */
@media (max-width: 768px) {

  .footer-wrap {
    grid-template-columns: 1fr 1fr; /* 👈 عمودين */
    gap: 24px;
    text-align: center;
  }

  /* نخلي البراند ياخد عرض كامل فوقهم */
  .footer-brand {
    grid-column: 1 / -1;
    margin-bottom: 10px;
    
  }
  
}
/* ===============================
   Footer Mobile Polish
================================ */
@media (max-width: 768px) {

  /* العنوان والنبذة */
  .footer-brand h3 {
    font-size: 26px;
    margin-bottom: 8px;
  }

  .footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
  }

  /* سطر الضمان */
  .footer-trust-badge {
    font-size: 13px;
    padding: 8px 14px;
    margin-top: 12px;
  }

  /* الأعمدة */
  .footer-col h4 {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .footer-col li {
    margin-bottom: 6px;
  }

  .footer-col a {
    font-size: 13.5px;
  }
    .footer-col  {
      margin: auto;
    text-align: right;
  }

  /* تقليل الفراغ العام */
  .global-footer {
    padding: 50px 16px 20px;
  }

  /* الحقوق */
  .footer-bottom {
    font-size: 12px;
    margin-top: 30px;
  }
}

