/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
html {
    scroll-behavior: smooth;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

body {
    margin: 0 auto;
    background-color: #0E0E0E;
    background-image: url('./img/bg.svg'); /* Replace with your image path */
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: top; 
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

.wrapper {
    width: 1200px;
    margin: 0 auto;
    display: flex;
}

.row {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    width: 100%;
}

.row-reverse {
    flex-direction: row-reverse !important;
}

.column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.column-center {
    align-items: center;
}

.row-center {
    align-items: center;
}

.items-end {
    align-items: flex-end;
}

.secondTitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 54px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
    color: #FFFFFF;
}

header {
    padding: 40px 0 46px;
}

.header, .intro {
    width: 100%;
}

.nav-links, .nav-linksBig {
    list-style-type: none;
    list-style-position: inside;
    display: flex;
    margin: 0 10px;
    font-family: 'Open Sans', sans-serif;
    position: relative;
}

.nav-links > li, .nav-linksBig > li {
    margin-right: 40px;    
}

.nav-links > li > a, .nav-linksBig > li > a {
  font-size: 16px;
  color: #FFFFFF;
}

.nav-links > li:last-child, .nav-linksBig > li:last-child {
    margin-right: 0;
}

.nav-links {
  position: fixed;
  top: 0;
  right: 0;
  background: #0a0a0f;
  width: 100%;
  height: 100vh;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  display: none;
  z-index: 999;
}

.nav-links.active {
  display: flex;
}

/* Заголовок меню */
.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  width: inherit;
}

.menu-logo {
  height: 30px;
}

.close-btn {
  font-size: 32px;
  color: white;
  cursor: pointer;
}

/* Ссылки */
.nav-links li {
  border-bottom: 1px solid #2a2a2a;
  padding: 10px 0;
  width: 100%;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  display: block;
  width: 100%;
}

/* Бургер */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}

.burger span {
  height: 3px;
  background: white;
  border-radius: 2px;
}


.title {
    font-family: 'Prompt', sans-serif;
    font-size: 60px;
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: 0cap;
    text-align: center;
    color: #88DAF8;
    margin-bottom: 24px;
}

.subtitle {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 105%;
    text-align: center;
    color: #FFFFFF;
}

/* Intro */

.intro {
    padding: 0px 0 96px;
    width: 100%;
}

.intro-text {
  width: 60%;
}

.intro-title, .intro-subtitle {
  text-align: left;
}

.intro-subtitle {
  margin-bottom: 32px;
}

.intro-openTradingAccount {
    background: #88DAF8;
    padding: 20px 28px;
    border-radius: 40px;
    border: none;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.3;
    color: #000000;
}

.intro-image {
  width: 40%;
}

.intro-image > img {
  width: 100%;
  height: auto;
}

/* Experience */

.experience {
  margin-bottom: 96px;
}

.experience-title {
  font-size: 90px;
  margin-bottom: 24px;
}

.experience-subtitle {
  line-height: 1.4;
  margin-bottom: 48px;
}

.expRow {
  margin-bottom: 20px;
}

.expBlock {
  border: 1px solid grey;
  border-radius: 20px;
  padding: 24px;
  width: 45%;
  height: 350px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.02); /* Белый с плотностью (непрозрачность 80%) */
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.15);
}

.expBlock-text {
  width: 57%;
  margin-right: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: inherit;
}

.expBlock-text-top > p {
  text-align: left;
  font-size: 90px;
}

.expBlock-title {
 font-family: 'Prompt', sans-serif;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 600;
  text-align: left;
  color: #FFFFFF;
  margin-bottom: 16px; 
}

.expBlock-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 400;
  text-align: left;
  color: #FFFFFF;
  margin-bottom: 16px; 
}

.expBlock-image {
  width: 35%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: inherit;

}

.expBlock-image > img {
  width: 100%;
  height: auto;
}

/* Opportunities */

.opportunities {
  padding-bottom: 96px;
}

.oppor-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.oppor-row:last-child {
  margin-bottom: 0;
}

.oppor-text {
  width: 50%;
}

.oppor-title {
  text-align: left;
}

.oppor-subtitle {
  text-align: left;
  line-height: 1.4;
}

.oppor-image {
  width: 30%;
}

.oppor-image > img {
  width: 100%;
  height: auto;
}

/* Account Type */

.accountType {
  padding: 0 0 96px;
}

