.seed-demo-page {
  overflow: hidden;
  color: #17113f;
  background:
    radial-gradient(
      circle at 88% 9%,
      rgba(146, 43, 225, 0.1),
      transparent 27%
    ),
    radial-gradient(
      circle at 8% 20%,
      rgba(24, 184, 174, 0.09),
      transparent 24%
    ),
    #fbfaff;
}

.seed-demo-page *,
.seed-demo-page *::before,
.seed-demo-page *::after {
  box-sizing: border-box;
}

.seed-demo-shell {
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
}

.seed-demo-hero {
  position: relative;
  padding: 96px 0 80px;
}

.seed-demo-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      #18b8ae,
      #7627df,
      #d728e8,
      transparent
    );
  opacity: 0.8;
}

.seed-demo-heading {
  width: min(820px, 100%);
  margin: 0 0 46px auto;
}

.seed-demo-eyebrow,
.seed-demo-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #6c2bd9;
  font-size: 15px;
  font-weight: 800;
}

.seed-demo-eyebrow::before,
.seed-demo-kicker::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #18b8ae, #7627df);
}

.seed-demo-heading h1 {
  max-width: 700px;
  margin: 14px 0 18px;
  color: #17113f;
  font-size: clamp(42px, 3.6vw, 76px);
  line-height: 1.22;
  letter-spacing: -0.045em;
  font-weight: 750;
}

.seed-demo-heading p {
  max-width: 690px;
  margin: 0;
  color: #6e6a82;
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 2;
}

.seed-demo-layout {
  display: grid;
  grid-template-columns:
    minmax(420px, 0.9fr)
    minmax(0, 1.1fr);
  gap: clamp(42px, 5vw, 78px);
  align-items: center;
}

/* فرم */

.seed-demo-form-card {
  position: relative;
  z-index: 3;
  min-height: 650px;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(108, 43, 217, 0.11);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 80px rgba(33, 23, 71, 0.11);
  backdrop-filter: blur(16px);
}

.seed-demo-form-card::after {
  content: "";
  position: absolute;
  inset: auto 36px 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background:
    linear-gradient(
      90deg,
      #18b8ae,
      #7627df,
      #d728e8
    );
}

.seed-demo-form-card__top {
  display: grid;
  gap: 26px;
  margin-bottom: 34px;
}

.seed-demo-form-card__top h2 {
  margin: 8px 0 0;
  color: #17113f;
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1.4;
  font-weight: 900;
}

/* پیشرفت فرم */

.seed-demo-progress__labels {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
  color: #a09bad;
  font-size: 13px;
  font-weight: 700;
}

.seed-demo-progress__labels span {
  transition: color 220ms ease;
}

.seed-demo-progress__labels span.is-active {
  color: #6c2bd9;
}

.seed-demo-progress__track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #eeeaf7;
}

.seed-demo-progress__track span {
  display: block;
  width: 50%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #18b8ae, #7627df);
  transition:
    width 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* فیلد ضدربات */

.seed-demo-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

/* مراحل */

.seed-demo-form-step {
  animation:
    seedDemoStepIn
    380ms
    cubic-bezier(0.22, 1, 0.36, 1)
    both;
}

.seed-demo-form-step[hidden],
.seed-demo-success[hidden] {
  display: none !important;
}

.seed-demo-step-heading {
  margin-bottom: 26px;
}

.seed-demo-step-heading > span {
  color: #18a9a0;
  font-size: 13px;
  font-weight: 900;
}

.seed-demo-step-heading h3 {
  margin: 7px 0 6px;
  color: #17113f;
  font-size: clamp(23px, 2.2vw, 30px);
  line-height: 1.5;
  font-weight: 900;
}

.seed-demo-step-heading p {
  margin: 0;
  color: #827d90;
  font-size: 14px;
  line-height: 1.9;
}

/* فیلدها */

.seed-demo-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px 16px;
}

.seed-demo-field {
  min-width: 0;
}

.seed-demo-field--full {
  grid-column: 1 / -1;
}

.seed-demo-field label {
  display: block;
  margin-bottom: 8px;
  color: #322b50;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 800;
}

.seed-demo-field label b {
  color: #922be1;
}

