:root {
  /* Colors */
  --color-bg-gradient-1: #1a2b4f;
  --color-bg-gradient-2: #050810;
  --color-bg-gradient-3: #020308;
  --color-text-main: #ffffff;
  --color-lang-switch-text: #ffffff;
  --color-lang-switch-bg: rgba(2, 4, 12, 0.7);
  --color-lang-switch-border: rgba(255, 255, 255, 0.2);
  --color-lang-switch-active-bg: #ffffff;
  --color-lang-switch-active-text: #101320;
  --color-tag-bg: #2ee67a;
  --color-tag-text: #1b1f28;
  --color-subtitle-main: #00b8f0;
  --color-money-shadow: rgba(0, 0, 0, 0.6);
  --color-button-gradient-from: #00e477;
  --color-button-gradient-to: #00d4ff;
  --color-button-text: #02040a;
  --color-button-shine: rgba(255, 255, 255, 0.4);

  /* Radius */
  --radius-pill: 999px;
  --radius-card: 24px;

  /* Paddings */
  --space-0: 0;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-14: 14px;
  --space-15: 15px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-26: 26px;
  --space-32: 32px;
  --space-35: 35px;
  --space-38: 38px;
  --space-40: 40px;
  --space-48: 48px;

  /* Sizes */
  --hero-min-height-info: 228px;
  --hero-cta-bottom: 35px;
  --hero-money-width: 94px;
}

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: -o-radial-gradient(
    top,
    circle,
    var(--color-bg-gradient-1) 0%,
    var(--color-bg-gradient-2) 55%,
    var(--color-bg-gradient-3) 100%
  );
  background: radial-gradient(
    circle at top,
    var(--color-bg-gradient-1) 0%,
    var(--color-bg-gradient-2) 55%,
    var(--color-bg-gradient-3) 100%
  );
  color: var(--color-text-main);
}

.page {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  padding: 0;
  background-image: url(../img/bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: var(--space-20);
  padding: var(--space-35) var(--space-0) 0;
}

.lang-switch {
  position: absolute;
  top: var(--space-16);
  right: var(--space-16);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: var(--space-6);
  z-index: 10;
}

.lang-switch__btn {
  padding: var(--space-4) var(--space-10);
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-lang-switch-border);
  background: var(--color-lang-switch-bg);
  color: var(--color-lang-switch-text);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.lang-switch__btn--active {
  background: var(--color-lang-switch-active-bg);
  color: var(--color-lang-switch-active-text);
}

.logo__img {
  max-width: 120px;
  height: auto;
}

.main {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.hero {
  width: 100%;
  height: 100vh;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.container-page {
  width: 100%;
  height: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: var(--space-0) var(--space-15);
}

.hero-inner {
  display: -ms-grid;
  display: grid;
  -ms-grid-rows: -webkit-max-content auto;
  -ms-grid-rows: max-content auto;
  grid-template-rows: -webkit-max-content auto;
  grid-template-rows: max-content auto;
  height: 100%;
}

.hero-info {
  min-height: var(--hero-min-height-info);
}

.hero__title {
  font-size: 18px;
  line-height: normal;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: var(--space-0) var(--space-0) var(--space-10);
}

.hero__tags {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: var(--space-10);
  margin-bottom: var(--space-15);
  position: relative;
}

.hero__tags::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 105%;
  -webkit-transform: translate(-50%, -50%) rotate(13.36deg);
      -ms-transform: translate(-50%, -50%) rotate(13.36deg);
          transform: translate(-50%, -50%) rotate(13.36deg);
  width: var(--space-38);
  height: var(--space-38);
  background-image: url(../img/and.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.tag {
  padding: var(--space-6) var(--space-20);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  min-width: 120px;
  text-align: center;
}

.tag--primary {
  background: var(--color-tag-bg);
  color: var(--color-tag-text);
}

.hero__subtitle {
  margin: var(--space-0) var(--space-0) var(--space-20);
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  font-family: "Unbounded", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--color-subtitle-main);
}

.hero__subtitle-accent {
  display: block;
}

.hero__image-wrapper {
  position: relative;
  width: 100%;
}

.hero__image {
  display: block;
  min-width: 350px;
  height: auto;
  max-height: 100%;
  position: absolute;
  bottom: 0;
  border-radius: var(--radius-card);
  z-index: 2;
  -o-object-fit: contain;
     object-fit: contain;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
}

.money {
  position: absolute;
  width: var(--hero-money-width);
  height: auto;
  -webkit-filter: drop-shadow(0 10px 25px var(--color-money-shadow));
          filter: drop-shadow(0 10px 25px var(--color-money-shadow));
}

.money--one {
  top: -5%;
  left: -34px;
}

.money--two {
  top: -12%;
  right: -9%;
  width: 70px;
}

.money--three {
  bottom: -2%;
  left: -11%;
  width: 105px;
}

.money--four {
  bottom: 15%;
  right: -50px;
  width: 120px;
}

.hero__cta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: var(--space-10);
  position: absolute;
  bottom: var(--hero-cta-bottom);
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  z-index: 3;
}

/* Arabic */
body.lang-ar .hero__tags {
  display: none;
}

.button {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  display: block;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}

.button--primary {
  padding: var(--space-12) var(--space-26);
  border-radius: var(--radius-pill);
  background: -o-linear-gradient(
    315deg,
    var(--color-button-gradient-from),
    var(--color-button-gradient-to)
  );
  background: linear-gradient(
    135deg,
    var(--color-button-gradient-from),
    var(--color-button-gradient-to)
  );
  color: var(--color-button-text);
  font-size: 14px;
  -webkit-box-shadow: 0 12px 32px var(--color-money-shadow);
          box-shadow: 0 12px 32px var(--color-money-shadow);
  position: relative;
  overflow: hidden;
}

.button.button--primary::before {
  content: '';
  position: absolute;
  height: 250%;
  width: 40px;
  top: 0;
  left: -60px;
  background: -webkit-gradient(
    linear,
    left top, right top,
    from(transparent),
    color-stop(var(--color-button-shine)),
    to(transparent)
  );
  background: -o-linear-gradient(
    left,
    transparent,
    var(--color-button-shine),
    transparent
  );
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-button-shine),
    transparent
  );
  -webkit-transform: rotate(45deg) translateY(-35%);
      -ms-transform: rotate(45deg) translateY(-35%);
          transform: rotate(45deg) translateY(-35%);
  -webkit-animation: shine 3s ease infinite;
          animation: shine 3s ease infinite;
}

