* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

:root {
  --bg-dark: #120608;
  --bg-card: #2a0d12;
  --accent: #8b1a2a;
  --btn-green: #2ecc71;
  --text-white: #ffffff;
  --text-gray: #a0a0a0;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

.topbar {
  width: 100%;
  background-color: rgba(10, 4, 6, 0.98);
  border-bottom: 1px solid rgba(139, 26, 42, 0.3);
  position: fixed;
  top: 0;
  z-index: 1001;
}

.topbar__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  max-width: 100%;
}

.topbar__theme {
  cursor: pointer;
  font-size: 16px;
  transition: transform 0.3s;
  user-select: none;
}

.topbar__theme:hover {
  transform: rotate(20deg);
}

/* LIGHT THEME */
/* LIGHT THEME */
body.light-theme {
  background-color: #f8f9fa;
  color: #1a1a2e;
}

body.light-theme .topbar {
  background-color: #1a1a2e;
  border-bottom: 1px solid #2d2d44;
}

body.light-theme .topbar__select,
body.light-theme .topbar__lang {
  color: #aaa;
}

body.light-theme .navbar {
  background-color: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #e0e0e0;
  border-top: none;
}

body.light-theme .navbar__logo {
  color: #1a1a2e;
}

body.light-theme .navbar__item > a {
  color: #444;
}

body.light-theme .navbar__item > a:hover {
  color: #1a1a2e;
  background: rgba(0, 0, 0, 0.04);
}

body.light-theme .navbar__dropdown {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

body.light-theme .navbar__dropdown a {
  color: #444;
}

body.light-theme .navbar__dropdown-title {
  color: #2ecc71;
}

/* body.light-theme .btn--login {
  border-color: #1a1a2e;
  color: #1a1a2e;
} */

body.light-theme .btn--login:hover {
  background: rgba(0, 0, 0, 0.05);
}

body.light-theme .hero {
  background-color: #1a1a2e;
  background-image: radial-gradient(
    ellipse at top left,
    rgba(46, 204, 113, 0.15) 0%,
    transparent 60%
  );
}

body.light-theme .tickers {
  background-color: #ffffff;
  border-top: none;
  border-bottom: 1px solid #e0e0e0;
}

body.light-theme .tickers__label {
  color: #888;
}

body.light-theme .chart {
  background-color: #ffffff;
  border-top: 1px solid #e0e0e0;
}

body.light-theme .chart__title {
  color: #1a1a2e;
}

body.light-theme .chart__subtitle {
  color: #666;
}

body.light-theme .chart__symbol-btn {
  color: #555;
  border-color: #ddd;
  background: #f0f0f0;
}

body.light-theme .chart__symbol-btn:hover,
body.light-theme .chart__symbol-btn.active {
  background: #1a1a2e;
  border-color: #1a1a2e;
  color: #fff;
}

body.light-theme .news {
  background-color: #f0f2f5;
  border-top: 1px solid #e0e0e0;
}

body.light-theme .news__title {
  color: #1a1a2e;
}

body.light-theme .news__subtitle {
  color: #666;
}

body.light-theme .news__card {
  background: #ffffff;
  border-color: #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

body.light-theme .news__card-title {
  color: #1a1a2e;
}

body.light-theme .news__card-link {
  color: #888;
}

body.light-theme .news__btn {
  border-color: #ddd;
  color: #444;
}

body.light-theme .news__dot {
  background: rgba(0, 0, 0, 0.15);
}

body.light-theme .features {
  background-color: #ffffff;
  border-top: 1px solid #e0e0e0;
}

body.light-theme .features__title {
  color: #1a1a2e;
}

body.light-theme .features__subtitle {
  color: #666;
}

body.light-theme .features__card {
  background: #f8f9fa;
  border-color: #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

body.light-theme .features__card:hover {
  border-color: #2ecc71;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

body.light-theme .features__card-content h3 {
  color: #1a1a2e;
}

body.light-theme .features__card-content p {
  color: #555;
}

body.light-theme .stats {
  background-color: #1a1a2e;
  border-top: none;
}

body.light-theme .stats__title {
  color: #ffffff;
}

body.light-theme .stats__subtitle {
  color: #aaa;
}

body.light-theme .stats__number {
  color: #2ecc71;
}

body.light-theme .stats__label {
  color: #aaa;
}

body.light-theme .stats__numbers {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-theme .stats__card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

body.light-theme .stats__card:hover {
  border-color: rgba(46, 204, 113, 0.4);
}

body.light-theme .stats__card h4 {
  color: #ffffff;
}

body.light-theme .stats__card p {
  color: #aaa;
}

body.light-theme .stats__card-icon {
  background: rgba(46, 204, 113, 0.1);
  color: #2ecc71;
}

body.light-theme .cta {
  background-color: #f0f2f5;
  background-image: radial-gradient(
    ellipse at center,
    rgba(46, 204, 113, 0.1) 0%,
    transparent 70%
  );
  border-top: 1px solid #e0e0e0;
}

body.light-theme .cta__title {
  color: #1a1a2e;
}

body.light-theme .cta__subtitle {
  color: #666;
}

body.light-theme .footer {
  background-color: #1a1a2e;
  border-top: none;
}

body.light-theme .footer__logo {
  color: #ffffff;
}

body.light-theme .footer__desc {
  color: #aaa;
}

body.light-theme .footer__col h4 {
  color: #ffffff;
}

body.light-theme .footer__col a {
  color: #aaa;
}

body.light-theme .footer__col a:hover {
  color: #ffffff;
}

body.light-theme .footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.light-theme .footer__bottom p {
  color: #aaa;
  opacity: 1;
}

.topbar__lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-gray);
}

.topbar__select {
  background: transparent;
  border: none;
  color: var(--text-gray);
  font-size: 12px;
  cursor: pointer;
  outline: none;
}

.topbar__select__option {
  background-color: #1a0608;
  color: var(--text-white);
}

/* LANG SWITCHER */
.lang-switcher {
  position: relative;
  cursor: pointer;
  user-select: none;
}

.lang-switcher__current {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s;
  font-size: 13px;
  color: var(--text-gray);
}

.lang-switcher__current:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text-white);
}

.lang-switcher__arrow {
  font-size: 10px;
  transition: transform 0.3s;
}

.lang-switcher.open .lang-switcher__arrow {
  transform: rotate(180deg);
}

.lang-switcher__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #1a0608;
  border: 1px solid rgba(139, 26, 42, 0.4);
  border-radius: 10px;
  padding: 6px;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.3s;
  z-index: 200;
}