.seed-demo-field input,
.seed-demo-field select,
.seed-demo-field textarea {
  display: block;
  width: 100%;
  margin: 0;
  border: 1px solid #e3dfed;
  border-radius: 14px;
  outline: none;
  color: #211747;
  background: #fcfbff;
  font: inherit;
  font-size: 14px;
  line-height: 1.6;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.seed-demo-field input,
.seed-demo-field select {
  height: 52px;
  padding: 0 15px;
}

.seed-demo-field textarea {
  min-height: 112px;
  padding: 13px 15px;
  resize: vertical;
}

.seed-demo-field input::placeholder,
.seed-demo-field textarea::placeholder {
  color: #aaa5b7;
}

.seed-demo-field input:focus,
.seed-demo-field select:focus,
.seed-demo-field textarea:focus {
  border-color: #7627df;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(118, 39, 223, 0.1);
}

.seed-demo-field input[aria-invalid="true"],
.seed-demo-field select[aria-invalid="true"],
.seed-demo-consent:has(input[aria-invalid="true"]) {
  border-color: #d83b68;
  box-shadow: 0 0 0 4px rgba(216, 59, 104, 0.08);
}

.seed-demo-field__hint,
.seed-demo-field__error {
  display: block;
  min-height: 18px;
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.6;
}

.seed-demo-field__hint {
  color: #918b9f;
}

.seed-demo-field__error {
  color: #c72d59;
  font-weight: 700;
}

.seed-demo-field__error--consent {
  grid-column: 1 / -1;
  margin-top: -12px;
}

/* رضایت تماس */

.seed-demo-consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px;
  border: 1px solid #e5e1ef;
  border-radius: 14px;
  color: #4a4460;
  background: #fbfaff;
  cursor: pointer;
}

.seed-demo-consent input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: #7627df;
  flex: 0 0 auto;
}

.seed-demo-consent > span {
  font-size: 13px;
  line-height: 1.8;
  font-weight: 800;
}

.seed-demo-consent small {
  display: block;
  color: #8e899d;
  font-size: 11px;
  font-weight: 500;
}

/* دکمه‌ها */

.seed-demo-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
}

.seed-demo-actions--end {
  justify-content: flex-end;
}

.seed-demo-button {
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.seed-demo-button:hover {
  transform: translateY(-2px);
}

.seed-demo-button:focus-visible,
.seed-demo-faq summary:focus-visible {
  outline: 3px solid rgba(24, 184, 174, 0.32);
  outline-offset: 4px;
}

.seed-demo-button--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      #6c2bd9,
      #922be1
    );
  box-shadow: 0 14px 30px rgba(108, 43, 217, 0.24);
}

.seed-demo-button--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid #ded8eb;
  color: #4d3f7a;
  background: #ffffff;
}

.seed-demo-button.is-loading {
  pointer-events: none;
  opacity: 0.78;
}

.seed-demo-button__loader {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: seedDemoSpin 700ms linear infinite;
}

.seed-demo-button.is-loading .seed-demo-button__loader {
  display: block;
}

.seed-demo-form__testing-note {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid #eeeaf5;
  color: #9b95a8;
  font-size: 11px;
  line-height: 1.8;
  text-align: center;
}

/* حالت موفقیت */

.seed-demo-success {
  min-height: 430px;
  padding: 60px 20px 30px;
  text-align: center;
  animation:
    seedDemoStepIn
    420ms
    cubic-bezier(0.22, 1, 0.36, 1)
    both;
}

.seed-demo-success__icon {
  display: grid;
  width: 76px;
  height: 76px;
  margin: 0 auto 22px;
  place-items: center;
  border-radius: 24px;
  color: #ffffff;
  background: linear-gradient(135deg, #18b8ae, #7627df);
  box-shadow: 0 18px 35px rgba(24, 184, 174, 0.22);
  font-size: 34px;
  font-weight: 900;
}

.seed-demo-success > span {
  color: #18a9a0;
  font-size: 14px;
  font-weight: 900;
}

.seed-demo-success h2 {
  margin: 10px 0 12px;
  color: #17113f;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.45;
}

.seed-demo-success p {
  max-width: 430px;
  margin: 0 auto 26px;
  color: #7d778c;
  font-size: 14px;
  line-height: 1.9;
}

/* تصویر */

.seed-demo-visual {
  min-width: 0;
}

.seed-demo-visual__stage {
  position: relative;
  min-height: 570px;
  display: grid;
  align-items: center;
}

.seed-demo-visual__stage::before {
  content: "";
  position: absolute;
  inset: 9% 5% 6%;
  border: 1px solid rgba(108, 43, 217, 0.13);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.seed-demo-visual__stage::after {
  content: "";
  position: absolute;
  inset: 21% 15% 16%;
  border: 1px dashed rgba(24, 184, 174, 0.22);
  border-radius: 50%;
  transform: rotate(10deg);
  animation: seedDemoOrbit 20s linear infinite;
}

.seed-demo-visual__picture {
  position: relative;
  z-index: 2;
  display: block;
  width: 112%;
  margin-inline: -12% 0;
  filter:
    drop-shadow(
      0 30px 38px rgba(26, 17, 65, 0.18)
    );
  animation: seedDemoFloat 6s ease-in-out infinite;
}

.seed-demo-visual__picture img {
  display: block;
  width: 100%;
  height: auto;
}

.seed-demo-visual__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.seed-demo-visual__glow--one {
  width: 330px;
  height: 330px;
  top: 18%;
  left: 12%;
  background: rgba(118, 39, 223, 0.13);
}

.seed-demo-visual__glow--two {
  width: 230px;
  height: 230px;
  right: 8%;
  bottom: 8%;
  background: rgba(24, 184, 174, 0.13);
}

/* کارت‌های شناور */

.seed-demo-floating-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 174px;
  padding: 13px 15px;
  border: 1px solid rgba(108, 43, 217, 0.12);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 36px rgba(35, 24, 77, 0.13);
  backdrop-filter: blur(15px);
}

.seed-demo-floating-card b,
.seed-demo-floating-card small {
  display: block;
}

.seed-demo-floating-card b {
  color: #211747;
  font-size: 13px;
}

.seed-demo-floating-card small {
  margin-top: 2px;
  color: #918b9f;
  font-size: 10px;
}

.seed-demo-floating-card__number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #6c2bd9, #922be1);
  font-size: 12px;
  font-weight: 900;
}

