@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@200;400;600;800&family=Exo+2:wght@200;400;600;800&display=swap");
:root {
  --primary-color: #4d7bff;
  --primary-color2: #964df6;
  --bg-color: #080812;
  --text-color1: #c2cde7;
  --text-color2: #8995b1;
  --text-color3: #e5e7ee;
  --border-color: #1e2131;
  --border-hover-color: #333853;
  --page-width: 1200px;
  --heading-font-family: "Exo 2", Sans-serif;
  --font-family: "Open Sans", Sans-serif;
}

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

html {
  overscroll-behavior: none;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-color2);
  /*background-image: linear-gradient(180deg, #151515 0%, #181818 100%);*/
  background: var(--bg-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.text-center {
  text-align: center;
}

.overlays {
  position: absolute;
  width: 100%;
}
.overlays.fit-height {
  height: 100%;
}
.overlays .overlay {
  -webkit-filter: blur(100px);
  background: linear-gradient(180deg, #131638 0%, rgb(48, 90, 239) 100%);
  border-radius: 10px;
  filter: blur(100px);
  flex: none;
  height: 412px;
  opacity: 0.2;
  position: absolute;
  width: 470px;
  pointer-events: none;
}
.overlays .overlay.top-left {
  top: 0px;
  left: 80px;
}
.overlays .overlay.top-right {
  top: 0px;
  right: 80px;
}
.overlays .overlay.bottom-right {
  bottom: 80px;
  right: 80px;
}

header {
  max-width: var(--page-width);
  padding: 0 2rem;
  margin: 0 auto;
  margin-top: 1em;
  color: var(--text-color1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  -webkit-padding-before: 1rem;
  padding-block-start: 1rem;
  -webkit-padding-after: 1rem;
  padding-block-end: 1rem;
  position: relative;
}
header .logo a {
  display: block;
}
header .logo img {
  width: 210px;
}
header .navigation {
  flex: 1;
  margin-right: 2rem;
}
header .navigation ul.menu {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-family: var(--heading-font-family);
  font-size: 1.1rem;
}
header .navigation ul.menu li {
  padding-left: 2rem;
}
header .navigation ul.menu li.active a {
  color: var(--text-color3);
}
header .navigation-dropdown {
  display: none;
  position: absolute;
  z-index: 100;
  top: 3rem;
  left: 0;
  right: 0;
  width: 100%;
  padding: 1rem;
  background-color: var(--bg-color);
}
header .navigation-dropdown ul.menu {
  padding: 0 2rem;
}
header .navigation-dropdown ul.menu li {
  text-align: center;
  padding: 0.5rem 0;
}
header .navigation-dropdown.open {
  display: block;
}
header .navigation ul.menu,
header .navigation-dropdown ul.menu {
  list-style-type: none;
  margin: 0;
}
header .navigation ul.menu li,
header .navigation-dropdown ul.menu li {
  cursor: pointer;
}
header .navigation ul.menu li a,
header .navigation-dropdown ul.menu li a {
  font-style: normal;
  text-decoration: none;
  color: var(--text-color2);
}
header .navigation ul.menu li a:hover,
header .navigation-dropdown ul.menu li a:hover {
  color: var(--text-color1);
}
header .navigation-toggle {
  display: none;
  height: 16px;
  overflow: hidden;
  position: relative;
  width: 20px;
  cursor: pointer;
}
header .navigation-toggle .line {
  background-color: var(--text-color2);
  border-radius: 5px;
  opacity: 1;
  height: 2px;
  left: 0;
  overflow: hidden;
  position: absolute;
  right: 0;
}
header .navigation-toggle .line:nth-child(1) {
  top: 0;
}
header .navigation-toggle .line:nth-child(1) {
  top: calc(50% - 1px);
}
header .navigation-toggle .line:nth-child(2) {
  bottom: 0;
}
header .navigation-toggle:hover .line {
  background-color: var(--text-color1);
}
header .navigation-toggle.open .line:nth-child(1) {
  transform: rotate(45deg) translateZ(0px);
  top: calc(50% - 1px);
}
header .navigation-toggle.open .line:nth-child(2) {
  display: none;
}
header .navigation-toggle.open .line:nth-child(3) {
  transform: rotate(-45deg) translateZ(0px);
  top: calc(50% - 1px);
}

.button {
  background-color: var(--primary-color);
  border: 1px solid #456fe4;
  transition: background-color 0.2s;
  color: white !important;
  border-radius: 0.5rem;
  padding: 0.8rem 1.2rem;
  text-decoration: none;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.05);
  white-space: nowrap;
  font-weight: 600;
  display: flex;
  cursor: pointer;
  align-items: center;
  box-shadow: 0 0 1em rgba(0, 0, 0, 0.8);
}
.button:hover {
  background: #668fff;
}
.button img {
  width: 1.5rem;
  height: 1.5rem;
  padding-right: 0.5rem;
}
.button img path {
  fill: white;
}
.button.disabled {
  pointer-events: none;
  opacity: 0.5;
}
.button.flat {
  background-color: transparent;
  border: 0;
  color: var(--primary-color) !important;
}
.button.outline {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color) !important;
}

.page {
  position: relative;
}
.page .page-title {
  display: block;
  text-align: center;
  margin: 1em 0;
  color: var(--text-color3);
  font-family: var(--heading-font-family);
  font-size: 3.5rem;
  font-weight: 400;
}
.page .page-content {
  position: relative;
  max-width: var(--page-width);
  margin: auto;
  margin-bottom: 2rem;
  text-align: justify;
}
.page .page-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0.5rem auto;
  text-align: center;
}
.page .page-content h4 {
  padding: 0;
  margin: 0;
  color: var(--text-color2);
  font-family: var(--heading-font-family);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.25;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font-family);
}

