*,
*::before,
*::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  min-height: 100%;
}

.subscription-flow-page {
  --flow-blue: #67aaf7;
  --flow-blue-soft: #e5f0ff;
  --flow-ink: #091027;
  --flow-muted: #434348;
  --flow-border: #0a789d;
  --flow-border-deep: #075b7e;
  --flow-accent: #c51d72;
  --flow-success: #1d8b68;
  --flow-danger: #c93030;
  --flow-disabled: #e3e3e3;
  --flow-disabled-text: #a6a6a6;
  position: relative;
  margin: 0;
  min-height: 100svh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, var(--flow-blue) 0, #9bc8ff 128px, var(--flow-blue-soft) 286px, #fff 392px),
    #fff;
  color: var(--flow-ink);
  font-family: "Cairo", Arial, Helvetica, sans-serif;
  text-align: center;
}

.subscription-flow-page::before,
.subscription-flow-page::after {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
}

.subscription-flow-page::before {
  height: 352px;
  background:
    linear-gradient(110deg, transparent 7%, rgba(255, 255, 255, .34) 24%, transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 48%, rgba(255, 255, 255, .78) 100%);
  background-size: 220% 100%, 100% 100%;
  animation: flow-sweep 9s ease-in-out infinite;
}

.subscription-flow-page::after {
  height: 440px;
  background:
    linear-gradient(168deg, transparent 0 42%, rgba(255, 255, 255, .72) 42.2% 49%, transparent 49.2%),
    linear-gradient(191deg, transparent 0 58%, rgba(8, 115, 155, .09) 58.2% 59%, transparent 59.2%),
    radial-gradient(circle at 33% 43%, rgba(197, 29, 114, .12), transparent 24%);
  animation: flow-tilt 10s ease-in-out infinite;
}

.subscription-flow-page[dir="ltr"] {
  font-family: "Inter", Arial, Helvetica, sans-serif;
}

.subscription-flow-page ::selection {
  background: rgba(190, 23, 104, .18);
}

.flow-main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  min-height: 100svh;
  margin: 0 auto;
  padding: 22px 28px 54px;
}

.flow-ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.flow-ribbon,
.flow-mark,
.flow-wave {
  position: absolute;
  display: block;
  will-change: transform, opacity;
}

.flow-ribbon {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(197, 29, 114, .38), rgba(7, 91, 126, .26), transparent);
  opacity: .36;
  filter: blur(.2px);
}

.flow-ribbon-one {
  top: 152px;
  left: -14%;
  width: 72%;
  transform: rotate(-8deg);
  animation: flow-ribbon-slide 8s ease-in-out infinite;
}

.flow-ribbon-two {
  top: 236px;
  right: -18%;
  width: 66%;
  height: 8px;
  transform: rotate(10deg);
  animation: flow-ribbon-slide-reverse 9.5s ease-in-out infinite;
}

.flow-ribbon-three {
  top: 326px;
  left: 8%;
  width: 44%;
  height: 6px;
  opacity: .22;
  transform: rotate(-13deg);
  animation: flow-ribbon-breathe 6.4s ease-in-out infinite;
}

.flow-mark {
  width: 24px;
  height: 24px;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  background: linear-gradient(135deg, rgba(197, 29, 114, .46), rgba(10, 120, 157, .32));
  opacity: .28;
}

.flow-mark-one {
  top: 118px;
  left: 18%;
  animation: flow-drift 7.2s ease-in-out infinite;
}

.flow-mark-two {
  top: 292px;
  right: 16%;
  width: 18px;
  height: 18px;
  animation: flow-drift 8.6s ease-in-out -1.8s infinite reverse;
}

.flow-mark-three {
  top: 502px;
  left: 11%;
  width: 16px;
  height: 16px;
  opacity: .18;
  animation: flow-drift 9s ease-in-out -3s infinite;
}

.flow-wave {
  width: 180px;
  height: 84px;
  border: 3px solid rgba(10, 120, 157, .12);
  border-inline-color: transparent;
  border-radius: 50%;
  opacity: .42;
}

