/*
Theme Name: WikiFX New
Theme URI: https://wikifx.com
Author: WikiFX Team
Author URI: https://wikifx.com
Description: WikiFX Broker Review Theme - A custom WordPress theme for broker reviews and ratings
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wikifx-new
Tags: broker, review, ratings, forex, finance
*/

/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.site-title a {
    color: #333;
    text-decoration: none;
}

/* Navigation */
.main-navigation {
    float: right;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-navigation li {
    margin-left: 30px;
    position: relative;
}

.main-navigation a {
    color: #333;
    font-weight: 500;
    padding: 10px 0;
    display: block;
}

.main-navigation a:hover {
    color: #0066cc;
    text-decoration: none;
}

/* Content Area */
.site-content {
    padding: 40px 0;
    min-height: 60vh;
}

.content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Broker Card Styles */
.broker-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease;
}

.broker-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 简洁版经纪商卡片 */
.broker-card-simplified {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.broker-card-simplified:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.broker-card-simplified-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.broker-card-row-top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid #f3f4f6;
}

.broker-card-logo {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
}

.broker-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.broker-card-logo .logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #6b7280;
    background: #f3f4f6;
}

.broker-card-info {
    flex: 1;
    min-width: 0;
}

.broker-card-name {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.broker-card-score {
    display: flex;
    align-items: baseline;
    gap: 2px;
    flex-shrink: 0;
}

.broker-card-score .score-star {
    font-size: 16px;
}

.broker-card-score .score-value {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.broker-card-score .score-max {
    font-size: 12px;
    color: #9ca3af;
}

.broker-card-status {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
}

.broker-card-status .status-icon {
    font-size: 24px;
}

.broker-card-status.licensed {
    background: #dcfce7;
    color: #166534;
}

.broker-card-status.unregulated {
    background: #fef2f2;
    color: #991b1b;
}

/* Similar Brokers 区块的监管状态样式 */
.similar-broker-card .broker-card-status.licensed {
    background: #dcfce7;
    color: #166534;
}

.similar-broker-card .broker-card-status.unregulated {
    background: #fef2f2;
    color: #991b1b;
}

/* 第二行：监管机构 | 最低入金 | 交易平台 */
.broker-card-row-bottom {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    gap: 8px;
}

.broker-card-item {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.broker-card-item .item-icon {
    font-size: 14px;
    flex-shrink: 0;
}

.broker-card-item .item-text {
    font-size: 13px;
    color: #4b5563;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.broker-card-divider {
    width: 1px;
    height: 16px;
    background: #e5e7eb;
    flex-shrink: 0;
}

/* 响应式 */
@media (max-width: 768px) {
    .broker-card-row-top {
        flex-wrap: wrap;
    }
    
    .broker-card-name {
        font-size: 16px;
    }
    
    .broker-card-status {
        order: -1;
        width: 40px;
        height: 40px;
    }
    
    .broker-card-row-bottom {
        flex-wrap: wrap;
    }
    
    .broker-card-item {
        flex: 1 1 calc(50% - 4px);
    }
    
    .broker-card-divider {
        display: none;
    }
}

.broker-logo {
    width: 120px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
}

.broker-name {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.broker-score {
    display: inline-block;
    background: #28a745;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 600;
}

.broker-meta {
    color: #666;
    font-size: 14px;
    margin-top: 10px;
}

/* Broker Detail Page */
.broker-header {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 30px;
}

.broker-header .broker-logo {
    width: 180px;
    height: 90px;
}

.broker-header-info h1 {
    margin: 0 0 10px 0;
    font-size: 32px;
}

.broker-rating {
    font-size: 24px;
    font-weight: 700;
    color: #28a745;
}

/* Tabs */
.broker-tabs {
    margin-top: 30px;
}

.tabs-nav {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tabs-nav .tab-link {
    padding: 12px 24px;
    display: block;
    color: #666;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tabs-nav .tab-link:hover {
    color: #0066cc;
}

.tabs-nav .tab-link.active {
    color: #0066cc;
    border-bottom-color: #0066cc;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* License Info Table */
.license-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.license-table th,
.license-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.license-table th {
    background: #f8f9fa;
    font-weight: 600;
}

.license-status.status-active {
    color: #28a745;
    font-weight: 600;
}

.license-status.status-warning {
    color: #dc3545;
    font-weight: 600;
}

/* FAQ Accordion */
.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    background: #f8f9fa;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    width: 100%;
    text-align: left;
}

.faq-icon {
    font-size: 20px;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 15px 20px;
    display: none;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Footer */
.site-footer {
    background: #333;
    color: #fff;
    padding: 40px 0;
    margin-top: 60px;
}

.site-footer a {
    color: #fff;
}

.site-info {
    text-align: center;
}

/* Grid Layouts */
.broker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.search-form {
    max-width: 600px;
    margin: 0 auto;
}

.search-input-wrapper {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 16px;
    outline: none;
}

.search-button {
    padding: 15px 30px;
    background: #28a745;
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-button:hover {
    background: #218838;
}

.quick-filters {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.quick-filter-link {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.quick-filter-link:hover,
.quick-filter-link.active {
    background: #fff;
    color: #667eea;
    text-decoration: none;
}

/* Market Stats */
.market-stats {
    background: #fff;
    padding: 30px 0;
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #667eea;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* Featured Section */
.featured-brokers {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.section-header p {
    color: #666;
}

.tab-description {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Leaderboard */
.leaderboard {
    padding: 60px 0;
    background: #f8f9fa;
}

.leaderboard-wrapper {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.leaderboard-header {
    padding: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.leaderboard-header h2 {
    margin-bottom: 10px;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
}

.leaderboard-table th,
.leaderboard-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.leaderboard-table th {
    background: #f8f9fa;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    color: #666;
}

.leaderboard-table tr:hover {
    background: #f8f9fa;
}

.leaderboard-table .rank {
    font-weight: 700;
    color: #666;
}

.leaderboard-table .broker-name a {
    font-weight: 600;
    color: #0066cc;
}

.leaderboard-table .score {
    font-weight: 700;
    color: #28a745;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.badge-success {
    background: #d4edda;
    color: #155724;
}

.badge-warning {
    background: #fff3cd;
    color: #856404;
}

/* Risk Warning */
.risk-warning {
    padding: 60px 0;
    background: #fff3cd;
}

.risk-warning-wrapper h3 {
    color: #856404;
    margin-bottom: 10px;
}

.risk-warning-wrapper p {
    color: #856404;
    margin-bottom: 20px;
}

.risk-broker-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.risk-broker-item {
    padding: 10px 15px;
    background: #fff;
    border: 1px solid #ffeeba;
    border-radius: 4px;
    color: #856404;
    transition: all 0.3s ease;
}

.risk-broker-item:hover {
    background: #856404;
    color: #fff;
    text-decoration: none;
}

/* Broker Directory */
.broker-directory {
    padding: 60px 0;
}

.directory-header {
    margin-bottom: 30px;
}

.directory-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.directory-header p {
    color: #666;
}

.filter-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.filter-group {
    flex: 1;
    min-width: 150px;
}

.filter-group.filter-search {
    flex: 2;
}

.filter-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.filter-input,
.filter-select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.filter-input:focus,
.filter-select:focus {
    border-color: #0066cc;
}

.apply-button {
    padding: 10px 30px;
    background: #0066cc;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.apply-button:hover {
    background: #0052a3;
}

.filter-actions {
    margin-top: 15px;
}

.reset-link {
    color: #666;
    font-size: 14px;
}

.reset-link:hover {
    color: #0066cc;
}

.archive-info {
    margin-bottom: 20px;
    color: #666;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-link {
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #333;
    transition: all 0.3s ease;
}

.page-link:hover,
.page-link.active {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
    text-decoration: none;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.no-results h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.no-results p {
    color: #666;
    margin-bottom: 20px;
}

.clear-button {
    display: inline-block;
    padding: 12px 30px;
    background: #0066cc;
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.clear-button:hover {
    background: #0052a3;
    color: #fff;
    text-decoration: none;
}

/* Broker Card Wrapper */
.broker-card-wrapper {
    position: relative;
}

.license-badge,
.year-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    background: #28a745;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
}

/* Account Type Card */
.account-type-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.account-type-card h3 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.account-details-table {
    width: 100%;
    border-collapse: collapse;
}

.account-details-table td {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.account-details-table .detail-key {
    font-weight: 600;
    color: #666;
    width: 40%;
}

.account-details-table .detail-value {
    color: #333;
}

/* WYSIWYG Content */
.wysiwyg-content {
    line-height: 1.8;
}

.wysiwyg-content h2 {
    margin-top: 30px;
    margin-bottom: 20px;
}

.wysiwyg-content h3 {
    margin-top: 25px;
    margin-bottom: 15px;
}

.wysiwyg-content p {
    margin-bottom: 15px;
}

.wysiwyg-content ul,
.wysiwyg-content ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.wysiwyg-content li {
    margin-bottom: 5px;
}

/* Update Info */
.broker-update-info {
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid #e0e0e0;
    color: #666;
    font-size: 14px;
}

.broker-update-info span {
    margin-right: 20px;
}

/* Official Link Button */
.official-link {
    display: inline-block;
    padding: 12px 30px;
    background: #28a745;
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    margin-top: 15px;
    transition: background 0.3s ease;
}

.official-link:hover {
    background: #218838;
    color: #fff;
    text-decoration: none;
}

/* Risk Footer */
.risk-footer {
    padding: 40px 0;
    background: #f8f9fa;
}

.risk-warning-box {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 8px;
    padding: 20px;
    color: #856404;
}

.risk-warning-box strong {
    display: block;
    margin-bottom: 10px;
}

.risk-warning-box p {
    margin: 0;
    line-height: 1.6;
}

/* Taxonomy Header */
.taxonomy-header {
    background: #f8f9fa;
    padding: 40px 0;
    margin-bottom: 40px;
}

.taxonomy-header .breadcrumb {
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.taxonomy-header .breadcrumb a {
    color: #0066cc;
}

.taxonomy-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.taxonomy-header p {
    color: #666;
}

/* Taxonomy Content */
.taxonomy-content {
    padding-bottom: 60px;
}

/* Responsive */
@media (max-width: 768px) {
    .broker-header {
        flex-direction: column;
        text-align: center;
    }
    
    .broker-grid {
        grid-template-columns: 1fr;
    }
    
    .main-navigation ul {
        flex-direction: column;
    }
    
    .main-navigation li {
        margin-left: 0;
        margin-bottom: 10px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tabs-nav {
        flex-direction: column;
    }
    
    .tabs-nav .tab-link {
        border-bottom: 1px solid #e0e0e0;
    }
    
    .tabs-nav .tab-link.active {
        border-bottom: 1px solid #e0e0e0;
        border-left: 3px solid #0066cc;
    }
    
    .filter-row {
        flex-direction: column;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .leaderboard-table {
        font-size: 14px;
    }
    
    .leaderboard-table th,
    .leaderboard-table td {
        padding: 10px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

/* Clearfix */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Table Responsive */
.table-responsive {
    overflow-x: auto;
}

/* ========================================
   Broker Detail Page - Enhanced Styles
   (Tailwind-like classes for Next.js replica)
   ======================================== */

/* Color Variables */
:root {
    --primary: #3b82f6;
    --primary-foreground: #ffffff;
    --background: #ffffff;
    --foreground: #1f2937;
    --card: #ffffff;
    --card-foreground: #1f2937;
    --popover: #ffffff;
    --popover-foreground: #1f2937;
    --muted: #f3f4f6;
    --muted-foreground: #6b7280;
    --border: #e5e7eb;
    --input: #e5e7eb;
    --destructive: #ef4444;
    --radius: 0.75rem;
}

/* Base Layout */
.broker-detail-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
}

/* Typography */
.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.font-extrabold {
    font-weight: 800;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

/* Text Colors */
.text-foreground {
    color: var(--foreground);
}

.text-muted-foreground {
    color: var(--muted-foreground);
}

.text-primary {
    color: var(--primary);
}

.text-destructive {
    color: var(--destructive);
}

/* Background Colors */
.bg-background {
    background-color: var(--background);
}

.bg-card {
    background-color: var(--card);
}

.bg-muted {
    background-color: var(--muted);
}

.bg-primary {
    background-color: var(--primary);
}

.bg-primary\/10 {
    background-color: rgba(59, 130, 246, 0.1);
}

.bg-primary\/20 {
    background-color: rgba(59, 130, 246, 0.2);
}

.bg-destructive\/10 {
    background-color: rgba(239, 68, 68, 0.1);
}

/* Border Colors */
.border {
    border-width: 1px;
    border-style: solid;
}

.border-border {
    border-color: var(--border);
}

.border-primary\/20 {
    border-color: rgba(59, 130, 246, 0.2);
}

.border-primary\/50 {
    border-color: rgba(59, 130, 246, 0.5);
}

/* Border Radius */
.rounded-2xl {
    border-radius: 1rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-full {
    border-radius: 9999px;
}

/* Spacing */
.p-4 {
    padding: 1rem;
}

.p-5 {
    padding: 1.25rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.p-10 {
    padding: 2.5rem;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.py-1\.5 {
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-2\.5 {
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 0.75rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-5 {
    margin-top: 1.25rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

/* Display */
.hidden {
    display: none;
}

.block {
    display: block;
}

.inline-flex {
    display: inline-flex;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

/* Flexbox */
.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

/* Grid */
.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Width */
.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.h-1\.5 {
    height: 0.375rem;
}

.h-2 {
    height: 0.5rem;
}

.h-4 {
    height: 1rem;
}

.h-5 {
    height: 1.25rem;
}

.h-8 {
    height: 2rem;
}

.h-10 {
    height: 2.5rem;
}

.h-16 {
    height: 4rem;
}

.h-20 {
    height: 5rem;
}

.h-24 {
    height: 6rem;
}

.w-1\.5 {
    width: 0.375rem;
}

.w-4 {
    width: 1rem;
}

.w-5 {
    width: 1.25rem;
}

.w-10 {
    width: 2.5rem;
}

.w-16 {
    width: 4rem;
}

.w-20 {
    width: 5rem;
}

.w-24 {
    width: 6rem;
}

/* Position */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.shrink-0 {
    flex-shrink: 0;
}

/* Overflow */
.overflow-hidden {
    overflow: hidden;
}

/* Object Fit */
.object-contain {
    object-fit: contain;
}

/* Transitions */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition {
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-200 {
    transition-duration: 200ms;
}

.duration-300 {
    transition-duration: 300ms;
}

.duration-1000 {
    transition-duration: 1000ms;
}

/* Shadows */
.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Hover Effects */
.hover\:border-primary\/50:hover {
    border-color: rgba(59, 130, 246, 0.5);
}

.hover\:shadow-lg:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.hover\:bg-primary\/90:hover {
    background-color: rgba(59, 130, 246, 0.9);
}

.hover\:text-primary:hover {
    color: var(--primary);
}

.hover\:text-foreground:hover {
    color: var(--foreground);
}

.hover\:underline:hover {
    text-decoration: underline;
}

/* Group Hover */
.group:hover .group-hover\:text-primary {
    color: var(--primary);
}

/* Progress Bar */
.rounded-full {
    border-radius: 9999px;
}

.bg-muted {
    background-color: var(--muted);
}

.bg-primary {
    background-color: var(--primary);
}

/* Scroll Margin */
.scroll-mt-24 {
    scroll-margin-top: 6rem;
}

/* Truncate */
.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Min Width */
.min-w-0 {
    min-width: 0;
}

/* Space Between */
.space-y-2 > * + * {
    margin-top: 0.5rem;
}

.space-y-3 > * + * {
    margin-top: 0.75rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.space-y-8 > * + * {
    margin-top: 2rem;
}

/* Leading */
.leading-relaxed {
    line-height: 1.625;
}

/* Tracking */
.tracking-tight {
    letter-spacing: -0.025em;
}

.tracking-wide {
    letter-spacing: 0.025em;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.tracking-\[0\.2em\] {
    letter-spacing: 0.2em;
}

.tracking-\[0\.25em\] {
    letter-spacing: 0.25em;
}

.tracking-\[0\.3em\] {
    letter-spacing: 0.3em;
}

.tracking-\[0\.35em\] {
    letter-spacing: 0.35em;
}

.tracking-\[0\.4em\] {
    letter-spacing: 0.4em;
}

/* Opacity */
.opacity-50 {
    opacity: 0.5;
}

/* Cursor */
.cursor-not-allowed {
    cursor: not-allowed;
}

/* Border Style */
.border-dashed {
    border-style: dashed;
}

/* Responsive Grid */
@media (min-width: 640px) {
    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .sm\:flex-row {
        flex-direction: row;
    }
    
    .sm\:items-center {
        align-items: center;
    }
    
    .sm\:gap-6 {
        gap: 1.5rem;
    }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    
    .md\:flex-row {
        flex-direction: row;
    }
    
    .md\:items-center {
        align-items: center;
    }
    
    .md\:items-end {
        align-items: flex-end;
    }
    
    .md\:justify-between {
        justify-content: space-between;
    }
    
    .md\:p-8 {
        padding: 2rem;
    }
    
    .md\:p-10 {
        padding: 2.5rem;
    }
    
    .md\:flex-col {
        flex-direction: column;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .lg\:grid-cols-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    
    .lg\:grid-cols-\[1\.2fr\,1fr\] {
        grid-template-columns: 1.2fr 1fr;
    }
}

@media (min-width: 1280px) {
    .xl\:gap-10 {
        gap: 2.5rem;
    }
}

/* Tab Styles Enhancement */
.tab-trigger {
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.tab-trigger:disabled {
    pointer-events: none;
}

/* FAQ Details/Summary */
details > summary {
    list-style: none;
}

details > summary::-webkit-details-marker {
    display: none;
}

details[open] summary {
    margin-bottom: 0.5rem;
}

/* Animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.rotate-45 {
    transform: rotate(45deg);
}

/* SVG */
svg {
    display: inline-block;
    vertical-align: middle;
}

/* Line clamp */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================
   ENHANCED HOMEPAGE STYLES
   ======================================== */

/* --- Hero Section Enhanced --- */
.hero-section-enhanced {
    position: relative;
    padding: 80px 0 100px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, #ffffff 50%, rgba(147, 51, 234, 0.05) 100%);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 24px;
}

.badge-icon {
    font-size: 16px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--foreground);
}

.hero-title .text-primary {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 32px;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--foreground);
}

.trust-icon {
    font-size: 20px;
}

/* Search Bar Enhanced */
.search-container {
    max-width: 600px;
    margin: 0 auto;
}

.search-form-enhanced {
    width: 100%;
}

.search-input-wrapper-enhanced {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.search-icon {
    position: absolute;
    left: 16px;
    color: var(--muted-foreground);
    display: flex;
    align-items: center;
}

.search-input-enhanced {
    width: 100%;
    padding: 16px 120px 16px 48px;
    border: none;
    background: transparent;
    font-size: 16px;
    outline: none;
    color: var(--foreground);
}

.search-input-enhanced::placeholder {
    color: var(--muted-foreground);
}

.search-button-enhanced {
    position: absolute;
    right: 8px;
    padding: 10px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.search-button-enhanced:hover {
    background: rgba(59, 130, 246, 0.9);
}

/* Quick Filters Enhanced */
.quick-filters-enhanced {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.quick-filter-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border);
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--foreground);
    text-decoration: none;
    transition: all 0.2s;
    backdrop-filter: blur(8px);
}

.quick-filter-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.quick-filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* --- Market Stats Enhanced --- */
.market-stats-enhanced {
    position: relative;
    margin-top: -40px;
    z-index: 10;
}

.stats-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    font-size: 32px;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--muted-foreground);
    margin-top: 4px;
}

/* --- Regulatory Partners --- */
.regulatory-partners {
    margin-top: 64px;
}

.regulatory-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(147, 51, 234, 0.05) 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
}

.regulator-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.regulator-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    transition: all 0.2s;
}

.regulator-item:hover {
    background: white;
    transform: translateY(-2px);
}

.regulator-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    color: var(--primary);
    margin-bottom: 8px;
}

.regulator-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--foreground);
}

.regulator-country {
    font-size: 12px;
    color: var(--muted-foreground);
    margin-top: 2px;
}

/* --- Featured Brokers Enhanced --- */
.featured-brokers-enhanced {
    margin-top: 64px;
    padding-bottom: 64px;
}

.section-header-enhanced {
    margin-bottom: 40px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 16px;
}

.tabs-nav-enhanced {
    display: flex;
    justify-content: center;
    gap: 8px;
    background: var(--muted);
    padding: 6px;
    border-radius: 12px;
    max-width: 500px;
    margin: 0 auto 32px;
}

.tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted-foreground);
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn:hover {
    color: var(--foreground);
}

.tab-btn.active {
    background: white;
    color: var(--foreground);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tab-icon {
    font-size: 16px;
}

.tab-content-enhanced {
    display: none;
}

.tab-content-enhanced.active {
    display: block;
}

.tab-desc {
    text-align: center;
    font-size: 14px;
    color: var(--muted-foreground);
    margin-bottom: 24px;
}

.broker-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.broker-card-wrapper-enhanced {
    position: relative;
}

.license-badge-enhanced {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    padding: 4px 10px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
}

.year-badge-enhanced {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    padding: 4px 10px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
    color: #10b981;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}

.view-all-btn:hover {
    background: rgba(59, 130, 246, 0.9);
    color: white;
    text-decoration: none;
}

/* --- Enhanced Broker Card --- */
.broker-card-enhanced {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.broker-card-enhanced:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(59, 130, 246, 0.3);
}

.broker-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 20px;
}

.broker-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.broker-logo-enhanced {
    width: 64px;
    height: 64px;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.broker-logo-enhanced img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.broker-logo-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--muted-foreground);
}

.broker-score-badge {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.score-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.score-max {
    font-size: 12px;
    color: var(--muted-foreground);
}

.broker-card-body {
    margin-bottom: 16px;
}

.broker-name-enhanced {
    font-size: 18px;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 8px;
    line-height: 1.3;
}

.broker-meta-enhanced {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--muted-foreground);
}

.broker-country-enhanced,
.broker-license-enhanced {
    display: flex;
    align-items: center;
    gap: 4px;
}

.broker-period-enhanced {
    font-size: 12px;
    color: var(--muted-foreground);
    margin-top: 8px;
}

.broker-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    color: var(--primary);
    font-weight: 500;
    font-size: 14px;
}

.view-details {
    transition: color 0.2s;
}

.broker-card-enhanced:hover .view-details {
    color: rgba(59, 130, 246, 0.8);
}

/* --- Leaderboard Enhanced --- */
.leaderboard-enhanced {
    margin-top: 64px;
}

.leaderboard-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.leaderboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 16px;
}

.leaderboard-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 8px;
}

.leaderboard-title h2 {
    margin: 0;
}

.update-badge {
    padding: 6px 12px;
    background: var(--muted);
    border-radius: 9999px;
    font-size: 12px;
    color: var(--muted-foreground);
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
}

.leaderboard-table th {
    padding: 12px 24px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted-foreground);
    background: rgba(243, 244, 246, 0.5);
    border-bottom: 1px solid var(--border);
}

.leaderboard-table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.leaderboard-table tr:last-child td {
    border-bottom: none;
}

.leaderboard-table tr:hover {
    background: rgba(59, 130, 246, 0.02);
}

.leaderboard-table .rank {
    font-weight: 600;
    color: var(--muted-foreground);
}

.leaderboard-table .broker-name a {
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.leaderboard-table .broker-name a:hover {
    text-decoration: underline;
}

.leaderboard-table .score {
    font-weight: 700;
    color: var(--primary);
}

.badge-success {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
}

.badge-warning {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
}

/* --- Risk Warning Enhanced --- */
.risk-warning-enhanced {
    margin-top: 64px;
}

.risk-warning-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(239, 68, 68, 0.05) 100%);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 16px;
    padding: 32px;
}

.risk-warning-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.risk-icon {
    font-size: 24px;
}

.risk-warning-header h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: #f59e0b;
}

.risk-warning-desc {
    color: var(--muted-foreground);
    margin-bottom: 24px;
}

.risk-broker-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.risk-broker-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
    min-width: 200px;
}

.risk-broker-item:hover {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.02);
}

.risk-broker-name {
    font-weight: 600;
    color: var(--foreground);
}

.risk-broker-score {
    font-size: 14px;
    color: #ef4444;
    font-weight: 600;
}

/* ========================================
   TAXONOMY & ARCHIVE ENHANCED STYLES
   ======================================== */

/* Taxonomy Header Enhanced */
.taxonomy-header {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%);
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
}

.taxonomy-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.taxonomy-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--muted-foreground);
    flex-wrap: wrap;
}

.taxonomy-breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.taxonomy-breadcrumb a:hover {
    color: rgba(59, 130, 246, 0.8);
    text-decoration: underline;
}

.taxonomy-breadcrumb .separator {
    color: var(--muted-foreground);
    opacity: 0.5;
}

.taxonomy-breadcrumb .current {
    color: var(--foreground);
    font-weight: 500;
}

.taxonomy-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--foreground);
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.taxonomy-description {
    font-size: 16px;
    color: var(--muted-foreground);
    margin: 0;
    max-width: 600px;
}

/* Archive Header */
.archive-header {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%);
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.archive-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.archive-header h1 {
    font-size: 40px;
    font-weight: 700;
    color: var(--foreground);
    margin: 0 0 12px 0;
}

.archive-header p {
    font-size: 16px;
    color: var(--muted-foreground);
    margin: 0;
}

/* Broker Archive Content */
.broker-archive-content {
    padding: 40px 0 64px;
}

/* Filter Card Modern */
.filter-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.filter-form {
    width: 100%;
}

.filter-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.filter-header-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--foreground);
}

.filter-header-icon {
    display: flex;
    align-items: center;
    color: var(--primary);
}

.filter-reset-btn {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted-foreground);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.filter-reset-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    text-decoration: none;
}

.filter-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
    align-items: end;
}

.filter-row.advanced-filters {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    margin-bottom: 0;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-size: 12px;
    font-weight: 500;
    color: var(--muted-foreground);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.filter-input,
.filter-select {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
    background: white;
    color: var(--foreground);
}

.filter-input:focus,
.filter-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.filter-input::placeholder {
    color: var(--muted-foreground);
}

.filter-group.filter-search .filter-input {
    padding-left: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
}

.filter-btn-group {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.apply-btn {
    width: 100%;
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.apply-btn:hover {
    background: rgba(59, 130, 246, 0.9);
    transform: translateY(-1px);
}

/* Archive Info */
.archive-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.archive-count {
    font-size: 15px;
    color: var(--muted-foreground);
}

.archive-count strong {
    color: var(--foreground);
    font-weight: 600;
}

.archive-sort {
    display: flex;
    align-items: center;
    gap: 8px;
}

.archive-sort label {
    font-size: 13px;
    color: var(--muted-foreground);
}

.archive-sort select {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    background: white;
    cursor: pointer;
}

/* Broker Grid - Modern */
.broker-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Pagination Modern */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--foreground);
    text-decoration: none;
    transition: all 0.2s;
}

.page-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    text-decoration: none;
}

.page-link.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.page-link.prev,
.page-link.next {
    padding: 0 16px;
}

/* No Results Modern */
.no-results {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 64px 32px;
    text-align: center;
}

.no-results-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.no-results h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--foreground);
    margin: 0 0 8px;
}

.no-results p {
    color: var(--muted-foreground);
    margin: 0 0 24px;
    font-size: 15px;
}

.clear-button {
    display: inline-block;
    padding: 12px 32px;
    background: var(--primary);
    color: white;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.clear-button:hover {
    background: rgba(59, 130, 246, 0.9);
    color: white;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .filter-row {
        grid-template-columns: 1fr 1fr;
    }

    .filter-row.advanced-filters {
        grid-template-columns: 1fr 1fr;
    }

    .broker-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .taxonomy-header,
    .archive-header {
        padding: 32px 0;
    }

    .taxonomy-title {
        font-size: 28px;
    }

    .archive-header h1 {
        font-size: 32px;
    }

    .filter-row {
        grid-template-columns: 1fr;
    }

    .filter-row.advanced-filters {
        grid-template-columns: 1fr;
    }

    .filter-btn-group {
        flex-direction: column;
    }

    .apply-btn {
        width: 100%;
    }

    .broker-grid {
        grid-template-columns: 1fr;
    }

    .archive-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .pagination {
        gap: 6px;
    }

    .page-link {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

/* --- Broker Directory Enhanced --- */
.broker-directory-enhanced {
    margin-top: 64px;
    padding-bottom: 64px;
}

.directory-header {
    margin-bottom: 32px;
}

.directory-header h2 {
    margin-bottom: 8px;
}

/* Filter Card Enhanced */
.filter-card-enhanced {
    background: white;
    border: 1px dashed var(--border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
}

.filter-form-enhanced {
    width: 100%;
}

.filter-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.filter-icon {
    display: flex;
    align-items: center;
    color: var(--muted-foreground);
}

.filter-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted-foreground);
}

.filter-row-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.filter-row-advanced {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-size: 12px;
    font-weight: 500;
    color: var(--muted-foreground);
    margin-bottom: 4px;
}

.filter-input,
.filter-select {
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
    background: white;
    color: var(--foreground);
}

.filter-input:focus,
.filter-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.filter-btn-group {
    display: flex;
    align-items: flex-end;
}

.apply-btn {
    width: 100%;
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.apply-btn:hover {
    background: rgba(59, 130, 246, 0.9);
}

.filter-actions {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.reset-link {
    font-size: 14px;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.2s;
}

.reset-link:hover {
    color: var(--primary);
}

/* ========================================
   ARCHIVE LIST PAGE ENHANCED STYLES
   ======================================== */

/* Archive Header Enhanced */
.archive-header-enhanced {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    overflow: hidden;
}

.archive-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(rgba(59, 130, 246, 0.15) 1px, transparent 1px),
        radial-gradient(rgba(139, 92, 246, 0.1) 1px, transparent 1px);
    background-size: 40px 40px, 60px 60px;
    opacity: 0.6;
}

.archive-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.archive-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 500;
    color: #93c5fd;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}

.archive-header-content h1 {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.archive-header-content p {
    font-size: 18px;
    color: #94a3b8;
    margin: 0 0 32px 0;
    line-height: 1.6;
}

.archive-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.archive-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.archive-stats .stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #60a5fa;
}

.archive-stats .stat-label {
    font-size: 14px;
    color: #94a3b8;
}

/* Taxonomy Header Enhanced */
.taxonomy-header-enhanced {
    position: relative;
    padding: 60px 0;
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    overflow: hidden;
}

.taxonomy-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(rgba(59, 130, 246, 0.15) 1px, transparent 1px),
        radial-gradient(rgba(139, 92, 246, 0.1) 1px, transparent 1px);
    background-size: 40px 40px, 60px 60px;
    opacity: 0.6;
}

.taxonomy-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.taxonomy-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 500;
    color: #93c5fd;
    margin-bottom: 16px;
    backdrop-filter: blur(8px);
}

.taxonomy-header-content h1 {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.taxonomy-header-content p {
    font-size: 16px;
    color: #94a3b8;
    margin: 0 0 24px 0;
    line-height: 1.6;
}

.taxonomy-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.taxonomy-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.taxonomy-stats .stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #60a5fa;
}

.taxonomy-stats .stat-label {
    font-size: 13px;
    color: #94a3b8;
}

/* Breadcrumb Enhanced */
.breadcrumb-enhanced {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
}

.breadcrumb-enhanced a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-enhanced a:hover {
    color: #60a5fa;
}

.breadcrumb-sep {
    color: #64748b;
}

.breadcrumb-enhanced .current {
    color: #e2e8f0;
    font-weight: 500;
}

/* Archive Content Enhanced */
.broker-archive-content-enhanced,
.taxonomy-content-enhanced {
    padding: 48px 0 64px;
    background: #f8fafc;
    min-height: 60vh;
}

/* Archive Info Enhanced */
.archive-info-enhanced {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.archive-count {
    font-size: 14px;
    color: var(--muted-foreground);
}

.archive-count strong {
    color: var(--foreground);
}

/* Broker Grid Main */
.broker-grid-main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* No Results Enhanced */
.no-results-enhanced {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 64px 32px;
    text-align: center;
}

.no-results-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.no-results-enhanced h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.no-results-enhanced p {
    color: var(--muted-foreground);
    margin-bottom: 24px;
}

.clear-btn {
    display: inline-block;
    padding: 12px 32px;
    background: var(--primary);
    color: white;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.clear-btn:hover {
    background: rgba(59, 130, 246, 0.9);
    color: white;
    text-decoration: none;
}

/* Pagination Enhanced */
.pagination-enhanced {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--foreground);
    text-decoration: none;
    transition: all 0.2s;
}

.page-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.page-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.page-btn.prev,
.page-btn.next {
    padding: 0 16px;
}

/* --- Risk Footer Enhanced --- */
.risk-footer-enhanced {
    padding: 64px 0;
    background: rgba(245, 158, 11, 0.05);
}

.risk-footer-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: #fffbeb;
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 16px;
}

.risk-footer-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.risk-footer-content {
    flex: 1;
}

.risk-footer-content strong {
    display: block;
    font-size: 16px;
    color: #b45309;
    margin-bottom: 8px;
}

.risk-footer-content p {
    margin: 0;
    font-size: 14px;
    color: #92400e;
    line-height: 1.6;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .stats-grid-enhanced {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .regulator-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .broker-grid-enhanced {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .broker-grid-main {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .filter-row-advanced {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .stats-grid-enhanced {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 16px;
    }
    
    .regulator-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tabs-nav-enhanced {
        flex-direction: column;
        max-width: 100%;
    }
    
    .broker-grid-enhanced {
        grid-template-columns: 1fr;
    }
    
    .broker-grid-main {
        grid-template-columns: 1fr;
    }
    
    .filter-row-main {
        grid-template-columns: 1fr;
    }
    
    .filter-row-advanced {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .leaderboard-header {
        flex-direction: column;
    }
    
    .leaderboard-table {
        font-size: 12px;
    }
    
    .leaderboard-table th,
    .leaderboard-table td {
        padding: 12px;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .search-input-wrapper-enhanced {
        flex-direction: column;
    }
    
    .search-button-enhanced {
        position: static;
        width: 100%;
        margin-top: 8px;
        border-radius: 8px;
    }
    
    .search-input-enhanced {
        padding-right: 16px;
    }
}

/* ========================================
   FOOTER & DISCLAIMER STYLES
   ======================================== */

/* Header Enhanced - Dark Theme */
.site-header-enhanced {
    background: #1f2937;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 20px;
}

.header-title {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin: 0;
}

.header-title a {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s;
}

.header-title a:hover {
    opacity: 0.9;
    text-decoration: none;
}

.header-description {
    font-size: 12px;
    color: #9ca3af;
    margin: 0;
}

/* Header Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-nav a {
    padding: 8px 16px;
    color: #d1d5db;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
}

.header-nav a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.header-nav a.active {
    color: white;
    background: rgba(59, 130, 246, 0.2);
}

/* Disclaimer Section - Dark Theme Enhanced */
.site-disclaimer {
    background: #1f2937;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 48px 0;
}

.site-disclaimer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Disclaimer Card Style */
.disclaimer-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    transition: all 0.3s;
}

.disclaimer-card:last-child {
    margin-bottom: 0;
}

.disclaimer-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.disclaimer-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.disclaimer-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.disclaimer-icon.risk {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.disclaimer-icon.warning {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

.disclaimer-icon.ad {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.disclaimer-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: #f9fafb;
    margin: 0;
}

.disclaimer-content {
    padding-left: 52px;
}

.disclaimer-content p {
    font-size: 13px;
    line-height: 1.8;
    color: #9ca3af;
    margin: 0;
}

.disclaimer-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.disclaimer-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.disclaimer-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #f9fafb;
    margin-bottom: 16px;
}

.disclaimer-section p {
    font-size: 13px;
    line-height: 1.8;
    color: #9ca3af;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .site-disclaimer {
        padding: 32px 0;
    }
    
    .disclaimer-section {
        margin-bottom: 24px;
        padding-bottom: 24px;
    }
    
    .disclaimer-section h4 {
        font-size: 14px;
    }
    
    .disclaimer-section p {
        font-size: 12px;
    }
}

/* Footer Styles */
.site-footer {
    background: #1f2937;
    color: #d1d5db;
    padding: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    padding: 48px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h4 {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    color: #9ca3af;
    max-width: 280px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-column h5 {
    font-size: 14px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: white;
}

/* Footer Disclaimer - Integrated into Footer */
.footer-disclaimer {
    padding: 32px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-disclaimer .disclaimer-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-disclaimer .disclaimer-icon {
    font-size: 20px;
}

.footer-disclaimer .disclaimer-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #fbbf24;
    margin: 0;
}

.footer-disclaimer .disclaimer-text {
    font-size: 13px;
    line-height: 1.7;
    color: #9ca3af;
    max-height: 150px;
    overflow-y: auto;
}

.footer-disclaimer .disclaimer-text p {
    margin-bottom: 10px;
}

.footer-disclaimer .disclaimer-text p:last-child {
    margin-bottom: 0;
}

.footer-disclaimer .disclaimer-text strong {
    color: #d1d5db;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.site-info {
    font-size: 13px;
    color: #6b7280;
}

.site-info a {
    color: #9ca3af;
    text-decoration: none;
}

.site-info a:hover {
    color: white;
}

.site-info .sep {
    margin: 0 8px;
}

/* Header Responsive */
@media (max-width: 768px) {
    .site-header-enhanced {
        padding: 12px 0;
    }

    .header-container {
        flex-direction: column;
        gap: 16px;
    }

    .header-brand {
        flex-direction: column;
        text-align: center;
    }

    .header-logo {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .header-title {
        font-size: 20px;
    }

    .header-description {
        display: none;
    }

    .header-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }

    .header-nav a {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px 0;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-brand p {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ========================================
   BROKER DETAIL PAGE STYLES
   ======================================== */

/* Breadcrumb Navigation - Improved Visibility */
.broker-detail-page nav[aria-label="Breadcrumb"] {
    color: #64748b;
}

.broker-detail-page nav[aria-label="Breadcrumb"] a {
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease;
}

.broker-detail-page nav[aria-label="Breadcrumb"] a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.broker-detail-page nav[aria-label="Breadcrumb"] li[aria-hidden="true"] {
    color: #94a3b8;
}

.broker-detail-page nav[aria-label="Breadcrumb"] li[aria-current="page"] {
    color: #1e293b;
    font-weight: 600;
}

/* Visit Official Site Button - Improved Visibility */
.broker-detail-page .bg-primary {
    background: #2563eb !important;
}

.broker-detail-page .bg-primary:hover {
    background: #1d4ed8 !important;
}

/* Tab Navigation - Improved Visibility */
.broker-detail-page .tab-trigger {
    color: #475569;
    font-weight: 500;
}

.broker-detail-page .tab-trigger.active {
    color: #2563eb;
    border-color: #2563eb;
}

.broker-detail-page .tab-trigger:hover:not(.active) {
    color: #1e293b;
    background: #f1f5f9;
}

/* Tab Content Headers */
.broker-detail-page h2,
.broker-detail-page h3 {
    color: #1e293b;
}

.broker-detail-page .text-muted-foreground {
    color: #64748b !important;
}

/* Breadcrumb - Hide meta tags */
.broker-detail-page nav[aria-label="Breadcrumb"] meta {
    display: none !important;
}

.broker-detail-page nav[aria-label="Breadcrumb"] li.hidden {
    display: none !important;
}

.broker-detail-page nav[aria-label="Breadcrumb"] ol {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}