body {
  margin: 0;
  font-family: 'Vazirmatn', sans-serif;
  background: #f9f9f9;            /* پس‌زمینه روشن */
  color: #333;
  padding-top: 140px;             /* فاصله برای هدر ثابت */
}

.intro-text {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2C3E50;                  /* آبی نفتی (متن اصلی) */
  margin: 0;          /* removes space above & below */
  padding: 0;
  max-width: 800px;
  line-height: 1.8;
}

.intro-text {

}



.intro-text span {
  color: #27ae60;                  /* سبز زمردی برای تأکید */
}
 
header {
  background-color: #bcd6ed;       /* آبی اسمانی */
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;

  position: fixed;  /* 🔒 ثابت */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

header nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 0.8rem 1.5rem;
}

.logo {
  justify-self: start;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo img {
  height: 55px;
  transition: transform 0.3s ease;
}
.logo img:hover {
  transform: scale(1.05);
}

.logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color 
  margin-top: 5px;
  letter-spacing: 1px;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #1a2a80;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  padding-bottom: 5px;
}
.nav-links li a:hover {
  color: #3498db;                  /* آبی روشن */
  border-bottom: 2px solid #3498db;
}

/* دکمه همبرگر (فقط موبایل) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #1a2a80;
  cursor: pointer;
}

/* حالت موبایل */
@media (max-width: 768px) {
  header nav {
    grid-template-columns: auto auto auto; /* لوگو - فضای خالی - دکمه */
  }

  .nav-links {
    display: none; /* پیش‌فرض بسته */
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    text-align: center;
  }

  .nav-links.active {
    display: flex; /* وقتی دکمه همبرگر زده میشه */
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }
}

/* Footer */
footer {
  background-color: #bcd6ed;       /* آبی نفتی */
  color: #3498db;
  padding: 2rem 1rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.footer-column h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: #1a2a80;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: white;
  text-decoration: none;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.footer-column .badges img {
  max-width: 50px;
  margin-right: 0.5rem;
}

/* موبایل */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-about,
  .footer-contact,
  .footer-links {
    display: none;
  }

  .footer-badges,
  .footer-map {
    display: block;
  }
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  max-width: 1200px;
  margin: auto;
}

nav img {
  height: 50px;
}

section {
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}

/* CTA */
.cta {
  background: #27ae60;             /* سبز زمردی */
  color: white;
  padding: 1rem 2rem;
  text-align: center;
  margin: 2rem auto;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  max-width: 600px;
}

.cta button {
  background: white;
  color: #27ae60;
  border: none;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.cta button:hover {
  background: #e0e0e0;
  color: #2C3E50;                  /* آبی نفتی */
}

.team, .faq, .pricing, .product {
  background: white;
  margin-bottom: 2rem;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.video-container video {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.faq-item {
  margin-bottom: 1rem;
}

.faq-item h4 {
  cursor: pointer;
  transition: color 0.3s;
}

.faq-item h4:hover {
  color: #27ae60;                  /* سبز زمردی */
}

.faq-item p {
  display: none;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
  }
}

/* Team slider */
.team-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding: 1rem 0;
}

.team-slider::-webkit-scrollbar {
  height: 8px;
}

.team-slider::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.team-member {
  flex: 0 0 auto;
  width: 150px;
  scroll-snap-align: start;
  text-align: center;
}

.team-member img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.team-member img:hover {
  transform: scale(1.05);
}

.team-member h4 {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #333;
}

/* Pricing slider */
.pricing-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding: 1rem 0;
}

.pricing-slider::-webkit-scrollbar {
  height: 8px;
}

