/* =========================================================
   BESTBROKER.ID - MAIN STYLE
   Full Replace CSS
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #0b1020;
  color: #eef2ff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

main {
  width: 100%;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

/* =========================================================
   HEADER / TOPBAR
   ========================================================= */

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 7%;
  background: rgba(16, 23, 42, 0.94);
  border-bottom: 1px solid #22304d;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
}

.logo {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.logo span {
  color: #38bdf8;
}

nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

nav a {
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 700;
  transition: 0.2s ease;
}

nav a:hover {
  color: #38bdf8;
}

/* =========================================================
   BUTTONS / COMMON
   ========================================================= */

.btn,
.btn-primary,
.btn-outline,
.mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
}

.btn,
.btn-primary,
.mini-btn {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.24);
}

.btn:hover,
.btn-primary:hover,
.mini-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.btn-outline {
  background: rgba(15, 23, 42, 0.7);
  color: #7dd3fc;
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: none;
}

.btn-outline:hover {
  transform: translateY(-2px);
  background: rgba(14, 165, 233, 0.12);
  border-color: #38bdf8;
  color: #ffffff;
}

.btn-outline.light {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.full {
  width: 100%;
  text-align: center;
}

.badge,
.broker-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.25);
  font-size: 12px;
  font-weight: 900;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 12px;
}

.stars,
.rating {
  color: #fbbf24;
  font-weight: 900;
  letter-spacing: 1px;
}

/* =========================================================
   OLD HERO COMPATIBILITY
   ========================================================= */

.hero {
  max-width: 1000px;
  margin-bottom: 35px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  margin: 0 0 14px;
  letter-spacing: -0.04em;
}

.hero p {
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.7;
}

.hero-premium {
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.14), transparent 32%),
    linear-gradient(135deg, #111827, #0f172a, #172554);
  border: 1px solid #26364f;
  border-radius: 28px;
  padding: 45px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.hero-actions,
.broker-card-actions,
.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 22px;
}

/* =========================================================
   NEW HOMEPAGE HERO
   ========================================================= */

.home-page {
  overflow: hidden;
}

.hero-section {
  padding: 72px 0 48px;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.25), transparent 35%),
    radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.12), transparent 35%),
    #0b1020;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.02;
  margin: 0 0 18px;
  letter-spacing: -0.05em;
  color: #ffffff;
}

.hero-content p {
  font-size: 18px;
  line-height: 1.75;
  color: #cbd5e1;
  max-width: 740px;
  margin: 0 0 24px;
}

.hero-note {
  margin-top: 20px;
  padding: 15px 16px;
  border-radius: 18px;
  background: rgba(251, 191, 36, 0.1);
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, 0.28);
  font-size: 14px;
  line-height: 1.6;
}

.hero-card {
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.28), transparent 40%),
    #111827;
  border: 1px solid #26364f;
  border-radius: 26px;
  padding: 22px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.hero-card-header,
.hero-card-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #94a3b8;
  font-size: 14px;
}

.hero-card-header strong {
  color: #ffffff;
}

.mini-ranking {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.mini-rank-item {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: rgba(15, 23, 42, 0.82);
  border-radius: 18px;
  color: #ffffff;
  border: 1px solid #26364f;
  transition: 0.2s ease;
}

.mini-rank-item:hover {
  border-color: #38bdf8;
  transform: translateY(-2px);
}

.rank-number,
.broker-rank,
.method-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.2);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.25);
  font-weight: 900;
}

.mini-rank-item small {
  display: block;
  color: #94a3b8;
  margin-top: 3px;
}

/* =========================================================
   SECTION
   ========================================================= */

.section {
  padding: 64px 0;
  margin-top: 0;
}

.soft-section {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(11, 16, 32, 1));
}

.section-head,
.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-head h2,
.section-heading h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 12px;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.section-head p,
.section-heading p {
  color: #94a3b8;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

/* =========================================================
   GRID / CARD
   ========================================================= */

.grid,
.broker-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card,
.broker-card,
.method-card,
.faq-item,
.sidebar-card,
.trust-box {
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.98), rgba(15, 23, 42, 0.98));
  border: 1px solid #26364f;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.card h2,
.broker-card h3,
.method-card h3,
.faq-item h3 {
  margin-top: 0;
  color: #ffffff;
}

.card p,
.broker-card p,
.method-card p,
.faq-item p,
.trust-box p,
.faq p {
  color: #cbd5e1;
  line-height: 1.7;
}

.broker-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.broker-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.rank {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #1d4ed8;
  color: #ffffff;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.broker-card h3 {
  font-size: 24px;
  margin: 0 0 10px;
}