section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
section .content {
  max-width: var(--page-width);
  padding: 0 2rem;
  margin: auto;
  text-align: center;
  position: relative;
  z-index: 10;
}
section h1 {
  padding: 0;
  margin: 0;
  color: var(--text-color3);
  font-size: 4rem;
  letter-spacing: -0.04em;
  font-weight: 400;
  line-height: 1.2;
}
section h2 {
  padding: 0;
  margin: 0;
  color: var(--text-color3);
  font-size: 3rem;
  letter-spacing: -0.03em;
  font-weight: 600;
  line-height: 1;
}
section h4 {
  padding: 0;
  margin: 0;
  color: var(--text-color2);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.25;
}
section h5 {
  display: block;
  text-align: center;
  margin: 1em auto;
  font-size: 1.2rem;
  font-weight: 400;
  max-width: 800px;
}
section .buttons {
  margin-top: 2em;
  display: flex;
  /*justify-content: center;*/
}
section h6 {
  display: block;
  text-align: center;
  margin: 1em auto;
  font-size: 1rem;
  font-weight: 400;
  max-width: 800px;
}

.highlight-gradient-purple {
  background: linear-gradient(180deg, var(--primary-color2) 0%, var(--primary-color) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

section#hero {
  margin-top: 4em;
}
section#hero .content {
  display: flex;
}
section#hero h1 .highlight-gradient-purple {
  font-weight: 600;
}
section#hero h4 {
  margin-top: 1em;
}
section#hero .buttons {
  margin-top: 2em;
  font-size: 1.25em;
}
section#hero .main-info {
  margin-top: 5em;
  text-align: left;
  flex: 1;
}
section#hero .main-image img {
  margin-top: 36px;
  width: 100%;
  max-width: 600px;
  height: auto;
  animation: tfupdown 2s infinite alternate;
}
section#hero .announcements {
  width: 90%;
  max-width: 800px;
  margin: 2em auto 0 auto;
  padding: 0.5em 1em;
  background-color: rgba(77, 123, 255, 0.1);
  border: 1px solid rgba(77, 123, 255, 0.7);
  border-radius: 0.5em;
  font-size: 0.85em;
  text-align: center;
}
section#hero .announcements h3 {
  font-weight: 600;
  color: var(--text-color3);
}
section#hero .announcements a {
  color: var(--text-color3);
  text-decoration: none;
  font-weight: 600;
}
section#hero .announcements a:hover {
  text-decoration: underline;
}

section#features {
  /*background: #1b1c20;*/
}
section#features h5 {
  margin-top: 1.5em;
}
section#features .features {
  margin-top: 2em;
  display: grid;
  gap: 1em;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  justify-items: center;
}
section#features .features .col {
  width: 270px;
  /*background: rgba(18, 18, 18, 0.7);
  border: 1px solid var(--border-color);
  border-radius: 0.5em;
  */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1em;
}
section#features .features .col .circle-icon {
  border: 1px solid var(--border-color);
  border-radius: 50% 50%;
  width: 64px;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(152.4179701252deg, rgba(8, 8, 17, 0.5) 0%, rgba(16, 24, 49, 0.5) 100%);
}
section#features .features .col h5 {
  padding: 0;
  margin: 0;
  margin-top: 1em;
  text-align: center;
  color: var(--text-color1);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.2;
}
section#features .buttons {
  display: flex;
  justify-content: center;
}

