/* IranNet Affiliate Program V1 */

.affiliate-program-page {
  --iap-ink: #0e1830;
  --iap-muted: #657188;
  --iap-line: #e2e7f0;
  --iap-blue: #496cf4;
  --iap-blue-2: #6e7cff;
  --iap-green: #58d9aa;
  --iap-dark: #071225;
  --iap-dark-2: #0b1933;
  --iap-soft: #f6f8fc;
  --iap-shadow: 0 26px 80px rgb(19 42 92 / 10%);
  background: #fff;
}

.iap-page,
.iap-page * {
  box-sizing: border-box;
}

.iap-page {
  overflow: clip;
  color: var(--iap-ink);
  background: #fff;
}

.iap-page svg {
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.iap-symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.iap-container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

/* Hero */

.iap-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 92px 0 82px;
  color: #fff;
  background:
    radial-gradient(circle at 13% 18%, rgb(68 104 245 / 25%), transparent 30%),
    radial-gradient(circle at 87% 76%, rgb(64 213 167 / 12%), transparent 24%),
    linear-gradient(145deg, #071225, #0c1933 58%, #08152b);
}

.iap-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .25;
  background-image:
    linear-gradient(rgb(122 145 203 / 9%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(122 145 203 / 9%) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent);
}

.iap-hero__network {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .56;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, #000, #000 75%, transparent 100%);
}

.iap-hero__network svg {
  width: 100%;
  height: 100%;
}

.iap-hero__network path {
  fill: none;
  stroke: url("#iapHeroLine");
  stroke-width: 1.2;
  stroke-dasharray: 8 22;
  animation: iap-network-flow 25s linear infinite;
  vector-effect: non-scaling-stroke;
}

.iap-hero__network path:nth-of-type(2) {
  animation-duration: 31s;
  animation-direction: reverse;
}

.iap-hero__network path:nth-of-type(3) {
  opacity: .62;
  animation-duration: 28s;
}

.iap-hero__network path:nth-of-type(4) {
  opacity: .48;
  animation-direction: reverse;
}

.iap-hero__network circle {
  fill: #69b7ff;
  stroke: none;
  filter: drop-shadow(0 0 8px rgb(71 152 255 / 80%));
  animation: iap-node-pulse 4.3s ease-in-out infinite;
}

.iap-hero__network circle:nth-of-type(2n) {
  animation-delay: -1.6s;
}

.iap-hero__network circle:nth-of-type(3n) {
  animation-delay: -2.8s;
}

.iap-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .82fr);
  gap: 68px;
  align-items: center;
}

.iap-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #79e8b8;
  font-size: 10px;
  font-weight: 950;
}

.iap-kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6fe5b4;
  box-shadow: 0 0 0 6px rgb(111 229 180 / 10%), 0 0 22px rgb(111 229 180 / 64%);
}

.iap-hero h1 {
  max-width: 780px;
  margin: 24px 0 0;
  color: #fff;
  font-size: clamp(43px, 5.5vw, 76px);
  line-height: 1.22;
  letter-spacing: -.055em;
  font-weight: 950;
}

.iap-hero h1 em {
  display: block;
  color: #76e5b6;
  font-style: normal;
}

.iap-hero__content > p {
  max-width: 740px;
  margin: 26px 0 0;
  color: #aebbd2;
  font-size: 14px;
  line-height: 2.05;
}

.iap-hero__actions,
.iap-final__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.iap-hero__actions {
  margin-top: 33px;
}

.iap-btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 13px 18px;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 950;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.iap-btn:hover {
  transform: translateY(-2px);
}

.iap-btn svg {
  width: 18px;
  height: 18px;
}

