/*! landing page */
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.lp-body {
  margin: 0;
  min-height: 100vh;
  color: #F7F3E8;
  /* یک رنگ پایه ثابت تا بین هیرو و سکشن‌ها خط رنگی ساخته نشود */
  background-color: #121C2E;
  background-image:
    radial-gradient(ellipse 70% 48% at 8% -5%, rgba(201, 162, 39, 0.2), transparent 58%),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(255, 255, 255, 0.06), transparent 52%),
    radial-gradient(ellipse 60% 45% at 70% 100%, rgba(26, 47, 77, 0.55), transparent 60%);
  background-attachment: fixed;
  font-family: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
}

.lp-body a { color: inherit; }

.lp-top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(14, 22, 36, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #E8C547;
}

.lp-brand img {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.lp-auth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: .92rem;
  line-height: 1.2;
  white-space: nowrap;
  color: #121C2E;
  background: linear-gradient(135deg, #E8C547, #C9A227);
  box-shadow: 0 10px 24px rgba(201, 162, 39, 0.28);
  transition: transform .2s ease, filter .2s ease;
}
.lp-auth:hover { transform: translateY(-1px); filter: brightness(1.05); }

.lp-hero {
  min-height: auto;
  display: block;
  padding: 28px clamp(18px, 4vw, 48px) 0;
  position: relative;
  overflow: visible;
  background: transparent;
  border: none;
  box-shadow: none;
  margin: 0;
}

/* نور طلایی پایین هیرو خاموش — همین باعث خط تغییر نور می‌شد */
.lp-hero::before,
.lp-hero::after {
  display: none;
  content: none;
}

.lp-flow {
  position: relative;
  isolation: isolate;
}

/* پرده محو تمام‌عرض روی محل اتصال هیرو و درباره */
.lp-flow-veil {
  position: absolute;
  left: 0;
  right: 0;
  /* از میانه هیرو تا داخل سکشن درباره */
  top: clamp(280px, 52vh, 520px);
  height: clamp(220px, 38vh, 360px);
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(18, 28, 46, 0) 0%,
    rgba(18, 28, 46, 0.12) 18%,
    rgba(18, 28, 46, 0.38) 40%,
    rgba(18, 28, 46, 0.72) 62%,
    rgba(18, 28, 46, 0.92) 82%,
    #121C2E 100%
  );
}

.lp-hero-grid {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  padding-bottom: clamp(56px, 10vh, 120px);
}

.lp-hero-inner {
  position: relative;
  z-index: 6;
  max-width: none;
}

.lp-hero-visual {
  position: relative;
  z-index: 1;
  justify-self: stretch;
  border-radius: 0;
  overflow: visible;
  border: none;
  outline: none;
  box-shadow: none;
  background: transparent;
  animation: lp-fade-up .9s ease .1s both;
}

.lp-hero-visual::after {
  display: none;
  content: none;
}

.lp-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(420px, 52vh);
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.35));
}

.lp-kicker {
  display: inline-block;
  margin: 0 0 10px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: rgba(232, 197, 71, 0.9);
  animation: lp-fade-up .7s ease both;
}

.lp-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: #FFFEFA;
  max-width: 16ch;
  animation: lp-fade-up .8s ease .05s both;
}

.lp-hero p {
  margin: 14px 0 0;
  max-width: 42ch;
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.8;
  color: rgba(255, 254, 250, 0.72);
  animation: lp-fade-up .85s ease .12s both;
}

.lp-hero-cta {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: lp-fade-up .9s ease .18s both;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: .95rem;
  position: relative;
  z-index: 1;
  overflow: visible;
  box-shadow: none;
  filter: none;
  transform: none;
  width: auto;
  min-width: 160px;
}
.lp-btn::after { display: none !important; content: none !important; }
.lp-btn:hover { transform: none; filter: brightness(1.04); }
.lp-btn:disabled {
  opacity: .7;
  cursor: wait;
}
.lp-btn-primary {
  color: #121C2E;
  background: linear-gradient(135deg, #E8C547, #C9A227);
}
.lp-btn-ghost {
  color: #FFF8E0;
  background: transparent;
  border: 1px solid rgba(232, 197, 71, 0.45);
}

@keyframes lp-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.lp-section {
  padding: clamp(40px, 6vh, 72px) clamp(18px, 4vw, 48px);
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  background: transparent;
  border: none;
  box-shadow: none;
}

#about {
  position: relative;
  z-index: 6;
  padding-top: clamp(12px, 3vh, 28px);
  margin-top: 0;
  border-top: none;
}