.lang-switcher.open .lang-switcher__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-switcher__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--text-gray);
  transition: all 0.2s;
}

.lang-switcher__option:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
}

.lang-switcher__option.active {
  color: var(--btn-green);
}

.navbar {
  position: fixed;
  top: 31px;
  width: 100%;
  z-index: 1000;
  background-color: rgba(18, 6, 8, 0.95);
  border-bottom: 1px solid var(--accent);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--accent); /* добавь это */
}

.navbar__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-white);
  text-decoration: none;
  letter-spacing: 2px;
}

.navbar__menu {
  display: flex;
  gap: 8px;
  align-items: center;
}

.navbar__item {
  position: relative;
}

.navbar__item > a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
  padding: 8px 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.navbar__item > a:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
}

.navbar__arrow {
  font-size: 10px;
  transition: transform 0.3s;
}

.navbar__item:hover .navbar__arrow {
  transform: rotate(180deg);
}

.navbar__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #1a0608;
  border: 1px solid rgba(139, 26, 42, 0.4);
  border-radius: 10px;
  padding: 8px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.3s;
  z-index: 100;
}

.navbar__item:hover .navbar__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar__dropdown a {
  display: block;
  padding: 10px 14px;
  color: var(--text-gray);
  text-decoration: none;
  font-size: 14px;
  border-radius: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}

.navbar__dropdown a:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
}

.navbar__dropdown--wide {
  display: flex;
  gap: 40px;
  min-width: 500px;
  padding: 20px;
}

.navbar__dropdown-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 140px;
}

.navbar__dropdown-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 4px;
  padding: 0 14px;
}

.navbar__buttons {
  display: flex;
  gap: 12px;
}

/* BURGER */
.navbar__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 100;
}