.iap-btn--primary {
  color: #071f18;
  background: linear-gradient(135deg, #7aebb9, #4fd3ba);
  box-shadow: 0 16px 36px rgb(57 202 158 / 22%);
}

.iap-btn--primary:hover {
  color: #071f18;
  box-shadow: 0 21px 44px rgb(57 202 158 / 30%);
}

.iap-btn--ghost {
  border-color: rgb(155 177 225 / 20%);
  color: #e8eefb;
  background: rgb(255 255 255 / 4%);
  backdrop-filter: blur(12px);
}

.iap-btn--ghost:hover {
  border-color: rgb(112 145 255 / 55%);
  color: #fff;
  background: rgb(80 106 199 / 12%);
}

.iap-btn--dark {
  margin-top: 24px;
  color: #fff;
  background: var(--iap-dark);
}

.iap-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 35px;
}

.iap-hero__trust span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  border: 1px solid rgb(154 174 219 / 14%);
  border-radius: 999px;
  padding: 7px 12px;
  color: #8f9cb6;
  background: rgb(255 255 255 / 3%);
  font-size: 8px;
  font-weight: 850;
}

.iap-hero__trust b {
  color: #70e5b7;
  font-size: 10px;
}

.iap-dashboard {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(142 166 224 / 16%);
  border-radius: 28px;
  padding: 24px;
  background:
    radial-gradient(circle at 100% 0, rgb(66 93 232 / 24%), transparent 36%),
    linear-gradient(160deg, rgb(17 32 70 / 94%), rgb(6 16 37 / 96%));
  box-shadow: 0 42px 100px rgb(0 0 0 / 32%);
  backdrop-filter: blur(18px);
}

.iap-dashboard::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #7186ff, #6ce1b1, transparent);
  content: "";
}

.iap-dashboard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgb(145 165 214 / 11%);
  padding-bottom: 18px;
  color: #74829e;
  font-size: 7px;
  font-weight: 900;
}

.iap-dashboard__live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #72e6b4;
  letter-spacing: .08em;
}

.iap-dashboard__live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #68e7ae;
  box-shadow: 0 0 0 0 rgb(104 231 174 / 42%);
  animation: iap-live-pulse 2s infinite;
}

.iap-dashboard__balance {
  display: grid;
  gap: 7px;
  margin-top: 25px;
}

.iap-dashboard__balance small,
.iap-dashboard__balance > span {
  color: #7483a0;
  font-size: 8px;
  font-weight: 850;
}

.iap-dashboard__balance strong {
  color: #fff;
  font-size: 30px;
  letter-spacing: -.03em;
  font-weight: 950;
}

.iap-dashboard__balance em {
  color: #79e5b6;
  font-size: 10px;
  font-style: normal;
}

.iap-dashboard__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 24px;
}

.iap-dashboard__metrics > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  border: 1px solid rgb(134 157 209 / 12%);
  border-radius: 13px;
  padding: 11px;
  background: rgb(255 255 255 / 3%);
}

.iap-dashboard__metrics svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  color: #7691ff;
}

