:root {
  --dark: #111111;
  --black3: #1a1a1a;
  --black15: #0d0d0d;
  --black4: #2a2a2a;
  --black5: #555555;
  --black6: #666666;
  --black9: #999999;
  --white: #ffffff;
  --blue: #00a4f3;
  --green: #00c784;
  --yellow: #ffbe25;
  --purple: #6940ed;
  --brown: #ea614f;
  --lan: #01a3c3;
  --header-h: 72px;
  --primary: 1200px;
  --radius-btn: 40px;
  --font: "Segoe UI", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
.btn {
  font-family: inherit;
  border: none;
  cursor: pointer;
}

.container {
  width: min(100% - 32px, var(--primary));
  margin-inline: auto;
}

.pad-header {
  padding-top: var(--header-h);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-h);
  background: var(--dark);
  z-index: 100;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, var(--primary));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 156px;
  height: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  margin-left: 48px;
}

.nav-desktop a {
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  padding: 8px 24px;
  transition: opacity 0.2s;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  opacity: 0.85;
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-outline,
.btn-primary,
.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 16px;
  padding: 10px 24px;
  transition: transform 0.15s ease, opacity 0.2s;
}

.btn-outline {
  border: 1px solid var(--black6);
  color: var(--white);
  background: transparent;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.btn-lg {
  padding: 12px 40px;
  min-width: 220px;
}

.btn-primary:hover,
.btn-outline:hover,
.btn-dark:hover {
  transform: scale(1.03);
}

.menu-toggle {
  display: none;
  background: none;
  color: var(--white);
  font-size: 16px;
  padding: 8px;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0;
  background: var(--dark);
  z-index: 99;
  padding: 16px;
  flex-direction: column;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: var(--white);
  font-size: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--black3);
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-menu a img {
  width: 32px;
  height: 32px;
}

.mobile-menu .menu-actions {
  margin-top: auto;
  padding-bottom: 40px;
  display: grid;
  gap: 16px;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-sm {
  padding: 60px 0;
}

.bg-dark {
  background: var(--dark);
  color: var(--white);
}

.bg-white {
  background: var(--white);
}

.bg-black3 {
  background: var(--black3);
}

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

.muted {
  color: var(--black5);
}

.desc {
  color: var(--black9);
  font-size: 16px;
  max-width: 720px;
  margin: 0 auto;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.25;
}

.f26 {
  font-size: 26px;
  font-weight: 700;
}

.f20 {
  font-size: 20px;
  font-weight: 700;
}

.f18 {
  font-size: 18px;
}

.mb-16 {
  margin-bottom: 16px;
}
.mb-24 {
  margin-bottom: 24px;
}
.mb-40 {
  margin-bottom: 40px;
}
.mb-60 {
  margin-bottom: 60px;
}
.mt-16 {
  margin-top: 16px;
}
.mt-40 {
  margin-top: 40px;
}

/* Hero / Commission */
.sponsor-bar {
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 18px;
}

.sponsor-bar img {
  width: 120px;
  height: auto;
}

.commission-gif {
  margin: 24px auto;
  max-width: 100%;
}

/* Trading steps visual */
.trade-simple {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.phone-stack {
  position: relative;
  min-height: 420px;
}

.phone-stack img {
  width: 70%;
  margin: 0 auto;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.15));
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.step-item {
  font-size: 16px;
  color: var(--black9);
  padding-left: 28px;
  position: relative;
  cursor: default;
}

.step-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
}

.step-item.active {
  color: var(--dark);
  font-weight: 600;
}

.step-item.active::before {
  background: var(--blue);
}

/* Protection cards */
.protect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.protect-card {
  border-radius: 6px;
  padding: 16px;
  color: var(--dark);
}

.protect-card.green {
  background: var(--green);
}
.protect-card.blue {
  background: var(--blue);
}
.protect-card.yellow {
  background: var(--yellow);
}

.protect-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 16px;
}

.protect-card p {
  margin: 0;
  color: rgba(0, 0, 0, 0.65);
}

.protect-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

/* 3 steps */
.steps-3 {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.step-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-row img.icon {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
}

.step-arrow {
  width: 88px;
  display: flex;
  justify-content: center;
  padding: 12px 0;
}

.step-arrow img {
  width: 28px;
}

/* Why cards */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--white);
  color: var(--dark);
  border-radius: 24px;
  padding: 24px 16px;
  min-height: 280px;
  text-align: center;
}

.why-card:first-child {
  background: #f5f5f5;
}

.why-card img {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
}

.why-card p {
  color: var(--black5);
  font-size: 14px;
  margin: 12px 0 0;
}

/* Reviews */
.reviews-wrap {
  max-height: 500px;
  overflow-y: auto;
  column-count: 3;
  column-gap: 12px;
}

.reviews-wrap::-webkit-scrollbar {
  width: 6px;
}
.reviews-wrap::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 4px;
}

.review-card {
  break-inside: avoid;
  border: 1px solid var(--black4);
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 8px;
}

.review-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 16px;
}

.review-head .name {
  color: var(--white);
  font-weight: 600;
}
.review-head .date {
  color: var(--black9);
  font-size: 14px;
}

.stars {
  color: var(--green);
  font-weight: 700;
  margin: 12px 0;
  font-size: 18px;
}

.review-body {
  color: var(--white);
  font-size: 15px;
}

/* Download block */
.download-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.download-grid img.phone {
  max-width: 480px;
  margin: 0 auto;
}

.store-btns {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 340px;
}

.store-btns[style*="align-items:center"],
.store-btns.centered {
  margin-left: auto;
  margin-right: auto;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-btn);
  padding: 10px 28px;
  min-height: 56px;
}

