  @font-face {
    font-family: "IRANMarker";
    src: url("../fonts/IRANMarker.ttf");
    font-weight: 400;
    font-style: normal;
  }
  @font-face {
    font-family: "IRANSansWeb";
    src: url("../fonts/IRANSansWeb.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
  }
  @font-face {
    font-family: "IRANSansWebBold";
    src: url("../fonts/IRANSansWeb_Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
  }
  /* ================= متغیرها ================= */
  :root {
    --navy: #0b1a2b;
    --navy-light: #12263d;
    --navy-dark: #060f19;
    --gold: #d4af37;
    --gold-light: #f0d36b;
    --text-light: #e8eef5;

    --gold-gradient: linear-gradient(
      135deg,
      #f9e7a0 0%,
      #d4af37 25%,
      #fff3c4 50%,
      #c9971e 75%,
      #f0d36b 100%
    );

    /* گرادیان براق دکمه: یک لایه نور متحرک + پایه طلایی */
    --btn-shine: linear-gradient(
      115deg,
      #d4af37 0%,
      #f9e7a0 20%,
      #fff3c4 30%,
      #d4af37 45%,
      #c9971e 60%,
      #f0d36b 80%,
      #d4af37 100%
    );
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: 'IRANMarker', 'IRANSansWeb', sans-serif;
    background-color: var(--navy);
    color: var(--text-light);
    line-height: 1.8;
  }

  a{
    text-decoration: none !important;
  }
  /* ================= متن طلایی گرادیانی ================= */
  .gold-text {
    background: var(--gold-gradient);
    font-family: 'IRANSansWebBold', sans-serif;
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5))
            drop-shadow(0 0 12px rgba(212, 175, 55, 0.25));
    animation: goldShine 6s linear infinite;
  }

  @keyframes goldShine {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
  }

  /* ================= دکمه‌ها ================= */
  .btn {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
  }

  /* دکمه اصلی: گرادیان یکپارچه متحرک (بدون نوار جداگانه) */
  .btn-primary {
    font-family: 'IRANSansWeb', sans-serif;
    position: relative;
    background: var(--btn-shine);
    background-size: 250% auto;
    color: var(--navy-dark);
    border: none;
    box-shadow:
      0 4px 15px rgba(212, 175, 55, 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.6),
      inset 0 -2px 6px rgba(120, 80, 0, 0.35);
    animation: btnShine 20s linear infinite;
    transition: transform 0.3s, box-shadow 0.3s;
  }

  @keyframes btnShine {
    0%   { background-position: 0% center; }
    100% { background-position: 250% center; }
  }

  .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow:
      0 8px 25px rgba(212, 175, 55, 0.55),
      inset 0 1px 0 rgba(255, 255, 255, 0.8),
      inset 0 -2px 6px rgba(120, 80, 0, 0.35);
  }

  /* دکمه ثانویه */
  .btn-outline {
    font-family: 'IRANSansWeb', sans-serif;
    position: relative;
    overflow: hidden;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    z-index: 1;
    transition: color 0.4s, transform 0.3s, box-shadow 0.3s;
  }

  .btn-outline::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gold-gradient);
    background-size: 200% auto;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s;
    animation: btnShine 20s linear infinite;
  }

  .btn-outline:hover {
    color: var(--navy-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.45);
  }

  .btn-outline:hover::before {
    opacity: 1;
  }

  /* ================= ویدئوی پس‌زمینه ================= */
  
  .hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 0;
  }
  .hero-spacer {
    height: 100vh;
    min-height: 600px;
  }
  .video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }

  .video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
  }

  .video-background::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(6, 15, 25, 0.60),
      rgba(11, 26, 43, 0.70)
    );
  }

  /* ================= هدر ================= */
  .header {
    font-family: 'IRANSansWeb', sans-serif;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 6%;
    background: rgba(6, 15, 25, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    transition: padding 0.3s;
  }

  .logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 1px;
    flex-shrink: 0;
  }

  .nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
  }

  .nav-menu a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s;
  }

  .nav-menu a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: width 0.3s;
  }

  .nav-menu a:hover {
    color: var(--gold-light);
  }

  .nav-menu a:hover::after {
    width: 100%;
  }

  /* دکمه CTA هدر (دسکتاپ) */
  .nav-cta {
    position: relative;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    background: var(--btn-shine);
    background-size: 250% auto;
    color: var(--navy-dark);
    border: none;
    box-shadow:
      0 3px 12px rgba(212, 175, 55, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.6),
      inset 0 -2px 5px rgba(120, 80, 0, 0.3);
    animation: btnShine 20s linear infinite;
    transition: transform 0.3s, box-shadow 0.3s;
  }

  .nav-cta:hover {
    transform: translateY(-2px);
    box-shadow:
      0 6px 20px rgba(212, 175, 55, 0.55),
      inset 0 1px 0 rgba(255, 255, 255, 0.8),
      inset 0 -2px 5px rgba(120, 80, 0, 0.3);
  }

  /* منوی موبایل - دکمه همبرگری */
  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 8px;
    cursor: pointer;
    padding: 0 9px;
    transition: background 0.3s;
    flex-shrink: 0;
  }

  .hamburger:hover {
    background: rgba(212, 175, 55, 0.2);
  }

  .hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
  }

  /* انیمیشن تبدیل همبرگری به ضربدر */
  .hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* منوی کشویی موبایل */
  .mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 78%;
    max-width: 320px;
    height: 100vh;
    background: rgba(6, 15, 25, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-left: 1px solid rgba(212, 175, 55, 0.25);
    z-index: 99;
    padding: 100px 30px 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .mobile-menu.active {
    right: 0;
  }

  .mobile-menu a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: color 0.3s, padding-right 0.3s;
  }

  .mobile-menu a:hover {
    color: var(--gold-light);
    padding-right: 6px;
  }

  .mobile-menu .nav-cta {
    margin-top: 24px;
    text-align: center;
    padding: 14px 22px;
    font-size: 1rem;
  }

  /* لایه تاریک پشت منوی موبایل */
  .menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
  }

  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* ================= محتوای Hero ================= */
  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 24px;
  }

  .hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.5;
  }

  .hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 36px;
    opacity: 0.9;
  }

  .hero-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
  }

  /* ================= بخش‌های عمومی ================= */
  section {
    padding: 120px 6%;
  }

  .section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 14px;
  }

  .section-subtitle {
    text-align: center;
    color: var(--text-light);
    opacity: 0.75;
    margin-bottom: 60px;
    font-size: 1.05rem;
  }

  /* ================= امکانات ================= */
  .features {
    background-color: var(--navy);
  }

  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .feature-card {
    background: var(--navy-light);
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.3s;
  }

  .feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.15);
  }

  .feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    border-radius: 50%;
    /* background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3); */
    color: var(--gold);
  }
  .feature-icon img{
    max-width: 100%;
    max-height: 100%;
  }

  .feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 700;
  }

  .feature-card p {
    color: var(--text-light);
    opacity: 0.8;
    font-size: 0.95rem;
    line-height: 1.9;
  }

  /* ================= درباره ما ================= */
  .about {
    background: linear-gradient(
      135deg,
      var(--navy-dark) 0%,
      var(--navy-light) 100%
    );
  }

  .about-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
  }

  .about-text {
    flex: 1;
    min-width: 300px;
  }

  .about-text h3 {
    font-size: 1.6rem;
    margin-bottom: 18px;
    font-weight: 700;
  }

  .about-text p {
    color: var(--text-light);
    opacity: 0.85;
    margin-bottom: 16px;
    line-height: 1.9;
  }

  .about-stats {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-box {
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 14px;
    padding: 28px 18px;
    text-align: center;
    transition: all 0.3s;
  }

  .stat-box:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.12);
  }

  .stat-number {
    font-size: 2.2rem;
    font-weight: 800;
  }

  .stat-label {
    color: var(--text-light);
    opacity: 0.75;
    font-size: 0.9rem;
    margin-top: 6px;
  }

  /* ================= فوتر ================= */
  .footer {
    background: var(--navy-dark);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 60px 6% 24px;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
  }

  .footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 18px;
    font-weight: 700;
  }

  .footer-col p,
  .footer-col a {
    color: var(--text-light);
    opacity: 0.75;
    text-decoration: none;
    font-size: 0.92rem;
    display: block;
    margin-bottom: 10px;
    transition: all 0.3s;
  }

  .footer-col a:hover {
    color: var(--gold-light);
    opacity: 1;
    padding-right: 4px;
  }

  .footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    opacity: 0.55;
    font-size: 0.85rem;
  }

  .logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.stamp {
  width: 110px; /* سایز مهر */
  height: auto;
  filter: drop-shadow(0 2px 5px rgba(212, 175, 55, 0.4));
  animation: stampPulse 3s ease-in-out infinite;
  rotate: -30deg;
  margin-right: -40px;
  opacity: 0.7;
}