.seed-demo-floating-card__dot {
  width: 13px;
  height: 13px;
  border: 4px solid rgba(24, 184, 174, 0.2);
  border-radius: 50%;
  background: #18b8ae;
  box-shadow: 0 0 0 6px rgba(24, 184, 174, 0.08);
}

.seed-demo-floating-card--request {
  top: 14%;
  right: 2%;
  animation: seedDemoCardFloat 5s ease-in-out infinite;
}

.seed-demo-floating-card--session {
  left: 0;
  bottom: 18%;
  animation:
    seedDemoCardFloat
    5s
    1.2s
    ease-in-out
    infinite;
}

/* مسیر دریافت دمو */

.seed-demo-journey {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns:
    1fr 30px
    1fr 30px
    1fr;
  align-items: center;
  gap: 6px;
  padding: 17px;
  border: 1px solid rgba(108, 43, 217, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 45px rgba(33, 23, 71, 0.08);
  backdrop-filter: blur(12px);
}

.seed-demo-journey article {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.seed-demo-journey article > span {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 11px;
  color: #6c2bd9;
  background: #f1e9ff;
  font-size: 11px;
  font-weight: 900;
  flex: 0 0 auto;
}

.seed-demo-journey b,
.seed-demo-journey small {
  display: block;
  white-space: nowrap;
}

.seed-demo-journey b {
  color: #211747;
  font-size: 11px;
}

.seed-demo-journey small {
  margin-top: 3px;
  color: #9a94a7;
  font-size: 9px;
}

.seed-demo-journey i {
  height: 1px;
  background: linear-gradient(90deg, #18b8ae, #7627df);
}

/* مزایای دمو */

.seed-demo-benefits {
  padding: 90px 0;
  background: #ffffff;
}

.seed-demo-section-heading {
  max-width: 700px;
  margin-bottom: 38px;
}

.seed-demo-section-heading h2 {
  margin: 12px 0 10px;
  color: #17113f;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.38;
  letter-spacing: -0.035em;
  font-weight: 900;
}

.seed-demo-section-heading p {
  margin: 0;
  color: #7c768b;
  font-size: 16px;
  line-height: 1.95;
}

.seed-demo-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.seed-demo-benefit {
  position: relative;
  min-height: 235px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid #e8e4f0;
  border-radius: 23px;
  background: #fcfbff;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.seed-demo-benefit::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  left: -55px;
  bottom: -55px;
  border-radius: 50%;
  background: rgba(108, 43, 217, 0.08);
}

.seed-demo-benefit:hover {
  transform: translateY(-7px);
  border-color: rgba(108, 43, 217, 0.25);
  box-shadow: 0 22px 50px rgba(33, 23, 71, 0.09);
}

.seed-demo-benefit > span {
  display: inline-flex;
  margin-bottom: 32px;
  color: #18a9a0;
  font-size: 13px;
  font-weight: 900;
}

.seed-demo-benefit h3 {
  margin: 0 0 10px;
  color: #211747;
  font-size: 21px;
  line-height: 1.55;
  font-weight: 900;
}

.seed-demo-benefit p {
  margin: 0;
  color: #7e788d;
  font-size: 14px;
  line-height: 1.95;
}

/* سوالات متداول */

.seed-demo-faq {
  padding: 90px 0 110px;
  background:
    linear-gradient(
      135deg,
      rgba(108, 43, 217, 0.035),
      transparent 40%
    ),
    #fbfaff;
}

.seed-demo-faq__layout {
  display: grid;
  grid-template-columns:
    minmax(270px, 0.72fr)
    minmax(0, 1.28fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.seed-demo-faq__list {
  border-top: 1px solid #ddd8e8;
}

.seed-demo-faq details {
  border-bottom: 1px solid #ddd8e8;
}

.seed-demo-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 0;
  color: #211747;
  list-style: none;
  font-size: 17px;
  line-height: 1.7;
  font-weight: 900;
  cursor: pointer;
}

.seed-demo-faq summary::-webkit-details-marker {
  display: none;
}

.seed-demo-faq summary span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  color: #6c2bd9;
  background: #efe8fb;
  font-size: 22px;
  transition:
    transform 200ms ease,
    color 200ms ease,
    background 200ms ease;
  flex: 0 0 auto;
}

.seed-demo-faq details[open] summary span {
  transform: rotate(45deg);
  color: #ffffff;
  background: #6c2bd9;
}

.seed-demo-faq details p {
  max-width: 680px;
  margin: -6px 0 24px;
  color: #7c768b;
  font-size: 14px;
  line-height: 2;
  animation: seedDemoAnswerIn 250ms ease both;
}

/* انیمیشن ورود */

.seed-demo-reveal {
  opacity: 1;
  transform: none;
}

.demo-js .seed-demo-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 650ms ease,
    transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.demo-js .seed-demo-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes seedDemoStepIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes seedDemoSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes seedDemoFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -12px, 0);
  }
}