.flow-wave-one {
  top: 70px;
  right: 10%;
  transform: rotate(-18deg);
  animation: flow-wave-float 8s ease-in-out infinite;
}

.flow-wave-two {
  top: 420px;
  left: 3%;
  width: 130px;
  height: 58px;
  transform: rotate(18deg);
  animation: flow-wave-float 7s ease-in-out -2s infinite reverse;
}

.flow-toolbar {
  display: flex;
  justify-content: flex-end;
  min-height: 42px;
}

.flow-language {
  width: 72px;
  height: 34px;
  border: 2px solid #0a1020;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: #0a1020;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
  animation: flow-pop-in .56s ease .08s both;
}

.flow-language:hover {
  background: rgba(255, 255, 255, .26);
  box-shadow: 0 10px 22px rgba(8, 54, 99, .12);
  transform: translateY(-1px);
}

.flow-language:focus-visible {
  outline: 3px solid rgba(190, 23, 104, .2);
  outline-offset: 3px;
}

.flow-brand {
  display: block;
  width: min(100%, 560px);
  margin: 68px auto 58px;
  text-decoration: none;
  animation: flow-brand-in .82s cubic-bezier(.2, .75, .2, 1) both;
  transform-origin: center;
}

.flow-brand-logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 138px;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(8, 54, 99, .1));
  transition: transform .3s ease, filter .3s ease;
  animation: flow-logo-float 4.8s ease-in-out 1s infinite;
}

.flow-brand:hover .flow-brand-logo {
  filter: drop-shadow(0 26px 38px rgba(8, 54, 99, .16));
  transform: translateY(-2px) scale(1.01);
}

.flow-panel {
  animation: flow-rise .7s ease .08s both;
}

.flow-intro,
.flow-heading {
  animation: flow-text-pop .64s ease .18s both;
}

.flow-intro,
.flow-heading {
  max-width: 620px;
  margin: 0 auto;
  color: var(--flow-muted);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.42;
  text-wrap: balance;
}

.flow-heading {
  color: var(--flow-muted);
  font-size: 24px;
}

.flow-instruction {
  max-width: 620px;
  margin: 12px auto 28px;
  color: var(--flow-muted);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.48;
}

.flow-form {
  width: 100%;
  max-width: 610px;
  margin: 0 auto;
  animation: flow-form-arrive .72s cubic-bezier(.2, .8, .22, 1) .28s both;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.flow-input-frame {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 68px;
  border: 3px solid var(--flow-border);
  border-radius: 8px;
  background: #fff;
  color: var(--flow-muted);
  box-shadow: 0 18px 30px rgba(8, 115, 155, 0);
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
  animation: flow-border-idle 4.2s ease-in-out 1.1s infinite;
}

.flow-input-frame::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, transparent, rgba(8, 115, 155, .08), transparent);
  opacity: 0;
  transform: translateX(-70%);
  transition: opacity .18s ease;
  content: "";
}

.flow-input-frame:focus-within::before {
  opacity: 1;
  animation: flow-field-sheen 2.3s ease-in-out infinite;
}

.flow-input-frame::after {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: 22px;
  width: 14px;
  height: 8px;
  border-inline-start: 3px solid var(--flow-success);
  border-block-end: 3px solid var(--flow-success);
  opacity: 0;
  transform: translateY(-68%) rotate(-45deg) scale(.72);
  transition: opacity .18s ease, transform .18s ease;
  content: "";
}