.navbar__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.navbar__burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__burger.active span:nth-child(2) {
  opacity: 0;
}

.navbar__burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* MOBILE MENU */
.navbar__mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  max-width: 100%;
  height: 100vh;
  background: var(--bg-dark);
  z-index: 99;
  flex-direction: column;
  padding: 80px 24px 40px;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
}

.navbar__mobile.active {
  display: flex;
}

.navbar__mobile-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar__mobile-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}

.navbar__mobile-title span {
  font-size: 12px;
  transition: transform 0.3s;
}

.navbar__mobile-title.open span {
  transform: rotate(180deg);
}

.navbar__mobile-submenu {
  display: none;
  flex-direction: column;
  gap: 0;
  padding-bottom: 12px;
}

.navbar__mobile-submenu.open {
  display: flex;
}

.navbar__mobile-submenu-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  padding: 12px 0 6px;
}

.navbar__mobile-submenu a {
  padding: 8px 0;
  color: var(--text);
  font-size: 15px;
  text-decoration: none;
  border: none;
}

.navbar__mobile-submenu a:hover {
  color: var(--btn-green);
}

.navbar__mobile-link {
  padding: 16px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: block;
}

.navbar__mobile-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.navbar__mobile-buttons .btn {
  text-align: center;
  padding: 14px;
  font-size: 16px;
}
.navbar__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px 10px;
  z-index: 100;
}

.navbar__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 1024px) {
  body {
    overflow-x: hidden;
  }
  .topbar__container {
    padding: 4px 16px;
    gap: 12px;
  }

  .navbar__container {
    padding: 0 16px;
  }

  .navbar__logo {
    font-size: 18px;
  }

  .hero__container,
  .tickers__container,
  .chart__container,
  .news__container,
  .features__container,
  .stats__container,
  .worldmap__container,
  .cta__container,
  .footer__container {
    padding: 0 16px;
  }
  .navbar__burger {
    display: flex;
  }

  .navbar__menu {
    display: none;
  }

  .navbar__buttons {
    display: none;
  }
}

.btn {
  padding: 10px;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
}

.btn--login {
  border: 1px solid var(--text-white);
  color: var(--text-white);
  background: transparent;
}

.btn--login:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn--registr {
  background-color: var(--btn-green);
  color: #000;
  font-weight: 600;
  border: none;
}

.btn--registr:hover {
  background-color: #27ae60;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 111px;
  background-color: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.hero__bg-mountain,
.hero__bg-charts {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}

/* .hero__canvas {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    opacity: 0.6;
}
ТИПО ГОРЫ */

.hero__bg-mountain {
  opacity: 0.7;
  animation: drawLeft 1.5s ease forwards;
}

.hero__bg-charts {
  opacity: 0.6;
  animation: drawLeft 2s ease 0.3s forwards;
}

@keyframes drawLeft {
  from {
    clip-path: inset(0 100% 0 0); /* полностью скрыто справа */
  }
  to {
    clip-path: inset(0 0% 0 0); /* полностью видно */
  }
}

.hero__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 24px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 750px;
  text-align: center;
}

.hero__title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text-white);
}

.hero__subtitle {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-gray);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}

.hero__buttons .btn {
  padding: 14px 32px;
  font-size: 15px;
}

.hero__risk {
  font-size: 12px;
  color: var(--text-gray);
  opacity: 0.5;
}

/* ANIMATED CHART */
.animated-chart {
  width: 100%;
  height: 300px;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.animated-chart canvas {
  width: 100%;
  height: 100%;
}

/* TICKERS */
.tickers {
  background-color: var(--bg-dark);
  /* border-top: 1px solid var(--accent); */
  border-bottom: 1px solid var(--accent);
  padding: 16px 0;
  overflow: hidden;
}

.tickers__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.tickers__label {
  text-align: center;
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tickers__list {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.tickers__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 120px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(139, 26, 42, 0.2);
  transition: border-color 0.3s;
}

.tickers__item:hover {
  border-color: var(--accent);
}

.tickers__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
  font-size: 18px;
  margin-bottom: 8px;
}

.tickers__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tickers__icon--gold {
  background: rgba(255, 200, 0, 0.1);
}

.tickers__icon--btc {
  background: rgba(247, 147, 26, 0.1);
  color: #f7931a;
}

.tickers__name {
  font-size: 13px;
  color: var(--text-gray);
  font-weight: 600;
  letter-spacing: 1px;
}

.tickers__value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
}

