html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

@font-face {
    font-family: 'yekan';
    src: url('../font/BYekan+\ Bold.ttf') format('woff2'),
         url('../font/BYekan+\ Bold.ttf') format('woff'),
         url('../font/BYekan+\ Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* برای بهبود عملکرد */
}


/* ---------- تنظیمات عمومی ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'yekan';
  /* font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif; */
}

body {
  background: linear-gradient(145deg, #f3f4f6 0%, #ffffff 100%);
  color: #1f2937;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- هدر (سربرگ) ---------- */
header {
  background: #606060;
  backdrop-filter: blur(10px);
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 10%;
}

/* ========== منوی همبرگری ========== */
.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px 25px;
  transition: all 0.3s ease;
}

.nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: 0.2s;
  font-size: 20px;
  padding: 4px 0;
}
.nav a:hover {
  color: #ff9800;
}

/* دکمه همبرگری (آیکون سه خط) */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 5px;
  background: none;
  border: none;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ---------- بخش اصلی (Hero + آیفون) ---------- */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 60px 0 40px;
  flex-wrap: wrap;
}

.hero-section-sm {
  display: none;
}

.hero-text {
  flex: 1 1 400px;
}

.hero-text h1 {
  font-size: 41px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-text h1 span {
  background: linear-gradient(135deg, #ff9800, #ff9800);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 20px;
  color: #6b7280;
  margin-bottom: 30px;
  max-width: 500px;
}

.btn {
  display: inline-block;
  background: #ff9800;
  color: white;
  padding: 14px 42px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
  transition: 0.3s;
  border: none;
  cursor: pointer;
}
.btn:hover {
  background: #e68900;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.45);
}

/* ---------- شبیه‌سازی گوشی آیفون ---------- */
.iphone-wrapper {
  flex: 0 0 auto;
  perspective: 1000px;
}

.iphone {
  width: 300px;
  height: 610px;
  background: #1a1a1a;
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.25),
    0 0 0 2px #3a3a3a inset,
    0 0 0 4px #2a2a2a inset;
  position: relative;
  transition: transform 0.4s ease;
}
.iphone:hover {
  transform: rotateY(-6deg) rotateX(4deg);
}

/* ناچ (بریدگی بالای صفحه) */
.notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 30px;
  background: #1a1a1a;
  border-radius: 0 0 18px 18px;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.notch .camera {
  width: 10px;
  height: 10px;
  background: #2a2a3a;
  border-radius: 50%;
  border: 1px solid #3a3a4a;
}
.notch .speaker {
  width: 50px;
  height: 5px;
  background: #2a2a3a;
  border-radius: 10px;
}

/* دکمه‌های کناری گوشی */
.side-btn-top {
  position: absolute;
  right: -4px;
  top: 100px;
  width: 4px;
  height: 40px;
  background: #3a3a3a;
  border-radius: 0 4px 4px 0;
}
.side-btn-bottom {
  position: absolute;
  right: -4px;
  top: 160px;
  width: 4px;
  height: 60px;
  background: #3a3a3a;
  border-radius: 0 4px 4px 0;
}

/* صفحه نمایش گوشی */
.screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
}

.screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ---------- بخش ویژگی‌های مانگرو ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  padding: 40px 0 60px;
}
.feature-item {
  background: white;
  padding: 28px 20px;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f3f5;
  text-align: center;
  transition: 0.3s;
}
.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}
.feature-item .emoji-big {
  font-size: 40px;
  display: block;
  margin-bottom: 12px;
}
.feature-item h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.feature-item p {
  color: #6b7280;
  font-size: 15px;
}

/* ========== گالری اسلایدر با Swiper ========== */
.gallery-carousel {
  padding: 80px 0 100px;
  background: transparent;
  margin: 30px 0;
}

.gallery-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 30px;
}

/* استایل کانتینر اصلی Swiper */

/* 
.swiper {
  width: 100%;
  max-width: 800px;
  height: 400px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background: #1a1a1a;
} */



/*شروع قسمت تصاویر */
.swiper {
  width: 100%;
  max-width: 950px;
  height: 550px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background: #ffffff;
}





.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}
.swiper-slide:hover img {
  transform: scale(1.02);
}

/* ========== سفارشی‌سازی دکمه‌ها و صفحه‌بندی Swiper ========== */
.swiper-button-prev,
.swiper-button-next {
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: 0.3s;
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: rgba(0, 0, 0, 0.8);
}
.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 18px;
  font-weight: bold;
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}
.swiper-pagination-bullet-active {
  background: #ff9800;
}