.iap-dashboard__metrics span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.iap-dashboard__metrics small {
  overflow: hidden;
  color: #70809d;
  font-size: 6px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.iap-dashboard__metrics strong {
  color: #eaf0fc;
  font-size: 9px;
  font-weight: 950;
}

.iap-dashboard__chart {
  display: flex;
  height: 150px;
  align-items: end;
  gap: 9px;
  margin-top: 23px;
  border-bottom: 1px solid rgb(135 157 208 / 14%);
  padding: 12px 8px 0;
  background:
    linear-gradient(rgb(125 148 205 / 8%) 1px, transparent 1px);
  background-size: 100% 37px;
}

.iap-dashboard__chart span {
  position: relative;
  flex: 1;
  height: var(--h);
  border-radius: 7px 7px 2px 2px;
  background: linear-gradient(180deg, #6d84ff, #3956c9);
  box-shadow: 0 0 18px rgb(78 105 244 / 18%);
  animation: iap-chart-grow .75s ease both;
}

.iap-dashboard__chart span:nth-child(2n) {
  background: linear-gradient(180deg, #68dfb2, #2b9c7a);
}

.iap-dashboard__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 19px;
  border: 1px solid rgb(132 153 204 / 13%);
  border-radius: 13px;
  padding: 11px 12px;
  background: rgb(255 255 255 / 3%);
}

.iap-dashboard__link > span {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.iap-dashboard__link small {
  color: #70809d;
  font-size: 6px;
  font-weight: 850;
}

.iap-dashboard__link code {
  overflow: hidden;
  color: #9fb3ff;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.iap-dashboard__link button {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid rgb(130 153 206 / 15%);
  border-radius: 10px;
  color: #97a5c0;
  background: rgb(255 255 255 / 4%);
  cursor: pointer;
}

.iap-dashboard__link button:hover {
  color: #72e3b4;
}

.iap-dashboard__link svg {
  width: 16px;
  height: 16px;
}

/* Shared */

.iap-process,
.iap-calculator,
.iap-audience,
.iap-services,
.iap-rules,
.iap-faq,
.iap-final {
  padding: 96px 0;
}

.iap-section-heading {
  max-width: 830px;
  margin: 0 auto 42px;
  text-align: center;
}

.iap-section-heading--left {
  margin-inline: 0;
  text-align: right;
}

.iap-section-heading > span,
.iap-calculator__copy > span,
.iap-rules__content > span,
.iap-final__card > div:first-child > span {
  color: var(--iap-blue);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.iap-section-heading h2,
.iap-calculator__copy h2,
.iap-rules__content h2,
.iap-final h2 {
  margin: 12px 0 0;
  color: var(--iap-ink);
  font-size: clamp(31px, 4.3vw, 52px);
  line-height: 1.35;
  letter-spacing: -.045em;
  font-weight: 950;
}

.iap-section-heading p {
  max-width: 720px;
  margin: 15px auto 0;
  color: var(--iap-muted);
  font-size: 11px;
  line-height: 2;
}

.iap-section-heading--left p {
  margin-inline: 0;
}

/* Process */

.iap-process {
  background: #fff;
}

.iap-process__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
}

.iap-process__line {
  position: absolute;
  top: 56px;
  right: 12%;
  left: 12%;
  z-index: 0;
  height: 2px;
  overflow: hidden;
  border-radius: 99px;
  background: #e8ecf4;
}

.iap-process__line i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--iap-blue), var(--iap-green));
  box-shadow: 0 0 18px rgb(73 108 244 / 28%);
  transition: width .42s ease;
}

.iap-process-step {
  position: relative;
  z-index: 1;
}