.rating-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.rating-row small {
  color: #94a3b8;
}

.broker-info-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.broker-info-list div {
  padding: 13px;
  background: rgba(15, 23, 42, 0.82);
  border-radius: 16px;
  border: 1px solid #26364f;
}

.broker-info-list span {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 5px;
  font-weight: 700;
}

.broker-info-list strong {
  display: block;
  font-size: 14px;
  color: #ffffff;
  line-height: 1.45;
}

.broker-card-actions {
  margin-top: auto;
  padding-top: 18px;
}

.broker-card-actions .btn-primary,
.broker-card-actions .btn-outline {
  flex: 1;
}

/* =========================================================
   TABLE - OLD + NEW SUPPORT
   ========================================================= */

.table-wrap,
.comparison-wrapper {
  width: 100%;
  overflow-x: auto;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.98), rgba(15, 23, 42, 0.98));
  border: 1px solid #26364f;
  border-radius: 22px;
  margin-top: 20px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.compare-table,
.comparison-table {
  width: 100%;
  min-width: 1050px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td,
.comparison-table th,
.comparison-table td {
  padding: 16px;
  border-bottom: 1px solid #26364f;
  text-align: left;
  vertical-align: top;
  color: #e5e7eb;
  font-size: 14px;
  line-height: 1.55;
}

.compare-table th,
.comparison-table th {
  background: #0f172a;
  color: #7dd3fc;
  font-weight: 900;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 12px;
}

.compare-table tr:last-child td,
.comparison-table tr:last-child td {
  border-bottom: none;
}

.compare-table tbody tr,
.comparison-table tbody tr {
  transition: 0.15s ease;
}

.compare-table tbody tr:hover,
.comparison-table tbody tr:hover {
  background: rgba(56, 189, 248, 0.055);
}

.table-broker-name strong,
.table-rating strong {
  display: block;
  color: #ffffff;
  margin-bottom: 4px;
  font-size: 15px;
}

.table-broker-name span,
.table-rating span {
  display: block;
  color: #94a3b8;
  font-size: 13px;
}

.table-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.table-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 11px;
  border-radius: 11px;
  background: rgba(148, 163, 184, 0.12);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.18);
  font-weight: 800;
  font-size: 13px;
  transition: 0.2s ease;
}

.table-link:hover {
  border-color: #38bdf8;
  color: #ffffff;
}

.table-link.primary {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.table-disclaimer {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.7;
  margin: 16px 0 0;
}

/* =========================================================
   METHOD / FAQ / CTA
   ========================================================= */

.method-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.method-card h3,
.faq-item h3 {
  margin: 14px 0 8px;
  font-size: 18px;
}

.dark-cta {
  background: #0f172a;
}

.cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.36), transparent 35%),
    linear-gradient(135deg, #111827, #0f172a);
  color: #ffffff;
  border: 1px solid #26364f;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.cta-card h2 {
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -0.04em;
}

.cta-card p {
  color: #cbd5e1;
  line-height: 1.7;
  margin: 0;
  max-width: 760px;
}

/* =========================================================
   BROKER REVIEW PAGE
   ========================================================= */

.broker-review-page {
  background: #0b1020;
}

.broker-hero {
  padding: 64px 0 38px;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 34%),
    radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.18), transparent 34%);
}

.broker-hero-card {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.98), rgba(15, 23, 42, 0.98));
  border: 1px solid #26364f;
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.broker-hero-card h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  margin: 14px 0;
  letter-spacing: -0.05em;
}

.broker-hero-card p {
  color: #cbd5e1;
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}

.broker-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.broker-rating strong {
  color: #ffffff;
}

.broker-rating small {
  color: #94a3b8;
}

.broker-summary-box {
  background: rgba(15, 23, 42, 0.86);
  border: 1px solid #26364f;
  border-radius: 22px;
  padding: 22px;
}

.broker-summary-box h2 {
  margin: 0 0 14px;
}

.broker-summary-box ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.broker-summary-box li {
  padding: 11px 0;
  border-bottom: 1px solid #26364f;
  color: #cbd5e1;
}

.broker-summary-box li:last-child {
  border-bottom: none;
}

.broker-content {
  padding: 50px 0 70px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.main-content {
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.98), rgba(15, 23, 42, 0.98));
  border: 1px solid #26364f;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.main-content h2 {
  font-size: 26px;
  margin: 28px 0 12px;
  color: #ffffff;
}

.main-content h2:first-child {
  margin-top: 0;
}

.main-content p {
  color: #cbd5e1;
  line-height: 1.75;
}