.flow-input-frame.is-valid {
  border-color: var(--flow-success);
  background: linear-gradient(180deg, #fff, #fbfffd);
}

.flow-input-frame.is-valid::after {
  opacity: 1;
  transform: translateY(-68%) rotate(-45deg) scale(1);
}

.flow-input-frame.is-typing {
  animation: flow-type-pop .28s ease both;
}

.flow-input-frame:focus-within {
  border-color: var(--flow-border-deep);
  box-shadow: 0 18px 32px rgba(8, 115, 155, .16);
  transform: translateY(-1px);
  animation: flow-focus-pulse 1.65s ease-in-out infinite;
}

.flow-phone-input {
  direction: ltr;
  gap: 14px;
  padding: 0 22px;
  text-align: left;
}

.flow-otp-input {
  justify-content: center;
  padding: 0 22px;
}

.flow-input-icon {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  color: var(--flow-muted);
  transition: color .18s ease, transform .18s ease;
}

.flow-input-frame:focus-within .flow-input-icon {
  color: var(--flow-accent);
  transform: translateY(-1px);
  animation: flow-phone-wiggle 1.25s ease-in-out infinite;
}

.flow-country-code {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  color: var(--flow-muted);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.flow-input {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--flow-muted);
  font: inherit;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  caret-color: var(--flow-border);
  text-align: left;
}

.flow-input::placeholder {
  color: #a9a9ad;
  opacity: 1;
  transition: color .18s ease, opacity .18s ease;
}

.flow-input-frame:focus-within .flow-input::placeholder {
  color: rgba(67, 67, 72, .34);
  opacity: .9;
}

.flow-code-input {
  max-width: 320px;
  color: #aaa;
  font-size: 34px;
  font-weight: 700;
  text-align: center;
  caret-color: var(--flow-border);
}

.flow-input-progress {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 2;
  height: 5px;
  background: linear-gradient(90deg, var(--flow-accent), var(--flow-border), var(--flow-success));
  transform: scaleX(var(--flow-progress, 0));
  transform-origin: left center;
  transition: transform .22s ease;
}

[dir="rtl"] .flow-input-progress {
  transform-origin: left center;
}

.flow-pin-field {
  position: relative;
}

.flow-pin-label {
  position: absolute;
  z-index: 2;
  inset-block-start: -14px;
  inset-inline-start: 46px;
  padding: 0 14px;
  background: #fff;
  color: var(--flow-border);
  font-size: 19px;
  font-weight: 500;
}

.flow-price {
  position: relative;
  max-width: 610px;
  margin: 18px auto 22px;
  padding-top: 14px;
  color: #000;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.45;
  animation: flow-rise .62s ease .42s both;
}

.flow-price::before {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 50%;
  width: 48px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--flow-accent), var(--flow-border));
  transform: translateX(-50%);
  content: "";
  animation: flow-accent-scan 2.4s ease-in-out infinite;
}

.flow-submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 64px;
  border: 0;
  border-radius: 8px;
  background: var(--flow-disabled);
  color: var(--flow-disabled-text);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  cursor: not-allowed;
  overflow: hidden;
  transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
  animation: flow-submit-arrive .62s ease .52s both;
}

.flow-page-verify .flow-submit {
  margin-top: 34px;
}

.flow-submit::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .24), transparent);
  opacity: 0;
  transform: translateX(-80%);
  content: "";
}

.flow-submit:not(:disabled) {
  background: linear-gradient(135deg, var(--flow-border), var(--flow-border-deep));
  color: #fff;
  cursor: pointer;
  box-shadow: 0 18px 30px rgba(8, 115, 155, .18);
  animation: flow-ready-pulse 1.6s ease-in-out infinite;
}

.flow-submit.is-loading {
  background: linear-gradient(135deg, var(--flow-border), var(--flow-border-deep));
  color: #fff;
  cursor: progress;
  box-shadow: 0 18px 30px rgba(8, 115, 155, .18);
}

.flow-submit:not(:disabled)::before {
  opacity: 1;
  animation: flow-button-sheen 3s ease-in-out infinite;
}

.flow-submit.is-loading::before {
  opacity: 1;
  animation: flow-button-sheen 1.35s ease-in-out infinite;
}

.flow-submit:not(:disabled):hover {
  transform: translateY(-1px);
}

.flow-submit:not(:disabled):active {
  transform: translateY(0);
}

.flow-spinner {
  position: absolute;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 5px solid rgba(255, 255, 255, .42);
  border-block-start-color: #fff;
  border-radius: 999px;
  opacity: 0;
  transform: scale(.8);
}

.flow-submit.is-loading .flow-submit-label {
  opacity: 0;
}

.flow-submit-label {
  position: relative;
  z-index: 1;
  transition: opacity .18s ease;
}

