@import url("/kasebi-icons.css");
@font-face {
  font-family: IRANSans;
  src: url("/fonts/IRANSansXFaNum-RegularD4.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: IRANSans;
  src: url("/fonts/IRANSansXFaNum-BoldD4.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: IRANSans;
  src: url("/fonts/IRANSansXFaNum-BlackD4.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* رنگ‌ها، فونت، فاصله‌ها و طراحی صفحه را اینجا تغییر دهید. */
:root {
  --accent: #7251e8;
  --bg: #ffffff;
  --ink: #201b35;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    16px/1.9 IRANSans,
    Tahoma,
    Arial,
    sans-serif;
}

.form_wrapper {
  min-height: 100vh;
  background: url(images/bg-desktop.jpg);
  background-size: 1920px;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-color: #e7e7ef;
  display: flex;
  padding: 20px;
}

.inner_section {
  max-width: 1100px;
  margin: auto;
  width: 100%;
}

.webinar-register-box {
  width: 100%;
  max-width: 500px;
  padding: 20px 20px 27px;
  background: rgba(0, 155, 149, 0.35);
  color: #16545b;
  direction: rtl;
  box-sizing: border-box;
  font-family: inherit;
  margin-right: auto;
  backdrop-filter: blur(10px);
}

.webinar-register-box * {
  box-sizing: border-box;
}

.webinar-subtitle {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 0;
}

.webinar-title {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.55;
  color: #16545b;
  margin: 0 0 24px;
}

.webinar-title:where([data-landing-copy]) {
  white-space: pre-line;
}

[data-landing-copy] {
  overflow-wrap: anywhere;
}

.webinar-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 22px;
  font-size: 16px;
  font-weight: 600;
}

.webinar-date,
.webinar-time {
  display: flex;
  align-items: center;
  gap: 7px;
}

.webinar-details i {
  flex-shrink: 0;
  font-size: 18px;
}

.webinar-register-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.webinar-register-form input {
  display: block;
  width: 100%;
  height: 48px;
  padding: 0 12px;
  margin: 0;
  background: #fff;
  border: 1px solid #00c8ba;
  border-radius: 0;
  outline: none;
  font-family: inherit;
  font-size: 16px;
  color: #16545b;
  text-align: right;
  box-shadow: none;
  transition: border-color 0.2s ease;
}

.webinar-register-form input::placeholder {
  color: #73dcd5;
  opacity: 1;
}

.webinar-register-form input:focus {
  border-color: #16545b;
}

.webinar-register-form button,
.webinar-join-link:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 6px 15px;
  text-align: center;
  margin: 0;
  background: #00bfb3;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.webinar-join-link {
  text-decoration: none;
}

.webinar-register-form button:hover:not(:disabled),
.webinar-join-link:hover {
  background: #009f96;
}

.webinar-register-form[hidden],
#challenge:empty {
  display: none;
}

.webinar-register-form button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.webinar-register-form input[aria-invalid="true"] {
  border-color: #a32424;
}

.lead-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.form-toast {
  position: fixed;
  z-index: 100;
  inset-inline-end: 16px;
  inset-block-end: max(20px, env(safe-area-inset-bottom));
  width: max-content;
  max-width: min(420px, calc(100% - 32px));
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #ffffff26;
  border-radius: 14px;
  background: #182728;
  color: #fff;
  box-shadow: 0 10px 34px #0d22244d;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.form-toast:not([hidden]) {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-toast i {
  display: grid;
  flex: 0 0 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #522d32;
  color: #ffc4c7;
}

@media (prefers-reduced-motion: no-preference) {
  .form-toast:not([hidden]) {
    animation: form-toast-in 150ms ease-out;
  }

  @keyframes form-toast-in {
    from {
      opacity: 0;
      transform: translateY(6px);
    }
  }
}

.webinar-register-form button:active {
  transform: scale(0.99);
}

/* Mobile */
@media (max-width: 600px) {
  .form_wrapper {
    background-image: url(images/mob-bg.jpg);
    background-size: 650px;
  }

  .webinar-register-box {
    max-width: 100%;
    padding: 20px 16px;
  }

  .webinar-title {
    font-size: 29px;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .webinar-subtitle {
    font-size: 15px;
  }

  .inner_section {
    margin-top: 0;
  }

  .webinar-details i {
    font-size: 15px;
  }

  .webinar-register-form input {
    height: 48px;
  }
}

.gold-hero {
  --gold-primary: #00c3b7;
  --gold-background: #032b35;

  position: relative;
  width: 100%;
  min-height: 630px;
  background-color: var(--gold-background);
  background-image: url("images/payment-desktop.jpg");
  background-size: 1920px;
  background-position: center top;
  background-repeat: no-repeat;
  color: #fff;
  font-family: inherit;
  direction: rtl;
}

.gold-hero * {
  box-sizing: border-box;
}

.gold-hero-container {
  width: 100%;
  max-width: 1240px;
  min-height: 630px;
  margin: 0 auto;
  padding: 60px 0 25px;
  display: flex;
  align-items: center;
}

.gold-hero-content {
  width: 404px;
  max-width: 100%;
  flex-shrink: 0;
}

/* Title */

.gold-subtitle {
  font-size: 20px;
  font-weight: 600;
  color: #ffffffad;
  margin-bottom: 5px;
}

.gold-title {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.5;
  color: #fff;
  margin: 0 0 5px;
}

/* Price */

.gold-price-info {
  margin-bottom: 10px;
}

.gold-price-row,
.gold-discount-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gold-price-label {
  font-size: 18px;
  color: #ffffff80;
}

.gold-price-row del {
  font-size: 20px;
  font-weight: 700;
  text-decoration-thickness: 2px;
}

.gold-discount-row strong {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.3;
}

.gold-discount-row > span {
  font-size: 18px;
  font-weight: 700;
}

/* Special offer */

.gold-offer {
  white-space: pre-line;
  padding: 7px 15px;
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}

/* Payment options */

.gold-payment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 15px;
}

.gold-payment-item {
  padding: 10px 16px;
  border: 2px solid #fff;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(5px);
}

.gold-payment-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 2px;
}