/* ========== لایت‌باکس (نمایش بزرگ‌تر تصویر) ========== */
.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  animation: fadeIn 0.3s ease;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  cursor: default;
  animation: zoomIn 0.3s ease;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 48px;
  font-weight: 300;
  cursor: pointer;
  transition: 0.3s;
  z-index: 10000;
  background: none;
  border: none;
  line-height: 1;
}
.lightbox-close:hover {
  transform: rotate(90deg);
  color: #ff9800;
}

/* انیمیشن‌ها */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ========== بخش ویدیو با استایل حرفه‌ای ========== */
.video-section {
  padding: 40px 0 60px;
  background: transparent;
  margin: 20px 0;
}

.video-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 30px;
}

.video-wrapper {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background: #1a1a1a;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.4s ease;
  border: 2px solid rgba(255, 152, 0, 0.15);
}

.video-wrapper:hover {
  border-color: rgba(255, 152, 0, 0.5);
  box-shadow: 0 15px 45px rgba(255, 152, 0, 0.15);
  transform: scale(1.005);
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* افکت شیشه‌ای روی پوستر ویدیو */
.video-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 152, 0, 0.05),
    rgba(255, 152, 0, 0.02)
  );
  pointer-events: none;
  z-index: 1;
  border-radius: 20px;
}

/* استایل کنترل‌های ویدیو برای مرورگرهای WebKit (کروم، اج، اپرا) */
.video-wrapper video::-webkit-media-controls-play-button {
  background-color: #ff9800;
  border-radius: 50%;
  padding: 5px;
  transform: scale(1.1);
  transition: 0.3s;
}
.video-wrapper video::-webkit-media-controls-play-button:hover {
  background-color: #e68900;
  transform: scale(1.2);
}

.video-wrapper video::-webkit-media-controls-timeline {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  height: 4px;
}
.video-wrapper video::-webkit-media-controls-timeline:hover {
  height: 6px;
}

.video-wrapper video::-webkit-media-controls-panel {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
  padding: 10px 15px;
}

.video-wrapper video::-webkit-media-controls-current-time-display,
.video-wrapper video::-webkit-media-controls-time-remaining-display {
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.video-wrapper video::-webkit-media-controls-volume-slider {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  height: 4px;
}
.video-wrapper video::-webkit-media-controls-volume-slider:hover {
  height: 6px;
}

.video-wrapper video::-webkit-media-controls-fullscreen-button {
  color: #fff;
}

.video-btn-wrapper {
  text-align: center;
  margin-top: 25px;
}

.btn-video {
  display: inline-block;
  background: #ff9800;
  color: #ffffff;
  padding: 14px 45px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  box-shadow: 0 8px 20px rgba(255, 152, 0, 0.35);
  transition: 0.3s;
  border: none;
  cursor: pointer;
}
.btn-video:hover {
  background: #e68900;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(255, 152, 0, 0.45);
}

/* ========== بخش دانلود ========== */
.download-section {
  padding: 40px 0 60px;
  background: transparent;
  margin: 20px 0;
}

.download-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 30px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.download-item {
  background: white;
  padding: 25px 15px;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f3f5;
  text-align: center;
  transition: 0.3s;
  text-decoration: none;
  color: #1f2937;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.download-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: #ff9800;
}

.download-item .icon {
  font-size: 40px;
  color: #ff9800;
}

.download-item .label {
  font-size: 18px;
  font-weight: 600;
}

.download-item .sub-label {
  font-size: 13px;
  color: #6b7280;
}

.download-footer {
  text-align: center;
  margin-top: 30px;
  color: #6b7280;
  font-size: 14px;
}

.download-footer .related-links {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 5px;
}
/* ========== بخش اکسل ========== */
.excel-section {
  padding: 40px 0 60px;
  background: transparent;
  margin: 20px 0;
}

.excel-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 30px;
}

.excel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.excel-item {
  background: white;
  padding: 25px 15px;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f3f5;
  text-align: center;
  transition: 0.3s;
  text-decoration: none;
  color: #1f2937;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.excel-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: #ff9800;
}

.excel-item .icon {
  font-size: 40px;
  color: #ff9800;
}

.excel-item .label {
  font-size: 18px;
  font-weight: 600;
}

.excel-item .sub-label {
  font-size: 13px;
  color: #6b7280;
}

.excel-footer {
  text-align: center;
  margin-top: 30px;
  color: #6b7280;
  font-size: 14px;
}

.excel-footer .related-links {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 5px;
}