.flow-submit.is-loading .flow-spinner {
  opacity: 1;
  animation: flow-spin .8s linear infinite;
}

.flow-message,
.flow-error {
  width: 100%;
  max-width: 620px;
  margin: 16px auto;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.flow-message {
  background: linear-gradient(180deg, #f0fbf4, #e6f8ef);
  color: #157341;
}

.flow-error {
  background: linear-gradient(180deg, #fff4f4, #ffecec);
  color: var(--flow-danger);
}

.flow-legal {
  max-width: 620px;
  margin: 54px auto 0;
  color: #070707;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.62;
  text-wrap: pretty;
  animation: flow-rise .72s ease .64s both;
}

.flow-legal a {
  color: #064df5;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.flow-service-code {
  margin-top: 2px;
  color: #000;
  font-size: 18px;
  font-weight: 900;
}

.flow-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  margin-top: 6px;
  color: #777;
  font-size: 13px;
  font-weight: 700;
}

.flow-legal-links a {
  color: #777;
}

.flow-operator {
  margin: 38px auto 0;
}

.flow-operator-logo {
  display: block;
  width: 136px;
  height: auto;
  margin: 0 auto;
  filter: brightness(0);
  opacity: .94;
  animation: flow-operator-bob 5s ease-in-out 1.6s infinite;
}

.flow-shake {
  animation: flow-shake .32s ease both;
}

@keyframes flow-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes flow-pop-in {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes flow-brand-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(.96);
  }

  60% {
    opacity: 1;
    transform: translateY(-3px) scale(1.012);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes flow-logo-float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }

  38% {
    transform: translateY(-5px) rotate(-.35deg);
  }

  68% {
    transform: translateY(2px) rotate(.25deg);
  }
}

@keyframes flow-text-pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes flow-form-arrive {
  from {
    opacity: 0;
    transform: translateY(22px) scale(.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes flow-submit-arrive {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes flow-sweep {
  0%, 100% {
    background-position: -120% 0, 0 0;
  }

  52% {
    background-position: 120% 0, 0 0;
  }
}

@keyframes flow-tilt {
  0%, 100% {
    transform: translateY(0) skewY(0deg);
    opacity: 1;
  }

  50% {
    transform: translateY(10px) skewY(-.6deg);
    opacity: .92;
  }
}

@keyframes flow-ribbon-slide {
  0%, 100% {
    transform: translateX(-6%) rotate(-8deg);
  }

  50% {
    transform: translateX(18%) rotate(-6deg);
  }
}

@keyframes flow-ribbon-slide-reverse {
  0%, 100% {
    transform: translateX(8%) rotate(10deg);
  }

  50% {
    transform: translateX(-18%) rotate(8deg);
  }
}

@keyframes flow-ribbon-breathe {
  0%, 100% {
    opacity: .18;
    transform: translateY(0) rotate(-13deg) scaleX(.86);
  }

  50% {
    opacity: .36;
    transform: translateY(-8px) rotate(-11deg) scaleX(1.08);
  }
}

@keyframes flow-drift {
  0%, 100% {
    opacity: .16;
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  42% {
    opacity: .36;
    transform: translate3d(18px, -14px, 0) rotate(90deg);
  }

  72% {
    opacity: .24;
    transform: translate3d(-8px, 10px, 0) rotate(160deg);
  }
}

@keyframes flow-wave-float {
  0%, 100% {
    opacity: .2;
    transform: translateY(0) rotate(-18deg) scale(1);
  }

  50% {
    opacity: .5;
    transform: translateY(-20px) rotate(-12deg) scale(1.08);
  }
}

@keyframes flow-field-sheen {
  0% {
    transform: translateX(-80%);
  }

  55%, 100% {
    transform: translateX(80%);
  }
}

@keyframes flow-border-idle {
  0%, 100% {
    box-shadow: 0 18px 30px rgba(8, 115, 155, 0);
  }

  50% {
    box-shadow: 0 20px 36px rgba(8, 115, 155, .08);
  }
}

@keyframes flow-focus-pulse {
  0%, 100% {
    box-shadow: 0 18px 32px rgba(8, 115, 155, .16);
  }

  50% {
    box-shadow: 0 20px 40px rgba(197, 29, 114, .14);
  }
}

@keyframes flow-phone-wiggle {
  0%, 100% {
    transform: translateY(-1px) rotate(0);
  }

  35% {
    transform: translateY(-1px) rotate(-3deg);
  }

  70% {
    transform: translateY(-1px) rotate(3deg);
  }
}

@keyframes flow-type-pop {
  0%, 100% {
    transform: translateY(-1px) scale(1);
  }

  50% {
    transform: translateY(-2px) scale(1.006);
  }
}

@keyframes flow-accent-scan {
  0%, 100% {
    width: 48px;
    opacity: .92;
  }

  50% {
    width: 74px;
    opacity: 1;
  }
}

@keyframes flow-button-sheen {
  0%, 30% {
    transform: translateX(-80%);
  }

  70%, 100% {
    transform: translateX(80%);
  }
}

@keyframes flow-ready-pulse {
  0%, 100% {
    box-shadow: 0 18px 30px rgba(8, 115, 155, .18);
  }

  50% {
    box-shadow: 0 22px 42px rgba(197, 29, 114, .22);
  }
}

@keyframes flow-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes flow-operator-bob {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes flow-shake {
  0%, 100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  75% {
    transform: translateX(5px);
  }
}

@media (max-width: 700px) {
  .subscription-flow-page {
    background:
      linear-gradient(180deg, var(--flow-blue) 0, #9cc9ff 108px, var(--flow-blue-soft) 244px, #fff 332px),
      #fff;
  }

  .flow-main {
    padding: 20px 20px 48px;
  }

  .flow-brand {
    width: min(100%, 480px);
    margin: 64px auto 54px;
  }

  .flow-intro,
  .flow-heading {
    font-size: 19px;
  }

  .flow-instruction {
    margin-bottom: 26px;
    font-size: 20px;
  }

  .flow-input-frame {
    min-height: 66px;
  }
}

@media (max-width: 520px) {
  .subscription-flow-page {
    background:
      linear-gradient(180deg, var(--flow-blue) 0, #9cc9ff 86px, var(--flow-blue-soft) 194px, #fff 282px),
      #fff;
  }

  .flow-main {
    padding: 16px 16px 38px;
  }

  .flow-toolbar {
    min-height: 36px;
  }

  .flow-language {
    width: 64px;
    height: 32px;
    font-size: 15px;
  }

  .flow-brand {
    width: min(100%, 315px);
    margin: 40px auto 42px;
  }

  .flow-intro,
  .flow-heading {
    font-size: 15px;
    line-height: 1.48;
  }

  .flow-instruction {
    margin: 10px auto 22px;
    font-size: 17px;
  }

  .flow-phone-input {
    gap: 10px;
    padding: 0 13px;
  }

  .flow-input-frame {
    min-height: 58px;
    border-width: 3px;
  }

  .flow-input-frame::after {
    inset-inline-end: 14px;
  }

  .flow-input-icon {
    width: 21px;
    height: 21px;
  }

  .flow-country-code,
  .flow-input {
    font-size: 21px;
  }

  .flow-code-input {
    font-size: 28px;
  }

  .flow-pin-label {
    inset-inline-start: 24px;
    font-size: 16px;
  }

  .flow-price {
    margin: 16px auto 18px;
    font-size: 13px;
    line-height: 1.5;
  }

  .flow-submit {
    min-height: 56px;
    font-size: 21px;
  }

  .flow-page-verify .flow-submit {
    margin-top: 26px;
  }

  .flow-legal {
    margin-top: 42px;
    font-size: 12px;
    line-height: 1.62;
  }

  .flow-operator-logo {
    width: 112px;
  }
}

@media (max-width: 360px) {
  .flow-country-code,
  .flow-input {
    font-size: 19px;
  }

  .flow-phone-input {
    gap: 8px;
  }

  .flow-submit {
    font-size: 19px;
  }
}

.flow-page-verify .flow-brand {
  margin-bottom: 50px;
}

.flow-page-verify .flow-legal {
  margin-top: 42px;
}

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