.stamp svg {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes stampPulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%      { transform: scale(1.03) rotate(-3deg); } /* کمی چرخش برای حس مهر واقعی */
}

  /* ================= ریسپانسیو ================= */
  @media (max-width: 900px) {
    .nav-menu {
      display: none;
    }

    .nav-cta {
      display: none;
    }

    .hamburger {
      display: flex;
    }

    .header {
      padding: 12px 5%;
    }

    .logo {
      font-size: 1.35rem;
    }
    .stamp {
      width: 80px;
    }
  }

  @media (max-width: 768px) {
    .hero-content h1 {
      font-size: 2rem;
    }
    .hero-content p {
      font-size: 1rem;
    }
    .section-title {
      font-size: 1.7rem;
    }
    .about-container {
      gap: 40px;
    }
    section {
      padding: 70px 5%;
    }
    .footer-grid {
      gap: 30px;
    }
  }

  @media (max-width: 480px) {
    .hero-content h1 {
      font-size: 1.6rem;
    }
    .logo {
      font-size: 1.2rem;
    }
    .btn {
      padding: 12px 24px;
      font-size: 0.9rem;
    }
    .hero-buttons {
      flex-direction: column;
      align-items: stretch;
    }
    .mobile-menu {
      width: 85%;
    }
    .stamp {
      width: 60px;
    }
    .logo-wrap {
      gap: 8px;
    }
  }

.features,
.about,
.footer {
  position: relative;
  z-index: 2;
}