.gold-payment-title span {
  font-size: 15px;
  font-weight: 400;
  color: #ffffff90;
}
#payment-price {
  display: none;
}
#payment-status {
  display: none;
}
.gold-payment-price {
  font-size: 18px;
  white-space: nowrap;
}

.gold-payment-price strong {
  font-size: 21px;
  font-weight: 800;
}

/* Registration form */

.gold-register-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.gold-register-form input {
  display: block;
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid var(--gold-primary);
  border-radius: 10px;
  background: #fff;
  color: var(--gold-primary);
  font-family: inherit;
  font-size: 15px;
  text-align: right;
  direction: rtl;
  outline: none;
  transition: all 0.2s ease;
}

.gold-register-form input::placeholder {
  color: #00a99e;
  opacity: 1;
}

.gold-register-form input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px #00c3b733;
}

.gold-register-form input[aria-invalid="true"] {
  border-color: #ff9fa5;
}

.gold-register-form button {
  width: 100%;
  height: 50px;
  margin-top: 6px;
  padding: 0 15px;
  border: none;
  border-radius: 10px;
  background: var(--gold-primary);
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gold-register-form button:hover {
  background: #00a99f;
  box-shadow: 0 4px 20px #00c3b744;
}

.gold-register-form button:active {
  transform: scale(0.98);
}

/* Notice */

.gold-form-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #ffff00;
  font-size: 14px;
  font-weight: 600;
  margin-top: 10px;
}

.gold-notice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 13px;
}

/* Tablet */

@media (max-width: 1300px) {
  .gold-hero-container {
    padding-right: 40px;
    padding-left: 40px;
  }
}

/* Mobile */

@media (max-width: 767px) {
  .gold-hero {
    min-height: auto;
    background-image: url("images/payment-mob.jpg");
    background-size: 470px;
    background-position: center top -30px;
    background-color: #01626b;
  }

  .gold-hero-container {
    min-height: auto;
    padding: 55vw 20px 30px;
    justify-content: center;
  }

  .gold-hero-content {
    width: 100%;
    max-width: 450px;
  }

  .gold-subtitle {
    font-size: 16px;
    text-align: center;
  }

  .gold-title {
    font-size: clamp(22px, 6.5vw, 32px);
    text-align: center;
    margin-bottom: 12px;
  }

  .gold-discount-row strong {
    font-size: 36px;
  }

  .gold-discount-row > span {
    font-size: 16px;
  }

  .gold-payment-options {
    gap: 10px;
  }

  .gold-payment-item {
    padding: 10px;
  }

  .gold-payment-price {
    font-size: 14px;
  }

  .gold-payment-price strong {
    font-size: 18px;
  }

  .gold-offer {
    font-size: 14px;
  }
}