.tickers__change {
  font-size: 13px;
  font-weight: 600;
}

.tickers__change.positive {
  color: var(--btn-green);
}

.tickers__change.negative {
  color: #e74c3c;
}

.tickers__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tickers__icon--gold img,
.tickers__icon--ukbrent img {
  width: 130%;
  height: 130%;
  object-fit: contain;
}

.tickers .tradingview-widget-container {
  overflow: hidden;
  max-width: 100%;
}

.tickers .tradingview-widget-container,
.tickers .tradingview-widget-container iframe {
  max-width: 100% !important;
  overflow: hidden !important;
}

.tickers {
  overflow: hidden;
  max-width: 100vw;
}

/* CHART */
.chart {
  padding: 80px 0;
  background-color: var(--bg-card);
  border-top: 1px solid rgba(139, 26, 42, 0.3);
}

.chart__container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 24px;
}

.chart__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
  text-align: center;
}

.chart__subtitle {
  font-size: 16px;
  color: var(--text-gray);
  text-align: center;
  margin-bottom: 40px;
}

.chart__symbols {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.chart__symbol-btn {
  padding: 8px 20px;
  border-radius: 20px;
  border: 1px solid rgba(139, 26, 42, 0.4);
  background: transparent;
  color: var(--text-gray);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}

.chart__symbol-btn:hover,
.chart__symbol-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-white);
}

/* NEWS */
.news {
  padding: 80px 0;
  background-color: #0d0406;
  border-top: 1px solid rgba(139, 26, 42, 0.3);
}

.news__container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 24px;
}

.news__title {
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  color: var(--text-white);
  margin-bottom: 12px;
}

.news__subtitle {
  font-size: 16px;
  color: var(--text-gray);
  text-align: center;
  margin-bottom: 48px;
}

.news__slider {
  overflow: hidden;
}

.news__track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
}

.news__card {
  background: var(--bg-dark);
  border: 1px solid rgba(139, 26, 42, 0.3);
  border-radius: 16px;
  overflow: hidden;
  min-width: calc(33.333% - 16px);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s;
}

.news__card:hover {
  border-color: var(--accent);
}

.news__card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg-dark);
}

.news__card-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #1a0608 0%, #2a0d12 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.news__card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.news__card-date {
  font-size: 13px;
  color: var(--btn-green);
  font-weight: 600;
}

.news__card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.5;
  flex: 1;
}

.news__card-link {
  font-size: 14px;
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.3s;
}

.news__card-link:hover {
  color: var(--text-white);
}

.news__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.news__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(139, 26, 42, 0.4);
  background: transparent;
  color: var(--text-white);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news__btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.news__dots {
  display: flex;
  gap: 8px;
}

.news__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s;
}

.news__dot.active {
  background: var(--btn-green);
  width: 24px;
  border-radius: 4px;
}

/* FEATURES */
.features {
  padding: 80px 0;
  background-color: var(--bg-dark);
}

.features__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.features__title {
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text-white);
}

.features__title span {
  color: var(--btn-green);
}

.features__subtitle {
  font-size: 16px;
  color: var(--text-gray);
  text-align: center;
  margin-bottom: 48px;
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.features__card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(139, 26, 42, 0.3);
  transition: border-color 0.3s;
  overflow: hidden;
  position: relative;
}

.features__card:hover {
  border-color: var(--accent);
}

.features__card--wide {
  grid-column: span 2;
}

.features__card-content {
  max-width: 60%;
}

.features__card-content h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 24px;
}

.features__card-content p {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 24px;
}

.features__link {
  color: var(--btn-green);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: opacity 0.3s;
}

.features__link:hover {
  opacity: 0.8;
}

.features__card-image {
  font-size: 80px;
  opacity: 0.8;
}

.stats {
  padding: 80px 0;
  background-color: #0a0a0a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stats__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.stats__title {
  font-size: 40px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 16px;
  text-align: center;
  margin-bottom: 30px;
}