@-webkit-keyframes shine {
  0% {
    left: -80px;
  }
  40% {
    left: calc(100% + 20px);
  }
  100% {
    left: calc(100% + 20px);
  }
}

@keyframes shine {
  0% {
    left: -80px;
  }
  40% {
    left: calc(100% + 20px);
  }
  100% {
    left: calc(100% + 20px);
  }
}

.button--primary:active {
  -webkit-transform: translateY(1px) scale(0.99);
      -ms-transform: translateY(1px) scale(0.99);
          transform: translateY(1px) scale(0.99);
}

@media (min-width: 768px) {
  .hero {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }

  .container-page {
    max-width: 960px;
    height: 100%;
    text-align: left;
    padding: 0px 32px;
  }

  body.lang-ar .hero-inner {
    direction: rtl;
  }

  .hero-inner {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1.1fr 48px 0.9fr;
    grid-template-columns: 1.1fr 0.9fr;
    -webkit-column-gap: 48px;
       -moz-column-gap: 48px;
            column-gap: 48px;
    text-align: left;
    -ms-flex-line-pack: center;
        align-content: center;
    -ms-grid-rows: 100%;
    grid-template-rows: 100%;
    position: relative;
  }

  .lang-switch {
    right: var(--space-0);
  }

  .hero-inner > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }

  .hero-inner > *:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
  }

  .hero-info {
    display: -ms-grid;
    display: grid;
    -ms-flex-line-pack: center;
        align-content: center;
  }

  .logo__img {
    max-width: 150px;
  }

  .header {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    padding-top: 0;
    margin-bottom: 32px;
  }

  .hero__title {
    font-size: 32px;
  }

  .hero__tags {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }

  .hero__subtitle {
    font-size: 32px;
  }

  .hero__subtitle-accent {
    font-size: 40px;
  }

  .hero__tags::before {
    left: 108px;
    -webkit-transform: translate(0%, -50%) rotate(13.36deg);
        -ms-transform: translate(0%, -50%) rotate(13.36deg);
            transform: translate(0%, -50%) rotate(13.36deg);
  }

  .hero__image-wrapper {
    width: 100%;
  }

  .hero__image {
    max-height: 90%;
  }

  .money--one {
    top: 30px;
    left: -36px;
  }

  .money--two {
    top: -25px;
    right: -14px;
  }

  .money--three {
    bottom: -7px;
    left: -80px;
  }

  .money--four {
    bottom: 120px;
    right: -50px;
  }

  .hero__cta {
    position: static;
    bottom: auto;
    left: auto;
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
    margin-top: 32px;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }

  body.lang-ar .hero-info,
  body.lang-ar .hero__title,
  body.lang-ar .hero__subtitle {
    direction: rtl;
    text-align: right;
  }

  .lang-switch__btn {
    font-size: 12px;
  }
}

@media (min-width: 1200px) {
  .container-page {
    max-width: 1144px;
    padding: 0px 32px;
  }

  .hero__title {
    font-size: 38px;
  }

  .hero__subtitle {
    font-size: 56px;
  }

  .hero__subtitle-accent {
    font-size: 56px;
  }

  .tag {
    font-size: 14px;
    min-width: 136px;
  }

  .hero__tags::before {
    left: 118px;
    width: 48px;
    height: 48px;
    top: 130%;
  }

  .button--primary {
    padding: 16px 32px;
    font-size: 18px;
  }
}