.iap-process-step > button {
  display: grid;
  width: 100%;
  min-height: 270px;
  align-content: start;
  justify-items: center;
  border: 1px solid var(--iap-line);
  border-radius: 21px;
  padding: 19px;
  color: inherit;
  background: #fff;
  cursor: pointer;
  font: inherit;
  text-align: center;
  box-shadow: 0 14px 38px rgb(29 54 112 / 5%);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.iap-process-step > button:hover,
.iap-process-step.is-active > button {
  border-color: #c8d4ff;
  box-shadow: 0 22px 52px rgb(31 67 151 / 11%);
  transform: translateY(-5px);
}

.iap-process-step__number {
  position: absolute;
  top: 15px;
  left: 16px;
  color: #e5e9f1;
  font-size: 28px;
  font-weight: 950;
}

.iap-process-step.is-active .iap-process-step__number {
  color: #d9e1ff;
}

.iap-process-step__icon {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border: 1px solid #dfe5ef;
  border-radius: 22px;
  color: #7082c7;
  background: #f7f9fe;
  transition: color .22s ease, border-color .22s ease, background .22s ease, transform .22s ease;
}

.iap-process-step.is-active .iap-process-step__icon {
  border-color: var(--iap-blue);
  color: #fff;
  background: var(--iap-blue);
  box-shadow: 0 14px 30px rgb(73 108 244 / 22%);
  transform: rotate(-5deg) scale(1.05);
}

.iap-process-step__icon svg {
  width: 29px;
  height: 29px;
}

.iap-process-step__copy {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.iap-process-step__copy strong {
  color: var(--iap-ink);
  font-size: 14px;
  font-weight: 950;
}

.iap-process-step__copy small {
  color: var(--iap-muted);
  font-size: 8px;
  line-height: 1.9;
}

/* Calculator */

.iap-calculator {
  color: #fff;
  background:
    radial-gradient(circle at 12% 18%, rgb(67 100 243 / 20%), transparent 27%),
    linear-gradient(145deg, #081327, #0d1b37);
}

.iap-calculator__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 46px;
  align-items: center;
}

.iap-calculator__copy > span {
  color: #72e4b3;
}

.iap-calculator__copy h2 {
  color: #fff;
}

.iap-calculator__copy > p {
  margin: 18px 0 0;
  color: #9facbf;
  font-size: 11px;
  line-height: 2;
}

.iap-calculator__notes {
  display: grid;
  gap: 11px;
  margin-top: 28px;
}

.iap-calculator__notes span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #c5d0e3;
  font-size: 9px;
  font-weight: 850;
}

.iap-calculator__notes svg {
  width: 17px;
  height: 17px;
  color: #72e3b2;
}

.iap-calculator__panel {
  border: 1px solid rgb(139 161 210 / 15%);
  border-radius: 26px;
  padding: 30px;
  background:
    radial-gradient(circle at 100% 0, rgb(83 107 243 / 20%), transparent 33%),
    rgb(255 255 255 / 4%);
  box-shadow: 0 28px 70px rgb(0 0 0 / 20%);
  backdrop-filter: blur(15px);
}

.iap-calculator__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.iap-calculator__panel-head > span:first-child {
  display: grid;
  gap: 7px;
}

.iap-calculator__panel-head small,
.iap-calculator__result small {
  color: #8291ad;
  font-size: 8px;
  font-weight: 850;
}

.iap-calculator__panel-head strong {
  color: #fff;
  font-size: 18px;
  font-weight: 950;
}

.iap-calculator__rate {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid rgb(112 229 184 / 30%);
  border-radius: 18px;
  color: #74e7b5;
  background: rgb(70 205 158 / 7%);
  font-size: 18px;
  font-weight: 950;
}

.iap-calculator input[type="range"] {
  width: 100%;
  height: 7px;
  margin: 33px 0 0;
  border-radius: 99px;
  outline: 0;
  background: linear-gradient(90deg, #5e7bff 0 var(--range-fill, 9.1%), rgb(133 153 202 / 18%) var(--range-fill, 9.1%) 100%);
  appearance: none;
}

.iap-calculator input[type="range"]::-webkit-slider-thumb {
  width: 24px;
  height: 24px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: var(--iap-blue);
  box-shadow: 0 0 0 5px rgb(93 123 255 / 14%), 0 8px 18px rgb(0 0 0 / 20%);
  cursor: grab;
  appearance: none;
}

.iap-calculator input[type="range"]::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: var(--iap-blue);
  box-shadow: 0 0 0 5px rgb(93 123 255 / 14%);
  cursor: grab;
}

.iap-calculator__scale {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  color: #71819f;
  font-size: 7px;
  font-weight: 850;
}

.iap-calculator__result {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  border: 1px solid rgb(100 225 176 / 15%);
  border-radius: 19px;
  padding: 23px;
  background:
    radial-gradient(circle at 85% 12%, rgb(78 217 167 / 13%), transparent 40%),
    rgb(42 166 122 / 5%);
}

.iap-calculator__result strong {
  color: #77e6b6;
  font-size: clamp(29px, 4vw, 44px);
  letter-spacing: -.04em;
  font-weight: 950;
}

.iap-calculator__result em {
  font-size: 11px;
  font-style: normal;
}

.iap-calculator__result p {
  margin: 0;
  color: #7d8daa;
  font-size: 7px;
  line-height: 1.8;
}

/* Audience */

.iap-audience {
  background:
    radial-gradient(circle at 89% 14%, rgb(70 104 244 / 7%), transparent 24%),
    #f7f9fd;
}

.iap-audience__layout {
  overflow: hidden;
  border: 1px solid var(--iap-line);
  border-radius: 27px;
  background: #fff;
  box-shadow: var(--iap-shadow);
}

.iap-audience__tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--iap-line);
  background: #fafbfe;
}