.btn-excel {
  display: inline-block;
  background: #ff9800;
  color: #ffffff;
  padding: 1px 50px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  /* box-shadow: 0 8px 20px rgba(255, 152, 0, 0.35); */
  transition: 0.3s;
  border: none;
  cursor: pointer;
}
.btn-excel:hover {
  background: #e68900;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(255, 152, 0, 0.45);
}

/* ========== بخش تماس با ما ========== */
.contact-section {
  padding: 40px 0 60px;
  background: transparent;
  margin: 0 0 20px 0;
}

.contact-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 30px;
}

.contact-wrapper {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  /* gap: 40px; */
  max-width: 1000px;
  /* margin: 0 auto;   */
}

.contact-info {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: white;
  padding: 20px 27px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f3f5;
  transition: 0.3s;
}
.contact-info-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-color: #ff9800;
}

.contact-info-item .icon {
  font-size: 28px;
  color: #ff9800;
  width: 50px;
  text-align: center;
}

.contact-info-item .text {
  font-size: 16px;
  color: #1f2937;
}
.contact-info-item .text small {
  color: #6b7280;
  font-size: 13px;
  display: block;
}

.contact-form {
  flex: 2 1 400px;
  background: white;
  padding: 30px 35px;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f3f5;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  color: #1f2937;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 16px;
  transition: 0.3s;
  background: #f9fafb;
  color: #1f2937;
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #ff9800;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 152, 0, 0.1);
}

.contact-form textarea {
  height: 120px;
  resize: vertical;
}

.contact-form .btn-submit {
  background: #ff9800;
  color: white;
  padding: 14px 45px;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 8px 20px rgba(255, 152, 0, 0.35);
  width: 100%;
}
.contact-form .btn-submit:hover {
  background: #e68900;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(255, 152, 0, 0.45);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-submit.loading {
    opacity: 0.8;
}

/* ---- استایل خطاهای فرم ---- */
.input-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15) !important;
}

.error-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 4px;
    display: block;
}

/* تغییر رنگ placeholder در صورت خطا (اختیاری) */
.input-error::placeholder {
    color: #dc3545 !important;
}

/* ---------- فوتر (پاصفحه) ---------- */
footer {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border-top: 1px solid #e5e7eb;
  padding: 28px 0;
  text-align: center;
  color: #6b7280;
}

/* ============================================================
                   طراحی واکنش‌گرا (ریسپانسیو) - اصلاح شده
                   ============================================================ */

/* تبلت و موبایل بزرگ */
/* @media (max-width: 992px) {
 
} */

/* موبایل متوسط و تبلت کوچک (زیر 850px) */
@media (max-width: 1046px) {
   .hero-text h1 {
    font-size: 40px;
  }
  .download-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
  }
  .excel-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
  }
  /* هدر را برای قرارگیری منوی دراپ‌دان آماده می‌کنیم */
  header {
    position: relative;
    overflow: visible;
  }

  .container {
    width: 100%;
  }

  /* هدر به صورت افقی با لوگو چپ و همبرگر راست */
  .header-flex {
    width: 100%;
    display: flex;
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }

  /* لوگو در سمت چپ (بدون تغییر جایگاه) */
  .logo {
    order: 2;
  }

  /* دکمه همبرگر در سمت راست */
  .hamburger {
    display: flex;
    order: 0;
  }

  /* منوی ناوبری به صورت دراپ‌دان زیر هدر */
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #757575;
    padding: 15px 20px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    z-index: 150;
    margin-top: 0;
  }
  .nav.open {
    display: flex;
  }

  .nav a {
    font-size: 16px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    text-align: center;
  }
  .nav a:last-child {
    border-bottom: none;
  }

  .hero-section {
    display: none;
  }
  .hero-section-sm {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 40px 0 30px;
    gap: 30px;
  }
  .hero-text p {
    margin: 0 auto 30px;
    max-width: 100%;
  }
  .hero-text h1 {
    font-size: 36px;
  }
  .iphone {
    width: 260px;
    height: 530px;
  }
  .swiper {
    height: 280px;
  }
  .swiper-button-prev,
  .swiper-button-next {
    width: 36px;
    height: 36px;
  }
  .swiper-button-prev::after,
  .swiper-button-next::after {
    font-size: 14px;
  }
  .gallery-title,
  .video-title,
  .download-title,
  .excel-title,
  .contact-title {
    font-size: 28px;
  }
  .features {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 30px 0 40px;
  }
  .contact-wrapper {
    flex-direction: column;
  }
  .contact-form {
    padding: 25px 20px;
  }
  .download-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 500px;
  }
  .excel-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 500px;
  }

  .contact-info {
    flex: 0;
  }
}

