/* Fallback font */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap');

/* Local Font Definitions */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/cairo-regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/cairo-bold.ttf') format('truetype');
}

body {
  font-family: 'Cairo', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f7f8fa;
  color: #222;
  direction: rtl;
  padding-top: 70px;
}

.hero {
  background: linear-gradient(120deg, #7ed6df 0%, #e056fd 100%);
  color: #fff;
  padding: 80px 0 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.app-logo {
  width: 120px;
  margin-bottom: 20px;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
#animated-text {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 20px 0 10px 0;
  min-height: 60px;
  letter-spacing: 1px;
  animation: fadeIn 1.2s;
}
.cta-btn {
  display: inline-block;
  background: #fff;
  color: #e056fd;
  padding: 14px 36px;
  border-radius: 32px;
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 24px;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(224,86,253,0.12);
  transition: background 0.2s, color 0.2s;
}
.cta-btn:hover {
  background: #e056fd;
  color: #fff;
}
.lottie-animation {
  width: 320px;
  height: 320px;
  margin: 0 auto;
  position: absolute;
  left: 0; right: 0;
  bottom: -40px;
  z-index: 1;
  pointer-events: none;
}

.features {
  background: #fff;
  padding: 60px 0 40px 0;
  text-align: center;
}
.features-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}
.feature-card {
  background: #f7f8fa;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(126,214,223,0.08);
  padding: 28px 36px;
  font-size: 1.2rem;
  min-width: 180px;
  font-weight: 500;
  transition: transform 0.2s;
}
.feature-card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 6px 24px rgba(224,86,253,0.10);
}

.about {
  background: #f7f8fa;
  padding: 60px 0 40px 0;
  text-align: center;
}

.screenshots {
  background: #fff;
  padding: 60px 0 40px 0;
  text-align: center;
}
.screenshots-list {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  gap: 24px;
  margin-top: 32px;
  padding: 24px;
  justify-content: flex-start;
}
.screenshots-list::-webkit-scrollbar {
  height: 8px;
}
.screenshots-list::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 4px;
}
.screenshots-list::-webkit-scrollbar-thumb {
  background: #e056fd;
  border-radius: 4px;
}
.screenshots-list::-webkit-scrollbar-thumb:hover {
  background: #c341e0;
}
.screenshots-list img {
  width: auto;
  max-height: 400px;
  flex-shrink: 0;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(126,214,223,0.10);
}

.download {
  background: linear-gradient(120deg, #e056fd 0%, #7ed6df 100%);
  color: #fff;
  padding: 60px 0 40px 0;
  text-align: center;
}
.download-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-top: 32px;
}
@media (min-width: 800px) {
  .download-content {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 64px;
  }
  .download-btn, .qr-code {
    margin: 0;
  }
}
.download-btn {
  background: #fff;
  color: #e056fd;
  padding: 16px 40px;
  border-radius: 32px;
  font-size: 1.3rem;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(224,86,253,0.12);
  transition: background 0.2s, color 0.2s;
  margin-bottom: 18px;
}
@media (min-width: 800px) {
  .download-btn {
    margin-bottom: 0;
  }
}
.qr-code {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.qr-code img {
  width: 150px;
  border-radius: 16px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 2px 8px rgba(126,214,223,0.10);
}

.contact {
  background: #f7f8fa;
  padding: 60px 0 40px 0;
  text-align: center;
}

footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 18px 0;
  font-size: 1rem;
  letter-spacing: 1px;
}

@media (max-width: 900px) {
  .features-list {
    flex-direction: column;
    gap: 18px;
  }
  .screenshots-list {
    flex-direction: row;
  }
  .lottie-animation {
    width: 220px;
    height: 220px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 40px 0 20px 0;
  }
  .features, .about, .screenshots, .download, .contact {
    padding: 32px 0 18px 0;
  }
  .app-logo {
    width: 80px;
  }
  #animated-text {
    font-size: 1.3rem;
    min-height: 36px;
  }
  .lottie-animation {
    width: 120px;
    height: 120px;
    bottom: -20px;
  }
  .screenshots-list img {
    width: 90vw;
    max-width: 220px;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Floating Navbar */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 2px 12px rgba(126,214,223,0.08);
  z-index: 100;
  padding: 0;
  transition: background 0.3s;
  backdrop-filter: blur(8px);
}
.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
}
.navbar-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(224,86,253,0.10);
}
.navbar-links {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}
.navbar-links li {
  display: inline-block;
}
.navbar-links a {
  color: #e056fd;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 24px;
  transition: background 0.2s, color 0.2s;
}
.navbar-links a:hover, .navbar-links a.active {
  background: #e056fd;
  color: #fff;
}