.table-responsive {
  overflow-x: auto;
  border: 1px solid #26364f;
  border-radius: 18px;
  background: #0f172a;
}

.review-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}

.review-table th,
.review-table td {
  padding: 15px;
  border-bottom: 1px solid #26364f;
  text-align: left;
  color: #e5e7eb;
  vertical-align: top;
}

.review-table th {
  width: 230px;
  color: #7dd3fc;
  background: rgba(15, 23, 42, 0.8);
}

.review-table tr:last-child th,
.review-table tr:last-child td {
  border-bottom: none;
}

.check-list,
.warning-list {
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.check-list li,
.warning-list li {
  padding: 12px 14px;
  border-radius: 14px;
  line-height: 1.6;
}

.check-list li {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.20);
  color: #bbf7d0;
}

.warning-list li {
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.22);
  color: #fde68a;
}

.account-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.account-tags span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.10);
  border: 1px solid rgba(56, 189, 248, 0.22);
  color: #7dd3fc;
  font-weight: 800;
  font-size: 13px;
}

.risk-box {
  padding: 16px;
  border-radius: 18px;
  background: rgba(239, 68, 68, 0.10);
  border: 1px solid rgba(239, 68, 68, 0.24);
  color: #fecaca;
  line-height: 1.7;
  margin: 22px 0;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.sidebar-card {
  position: sticky;
  top: 92px;
}

.sidebar-card h3 {
  font-size: 24px;
  margin: 0 0 8px;
}

.sidebar-card p {
  color: #94a3b8;
  line-height: 1.6;
}

.sidebar-card ul {
  padding-left: 18px;
  color: #cbd5e1;
  line-height: 1.8;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  padding: 28px 7%;
  color: #94a3b8;
  border-top: 1px solid #22304d;
  line-height: 1.7;
  background: #0b1020;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
  .grid,
  .broker-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .method-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .sidebar-card {
    position: relative;
    top: auto;
  }
}

@media (max-width: 920px) {
  .hero-grid,
  .broker-hero-card,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .topbar {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 5%;
  }

  nav {
    gap: 10px;
  }

  nav a {
    font-size: 14px;
  }

  .container {
    width: min(100% - 24px, 1180px);
  }

  .hero-section {
    padding: 44px 0 34px;
  }

  .hero-content h1,
  .hero h1,
  .broker-hero-card h1 {
    font-size: 32px;
  }

  .hero-content p,
  .hero p {
    font-size: 16px;
  }

  .hero-premium,
  .broker-hero-card {
    padding: 24px;
    border-radius: 22px;
  }

  .section {
    padding: 46px 0;
  }

  .section-head h2,
  .section-heading h2 {
    font-size: 27px;
  }

  .grid,
  .broker-card-grid,
  .method-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .broker-card-actions .btn-primary,
  .broker-card-actions .btn-outline {
    flex: 100%;
  }

  /* Mobile Table jadi card */
  .comparison-wrapper {
    overflow: visible;
    border: none;
    box-shadow: none;
    background: transparent;
  }

  .comparison-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 14px;
  }

  .comparison-table thead {
    display: none;
  }

  .comparison-table,
  .comparison-table tbody,
  .comparison-table tr,
  .comparison-table td {
    display: block;
    width: 100%;
  }

  .comparison-table tr {
    background:
      linear-gradient(180deg, rgba(17, 24, 39, 0.98), rgba(15, 23, 42, 0.98));
    border: 1px solid #26364f;
    border-radius: 22px;
    padding: 12px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  }

  .comparison-table td {
    border-bottom: 1px solid #26364f;
    padding: 12px 8px;
  }

  .comparison-table td:last-child {
    border-bottom: none;
  }

  .comparison-table td::before {
    content: attr(data-label);
    display: block;
    color: #7dd3fc;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
  }

  .table-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .table-link {
    width: 100%;
  }

  .cta-card {
    padding: 24px;
  }

  .main-content {
    padding: 22px;
  }

  .review-table {
    min-width: 520px;
  }
}

@media (max-width: 480px) {
  .hero-actions,
  .cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn,
  .btn-primary,
  .btn-outline,
  .mini-btn {
    width: 100%;
  }

  .mini-rank-item {
    grid-template-columns: 38px 1fr;
  }

  .mini-rank-item > span {
    grid-column: 2;
  }

  .table-actions {
    grid-template-columns: 1fr;
  }
}



/* =========================================================
   HEADER NAV & FOOTER UPGRADE
   ========================================================= */

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.main-nav a {
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 800;
  transition: 0.2s ease;
}

.main-nav a:hover {
  color: #38bdf8;
}