/* موبایل کوچک (زیر 600px) */
@media (max-width: 600px) {
  .container {
    padding: 0 15px;
  }

  /* همان تنظیمات دراپ‌دان را حفظ می‌کنیم */
  header {
    position: sticky;
    overflow: visible;
  }

  .header-flex {
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }

  .logo {
    order: 2;
  }
  .logo img {
    width: 30px;
    height: 30px;
    border-radius: 10%;
  }

  .hamburger {
    display: flex;
    order: 0;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #757575;
    padding: 15px 20px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    z-index: 150;
    margin-top: 0;
  }
  .nav.open {
    display: flex;
  }

  .nav a {
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    text-align: center;
  }
  .nav a:last-child {
    border-bottom: none;
  }

  .hero-text h1 {
    font-size: 28px;
  }
  .hero-text p {
    font-size: 16px;
  }
  .btn {
    padding: 12px 30px;
    font-size: 16px;
  }
  .iphone {
    width: 200px;
    height: 410px;
    padding: 8px;
    border-radius: 34px;
  }
  .screen {
    border-radius: 28px;
  }
  .notch {
    width: 100px;
    height: 22px;
    top: 8px;
  }
  .notch .speaker {
    width: 30px;
    height: 4px;
  }
  .notch .camera {
    width: 8px;
    height: 8px;
  }
  .side-btn-top {
    top: 70px;
    height: 30px;
  }
  .side-btn-bottom {
    top: 120px;
    height: 40px;
  }
  .swiper {
    height: 180px;
    border-radius: 14px;
  }
  .swiper-button-prev,
  .swiper-button-next {
    width: 28px;
    height: 28px;
  }
  .swiper-button-prev::after,
  .swiper-button-next::after {
    font-size: 11px;
  }
  .swiper-button-prev {
    left: 5px;
  }
  .swiper-button-next {
    right: 5px;
  }
  .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }
  .swiper-pagination-bullet-active {
    transform: scale(1.2);
  }
  .gallery-title,
  .video-title,
  .download-title,
  .excel-title,
  .contact-title {
    font-size: 22px;
    margin-bottom: 20px;
  }
  .features {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 0 30px;
  }
  .feature-item {
    padding: 20px 15px;
  }
  .feature-item .emoji-big {
    font-size: 32px;
  }
  .feature-item h3 {
    font-size: 18px;
  }
  .feature-item p {
    font-size: 14px;
  }
  .download-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 100%;
  }
  .download-item {
    padding: 15px 10px;
  }
  .download-item .icon {
    font-size: 28px;
  }
  .download-item .label {
    font-size: 14px;
  }
  .download-item .sub-label {
    font-size: 11px;
  }
  .excel-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 100%;
  }
  .excel-item {
    padding: 15px 10px;
  }
  .excel-item .icon {
    font-size: 28px;
  }
  .excel-item .label {
    font-size: 14px;
  }
  .excel-item .sub-label {
    font-size: 11px;
  }
  .video-wrapper {
    border-radius: 14px;
  }
  .btn-video {
    padding: 10px 25px;
    font-size: 15px;
  }
  .contact-form {
    padding: 18px 15px;
    border-radius: 16px;
  }
  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
    padding: 10px 14px;
  }
  .contact-form textarea {
    height: 90px;
  }
  .contact-form .btn-submit {
    padding: 12px 30px;
    font-size: 16px;
  }
  .contact-info-item {
    padding: 12px 16px;
    gap: 12px;
  }
  .contact-info-item .icon {
    font-size: 20px;
    width: 35px;
  }
  .contact-info-item .text {
    font-size: 14px;
  }
  .contact-info-item .text small {
    font-size: 12px;
  }
  .lightbox-close {
    top: 15px;
    right: 15px;
    font-size: 32px;
  }
  footer {
    padding: 18px 0;
    font-size: 14px;
  }
}

/* موبایل خیلی کوچک (زیر 400px) */
@media (max-width: 400px) {
  .download-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
  }
  .excel-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
  }
  .iphone {
    width: 170px;
    height: 350px;
    padding: 6px;
    border-radius: 28px;
  }
  .screen {
    border-radius: 24px;
  }
  .notch {
    width: 80px;
    height: 18px;
    top: 6px;
  }
  .notch .speaker {
    width: 25px;
    height: 3px;
  }
  .notch .camera {
    width: 6px;
    height: 6px;
  }
  .hero-text h1 {
    font-size: 24px;
  }
  .swiper {
    height: 150px;
  }
  .nav a {
    font-size: 13px;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 15px 12px;
  }
}