.iap-audience__tabs button {
  position: relative;
  min-height: 75px;
  border: 0;
  border-left: 1px solid var(--iap-line);
  padding: 17px;
  color: #77839a;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 950;
}

.iap-audience__tabs button:last-child {
  border-left: 0;
}

.iap-audience__tabs button::after {
  position: absolute;
  right: 22px;
  bottom: 0;
  left: 22px;
  height: 3px;
  border-radius: 99px 99px 0 0;
  background: var(--iap-blue);
  content: "";
  opacity: 0;
  transform: scaleX(.4);
  transition: opacity .22s ease, transform .22s ease;
}

.iap-audience__tabs button:hover,
.iap-audience__tabs button.is-active {
  color: var(--iap-ink);
  background: #fff;
}

.iap-audience__tabs button.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.iap-audience__tabs i {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd3e0;
}

.iap-audience__tabs button.is-active i {
  background: #57d9a9;
  box-shadow: 0 0 0 5px rgb(87 217 169 / 10%);
}

.iap-audience__stage article {
  display: grid;
  min-height: 520px;
  grid-template-columns: 1fr .9fr;
  align-items: stretch;
}

.iap-audience__stage article[hidden] {
  display: none !important;
}

.iap-audience__stage article.is-active {
  animation: iap-panel-in .38s ease both;
}

.iap-audience__content {
  padding: 52px;
}

.iap-audience__content > small {
  color: var(--iap-blue);
  font-size: 8px;
  font-weight: 950;
}

.iap-audience__content h3 {
  margin: 13px 0 0;
  color: var(--iap-ink);
  font-size: clamp(29px, 4vw, 47px);
  line-height: 1.4;
  letter-spacing: -.045em;
  font-weight: 950;
}

.iap-audience__content > p {
  margin: 17px 0 0;
  color: var(--iap-muted);
  font-size: 10px;
  line-height: 2;
}

.iap-audience__content ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
  margin: 27px 0 0;
  padding: 0;
  list-style: none;
}

.iap-audience__content li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #536178;
  font-size: 8px;
  font-weight: 850;
}

.iap-audience__content li svg {
  width: 16px;
  height: 16px;
  color: #28a979;
}

.iap-audience__visual {
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--iap-line);
  background:
    radial-gradient(circle at 50% 50%, rgb(75 109 244 / 16%), transparent 35%),
    #0b1730;
}

.iap-audience__visual::before {
  position: absolute;
  inset: 0;
  opacity: .35;
  background-image:
    linear-gradient(rgb(112 137 199 / 10%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(112 137 199 / 10%) 1px, transparent 1px);
  background-size: 31px 31px;
  content: "";
  mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
}

.iap-audience__visual-core,
.iap-audience__visual-node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgb(124 148 211 / 25%);
  color: #8e9dba;
  background: rgb(13 27 58 / 95%);
  box-shadow: 0 16px 34px rgb(0 0 0 / 28%);
}

.iap-audience__visual-core {
  top: 50%;
  left: 50%;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  text-align: center;
  transform: translate(-50%, -50%);
}

.iap-audience__visual-core::before {
  position: absolute;
  inset: -17px;
  border: 1px dashed rgb(110 138 215 / 22%);
  border-radius: 50%;
  content: "";
  animation: iap-orbit 28s linear infinite;
}

.iap-audience__visual-core span {
  color: #71819f;
  font-size: 8px;
  font-weight: 900;
}

.iap-audience__visual-core strong {
  margin-top: -30px;
  color: #fff;
  font-size: 18px;
  font-weight: 950;
}

.iap-audience__visual-node {
  width: 78px;
  height: 78px;
  border-radius: 18px;
  font-size: 7px;
  font-weight: 950;
}