.accountType-title {
  font-size: 90px;
  padding-bottom: 5px;
}

.accountType-subtitle {
  color: #9D9D9D;
  margin-bottom: 48px;
}

.popular-bg {
  padding: 20px;
  border-radius: 12px;
  position: relative;

  box-shadow: inset 0 0 0 4px transparent;
}

.popular-bg::before {
  content: "";
  position: absolute;
  top: 20px;  
  left: 20px;
  right: 20px;
  bottom: 20px;
  border-radius: 20px;
  pointer-events: none;
  border: 1px solid;
  z-index: 1;
  background: linear-gradient(225deg, #88DAF8 5%,transparent 100%);
  /* background: linear-gradient(45deg, transparent 60%, #88DAF8 100%); */
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: destination-out;
  padding: 2px; 
}

.accountType-type {
    padding: 32px;
    background: #0D0D0D;
    border: 1px solid #3D3D3D;
    max-width: 384px;
    width: 27%;
    height: fit-content;
    border-radius: 30px;
}

.accountType-typeTitle {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    line-height: 1.4;
    font-weight: 400;
    color: #FFFFFF;
}

.accountType-typePackage {
    margin-bottom: 32px;
}

.accoutnType-popularBtn {
    width: fit-content;
    height: fit-content;
    padding: 6px 20px;
    border-radius: 10px;
    border: 1px solid #88DAF8;
    font-family: 'Inter', sans-serif;
    background: none;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.3;
    color: #88DAF8;

}

.accountType-price {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 1.2;
    color: #FFFFFF;
    margin-bottom: 48px;
}

.accountType-description {
    color: #9D9D9D;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
    margin-bottom: 48px;
}

.accountType-getStarted {
    display: flex;
    width: fit-content;
    padding: 15px 30px 15px 30px;
    border-radius: 40px;
    background: #FFFFFF;
    border: none;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;
    color: #0D0D0D;
    margin-bottom: 20px;
}

.accountType-learnMore {
    width: 100%;
    padding: 15px 30px 15px 30px;
    border-radius: 40px;
    background: none;
    border: 1px solid #353535;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;
    color: #BFBFBF;
}

/* Trade View */

.tradeView {
    display: flex;
    padding: 0 0 64px;
}

.tradeView-title {
    margin-bottom: 48px;
    font-size: 90px;
}

.tradeView-table {
  width: 100%;
  border-radius: 20px;
  border: 1px solid #353535;
}

.tradeView-table > thead {
  background: #353535
}

.tradeViewTable-theadCell {
  padding: 24px;
  text-align: left;
  width: 19%;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
}

/* Contact */

.contact-title {
    margin-bottom: 24px;
    text-align: left;
}

.contact-subtitle {
    color: #9D9D9D;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 400;
    text-align: left;
    margin: 0 auto;
    margin-bottom: 24px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.contact-form input, .contact-form select {
    width: 95%;
    height: 30px;
    padding: 9px 12px 9px 12px;
    background: #212121;
    color: #7A7A7A;
    border: none;
    margin-bottom: 10px;
    border-radius: 10px;
}

.logo {
    width: 175px;
}

.contact-form select {
    box-sizing: content-box;
}

.contact-form button {
    width: 100%;
    padding: 15px 30px 15px 30px;
    border-radius: 36px;
    margin-top: 30px;
    background-color: #88DAF8;
    border: none;
    margin-bottom: 0;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
    font-family: "Inter", sans-serif;
}

.contact-text {
  width: 45%;
  background-color: rgba(255, 255, 255, 0.02); /* Белый с плотностью (непрозрачность 80%) */
box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 48px;
}

.contact-image{
  width: 38%;
}

.contact-image > img {
  width: 100%;
  height: auto;
}

/* Footer */

.footer {
  padding: 70px 0;
}

.footer-text {
  color: white;
  width: 47%;
  justify-content: left;
}


.footer a {
  color: white;
  display: block;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  margin: 4px 0;
  line-height: 1.4;
  font-family: "Inter Tight", sans-serif;
}

.footer a:last-child{
  margin-bottom: 0;
}

.footer-logo {
  margin-bottom: 12px;
}

.footer .phone,
.footer .mailbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.footer .phone img,
.footer .mailbox img {
  width: 16px;
  height: 16px;
}

.footer-text-info{
  font-size: 16px;
  font-weight: 400;
  font-family: "Inter", sans-serif;
  margin-bottom: 10px;
  line-height: 1.4;

}

.footer-text-contact{
  font-size: 18px;
  font-weight: 500;
  font-family: "Inter", sans-serif;
  margin-bottom: 10px;
  line-height: 1.4;
}

.markets__table{
    border-radius: 12px;
    width: 100%;
    margin-bottom: 96px;
}

.markets__header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 22px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    background-color: #212121;
    padding: 24px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;

}
.markets__col-title{
    width: 180px;
}
.hr{
    height: 1px;
    width: 100%;
    background-color: #8C8C8C;
    opacity: 0.6;
}
.markets__row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    background-color: #1B1B1B;

}
.markets__col-value{
    width: 180px;
    color: white;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
}
.markets__asset{
    display: flex;
    align-items: center;
    gap: 8px;
}
.markets__col-value--positive{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid #2DBD85;
    color: #2DBD85;
    border-radius: 8px;
    width: 120px;
}

