/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  background: #f4f6f9;
}

a { color: #1a56db; text-decoration: none; transition: all 0.2s; }
a:hover { color: #22abc7; text-decoration: none; }

ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; height: auto; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 { font-weight: 700; color: #333248; line-height: 1.3; }
h1 { font-size: 32px; }
h2 { font-size: 28px; margin-bottom: 20px; }
h3 { font-size: 22px; margin-bottom: 16px; }
h4 { font-size: 18px; margin-bottom: 12px; }

p { margin-bottom: 16px; color: #555; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  border-radius: 6px;
  border: 2px solid transparent;
  transition: all 0.25s;
  cursor: pointer;
  line-height: 1.4;
}

.btn-primary {
  background: #22abc7;
  color: #fff;
  border-color: #22abc7;
}
.btn-primary:hover { background: #1b8ca3; border-color: #1b8ca3; color: #fff; }

.btn-link {
  background: none;
  border: none;
  color: #22abc7;
  padding: 8px 0;
  font-weight: 600;
}
.btn-link:hover { color: #333248; }

/* ===== HEADER ===== */
.l-header {
  background: #fff;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  padding: 0;
  min-height: 70px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.mobile-fix-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 0;
}

.navbar-brand { padding: 0; margin: 0; }

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

.logotype_logo { display: flex; align-items: center; }

.logotype_text {
  font-size: 16px;
  font-weight: 800;
  color: #333248;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-user-profile .btn-login {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f2f5;
  border-radius: 50%;
  color: #333248;
  font-size: 16px;
}

.navbar-toggler {
  border: none;
  padding: 8px;
}
.navbar-toggler:focus { outline: none; }
.navbar-toggler-icon {
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23333248' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Desktop nav */
.navbar-nav .nav-item { position: relative; }

.navbar-nav .nav-item > .menu-link {
  display: flex;
  align-items: center;
  padding: 24px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #333248;
  transition: color 0.2s;
}

.navbar-nav .nav-item > .menu-link:hover { color: #22abc7; }

/* Sub menus */
.sub-nav {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 240px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.1);
  border-radius: 0 0 12px 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  padding: 12px 0;
  z-index: 999;
}

.nav-item:hover > .sub-nav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu { list-style: none; padding: 0; margin: 0; }

.sub-nav-item { position: relative; }

.sub-nav-item > .menu-link {
  display: block;
  padding: 10px 24px;
  font-size: 14px;
  color: #333;
  transition: background 0.2s;
}

.sub-nav-item > .menu-link:hover { background: #f8f9fa; color: #22abc7; }

.mega-menu-item-has-subtitle .menu-subtitle {
  display: block;
  font-size: 12px;
  color: #999;
  font-weight: 400;
  margin-top: 2px;
}

.menu-image img {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  object-fit: contain;
}

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

.sub-menu-full-width { min-width: 500px; }

.menu-title > .menu-link { font-weight: 700; color: #333248; padding: 10px 24px; }

.sub-sub-menu { padding: 0; }
.sub-sub-menu .menu-link { padding-left: 48px; }

/* User group */
.btn--group { display: flex; align-items: center; gap: 12px; }

.btn--group .btn-login {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f2f5;
  border-radius: 50%;
  color: #333248;
  font-size: 16px;
}

.btn--group .btn-login:hover { background: #22abc7; color: #fff; }

/* Mobile nav */
.mobile-menu .nav-item > .menu-link { padding: 14px 16px; border-bottom: 1px solid #f0f0f0; }
.mobile-menu .sub-nav { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; padding: 0; }
.mobile-menu .nav-item:hover > .sub-nav { display: block; }
.mobile-menu .sub-nav-item > .menu-link { padding: 10px 16px 10px 32px; }
.mobile-menu .sub-sub-menu .menu-link { padding-left: 48px; }
.mobile-top-user-trader { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid #eee; }
.mobile-top-user-trader .btn-login { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: #f0f2f5; border-radius: 50%; color: #333248; }

/* ===== MAIN LAYOUT ===== */
.l-content { padding: 40px 0; }

.block__review { }

/* ===== REVIEW CARD (SIDEBAR) ===== */
.block--fixed { position: sticky; top: 90px; }

.card__review {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 25px rgba(0,0,0,0.07);
  overflow: hidden;
  margin-bottom: 30px;
}

.card--review.box__header_review-full {
  padding: 24px;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}

.card--review .img_box {
  width: 100px;
  height: 100px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fc;
  border-radius: 12px;
  padding: 12px;
}

.card--review .img_box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.review-name {
  font-size: 22px;
  font-weight: 800;
  color: #333248;
  margin-bottom: 8px;
}

/* Rating */
.box--rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.rating--inner {
  position: relative;
  display: inline-block;
  font-size: 22px;
  color: #e0e0e0;
  letter-spacing: 4px;
  line-height: 1;
  unicode-bidi: bidi-override;
  direction: rtl;
}

.rating--inner .star {
  display: inline-block;
  width: 22px;
  height: 22px;
}

.rating--inner::before {
  content: '\2605\2605\2605\2605\2605';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #e0e0e0;
  font-size: 22px;
  letter-spacing: 4px;
  line-height: 1;
  pointer-events: none;
}

.rating--inner .star::before {
  content: '\2605';
  font-size: 22px;
  line-height: 1;
  color: transparent;
}

.rating--status {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.rating--status::before {
  content: '\2605\2605\2605\2605\2605';
  font-size: 22px;
  line-height: 1;
  color: #f7931a;
  letter-spacing: 4px;
  display: block;
}

.num {
  font-size: 28px;
  font-weight: 900;
  color: #333248;
  line-height: 1;
}

.card--text {
  padding: 16px 24px;
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  border-bottom: 1px solid #f0f0f0;
}

.card--list-advantage { padding: 16px 24px; border-bottom: 1px solid #f0f0f0; }

.card--list-advantage-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f5f5f5;
  gap: 10px;
}

.card--list-advantage-item:last-child { border-bottom: none; }

.advantage--title {
  font-size: 13px;
  color: #999;
  font-weight: 500;
  flex-shrink: 0;
}

.advantage--value {
  font-size: 13px;
  color: #333248;
  font-weight: 600;
  text-align: right;
}

.card--btn {
  display: block;
  margin: 16px 24px;
  text-align: center;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
}

.btn-link-review {
  display: block;
  text-align: center;
  padding: 12px;
  margin: 0 24px 20px;
  color: #22abc7;
  font-weight: 600;
  font-size: 14px;
}
.btn-link-review:hover { color: #333248; }

/* ===== CONTENT AREA ===== */
.entry__title {
  font-size: 28px;
  font-weight: 800;
  color: #333248;
  margin-bottom: 24px;
}

.entry__content { background: #fff; border-radius: 12px; box-shadow: 0 4px 25px rgba(0,0,0,0.07); padding: 30px; }

.vc-row-wrapper { margin-bottom: 24px; }

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

.element--heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.element--heading-title {
  margin-bottom: 0 !important;
  font-weight: 700;
  color: #333248;
}

.element--heading .box--rating { gap: 4px; }
.element--heading .box--rating .num { font-size: 20px; }

/* Pros / Cons lists */
.element--list { margin-bottom: 20px; }

.element--list-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.element--list ul { list-style: none; padding: 0; }

.element--list li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 15px;
  color: #444;
}

.element--list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.element--list-pros li::before { background: #a8a8bd; }
.element--list-cons li::before { background: #fe667a; }

/* Risk notice */
.box__notices {
  background: #fff5f5;
  border: 1px solid #fcc;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 24px;
}

.box__notices .type-message p {
  font-size: 13px;
  color: #c0392b;
  margin: 0;
  line-height: 1.7;
}

/* Full review content */
.block__text h3 { margin-top: 28px; }
.block__text h3:first-child { margin-top: 0; }
.block__text h4 { margin-top: 20px; }

.block__text table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

.block__text table td {
  padding: 10px 14px;
  border: 1px solid #e0e0e0;
  color: #444;
}

.block__text table tr:first-child td {
  background: #333248;
  color: #fff;
  font-weight: 700;
}

.block__text ul {
  list-style: disc;
  padding-left: 24px;
  margin: 12px 0;
}

.block__text ul li {
  margin-bottom: 8px;
  color: #555;
  font-size: 15px;
}

/* ===== MORE BROKERS SLIDER ===== */
.section__slider {
  padding: 40px 0;
}

.section__slider h2 {
  font-size: 28px;
  font-weight: 800;
  color: #333248;
  margin-bottom: 28px;
}

/* Flickity overrides */
.list__slider_reviews { margin: 0 -10px; }

.card__review-mini {
  width: 32%;
  margin: 0 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  overflow: hidden;
}

.box__header_review-mini {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.box__header_review-mini .img_box {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  background: #f8f9fc;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.box__header_review-mini .img_box img { max-width: 100%; max-height: 100%; }

.box__header_review-mini .content_box { flex: 1; }

.box__header_review-mini .review-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.box__header_review-mini .box--rating { justify-content: flex-start; }
.box__header_review-mini .rating--inner { font-size: 14px; }
.box__header_review-mini .rating--inner .star { width: 14px; height: 14px; }
.box__header_review-mini .rating--inner .star::before { font-size: 14px; }
.box__header_review-mini .rating--inner::before { font-size: 14px; }
.box__header_review-mini .rating--status::before { font-size: 14px; }

.card__review-mini .card--list-advantage { padding: 12px 20px; }
.card__review-mini .card--list-advantage-item { padding: 5px 0; }
.card__review-mini .advantage--title { font-size: 12px; }
.card__review-mini .advantage--value { font-size: 12px; }
.card__review-mini .card--btn { margin: 12px 20px; padding: 10px; font-size: 13px; }

.card--btn-corner {
  display: none;
}

/* Flickity default overrides */
.flickity-prev-next-button { background: #fff; border-radius: 50%; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.flickity-prev-next-button:hover { background: #22abc7; }
.flickity-prev-next-button:hover .arrow { fill: #fff; }
.flickity-prev-next-button .arrow { fill: #333; }
.flickity-page-dots .dot { background: #ccc; }
.flickity-page-dots .dot.is-selected { background: #22abc7; }

/* ===== FOOTER ===== */
.l-footer {
  background: #333248;
  color: rgba(255,255,255,0.7);
}

.main-footer { padding: 50px 0 40px; }

.footer-col .block__logotype { margin-bottom: 16px; }
.footer-col .logotype_text { color: #fff; }

.trust-badge-mobile { display: inline-block; margin-top: 12px; }
.trust-badge-mobile img { max-width: 180px; }

.widget-footer { margin-bottom: 20px; }

.title-widget {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.title-widget::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: #22abc7;
}

.widget-footer .textwidget p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.8; }
.widget-footer .textwidget a { color: rgba(255,255,255,0.7); }
.widget-footer .textwidget a:hover { color: #22abc7; }

.widget-footer ul.menu li { margin-bottom: 10px; }
.widget-footer ul.menu a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: color 0.2s;
}
.widget-footer ul.menu a:hover { color: #22abc7; }

.subscribe-form {
  display: flex;
  gap: 8px;
  margin: 12px 0;
}

.subscribe-form .form-control {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 13px;
}

.subscribe-form .form-control::placeholder { color: rgba(255,255,255,0.4); }
.subscribe-form .form-control:focus { outline: none; border-color: #22abc7; }

.btn-subscribe { padding: 10px 18px; font-size: 13px; white-space: nowrap; }

.subscribe-agree {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
}

.subscribe-agree input { margin-top: 2px; }
.subscribe-agree a { color: #22abc7; }

/* Pre-footer risk */
.pre-footer {
  background: rgba(0,0,0,0.15);
  padding: 30px 0;
}

.risk_warning p {
  font-size: 11px;
  line-height: 1.8;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}

.risk_warning a { color: #22abc7; }

/* ===== COOKIE BAR ===== */
#cookie-law-info-bar {
  padding: 12px 20px;
  font-size: 13px;
  text-align: center;
  z-index: 9999;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.cli-plugin-button {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin: 0 4px;
  cursor: pointer;
  border: none;
}

.cli-plugin-main-link { font-size: 12px; margin-left: 8px; text-decoration: underline; }

/* ===== MOBILE OVERLAY ===== */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
}

.mobile-overlay.active { display: block; }