/* FAQ Section */
.faq {
  background: #fff;
  padding: 60px 0 40px 0;
  text-align: center;
}
.faq-list {
  max-width: 800px;
  margin: 32px auto 0 auto;
  text-align: right;
}
.faq-item {
  background: #f7f8fa;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(126,214,223,0.08);
  margin-bottom: 18px;
  padding: 22px 28px;
  transition: box-shadow 0.2s;
}
.faq-item h4 {
  margin: 0 0 8px 0;
  color: #e056fd;
  font-size: 1.15rem;
}
.faq-item p {
  margin: 0;
  color: #333;
  font-size: 1rem;
}
.faq-item:hover {
  box-shadow: 0 6px 24px rgba(224,86,253,0.10);
}

/* About Section */
.about-list {
  text-align: right;
  max-width: 700px;
  margin: 24px auto 0 auto;
  padding-right: 24px;
  color: #444;
  font-size: 1.1rem;
}
.about-list li {
  margin-bottom: 10px;
  line-height: 1.7;
}
.about-extra {
  margin-top: 32px;
  background: #f7f8fa;
  border-radius: 16px;
  padding: 24px 18px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 2px 8px rgba(126,214,223,0.08);
}
.about-extra h3 {
  color: #e056fd;
  margin-bottom: 10px;
}

.screenshots-description {
  margin-top: 24px;
  color: #555;
  font-size: 1.1rem;
}

.download-info {
  margin-top: 32px;
  color: #fff;
  font-size: 1.1rem;
  text-align: right;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.download-info ul {
  margin: 12px 0 0 0;
  padding-right: 18px;
}
.download-info li {
  margin-bottom: 6px;
}

.contact-social {
  margin-top: 18px;
  display: flex;
  gap: 18px;
  justify-content: center;
}
.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(126,214,223,0.10);
  transition: transform 0.2s;
}
.social-icon:hover {
  transform: scale(1.12) rotate(-6deg);
}

@media (max-width: 900px) {
  .navbar-container {
    padding: 0 24px;
  }
  .navbar-links {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .navbar-links {
    position: absolute;
    top: 64px;
    right: 0;
    width: 100%;
    background: rgba(255,255,255,0.98);
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    box-shadow: 0 4px 12px rgba(126,214,223,0.08);
  }
  
  .navbar-links a {
    width: 100%;
    text-align: center;
    padding: 18px 0;
    border-radius: 0;
    border-bottom: 1px solid #f0f0f0;
  }
  .navbar-links a:hover {
    background: #f7f8fa;
  }

  .navbar.nav-open .navbar-links {
    max-height: 500px; /* Large enough to fit all links */
  }

  .contact-social,
  .hero .app-logo {
    display: none;
  }
}
@media (max-width: 700px) {
  .navbar-container {
    flex-direction: column;
    height: auto;
    padding: 8px 0;
  }
  .navbar-logo {
    margin-bottom: 8px;
  }
  .navbar-links {
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
  }
}
@media (max-width: 600px) {
  body {
    padding-top: 56px;
  }
  .navbar-container {
    height: 48px;
    padding: 0 2px;
  }
  .navbar-logo {
    width: 32px;
    height: 32px;
  }
  .navbar-links a {
    font-size: 0.95rem;
    padding: 6px 10px;
  }
}

/* Scroll Animation */
.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}
.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hamburger Menu */
.hamburger {
  display: none; /* Hidden on desktop */
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}
.hamburger-bar {
  width: 100%;
  height: 3px;
  background-color: #e056fd;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

/* Hamburger animation */
.navbar.nav-open .hamburger-bar:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}
.navbar.nav-open .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.navbar.nav-open .hamburger-bar:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
} 