.markets__col-value--negative{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid #D33536;
    color: #D33536;
    border-radius: 8px;
    width: 120px;
}
.markets__col-title--change{
    width: 120px;
}
.markets__row-bg{
        display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    background-color: #212121;
}
.markets__row--border{
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}
.markets__title{
font-family: 'Unbounded';
font-style: normal;
font-weight: 300;
font-size: 63px;
line-height: 120%;
text-align: center;

background: linear-gradient(90deg, #83DEFF 0%, #FF4319 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-fill-color: transparent;
margin: auto;
margin-top: 94px;
margin-bottom: 48px;

}
.markets__mobile-table-bg{
    width: 327px;
    color: white;
    font-family: 'Inter Tight';
    font-style: normal;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: #212121;
    padding: 24px;
}

.markets__mobile-table{
    width: 327px;
    color: white;
    font-family: 'Inter Tight';
    font-style: normal;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: #1B1B1B;
    padding: 24px;
}
.markets__mobile-row{
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: center;
}
.markets__mobile-label{
    width: 90px;
    color: #B7B7B7;
}
.markets__mobile-asset{
    display: flex;
    align-items: center;
    gap: 8px;
}
.markets__mobile-value--positive{
        display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid #2DBD85;
    color: #2DBD85;
    border-radius: 8px;
    width: 110px;
}

.markets__mobile-value--negative{
        display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid #D33536;
    color: #D33536;
    border-radius: 8px;
    width: 110px;
}
.markets__mobile{
    display: none;
}


@media (min-width: 320px) and (max-width: 767px) {

  body {
    background-image: url('./img/bg-mobile.svg'); /* Replace with your image path */
}

  .wrapper {
    width: 300px;
  }

  .nav-linksBig {
    display: none;
  }

  .intro-text {
    width: 100%;
  }

  .intro-image {
    width: 100%;
  }

  .experience-title {
    font-size: 80px;
  }

  .contact-text {
    width: 100%;
  }

  .accountType-row {
    justify-content: center;
  }

  .accountType-type {
    width: 50%;
    margin-bottom: 20px;
  }

  .accountType-type:last-child {
    margin-bottom: 0;
  }

  .expRow {
    display: flex;
    justify-content: center;
  }

  .expBlock {
    height: fit-content;
    width: 60%;
    margin-bottom: 20px;
  }

  .expBlock:last-child {
    margin-bottom: 0;
  }

  .expBlock-row {
    justify-content: center;
    align-items: center;
  }

  .expBlock-text {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .expBlock-text:last-child {
    margin-bottom: 0;
  }

  .expBlock-text, .expBlock-image {
    width: 100%;
  }

  .expBlock-image > img {
    margin: 0 auto;
    width: 30%;
  }

  .tradeView-title {
    font-size: 80px;
  }

  .oppor-title {
    font-size: 48px;
  }

  .contact-text {
    margin-bottom: 20px;
  }

  .contact-row {
    justify-content: center;
  }

    .burger {
    display: flex;
  }

  .nav-links {
    width: 88vw;
    align-items: flex-start;
  }
  .nav-links li {
    width: 100%;
  }

  .intro {
    padding: 0px 0 40px;
    width: 100%;
}
  .intro-title{
    text-align: center;
    font-size: 34px;
    line-height: 100%;
    margin: 0 auto;
    margin-bottom: 20px;
  }
  .intro-subtitle{
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    font-family: "Inter", sans-serif;
  }

  .intro-openTradingAccount{
      display: flex;
  }

  .intro-image img{
    width: 100%;
    height: auto;
    margin-top: 50px;
}

.experience{
  margin-bottom: 40px;
}

    .experience-title {
        font-size: 34px;
    }

    .experience-subtitle{
        font-size: 16px;
    }

    .expBlock{
      width: 100%;
      height: fit-content;
    }

    .expBlock-image > img {
        margin: 0 auto;
        width: 45%;
    }

    .oppor-title {
        font-size: 28px;
        text-align: left;
        width: 320px;
    }

    .oppor-text {
      width: 100%;
    }

.oppor-subtitle {
    text-align: left;
    font-size: 16px;
    line-height: 1.4;
    width: 320px;
}

.oppor-image > img {
  margin-top: 40px;
    width: 100%;
    height: auto;
}

.opportunities {
    padding-bottom: 40px;
}

.oppor-row {
display: flex;
align-items: center;
justify-content: center;
}

.accountType-title {
    font-size: 36px;
    padding-bottom: 5px;
}

.accountType {
    padding: 0 0 40px;
}
.accountType-type {
    width: 100%;
    margin-bottom: 20px;
}

.tradeView-title {
    font-size: 36px;
    width: 320px;
    justify-self: center;
    margin-bottom: 0;


}

.markets__header {
  display: none;
}

.markets__row-bg {
  display: none;
}
.markets__row{
  display: none;
}
.markets__mobile{
  display: block;
  justify-items: center;
  margin-top: -40px;
  margin-bottom: 40px;

}

.markets__mobile-table-bg:nth-child(1) {
border-radius: 20px 20px 0 0;
}

.markets__mobile-table:last-child {
border-radius: 0 0 20px 20px;
}

.markets__mobile-table {
    width: 260px;
     height: fit-content;
}

.markets__mobile-table-bg {

  width: 280px;
  height: fit-content;
  padding: 10px;
}

    .contact-text {
        margin-bottom: 20px;
         justify-content: center;
         padding: 20px;
    }
.contact-row {
        justify-content: center;
        width: 340px;
    }

.contact-image > img {
    min-width: 300px;
    display: none;
    margin-top: 20px;
    height: auto;
}

  .contact {
    width: 320px;
  }


.secondTitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
    text-align: left;
    color: #FFFFFF;
}

.footer-text-info {
display: none;
}

.footer {
    padding: 70px 0 20px 0;
}

}

@media (min-width: 768px) and (max-width: 1023px) {
  .wrapper {
    width: 680px;
  }

  .burger {
    display: flex;
  }

  .nav-linksBig {
    display: none;
  }

  .nav-links {
    width: 92vw;
    align-items: flex-start;
  }
  .nav-links li {
    width: 100%;
  }

  .contact-row {
    display: flex;
justify-content: center;
  }

  .markets__table p {
    font-size: 14px;
  }

  .experience-title {
    font-size: 80px;
  }

  .contact-text {
    width: 100%;
  }

  .accountType-row {
    justify-content: center;
  }

  .accountType-type {
    width: 50%;
    margin-bottom: 20px;
  }

  .accountType-type:last-child {
    margin-bottom: 0;
  }

  .expRow {
    display: flex;
    justify-content: center;
  }

  .expBlock {
    height: fit-content;
    width: 60%;
    margin-bottom: 20px;
  }

  .expBlock:last-child {
    margin-bottom: 0;
  }

  .expBlock-row {
    justify-content: center;
    align-items: center;
  }

  .expBlock-text {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .expBlock-text:last-child {
    margin-bottom: 0;
  }

  .expBlock-text, .expBlock-image {
    width: 100%;
  }

  .expBlock-image > img {
    margin: 0 auto;
    width: 30%;
  }

  .tradeView-title {
    font-size: 80px;
  }

  .oppor-title {
    font-size: 48px;
  }

  .contact-text {
    margin-bottom: 20px;
  }


}

@media (min-width: 1024px) {
  .wrapper {
    width: 950px;
  }

  .expBlock {
    width: 44%;
  }

  .oppor-image {
    width: 40%;
  }

  .accountType-type {
    width: 25%;
  }

  .contact-image > img{
    width: 90%;
  }
}

@media (min-width: 1440px) {
  .wrapper {
    width: 1200px;
  }
}