.iap-audience__visual-node--1 { top: 12%; left: 50%; transform: translateX(-50%); }
.iap-audience__visual-node--2 { right: 9%; bottom: 12%; }
.iap-audience__visual-node--3 { bottom: 12%; left: 9%; }

.iap-audience__visual-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 165px;
  height: 1px;
  overflow: hidden;
  background: linear-gradient(90deg, rgb(91 124 255 / 65%), rgb(91 199 210 / 10%));
  transform-origin: left center;
}

.iap-audience__visual-line::after {
  position: absolute;
  top: -1px;
  left: -20px;
  width: 20px;
  height: 3px;
  border-radius: 99px;
  background: #67b8ff;
  box-shadow: 0 0 12px #67b8ff;
  content: "";
  animation: iap-packet 2.6s linear infinite;
}

.iap-audience__visual-line--1 { transform: rotate(-90deg); }
.iap-audience__visual-line--2 { transform: rotate(34deg); }
.iap-audience__visual-line--3 { transform: rotate(146deg); }

.iap-audience__visual-line--2::after { animation-delay: -.8s; }
.iap-audience__visual-line--3::after { animation-delay: -1.6s; }

/* Services */

.iap-services {
  background: #fff;
}

.iap-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
}

.iap-service-card {
  display: flex;
  min-height: 265px;
  flex-direction: column;
  border: 1px solid var(--iap-line);
  border-radius: 21px;
  padding: 22px;
  color: inherit;
  background: #fff;
  box-shadow: 0 14px 38px rgb(29 54 112 / 5%);
  text-decoration: none;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.iap-service-card:hover {
  border-color: #c8d4ff;
  box-shadow: 0 22px 52px rgb(31 67 151 / 11%);
  transform: translateY(-5px);
}

.iap-service-card__icon {
  display: grid;
  width: 51px;
  height: 51px;
  place-items: center;
  border-radius: 15px;
  color: var(--iap-blue);
  background: #edf2ff;
}

.iap-service-card__icon svg {
  width: 24px;
  height: 24px;
}

.iap-service-card > strong {
  margin-top: 19px;
  color: var(--iap-ink);
  font-size: 13px;
  font-weight: 950;
}

.iap-service-card > p {
  margin: 9px 0 0;
  color: var(--iap-muted);
  font-size: 8px;
  line-height: 1.9;
}

.iap-service-card__action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 19px;
  color: var(--iap-blue);
  font-size: 7px;
  font-weight: 950;
}

.iap-service-card__action svg {
  width: 15px;
  height: 15px;
}

/* Rules */

.iap-rules {
  color: #fff;
  background:
    radial-gradient(circle at 12% 18%, rgb(65 97 241 / 19%), transparent 27%),
    linear-gradient(145deg, #081327, #0d1b37);
}

.iap-rules__grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 50px;
  align-items: center;
}

.iap-rules__content > span {
  color: #73e4b3;
}

.iap-rules__content h2 {
  color: #fff;
}

.iap-rules__content > p {
  margin: 18px 0 0;
  color: #9facbf;
  font-size: 10px;
  line-height: 2;
}

.iap-rules__items {
  display: grid;
  gap: 0;
  margin-top: 30px;
}

.iap-rules__items > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  align-items: center;
  border-top: 1px solid rgb(135 157 208 / 12%);
  padding: 16px 0;
}

.iap-rules__items > div:first-child {
  border-top: 0;
}

.iap-rules__items > div > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgb(122 150 214 / 18%);
  border-radius: 12px;
  color: #788aaa;
  background: rgb(255 255 255 / 3%);
  font-size: 8px;
  font-weight: 950;
}

.iap-rules__items p {
  margin: 0;
  color: #9eabc1;
  font-size: 8px;
  line-height: 1.9;
}

.iap-rules__items strong {
  color: #f0f4fb;
  font-size: 9px;
}

.iap-rules__terminal {
  overflow: hidden;
  border: 1px solid rgb(139 161 210 / 15%);
  border-radius: 23px;
  background: #071124;
  box-shadow: 0 28px 70px rgb(0 0 0 / 22%);
}

