/* =========================
  FxPro — О компании
  Стиль как у SK SAMURAI: тёмный фон-пагода, стеклянные карточки, красные акценты
========================= */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #fff;
  background: #000;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Фон + затемнение */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  background: url("assets/bg.jpg") center/cover no-repeat;
  z-index: -2;
}
body::after{
  content:"";
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,7,10,0.55) 0%, rgba(6,7,10,0.4) 30%, rgba(6,7,10,0.5) 70%, rgba(6,7,10,0.65) 100%);
  z-index: -1;
}

a { color: inherit; }

/* -----------------------------
   Hero
------------------------------ */
.hero{
  padding: 34px 16px 0;
  text-align: center;
}
.hero__logo{
  display: block;
  width: 76px;
  height: 76px;
  margin: 0 auto 12px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
}
.hero__title{
  margin: 6px 0 0;
  font-size: clamp(30px, 6vw, 52px);
  font-weight: 800;
  letter-spacing: 1px;
}
.hero__subtitle{
  margin: 10px 0 8px;
  opacity: 0.9;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

/* -----------------------------
   Layout
------------------------------ */
.page{
  padding: 18px 16px 40px;
}
.section{
  max-width: 760px;
  margin: 0 auto;
}

.card{
  background: rgba(26, 30, 38, 0.72);
  border-radius: 26px;
  overflow: hidden;
  margin: 16px auto;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.card__body{
  padding: 26px 22px;
}
.card--plain{
  background: rgba(10, 12, 16, 0.55);
}

.lead{
  margin: 0;
  text-align: center;
  font-size: clamp(17px, 2.6vw, 21px);
  font-weight: 600;
  line-height: 1.5;
}

h2.title{
  margin: 0 0 14px;
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 800;
  letter-spacing: .5px;
  text-align: center;
}

p{ margin: 0 0 12px; }
.text{
  font-size: 16px;
  opacity: .92;
}
.text:last-child{ margin-bottom: 0; }
.text--center{ text-align: center; }

/* -----------------------------
   Награды (синие карточки как в оригинале)
------------------------------ */
.award{
  background: linear-gradient(160deg, #1a56ff 0%, #0a3fe0 100%);
  box-shadow: 0 16px 40px rgba(10, 63, 224, 0.28);
  text-align: center;
}
.award__badge{
  display: inline-block;
  margin: 0 auto 18px;
  padding: 22px 26px;
  border: 1px dashed rgba(255,255,255,.45);
  border-radius: 999px;
}
.award__name{
  margin: 0;
  font-size: clamp(20px, 3.6vw, 26px);
  font-weight: 700;
  line-height: 1.25;
}
.award__by{
  margin: 4px 0 0;
  font-size: 15px;
  opacity: .85;
}
.award__text{
  margin: 0 0 14px;
  font-size: clamp(16px, 2.4vw, 19px);
  line-height: 1.55;
}
.award__text:last-child{ margin-bottom: 0; }
.award__text a{ text-underline-offset: 3px; }

/* -----------------------------
   Регуляторы
------------------------------ */
.regs, .reglist{ min-width: 0; }
.reg__text{ min-width: 0; overflow-wrap: anywhere; }
.regs{
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.reg{
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(0,0,0,0.38);
  border-radius: 18px;
  padding: 16px 16px;
}
.reg__flag{
  flex: none;
  font-size: 28px;
  line-height: 1;
  margin-top: 2px;
}
.reg__text{
  margin: 0;
  font-size: 15.5px;
  line-height: 1.5;
}
.reg__text a{
  text-underline-offset: 3px;
}

/* -----------------------------
   Invest in GREAT
------------------------------ */
.gb{
  background: #f3f3f4;
  color: #14161b;
  text-align: center;
}
.gb__lead{
  margin: 0 0 8px;
  font-size: 17px;
  color: #3a3d46;
}
.gb__title{
  margin: 0 0 8px;
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 800;
  line-height: 1.15;
}
.gb__by{
  margin: 0 0 18px;
  font-size: 16px;
  color: #5b5e68;
}
.gb__logos{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.gb__tag{
  font-weight: 800;
  letter-spacing: .5px;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #14161b;
  color: #fff;
}
.gb__tag--red{ background: #ed1c24; }
.gb__more{
  margin: 18px 0 0;
  font-size: 15px;
  color: #3a3d46;
}
.gb__more a{ color: #14161b; font-weight: 700; text-underline-offset: 3px; }

/* -----------------------------
   История / ордера
------------------------------ */
.counter{
  margin: 18px 0 0;
  text-align: center;
  padding: 18px 14px;
  border-radius: 20px;
  background: rgba(0,0,0,0.38);
}
.counter__label{
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  opacity: .8;
}
.counter__num{
  margin: 2px 0;
  font-size: clamp(34px, 8vw, 56px);
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.15;
}
.counter__note{
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: .85;
}

/* -----------------------------
   FxPro в цифрах
------------------------------ */
.stats{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.stat{
  background: rgba(0,0,0,0.38);
  border-radius: 18px;
  padding: 18px 10px;
  text-align: center;
}
.stat__num{
  font-size: clamp(20px, 5vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.stat__label{
  margin-top: 4px;
  font-size: 13.5px;
  opacity: .8;
  line-height: 1.3;
}

/* -----------------------------
   Факты о компании
------------------------------ */
.group{
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.group img{
  width: 52px;
  height: 52px;
  border-radius: 12px;
}
.group__name{
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
}

.facts{ margin: 0; }
.fact{
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.fact:last-child{ border-bottom: 0; padding-bottom: 0; }
.fact dt{
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 4px;
}
.fact dd{
  margin: 0;
  font-size: 16px;
  opacity: .88;
}
.fact dd + dd{ margin-top: 4px; }
.fact a{ text-underline-offset: 3px; }

.reglist{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

/* -----------------------------
   Дисклеймер
------------------------------ */
.disclaimer{
  max-width: 760px;
  margin: 24px auto 0;
  padding: 0 6px;
  text-align: center;
  font-size: 13px;
  line-height: 1.55;
  opacity: .72;
}
.disclaimer p{ margin: 0 0 8px; }

@media (min-width: 640px){
  .stats{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card__body{ padding: 32px 34px; }
}
