@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/vazirmatn.ttf') format('truetype');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f6fbfb;
  --card: #ffffff;
  --muted: #6b7280;
  --accent: #00bfa5;
  --green-700: #1f7a3a;
  --red-700: rgb(209, 47, 47);
  --shadow: 0 10px 30px rgba(8, 20, 30, 0.06);
  --radius: 12px;
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --text-light: #666;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --primary-color: #1f7a3a;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
  background: var(--bg);
  color: #0b2540;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.lines {
  background-color: var(--green-700);
  width: 50px;
  height: 4px;
  border-radius: 10px;
  margin-top: 5px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 14px rgba(10, 20, 30, 0.06);
  backdrop-filter: blur(6px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 46px;
  width: auto;
  display: block;
}

.site-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--green-700);
}

.site-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

nav.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

nav.main-nav a {
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

.hamburger {
  display: none;
  background: transparent;
  border: 0;
  font-size: 22px;
  cursor: pointer;
}

.container {
  max-width: 1200px;
  margin: 14px auto;
  padding: 0 16px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 18px;
  align-items: center;
  padding: 26px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(38, 166, 154, 0.09), rgba(76, 175, 80, 0.03));
  box-shadow: var(--shadow);
}

.hero h1 {
  margin: 0;
  font-size: 32px;
  color: var(--green-700);
  line-height: 1.1;
}

.lead {
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.guarantee {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green-700), var(--accent));
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 6px 18px rgba(27, 94, 32, 0.12);
}

.card {
  background: var(--card);
  padding: 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-title {
  font-weight: 800;
  color: var(--green-700);
  font-size: 18px;
  margin-bottom: 6px;
}

.small-muted {
  font-size: 11px;
  color: var(--muted);
}

.phone-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

input[type="text"] {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #e6edf0;
  font-size: 15px;
  font-family: 'Vazirmatn';
  outline: none;
}

input[type="text"]:focus {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  border-color: var(--green-700);
}

.actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.btn {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  border: 0;
  font-weight: 800;
  cursor: pointer;
  font-family: 'Vazirmatn';
  font-size: 15px;
}

.btn-primary {
  background: var(--green-700);
  color: #fff;
}

.btn-outline {
  background: #212121;
  color: #fff;
}

@media(max-width:720px) {
  .DFS {
    grid-template-columns: 1fr !important;
  }

  .actions {
    flex-direction: column;
  }
}

.app-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-head {
  display: flex;
  gap: 10px;
  align-items: center;
}

.app-logo {
  height: 48px;
  width: 48px;
  border-radius: 8px;
  object-fit: contain;
}

.app-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.media-section {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
  margin-top: 20px;
}

.video-frame {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(8, 20, 30, 0.06);
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 10px;
  background: var(--card);
  box-shadow: 0 8px 24px rgba(8, 20, 30, 0.04);
  transition: transform .38s cubic-bezier(.2, .9, .3, 1);
}

.feature-item:hover {
  transform: translateY(-6px);
}

.icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  background: linear-gradient(135deg, var(--accent), var(--green-700));
  flex-shrink: 0;
}

.feature-body strong {
  display: block;
  font-weight: 800;
  color: #0b2540;
}

.feature-body p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.comments-wrap {
  margin-top: 26px;
}

.comments-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-behavior: smooth;
}

.comment-card {
  flex: 0 0 auto;
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: var(--card);
  box-shadow: 0 8px 20px rgba(8, 20, 30, 0.06);
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 5px solid transparent;
  box-shadow: 0 6px 18px rgba(8, 20, 30, 0.06);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar.ring-green {
  border-color: rgba(31, 122, 58, 0.18);
  background: linear-gradient(180deg, #eaf7ef, #fff);
}

.comment-body h4 {
  margin: 0;
  font-size: 15px;
}

.comment-body p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.stars {
  color: #f5b301;
  font-weight: 800;
  margin-top: 6px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.gallery-item {
  background: var(--card);
  padding: 8px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(8, 20, 30, 0.04);
  text-align: center;
}

.gallery-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
}

.gallery-item h4 {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--green-700);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.support-faq {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 18px;
}

.support {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  gap: 12px;
}

.support img {
  width: 40px;
  height: 40px;
}

.faq .faq-item {
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 8px;
  background: var(--card);
  box-shadow: 0 8px 20px rgba(8, 20, 30, 0.04);
}

.faq .faq-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border: 0;
  background: transparent;
  width: 100%;
  cursor: pointer;
  font-weight: 800;
}

.faq .faq-head .arrow {
  transition: transform .3s;
}

.faq .answer {
  padding: 12px;
  border-top: 1px solid #f0f3f6;
  color: var(--muted);
  display: none;
  animation: fadeIn .28s ease both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

footer {
  margin-top: 30px;
  padding: 20px 16px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 3fr 1fr;
  gap: 18px;
  align-items: start;
  background: var(--card);
  padding: 18px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.footer-grid img {
  height: 48px;
}

.footer-grid a {
  display: block;
  color: var(--green-700);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 6px;
}

@media(max-width:1000px) {
  .hero {
    grid-template-columns: 1fr 360px;
  }

  .media-section {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .comments-scroll {
    padding: 6px 8px;
  }
}

@media(max-width:720px) {
  .site-header {
    padding: 8px 12px;
  }

  .brand img {
    height: 40px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  nav.main-nav {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .media-section {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 22px;
  }

  .container {
    padding: 0 12px;
  }

  .gallery-item img {
    height: 140px;
  }

  .comments-scroll {
    gap: 10px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
    article {
      width:100% !important;
      flex:1;
    }
}

.muted {
  color: var(--muted);
}

.mb-10 {
  margin-bottom: 10px;
}

.sitelogo {
  border-radius: 5px;
}

span {
  font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.active {
  display: flex;
  opacity: 1;
}

.close-modal {
  position: absolute;
  top: 15px;
  left: 15px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-light);
  cursor: pointer;
}

.modal-icon {
  font-size: 60px;
  color: var(--primary-color);
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}

.modal-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
}

.modal-text {
  margin-bottom: 25px;
  color: var(--text-light);
  line-height: 1.7;
}

.btn-primary2 {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn2 {
  border-radius: var(--border-radius);
  padding: 15px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  width: 100%;
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal-content {
  background: white;
  border-radius: var(--border-radius-lg);
  width: 90%;
  max-width: 500px;
  padding: 30px;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.comments-scroll {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 100vw;
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  direction: rtl;
}

.comments-scroll::-webkit-scrollbar {
  height: 0px;
}

.comments-scroll::-webkit-scrollbar-thumb {
}

article {
  width:33%;
  flex: 0 0 1;
  scroll-snap-align: end;
  box-sizing: border-box;
  background: #fafafa;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  border: 1px solid #eee;
  direction: ltr;
}