.pricing-slider::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.pricing-card {
  flex: 0 0 auto;
  width: 200px;
  background: white;
  border-radius: 16px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  scroll-snap-align: start;
  transition: transform 0.3s;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card img {
  width: 10vw;        /* relative to screen width */
  max-width: 140px;  /* upper limit */
  min-width: 90px;   /* lower limit */
  height: auto;
  display: block;
  margin: 0 auto 15px;
}


.pricing-card h3 {
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

.pricing-card .price {
  font-size: 1rem;
  color: #27ae60;                  /* سبز زمردی */
  margin-bottom: 0.5rem;
}

.pricing-card .btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #2C3E50;             /* آبی نفتی */
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  transition: background 0.3s;
}

.pricing-card .btn:hover {
  background: #3498db;             /* آبی روشن */
}

/* Animation */
@keyframes wink {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

.winking-text {
  animation: wink 0.5s infinite;
}





.customers {
  text-align: center;
  padding: 40px 20px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  margin: 40px auto;
}

.customers h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.customers p {
  font-size: 18px;
  color: #1a2a80;
  margin-bottom: 30px;
}

.customer-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px; /* More space between logos */
}

.customer-logo img {
  height: 100px; /* Increased from 60px to 100px */
  object-fit: contain;
  transition: transform 0.3s ease;
}

.customer-logo img:hover {
  transform: scale(1.1);
}



 

.typewriter p {
  overflow: hidden; /* Ensures the text is hidden initially */
  border-right: .15em solid orange; /* The cursor */
  white-space: nowrap; /* Prevents text from wrapping */
  animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite;
}

/* Typing effect */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

/* Cursor blink effect */
@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: orange; }
}


.customer-logo {
  perspective: 1000px; /* enables 3D transform */
}

.customer-logo img {
  transition: transform 1.6s ease;
  transform-style: preserve-3d;
  transform-origin: center center;
}

.customer-logo:hover img {
  transform: rotateX(180deg);
}
 
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-poster,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video {
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 1;
}

.hero-video.is-playing {
  opacity: 1;
}

.hero-poster {
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
}


/* Typewriter cursor */
.typewriter p::after {
  content: "|";
  margin-right: 5px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    height: 50vh; /* adjust height */
  }
}


  .hero-content h2 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}




.product-blocks {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.product-block {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.product-block.reverse {
  flex-direction: row-reverse;
}

.product-text {
  flex: 1;
  min-width: 280px;
}

.product-text h4 {
  color: #2C3E50;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.product-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.product-text a {
  color: #27ae60;
  text-decoration: none;
  font-weight: 600;
}

.product-text a:hover {
  text-decoration: underline;
}

.product-image {
  flex: 1;
  min-width: 280px;
}

.product-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}










.features {
  padding: 3rem 2rem;
  text-align: center;
}

.features-title {
  font-size: 1.8rem;
  color: #2C3E50;
  margin-bottom: 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: auto;
}

/* Card */
.feature-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem 1.2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.feature-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  color: #2C3E50;
  margin-bottom: 0.6rem;
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
}

/* Responsive */
@media (max-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}



.video {
  text-align: center;
  padding: 3rem 1rem;
}

/* 🔒 Fixed iPhone 16 Pro Max frame */
.iphone-frame {
  position: relative;
  width: 390px;        /* FIXED width */
  height: 844px;       /* FIXED height */
  margin: 2rem auto;
  padding: 16px;
  border-radius: 48px;
  background: linear-gradient(145deg, #2b2b2b, #111);
  box-shadow:
    0 25px 50px rgba(0,0,0,0.4),
    inset 0 0 0 2px #333;
}

/* Screen area */
.iphone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: black;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 🎥 Video scales INSIDE fixed frame */
.iphone-screen video {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* ⬅ key line */
  background: black;
}

/* Dynamic Island */
.iphone-frame::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 30px;
  background: #000;
  border-radius: 20px;
  z-index: 3;
}




.pricing-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap; /* responsive */
}

.pricing-card {
  flex: 1;
  max-width: 400px;
}

.more-link {
  display: block;
  margin: 10px 0;
  color: #555;
  font-size: 14px;
  text-decoration: none;
}

.more-link:hover {
  text-decoration: underline;
}