.iap-rules__terminal-top {
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid rgb(139 161 210 / 12%);
  padding: 14px 16px;
  background: #0d1a34;
}

.iap-rules__terminal-top i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6e68;
}

.iap-rules__terminal-top i:nth-child(2) { background: #f5c35a; }
.iap-rules__terminal-top i:nth-child(3) { background: #62d495; }

.iap-rules__terminal-top span {
  margin-right: auto;
  color: #657696;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 7px;
}

.iap-rules__terminal code {
  display: grid;
  gap: 17px;
  padding: 27px;
  color: #9fb0ce;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 9px;
}

.iap-rules__terminal code span {
  display: flex;
  gap: 10px;
}

.iap-rules__terminal code b {
  min-width: 82px;
  color: #70e3b0;
  font-weight: 800;
}

.iap-rules__terminal-status {
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid rgb(139 161 210 / 12%);
  padding: 14px 17px;
  color: #687996;
  background: #0b1830;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 7px;
}

.iap-rules__terminal-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #67dfa9;
  box-shadow: 0 0 0 5px rgb(103 223 169 / 9%);
}

/* FAQ */

.iap-faq {
  background: #f7f9fd;
}

.iap-faq__grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 44px;
  align-items: start;
}

.iap-faq__list {
  display: grid;
  gap: 10px;
}

.iap-faq-item {
  overflow: hidden;
  border: 1px solid var(--iap-line);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 12px 34px rgb(30 54 108 / 5%);
}

.iap-faq-item.is-open {
  border-color: #c8d3fa;
  box-shadow: 0 18px 44px rgb(31 64 140 / 8%);
}

.iap-faq-item > button {
  display: grid;
  width: 100%;
  min-height: 72px;
  grid-template-columns: 1fr 35px;
  align-items: center;
  gap: 14px;
  border: 0;
  padding: 15px 18px;
  color: var(--iap-ink);
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: right;
}

.iap-faq-item > button > span {
  font-size: 10px;
  font-weight: 950;
}

.iap-faq-item > button i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #e0e6ef;
  border-radius: 10px;
  color: #7d899e;
  transition: color .22s ease, border-color .22s ease, background .22s ease, transform .22s ease;
}

.iap-faq-item > button i svg {
  width: 16px;
  height: 16px;
}

.iap-faq-item.is-open > button i {
  border-color: var(--iap-blue);
  color: #fff;
  background: var(--iap-blue);
  transform: rotate(45deg);
}

.iap-faq-item > div {
  border-top: 1px solid var(--iap-line);
  padding: 3px 18px 20px;
}

.iap-faq-item > div[hidden] {
  display: none !important;
}

.iap-faq-item p {
  margin: 14px 0 0;
  color: var(--iap-muted);
  font-size: 9px;
  line-height: 2;
}

/* Final */

.iap-final {
  color: #fff;
  background: #081428;
}