section#specs .row {
  display: flex;
  margin: 2rem auto;
  font-size: 1.1rem;
}
section#specs img.main-image {
  margin-top: 2em;
  max-width: 100%;
}
section#specs ul {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: left;
  max-width: 800px;
}
section#specs ul li {
  margin: 1em;
  display: flex;
}
section#specs ul li .check {
  display: inline-block;
  background-image: url(../images/icons/check.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom;
  width: 34px;
  height: 34px;
}
section#specs ul li span {
  margin-left: 0.5em;
  flex: 1;
  text-align: justify;
}
section#specs .side-image {
  flex: 1;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
section#specs .side-image.ea-2 {
  background-image: url(../images/fxpad-ea-6.png);
}
section#specs .buttons {
  display: flex;
  justify-content: center;
}

.page-content.faq {
  max-width: 640px;
  margin: auto;
}
.page-content.faq details {
  margin: 2em auto 0 auto;
}
.page-content.faq details summary {
  color: var(--text-color1);
  user-select: none;
  font-size: 1.25em;
  cursor: pointer;
}
.page-content.faq details[open] summary {
  color: var(--text-color3);
}
.page-content.faq details p {
  text-align: justify;
}
.page-content.faq details a {
  color: var(--text-color3);
  text-decoration: none;
}
.page-content.faq details a:hover {
  text-decoration: underline;
}

.page-content.contact form {
  max-width: 400px;
  margin: 1em auto;
}
.page-content.contact form input[type=text],
.page-content.contact form input[type=email],
.page-content.contact form textarea {
  width: 100%;
  font-size: 1em;
  margin-top: 1em;
  padding: 0.5em 0.5em;
  background: var(--border-color);
  border: 1px solid var(--border-hover-color);
  border-radius: 0.25em;
  font-family: var(--font-family);
  color: var(--text-color1);
}
.page-content.contact form input[type=text]::placeholder,
.page-content.contact form input[type=email]::placeholder,
.page-content.contact form textarea::placeholder {
  color: #797c8a;
}
.page-content.contact form input[type=submit] {
  padding: 0.75em 3em;
  font-size: 1em;
  margin-top: 1em;
}
.page-content.contact form .actions {
  display: flex;
  justify-content: center;
  align-items: center;
}
.page-content.contact form .actions #messageSuccess,
.page-content.contact form .actions #messageFailed {
  color: green;
  font-weight: bold;
  margin-right: 1em;
  display: none;
}
.page-content.contact form .actions #messageFailed {
  color: rgb(180, 0, 0);
}
.page-content.contact form .cf-turnstile {
  text-align: center;
  margin-top: 1em;
}

.page-content.thank-you {
  margin-top: 5em;
  margin-bottom: 20em;
}
.page-content.thank-you h2 {
  padding: 0;
  margin: 1em 0;
  color: var(--text-color3);
  font-size: 3rem;
  letter-spacing: -0.05em;
  font-weight: 600;
  line-height: 1;
}

.page-content.policy h2 {
  color: var(--text-color3);
  font-weight: 400;
  margin: 1em 0 0.5em 0;
}
.page-content.policy a {
  color: var(--text-color1);
  text-decoration: none;
}
.page-content.policy a:hover {
  text-decoration: underline;
}

.page-content.expert h2 {
  font-weight: 300;
  color: var(--text-color3);
  margin: 1em 0 0.5em 0;
}

.page-content.pad .pad-help {
  display: flex;
  flex-direction: column;
}
.page-content.pad .pad-buttons {
  width: 100%;
  aspect-ratio: 578/485;
  max-width: 578px;
  margin: auto;
  position: relative;
}
.page-content.pad .pad-buttons img {
  position: absolute;
  width: 100%;
  margin: 0;
  padding: 0;
}
.page-content.pad .pad-buttons .btn {
  position: absolute;
  background: white;
  opacity: 0;
  width: 11%;
  height: 13.6%;
  border-radius: 8px;
  cursor: pointer;
}
.page-content.pad .pad-buttons .btn:hover {
  opacity: 0.2;
}
.page-content.pad .pad-buttons .btn.active {
  opacity: 0.4;
}
.page-content.pad .pad-buttons .btn.row-1 {
  top: 5.5%;
}
.page-content.pad .pad-buttons .btn.row-2 {
  top: 20.7%;
}
.page-content.pad .pad-buttons .btn.row-3 {
  top: 35.7%;
}
.page-content.pad .pad-buttons .btn.row-4 {
  top: 50.9%;
}
.page-content.pad .pad-buttons .btn.row-5 {
  top: 66%;
}
.page-content.pad .pad-buttons .btn.row-6 {
  top: 81.3%;
}
.page-content.pad .pad-buttons .btn.col-1 {
  left: 4.1%;
}
.page-content.pad .pad-buttons .btn.col-2 {
  left: 16.8%;
}
.page-content.pad .pad-buttons .btn.col-3 {
  left: 29.5%;
}
.page-content.pad .pad-buttons .btn.col-4 {
  left: 46.2%;
}
.page-content.pad .pad-buttons .btn.col-5 {
  left: 59%;
}
.page-content.pad .pad-buttons .btn.col-6 {
  left: 71.7%;
}
.page-content.pad .pad-buttons .btn.col-7 {
  left: 84.5%;
}
.page-content.pad .pad-buttons .btn.w2 {
  width: 24%;
}
.page-content.pad .pad-buttons .btn.h2 {
  height: 28.7%;
}
.page-content.pad .pad-hint {
  flex: 1;
  margin-left: 1rem;
}
.page-content.pad .pad-hint .button-description {
  display: none;
  max-width: 578px;
  margin: auto;
}
.page-content.pad .pad-hint .button-description h2 {
  color: var(--text-color3);
  font-weight: 300;
  text-align: center;
}
.page-content.pad .pad-hint .button-description.active {
  display: block;
}

