* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: #f5f6f8;
  color: #16233b;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

/* ---------- TOP ---------- */

.topbar {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  font-size: 14px;
  color: #6b7280;
  flex-wrap: wrap;
}

.current {
  font-weight: 600;
  color: #334155;
}

/* ---------- HERO ---------- */

.hero {
  background: #fff;
  padding: 40px 0;
  border-bottom: 1px solid #e5e7eb;
}

.hero-inner {
  display: flex;
  gap: 20px;
  align-items: center;
}

.broker-logo {
  width: 70px;
  height: 70px;
  background: #0f1f44;
  color: #ffd234;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 26px;
  flex-shrink: 0;
}

.hero-content {
  min-width: 0;
}

.hero-content h1 {
  font-size: 28px;
  line-height: 1.25;
  margin-bottom: 6px;
  color: #0f1f44;
}

.hero-subtitle {
  color: #6b7280;
  margin-bottom: 12px;
  font-size: 16px;
}

.rating-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.stars {
  color: #f5c518;
  font-size: 20px;
  line-height: 1;
  white-space: nowrap;
}

.score {
  font-weight: 800;
  font-size: 18px;
  white-space: nowrap;
}

.score-label {
  color: #475569;
  white-space: nowrap;
}

.btn-primary {
  background: #f7c600;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  transition: opacity 0.2s ease;
}

.btn-primary:hover {
  opacity: 0.9;
}

/* ---------- TABS ---------- */

.tabs-nav {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.tabs-list {
  display: flex;
  gap: 20px;
  padding: 14px 0;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tabs-list::-webkit-scrollbar {
  display: none;
}

.tabs-list a {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 15px;
  color: #475569;
}

/* ---------- LAYOUT ---------- */

.content-wrap {
  padding: 30px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 25px;
  align-items: start;
}

.main-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

/* ---------- CARD ---------- */

.card {
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  border: 1px solid #eee;
  width: 100%;
  max-width: 100%;
}

.card h2 {
  margin-bottom: 14px;
  line-height: 1.3;
  color: #0f1f44;
}

.card p {
  word-break: break-word;
}

.card p + p {
  margin-top: 12px;
}

/* ---------- PROS CONS ---------- */

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pros h3 {
  color: green;
  margin-bottom: 10px;
}

.cons h3 {
  color: red;
  margin-bottom: 10px;
}

.pros ul,
.cons ul {
  padding-left: 18px;
}

.pros li,
.cons li {
  margin-bottom: 8px;
}

/* ---------- TABLE ---------- */

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

th,
td {
  padding: 10px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

/* ---------- PLATFORM ---------- */

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.mini-card {
  border: 1px solid #eee;
  padding: 15px;
  border-radius: 12px;
  min-width: 0;
}

/* ---------- FAQ ---------- */

.faq-item {
  margin-top: 14px;
}

.faq-item h4 {
  margin-bottom: 6px;
  line-height: 1.4;
}

/* ---------- SIDEBAR ---------- */

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.sidebar-card {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 100%;
}

.sidebar-card h3,
.sidebar-card p,
.sidebar-card ul {
  margin: 0;
}

.side-score {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}

.sidebar-card ul {
  padding-left: 18px;
}

.sidebar-card li {
  margin-bottom: 6px;
}

.btn-full {
  width: 100%;
}

.sticky {
  position: sticky;
  top: 20px;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1100px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .sticky {
    position: static;
  }
}

@media (max-width: 768px) {
  .container {
    width: calc(100% - 24px);
  }

  .breadcrumb {
    gap: 8px;
    min-height: 44px;
    font-size: 13px;
  }

  .hero {
    padding: 28px 0 32px;
  }

  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .broker-logo {
    width: 100px;
    height: 100px;
    border-radius: 18px;
    font-size: 30px;
  }

  .hero-content {
    width: 100%;
  }

  .hero-content h1 {
    font-size: 24px;
    line-height: 1.25;
    margin-bottom: 8px;
  }

  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 14px;
  }

  .rating-row {
    gap: 8px 12px;
    margin-bottom: 16px;
  }

  .stars {
    font-size: 18px;
  }

  .score {
    font-size: 18px;
  }

  .score-label {
    font-size: 16px;
  }

  .btn-primary {
    width: 100%;
    min-height: 52px;
    font-size: 16px;
  }

  .tabs-list {
    gap: 16px;
    padding: 12px 0;
  }

  .tabs-list a {
    font-size: 15px;
  }

  .content-wrap {
    padding: 22px 0 32px;
  }

  .card {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .card h2 {
    font-size: 20px;
  }

  .sidebar-card {
    padding: 18px 16px;
    border-radius: 14px;
  }

  .sidebar-card h3 {
    font-size: 20px;
  }

  .side-score {
    font-size: 36px;
  }

  .pros-cons {
    grid-template-columns: 1fr;
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 20px);
  }

  .breadcrumb {
    font-size: 12px;
    gap: 6px;
  }

  .hero {
    padding: 24px 0 28px;
  }

  .broker-logo {
    width: 84px;
    height: 84px;
    font-size: 26px;
    border-radius: 16px;
  }

  .hero-content h1 {
    font-size: 22px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .stars {
    font-size: 17px;
  }

  .score {
    font-size: 17px;
  }

  .score-label {
    font-size: 15px;
  }

  .btn-primary {
    min-height: 50px;
    padding: 12px 16px;
    font-size: 15px;
  }

  .tabs-list a {
    font-size: 14px;
  }

  .card {
    padding: 18px 14px;
  }

  .card h2 {
    font-size: 18px;
  }

  .sidebar-card {
    padding: 16px 14px;
  }

  .sidebar-card h3 {
    font-size: 18px;
  }

  .side-score {
    font-size: 32px;
  }

  th,
  td {
    padding: 9px;
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .hero-content h1 {
    font-size: 20px;
  }

  .broker-logo {
    width: 74px;
    height: 74px;
    font-size: 24px;
  }

  .btn-primary {
    font-size: 14px;
  }

  .card h2 {
    font-size: 17px;
  }
}
/* ---------- CONCLUSION CTA ---------- */

.conclusion-card p + p {
  margin-top: 14px;
}

.cta-box {
  margin-top: 22px;
  background: #f5f0db;
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
}

.cta-box p {
  font-size: 16px;
  font-weight: 600;
  color: #16233b;
  margin-bottom: 16px;
}

/* ---------- FAQ ACCORDION ---------- */

.faq-card h2 {
  margin-bottom: 22px;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

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

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  color: #0f1f44;
  cursor: pointer;
}

.faq-question span:first-child {
  flex: 1;
}

.faq-icon {
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 0 18px;
  font-size: 16px;
  color: #475569;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 220px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* ---------- MOBILE FAQ ---------- */

@media (max-width: 768px) {
  .cta-box {
    padding: 22px 16px;
  }

  .cta-box p {
    font-size: 15px;
    line-height: 1.5;
  }

  .faq-question {
    font-size: 16px;
    padding: 16px 0;
  }

  .faq-answer p {
    font-size: 15px;
    padding: 0 0 16px;
  }
}

@media (max-width: 480px) {
  .faq-question {
    font-size: 15px;
    gap: 12px;
  }

  .faq-icon {
    font-size: 16px;
  }

  .faq-answer p {
    font-size: 14px;
  }
}