@keyframes seedDemoCardFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes seedDemoOrbit {
  to {
    transform: rotate(370deg);
  }
}

@keyframes seedDemoAnswerIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* تبلت */

@media (max-width: 1080px) {
  .seed-demo-layout {
    grid-template-columns: 1fr;
  }

  .seed-demo-form-card {
    width: min(720px, 100%);
    margin-inline: auto;
  }

  .seed-demo-visual {
    width: min(820px, 100%);
    margin-inline: auto;
  }

  .seed-demo-visual__stage {
    min-height: 510px;
  }

  .seed-demo-visual__picture {
    width: 100%;
    margin-inline: 0;
  }
}

/* موبایل */

@media (max-width: 760px) {
  .seed-demo-shell {
    width: min(100% - 28px, 640px);
  }

  .seed-demo-hero {
    padding: 68px 0 60px;
  }

  .seed-demo-heading {
    margin-bottom: 32px;
  }

  .seed-demo-heading h1 {
    font-size: clamp(36px, 11vw, 54px);
    line-height: 1.3;
  }

  .seed-demo-heading p {
    font-size: 16px;
  }

  .seed-demo-form-card {
    min-height: 0;
    padding: 23px 18px 28px;
    border-radius: 22px;
  }

  .seed-demo-fields,
  .seed-demo-benefits__grid,
  .seed-demo-faq__layout {
    grid-template-columns: 1fr;
  }

  .seed-demo-field--full {
    grid-column: auto;
  }

  .seed-demo-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .seed-demo-actions--end {
    flex-direction: column;
  }

  .seed-demo-button {
    width: 100%;
  }

  .seed-demo-visual__stage {
    min-height: 390px;
  }

  .seed-demo-floating-card {
    min-width: 150px;
    padding: 10px 12px;
  }

  .seed-demo-floating-card--request {
    top: 7%;
    right: 0;
  }

  .seed-demo-floating-card--session {
    left: 0;
    bottom: 9%;
  }

  .seed-demo-journey {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .seed-demo-journey i {
    display: none;
  }

  .seed-demo-benefits,
  .seed-demo-faq {
    padding: 70px 0;
  }

  .seed-demo-benefit {
    min-height: 0;
  }

  .seed-demo-faq__layout {
    gap: 10px;
  }
}

@media (max-width: 430px) {
  .seed-demo-visual__stage {
    min-height: 315px;
  }

  .seed-demo-floating-card {
    animation: none;
    transform: scale(0.86);
  }

  .seed-demo-floating-card--request {
    transform-origin: top right;
  }

  .seed-demo-floating-card--session {
    transform-origin: bottom left;
  }
}

/* دسترس‌پذیری حرکت */

@media (prefers-reduced-motion: reduce) {
  .seed-demo-page *,
  .seed-demo-page *::before,
  .seed-demo-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .demo-js .seed-demo-reveal {
    opacity: 1;
    transform: none;
  }
}
.demo-success{
    background: rgba(24, 190, 180, 0.12);
    border: 1px solid #18beb4;
    color: #102044;
    padding: 18px 25px;
    border-radius: 18px;
    margin-bottom: 25px;
    font-size: 15px;
    text-align: center;
}
.demo-error{

    background: rgba(220,53,69,.1);
    border:1px solid rgba(220,53,69,.3);
    color:#8b1e2d;

    padding:18px 25px;
    border-radius:20px;

    margin-top:20px;
    text-align:center;

}