.iap-final__card {
  display: flex;
  min-height: 250px;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  overflow: hidden;
  border: 1px solid rgb(139 161 210 / 15%);
  border-radius: 28px;
  padding: 40px 44px;
  background:
    radial-gradient(circle at 88% 8%, rgb(81 110 247 / 24%), transparent 32%),
    linear-gradient(145deg, #102247, #0a1831);
}

.iap-final__card > div:first-child {
  max-width: 760px;
}

.iap-final__card > div:first-child > span {
  color: #72e4b3;
}

.iap-final h2 {
  color: #fff;
  font-size: clamp(29px, 3.8vw, 48px);
}

.iap-final p {
  max-width: 680px;
  margin: 15px 0 0;
  color: #a4b1c8;
  font-size: 10px;
  line-height: 2;
}

.iap-final__actions {
  flex: 0 0 auto;
}

/* Toast */

.iap-toast {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 9999;
  max-width: min(340px, calc(100% - 44px));
  border: 1px solid rgb(139 161 210 / 17%);
  border-radius: 13px;
  padding: 12px 15px;
  color: #eef3fc;
  background: rgb(8 20 43 / 94%);
  box-shadow: 0 18px 45px rgb(0 0 0 / 24%);
  font-size: 8px;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease;
  backdrop-filter: blur(14px);
}

.iap-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Motion */

@keyframes iap-network-flow {
  to { stroke-dashoffset: -260; }
}

@keyframes iap-node-pulse {
  0%, 100% { opacity: .25; transform: scale(.72); }
  50% { opacity: .85; transform: scale(1.25); }
}

@keyframes iap-live-pulse {
  0% { box-shadow: 0 0 0 0 rgb(104 231 174 / 45%); }
  70% { box-shadow: 0 0 0 10px rgb(104 231 174 / 0%); }
  100% { box-shadow: 0 0 0 0 rgb(104 231 174 / 0%); }
}

@keyframes iap-chart-grow {
  from { height: 0; opacity: .2; }
  to { height: var(--h); opacity: 1; }
}

@keyframes iap-panel-in {
  from { opacity: .2; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes iap-orbit {
  to { transform: rotate(360deg); }
}

@keyframes iap-packet {
  from { left: -20px; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  to { left: calc(100% + 20px); opacity: 0; }
}

/* Responsive */

@media (max-width: 1080px) {
  .iap-hero__grid,
  .iap-calculator__grid,
  .iap-rules__grid {
    grid-template-columns: 1fr;
  }

  .iap-dashboard,
  .iap-calculator__panel,
  .iap-rules__terminal {
    max-width: 760px;
    width: 100%;
    margin-inline: auto;
  }

  .iap-process__track,
  .iap-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .iap-process__line {
    display: none;
  }

  .iap-audience__stage article {
    grid-template-columns: 1fr;
  }

  .iap-audience__visual {
    min-height: 470px;
    border-top: 1px solid var(--iap-line);
    border-right: 0;
  }

  .iap-faq__grid {
    grid-template-columns: 1fr;
  }

  .iap-final__card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 820px) {
  .iap-audience__tabs {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .iap-audience__tabs::-webkit-scrollbar {
    display: none;
  }

  .iap-audience__tabs button {
    min-width: 210px;
    flex: 0 0 210px;
    scroll-snap-align: start;
  }
}

@media (max-width: 680px) {
  .iap-container {
    width: min(100% - 20px, 1180px);
  }

  .iap-hero {
    padding: 70px 0 65px;
  }

  .iap-hero h1 {
    font-size: 41px;
  }

  .iap-hero__content > p {
    font-size: 11px;
  }

  .iap-process,
  .iap-calculator,
  .iap-audience,
  .iap-services,
  .iap-rules,
  .iap-faq,
  .iap-final {
    padding: 72px 0;
  }

  .iap-hero__actions,
  .iap-final__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .iap-btn {
    width: 100%;
  }

  .iap-dashboard {
    padding: 19px;
  }

  .iap-dashboard__metrics {
    grid-template-columns: 1fr;
  }

  .iap-process__track,
  .iap-service-grid {
    grid-template-columns: 1fr;
  }

  .iap-process-step > button {
    min-height: 235px;
  }

  .iap-calculator__panel {
    padding: 22px;
  }

  .iap-calculator__panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .iap-audience__content {
    padding: 30px 22px;
  }

  .iap-audience__content ul {
    grid-template-columns: 1fr;
  }

  .iap-audience__visual {
    min-height: 440px;
  }

  .iap-final__card {
    padding: 30px 23px;
  }
}

@media (max-width: 440px) {
  .iap-hero h1 {
    font-size: 35px;
  }

  .iap-dashboard__balance strong {
    font-size: 25px;
  }

  .iap-audience__visual-node {
    width: 68px;
    height: 68px;
  }

  .iap-audience__visual-core {
    width: 125px;
    height: 125px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .iap-page *,
  .iap-page *::before,
  .iap-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* End IranNet Affiliate Program V1 */