.stats__subtitle {
  font-size: 16px;
  color: var(--text-gray);
  max-width: 700px;
  margin: 0 auto 60px auto;
  text-align: center;
}

.stats__numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 60px;
}

.stats__number-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.stats__number {
  font-size: 56px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1;
}

.stats__label {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.5;
  max-width: 250px;
}

.stats__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stats__card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.3s;
}

.stats__card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.stats__card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-white);
}

.stats__card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-white);
}

.stats__card p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

.worldmap {
  padding: 80px 0;
  background: transparent;
}

.worldmap__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.worldmap__title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.worldmap__title span {
  color: var(--btn-green);
}

.worldmap__subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 48px;
}

#worldMapCanvas {
  width: 100%;
  max-width: 1100px;
  height: 500px;
  display: block;
  margin: 0 auto;
}

/* CTA */
.cta {
  padding: 100px 0;
  background: radial-gradient(
    ellipse at center,
    rgba(139, 26, 42, 0.3) 0%,
    transparent 70%
  );
  background-color: var(--bg-dark);
  text-align: center;
  border-top: 1px solid rgba(139, 26, 42, 0.2);
}

.cta__container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
}

.cta__title {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 20px;
}

.cta__subtitle {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 40px;
  line-height: 1.6;
}

.cta__btn {
  padding: 16px 48px;
  font-size: 17px;
  border-radius: 8px;
  display: inline-block;
}

/* FOOTER */
.footer {
  background-color: #080203;
  border-top: 1px solid rgba(139, 26, 42, 0.3);
  padding: 60px 0 0;
}

.footer__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 48px;
}

.footer__brand {
  max-width: 280px;
}

.footer__logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  text-decoration: none;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 16px;
}

.footer__desc {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

.footer__links {
  display: flex;
  gap: 60px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 4px;
}

.footer__col a {
  font-size: 14px;
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.3s;
}

.footer__col a:hover {
  color: var(--text-white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer__bottom p {
  font-size: 13px;
  color: var(--text-gray);
  opacity: 0.6;
}

.footer__risk {
  min-width: 500px;
  text-align: right;
}

@media (max-width: 768px) {
  /* NAVBAR */
  .navbar__menu {
    display: none;
  }

  .navbar__buttons .btn--login {
    display: none;
  }

  .navbar__buttons .btn--registr {
    font-size: 12px;
    padding: 8px 14px;
  }
  .footer__risk {
    min-width: unset;
    text-align: left;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats__numbers {
    grid-template-columns: 1fr;
  }

  .stats__cards {
    grid-template-columns: 1fr 1fr;
  }

  /* HERO */
  .hero__title {
    font-size: 32px;
  }

  .hero__subtitle {
    font-size: 14px;
  }

  /* FEATURES */
  .features__grid {
    grid-template-columns: 1fr;
  }

  .features__card--wide {
    grid-column: span 1;
  }
  /* STATS */
  .stats__numbers {
    flex-direction: column;
    gap: 24px;
  }

  .stats__cards {
    grid-template-columns: 1fr 1fr;
  }

  .stats__number {
    font-size: 28px;
  }

  /* NEWS */
  .news__track {
    gap: 12px;
  }

  /* WORLD MAP */
  #worldMapCanvas {
    height: 220px;
  }

  /* FOOTER */
  .footer__top {
    flex-direction: column;
    gap: 32px;
  }

  .footer__links {
    flex-direction: column;
    gap: 24px;
  }

  /* ANIMATED CHART */
  .animated-chart {
    height: 150px;
  }

  /* PAGE HERO */
  .page__hero-title {
    font-size: 28px;
  }

  /* PAGE CARDS */
  .page__cards {
    grid-template-columns: 1fr;
  }

  /* PAGE TABLE */
  .page__table-wrap {
    overflow-x: auto;
  }

  /* PAGE STEPS */
  .page__step {
    flex-direction: column;
  }

  /* COMPARE */
  .page__compare {
    flex-direction: column;
  }
}

.topbar__theme {
  display: none;
}

.navbar__item > a[href="#"] {
  cursor: default;
}