footer {
  position: relative;
  max-width: var(--page-width);
  margin: 0 auto;
  border-top: 1px solid var(--border-color);
  padding: 4rem 2rem;
  margin-bottom: 2rem;
}
footer .content {
  display: flex;
}
footer .main-info {
  max-width: 300px;
}
footer .main-info img {
  width: 210px;
}
footer .main-info .message {
  margin-top: 2rem;
  font-size: 0.9em;
}
footer .main-info .row {
  display: flex;
  align-items: center;
}
footer .main-info .social-links {
  margin-top: 2rem;
  display: flex;
}
footer .main-info .social-links a {
  background-color: var(--border-color);
  border-radius: 6px;
  display: flex;
  padding: 8px;
  margin-right: 1rem;
  transition: background-color 0.2s;
}
footer .main-info .social-links a:hover {
  background: var(--border-hover-color);
}
footer .main-info .social-links a img {
  width: 24px;
  height: 24px;
}
footer .main-info .copyright {
  margin-top: 2rem;
  font-size: 0.7em;
}
footer .space {
  flex: 1;
}
footer .links {
  margin-left: 2rem;
  font-size: 0.9em;
}
footer .links .caption {
  color: var(--text-color3);
  font-weight: bold;
}
footer .links a {
  display: flex;
  padding-top: 0.7rem;
  color: var(--text-color2);
  text-decoration: none;
  transition: color 0.2s;
}
footer .links a:hover {
  color: var(--text-color3);
}

#buy-now-dialog {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  color: var(--text-color1);
  user-select: none;
  font-size: 1rem;
}
#buy-now-dialog .dialog-content {
  max-height: 95%;
  overflow: auto;
  background: var(--bg-color);
  border-radius: 10px;
  border: 1px solid var(--border-color);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  padding: 1rem 2rem;
}
#buy-now-dialog .dialog-content .dialog-body h2 {
  font-weight: 300;
}
#buy-now-dialog .dialog-content .buttons {
  font-size: 1rem;
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}
#buy-now-dialog .dialog-content .buttons .button {
  margin: 0 1rem;
}
#buy-now-dialog .dialog-content a {
  color: var(--primary-color);
  text-decoration: none;
}
#buy-now-dialog .dialog-content a:hover {
  text-decoration: underline;
}

@keyframes tfupdown {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-20px);
  }
}
@keyframes zooming {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
@media screen and (max-width: 1200px) {
  :root {
    --page-width: 960px;
  }
  .page {
    margin: 0 2rem;
  }
  .page .page-title {
    font-size: 3rem;
  }
  section .content {
    padding: 0 1em;
  }
  section#hero {
    margin-top: 0em;
  }
  section#hero .content {
    flex-direction: column;
  }
  section#hero .main-info {
    margin-top: 0;
    text-align: center;
  }
  section#hero .main-image {
    margin-top: 2em;
  }
  section#hero .buttons {
    justify-content: center;
  }
  section#features .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 800px) {
  header .logo {
    flex: 1;
  }
  header .logo a {
    text-align: center;
  }
  header .navigation {
    display: none;
  }
  header .navigation-toggle {
    display: block;
  }
  .overlays {
    display: none;
  }
  .page {
    margin: 0 2rem;
  }
  .page .page-title {
    font-size: 2.5rem;
  }
  section h1 {
    font-size: 3rem;
  }
  section h2 {
    font-size: 2rem;
  }
  section#features .features {
    grid-template-columns: repeat(1, 1fr);
  }
  section#specs .row {
    flex-direction: column-reverse;
  }
  section#specs .side-image {
    display: block;
    width: 100%;
    min-height: 400px;
  }
  footer .main-info {
    max-width: 50%;
  }
  footer .main-info img {
    width: 150px;
  }
  #buy-now-dialog {
    font-size: 1rem;
  }
  .pad-help {
    flex-direction: column;
  }
}