.store-btn .small {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.9;
}

.store-btn .big {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.store-btn .icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-row-h {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* FAQ boxes */
.faq-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.faq-box {
  border-radius: 12px;
  padding: 32px 28px;
  color: var(--white);
}

.faq-box.purple {
  background: var(--purple);
}
.faq-box.brown {
  background: var(--brown);
}
.faq-box.lan {
  background: var(--lan);
}

.faq-box h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

.faq-box a {
  display: block;
  margin-bottom: 14px;
  font-size: 15px;
  opacity: 0.95;
}

.faq-box a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: var(--white);
  padding-top: 48px;
}

.footer-top {
  display: grid;
  grid-template-columns: 200px 1fr 1fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 40px;
}

.footer-brand img {
  width: 140px;
}

.footer-brand .sponsor {
  font-size: 12px;
  margin-top: 8px;
  width: 140px;
  text-align: center;
  color: var(--black9);
}

.footer-col h4 {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--black9);
  font-weight: 600;
}

.footer-col a {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--white);
}

.footer-col a:hover {
  color: var(--blue);
}

.footer-company {
  color: var(--black9);
  font-size: 13px;
  line-height: 1.6;
  margin-top: 8px;
}

.footer-payments {
  background: var(--black15);
  padding: 20px 0;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-payments img {
  width: 160px;
  height: auto;
}

.footer-bottom {
  padding: 20px 0 32px;
  color: var(--black9);
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 16px 0;
}

.socials img {
  width: 34px;
  height: 34px;
  transition: transform 0.2s;
}

.socials a:hover img {
  transform: scale(1.15);
}

/* Float */
.float-actions {
  position: fixed;
  right: 16px;
  top: 42%;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.float-btn img {
  width: 28px;
  height: 28px;
}

.float-download-panel {
  display: none;
  position: absolute;
  right: calc(100% + 8px);
  top: 0;
  background: var(--white);
  color: var(--dark);
  border-radius: 8px;
  padding: 16px;
  width: 320px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.float-btn:hover .float-download-panel {
  display: block;
}

.back-top {
  position: fixed;
  right: 16px;
  bottom: 100px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--black3);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 90;
  cursor: pointer;
}

.back-top.show {
  display: flex;
}

.back-top img {
  width: 20px;
}

/* Page hero */
.page-hero {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 48px;
}

.page-hero h1 {
  font-size: 36px;
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--black9);
  max-width: 640px;
}

/* Content pages */
.content-page {
  padding: 48px 0 80px;
}

.content-card {
  background: var(--white);
  border-radius: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.content-card h2 {
  font-size: 22px;
  margin: 32px 0 12px;
}

.content-card p,
.content-card li {
  color: var(--black5);
  font-size: 15px;
  line-height: 1.7;
}

.content-card ul {
  padding-left: 20px;
}

/* Markets */
.market-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.market-tab {
  padding: 8px 18px;
  border-radius: 20px;
  background: var(--black3);
  color: var(--white);
  font-size: 14px;
  border: none;
  cursor: pointer;
}

.market-tab.active {
  background: var(--blue);
}

.market-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.market-table th,
.market-table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid var(--black4);
}

.market-table th {
  color: var(--black9);
  font-weight: 500;
}

.up {
  color: var(--green);
}
.down {
  color: #ff5a5a;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.spec-card {
  background: var(--black3);
  border-radius: 12px;
  padding: 24px;
}

.spec-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.spec-card p {
  color: var(--black9);
  font-size: 14px;
  margin: 0;
}

/* Support */
.support-search {
  max-width: 560px;
  margin: 24px auto 0;
  display: flex;
  background: var(--white);
  border-radius: 40px;
  overflow: hidden;
}

.support-search input {
  flex: 1;
  border: none;
  padding: 14px 20px;
  font-size: 16px;
  outline: none;
}

.support-search button {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 0 28px;
  font-weight: 700;
  cursor: pointer;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e8e8e8;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.faq-a {
  display: none;
  padding: 0 8px 18px;
  color: var(--black5);
  font-size: 15px;
  line-height: 1.7;
}

.faq-item.open .faq-a {
  display: block;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-card {
  background: #f7f8fa;
  border-radius: 12px;
  padding: 28px;
}

.contact-card h3 {
  margin-bottom: 12px;
}

.contact-card p {
  margin: 6px 0;
  color: var(--black5);
}

.download-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.feature-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-3 .card {
  background: var(--black3);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.feature-3 .card img {
  width: 64px;
  margin: 0 auto 16px;
}

.about-adv {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.about-adv .item {
  background: #f7f8fa;
  border-radius: 12px;
  padding: 24px;
}

.license-block {
  border-left: 4px solid var(--blue);
  padding-left: 20px;
  margin: 28px 0;
}

@media (max-width: 900px) {
  .nav-desktop,
  .header-actions {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .trade-simple,
  .download-grid,
  .download-hero-grid,
  .contact-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }
  .protect-grid,
  .why-grid,
  .faq-boxes,
  .spec-grid,
  .feature-3,
  .about-adv {
    grid-template-columns: 1fr;
  }
  .reviews-wrap {
    column-count: 1;
    max-height: 360px;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    gap: 12px;
  }
  .review-card {
    min-width: 78%;
    flex-shrink: 0;
  }
  .footer-payments img {
    width: 42%;
  }
  .page-hero h1 {
    font-size: 28px;
  }
  .float-actions {
    right: 8px;
  }
  .float-btn:hover .float-download-panel {
    display: none;
  }
}