.lp-section h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  color: #E8C547;
}

.lp-lead {
  margin: 0 0 28px;
  max-width: 58ch;
  color: rgba(255, 254, 250, 0.7);
  font-size: 1.02rem;
  line-height: 1.85;
}

.lp-about-panel {
  padding: 0;
  border: none;
  background: transparent;
}

.lp-modules {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lp-mod {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 24px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lp-mod h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #FFFEFA;
  letter-spacing: -0.02em;
}

.lp-mod p {
  margin: 4px 0 0;
  grid-column: 1 / 2;
  color: rgba(255, 254, 250, 0.58);
  font-size: .9rem;
  line-height: 1.65;
}

.lp-price {
  font-weight: 800;
  color: #E8C547;
  white-space: nowrap;
  font-size: .95rem;
}

.lp-note {
  margin-top: 14px;
  font-size: .82rem;
  color: rgba(255, 254, 250, 0.45);
}

.lp-contact-wrap {
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.lp-section--contact {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lp-section--contact h2,
.lp-section--contact .lp-contact-banner {
  text-align: center;
}

.lp-contact-banner {
  margin: 0 auto 22px;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 700;
  line-height: 1.6;
  color: #FFF4D4;
  letter-spacing: -0.02em;
  max-width: 28ch;
}

.lp-form {
  display: grid;
  gap: 18px;
  position: relative;
  z-index: 2;
  text-align: right;
  width: 100%;
}

.lp-form label {
  display: grid;
  gap: 8px;
  font-size: .86rem;
  font-weight: 600;
  color: rgba(255, 254, 250, 0.75);
  margin: 0;
  text-align: right;
}

.lp-form input,
.lp-form textarea {
  width: 100%;
  margin: 0;
  margin-bottom: 0;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 254, 250, 0.06);
  color: #FFFEFA;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  box-sizing: border-box;
}
.lp-form input:focus,
.lp-form textarea:focus {
  border-color: rgba(201, 162, 39, 0.65);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18);
}

.lp-form .lp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lp-form .lp-btn {
  margin-top: 6px;
  justify-self: center;
}

.lp-flash {
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 12px;
  font-size: .92rem;
}
.lp-flash.ok {
  background: rgba(47, 107, 79, 0.22);
  border: 1px solid rgba(47, 107, 79, 0.45);
  color: #B7E0C8;
}
.lp-flash.err {
  background: rgba(201, 75, 75, 0.18);
  border: 1px solid rgba(201, 75, 75, 0.4);
  color: #F0B4B4;
}

.lp-foot {
  padding: 28px clamp(18px, 4vw, 48px) 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 254, 250, 0.5);
  font-size: .85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: space-between;
}

.lp-foot a {
  color: #E8C547;
  text-decoration: none;
}
.lp-foot a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .lp-hero-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .lp-hero-visual {
    order: -1;
    max-width: 520px;
    width: 100%;
    justify-self: center;
  }
}

@media (max-width: 720px) {
  .lp-form .lp-row { grid-template-columns: 1fr; }
  .lp-mod {
    grid-template-columns: 1fr;
  }
  .lp-price { justify-self: start; }
  .lp-hero {
    padding-top: 20px;
  }
  .lp-top {
    gap: 10px;
    padding: 12px 14px;
  }
  .lp-brand {
    gap: 8px;
  }
  .lp-brand img {
    height: 32px;
    max-width: 120px;
  }
  .lp-brand span {
    font-size: .78rem;
    max-width: min(42vw, 160px);
  }
  .lp-auth {
    padding: 8px 12px;
    font-size: .8rem;
  }
}