.footer {
  padding: 0;
  background: #080d1a;
  border-top: 1px solid #22304d;
  color: #94a3b8;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0 34px;
  display: grid;
  grid-template-columns: 1.15fr 1.85fr;
  gap: 36px;
}

.footer-logo {
  display: inline-block;
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.footer-logo span {
  color: #38bdf8;
}

.footer-brand p {
  color: #94a3b8;
  line-height: 1.75;
  margin: 0 0 14px;
  max-width: 520px;
}

.footer-risk {
  padding: 14px;
  border-radius: 16px;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.18);
  color: #fde68a !important;
  font-size: 14px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-links h4 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 15px;
}

.footer-links a {
  display: block;
  color: #94a3b8;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.5;
  transition: 0.2s ease;
}

.footer-links a:hover {
  color: #38bdf8;
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid #172033;
  padding: 18px 7%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: #64748b;
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .topbar {
    align-items: flex-start;
  }

  .main-nav {
    gap: 10px;
  }

  .main-nav a {
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid #22304d;
    font-size: 13px;
  }

  .footer-inner {
    width: min(100% - 24px, 1180px);
    padding: 36px 0 28px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    padding: 18px 5%;
  }
}




/* =========================================================
   BROKER DETAIL MOBILE RESPONSIVE FIX
   ========================================================= */

.broker-review-page,
.broker-review-page * {
  max-width: 100%;
}

.broker-review-page {
  overflow-x: hidden;
}

.broker-hero-card,
.main-content,
.sidebar-card,
.broker-summary-box,
.review-table,
.review-table th,
.review-table td,
.check-list li,
.warning-list li,
.risk-box,
.faq-item {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.broker-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.broker-actions .btn-primary,
.broker-actions .btn-outline {
  flex: 1;
  min-width: 180px;
}

@media (max-width: 920px) {
  .broker-hero {
    padding: 42px 0 24px;
  }

  .broker-hero-card {
    grid-template-columns: 1fr !important;
    padding: 24px !important;
    border-radius: 22px !important;
  }

  .content-grid {
    grid-template-columns: 1fr !important;
  }

  .broker-content {
    padding: 34px 0 48px;
  }

  .sidebar-card {
    position: relative !important;
    top: auto !important;
  }
}

@media (max-width: 720px) {
  .broker-hero-card h1 {
    font-size: 31px !important;
    line-height: 1.12 !important;
    letter-spacing: -0.03em !important;
  }

  .broker-hero-card p {
    font-size: 15px !important;
  }

  .broker-rating {
    align-items: flex-start;
  }

  .broker-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .broker-actions .btn-primary,
  .broker-actions .btn-outline {
    width: 100% !important;
    min-width: 0 !important;
  }

  .broker-summary-box {
    padding: 18px !important;
  }

  .broker-summary-box li {
    font-size: 14px;
    line-height: 1.6;
  }

  .main-content {
    padding: 20px !important;
    border-radius: 20px !important;
  }

  .main-content h2 {
    font-size: 22px !important;
    line-height: 1.25;
  }

  .main-content p {
    font-size: 15px;
  }

  .table-responsive {
    overflow: visible !important;
    border: none !important;
    background: transparent !important;
  }

  .review-table {
    min-width: 0 !important;
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 12px !important;
  }

  .review-table,
  .review-table tbody,
  .review-table tr,
  .review-table th,
  .review-table td {
    display: block !important;
    width: 100% !important;
  }

  .review-table tr {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid #26364f;
    border-radius: 16px;
    padding: 12px;
  }

  .review-table th {
    width: 100% !important;
    padding: 0 0 6px !important;
    border-bottom: none !important;
    background: transparent !important;
    color: #7dd3fc !important;
    font-size: 12px !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .review-table td {
    padding: 0 !important;
    border-bottom: none !important;
    color: #e5e7eb !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
  }

  .check-list,
  .warning-list {
    gap: 8px !important;
  }

  .check-list li,
  .warning-list li {
    padding: 11px 12px !important;
    font-size: 14px;
  }

  .account-tags span {
    font-size: 12px !important;
    padding: 8px 10px !important;
  }

  .risk-box {
    font-size: 14px;
    padding: 14px !important;
  }

  .sidebar-card {
    padding: 20px !important;
    border-radius: 20px !important;
  }
}

@media (max-width: 420px) {
  .broker-hero-card {
    padding: 20px !important;
  }

  .broker-hero-card h1 {
    font-size: 28px !important;
  }

  .main-content {
    padding: 18px !important;
  }

  .review-table tr {
    padding: 11px;
  }
}