
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-base: #0f172a; /* Slightly lighter navy for a distinct feel */
    --bg-card: #1e293b;
    --bg-card-hover: #334155;
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --accent-primary: #22d3ee; /* Cyan/Teal accent instead of blue */
    --accent-secondary: #c084fc; /* Purple accent */
    --accent-glow: rgba(34, 211, 238, 0.4);
    --border: #334155;
    --radius: 16px; /* Rounder corners */
    --transition: all 0.3s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', sans-serif; }
body { background-color: var(--bg-base); color: var(--text-main); line-height: 1.7; font-size: 16px; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }

/* UTILS */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.fade-up { animation: fadeUp 0.8s ease forwards; opacity: 0; transform: translateY(20px); }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* HEADER */
.top-nav { background: rgba(15, 23, 42, 0.85); backdrop-filter: blur(12px); padding: 18px 0; position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(255,255,255,0.05); }
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.brand-logo { font-size: 24px; font-weight: 800; color: #fff; letter-spacing: -0.5px; display:flex; align-items:center; }
.brand-logo span { color: var(--accent-primary); }
.nav-menu { display: flex; gap: 40px; }
.nav-menu a { font-weight: 500; font-size: 14px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.nav-menu a:hover { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.3); }

/* HERO SECTION */
.hero-header { padding: 120px 20px 80px; text-align: center; background: radial-gradient(circle at top, #1e293b 0%, var(--bg-base) 70%); border-bottom: 1px solid var(--border); margin-bottom: 50px;}
.hero-header h1 { font-size: 56px; margin-bottom: 25px; font-weight: 800; line-height: 1.1; color: #fff; text-shadow: 0 0 40px rgba(34, 211, 238, 0.2);}
.hero-header p { font-size: 18px; max-width: 800px; margin: 0 auto; color: var(--text-muted); }

/* BROKERS GRID */
.brokers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 30px; margin-bottom: 80px; }
.broker-card { background: var(--bg-card); border-radius: var(--radius); padding: 30px; border: 1px solid var(--border); transition: var(--transition); display: flex; flex-direction: column; position: relative;}
.broker-card:hover { transform: translateY(-5px); border-color: var(--accent-primary); box-shadow: 0 10px 30px var(--accent-glow); background: var(--bg-card-hover);}

.bc-header { display: flex; align-items: center; gap: 20px; margin-bottom: 25px; border-bottom: 1px solid var(--border); padding-bottom: 20px;}
.bc-logo { width: 65px; height: 65px; background: #fff; border-radius: 10px; padding: 5px; display: flex; align-items: center; justify-content: center; }
.bc-logo img { max-width: 100%; max-height: 100%; border-radius: 6px;}
.bc-title { flex: 1; }
.bc-title h3 { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 4px;}
.bc-title span { font-size: 13px; color: var(--accent-secondary); font-weight: 600; text-transform: uppercase; letter-spacing: 1px;}

.bc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 30px; }
.b-stat { background: rgba(0,0,0,0.2); padding: 12px 15px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05);}
.b-stat span { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 5px; text-transform: uppercase; }
.b-stat strong { font-size: 16px; color: #fff; font-weight: 600;}
.b-stat.rating strong { color: #facc15; }

.bc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: auto; }
.btn { padding: 14px 0; text-align: center; border-radius: 8px; font-weight: 600; font-size: 14px; transition: var(--transition); cursor: pointer; border: none; display: inline-block;}
.btn-primary { background: var(--accent-primary); color: #0f172a; } /* Dark text on bright button */
.btn-primary:hover { background: #06b6d4; box-shadow: 0 0 15px var(--accent-glow); color: #fff; }
.btn-secondary { background: transparent; color: var(--text-main); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--text-main); background: rgba(255,255,255,0.05);}

/* NEW BROKER PAGE LAYOUT */
.broker-page-wrapper { display: flex; gap: 40px; margin: 60px auto 100px; max-width: 1280px; padding: 0 20px; align-items: flex-start; }

/* SIDEBAR */
.broker-sidebar { width: 340px; background: var(--bg-card); border-radius: var(--radius); border: 1px solid var(--border); position: sticky; top: 100px; text-align: center; overflow: hidden; padding-bottom: 30px;}
.broker-sidebar-header { height: 120px; background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary)); position: relative;}
.broker-sidebar-header::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 50%; background: linear-gradient(to top, var(--bg-card), transparent); }
.broker-sidebar img { width: 110px; height: 110px; border-radius: 50%; border: 6px solid var(--bg-card); background: #fff; margin-top: -55px; position: relative; z-index: 2; object-fit: contain; padding: 8px;}
.broker-sidebar h1 { font-size: 26px; color: #fff; font-weight: 800; margin: 15px 0 5px;}
.rating-stars { color: #facc15; font-size: 22px; margin-bottom: 20px; letter-spacing: 2px;}
.side-badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 25px; padding: 0 20px;}
.badge { background: rgba(255,255,255,0.05); color: var(--text-main); padding: 6px 14px; border-radius: 6px; font-size: 13px; font-weight: 500; border: 1px solid var(--border);}
.side-details { list-style: none; text-align: left; margin-bottom: 30px; font-size: 15px; color: var(--text-muted); padding: 0 30px;}
.side-details li { padding: 12px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center;}
.side-details strong { color: #fff; font-weight: 600;}

/* MAIN CONTENT */
.broker-content { flex: 1; min-width: 0; }
.stats-grid-horizontal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.stat-box { background: var(--bg-card); border: 1px solid var(--border); padding: 25px 20px; border-radius: var(--radius); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; box-shadow: 0 4px 6px rgba(0,0,0,0.1);}
.stat-box span { color: var(--text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px;}
.stat-box strong { font-size: 24px; color: #fff; font-weight: 800; }

.content-body { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 50px; }
.content-body h2 { margin-top: 50px; margin-bottom: 25px; font-size: 28px; color: #fff; border-left: 5px solid var(--accent-primary); padding-left: 20px; line-height: 1.2;}
.content-body h2:first-child { margin-top: 0; }
.content-body p { margin-bottom: 20px; color: var(--text-muted); font-size: 16px; line-height: 1.8; }
.content-body blockquote { background: rgba(34, 211, 238, 0.05); border: 1px solid rgba(34, 211, 238, 0.2); padding: 30px; font-size: 18px; font-style: italic; margin: 40px 0; border-radius: 12px; color: #fff; position: relative;}
.content-body blockquote::before { content: '"'; position: absolute; top: 10px; left: 15px; font-size: 60px; color: var(--accent-primary); opacity: 0.2; font-family: serif; line-height: 1;}

/* PROS CONS inside Content Body */
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: 60px 0; }
.feat-box { padding: 30px; border-radius: 12px; border: 1px solid var(--border); background: rgba(0,0,0,0.2);}
.feat-box h4 { font-size: 20px; margin-bottom: 25px; font-weight: 700; color: #fff;}
.feat-box.good h4 { color: var(--accent-primary); }
.feat-box.bad h4 { color: #f43f5e; }
.feat-box ul { list-style: none; }
.feat-box li { margin-bottom: 15px; font-size: 15px; padding-left: 30px; position: relative; color: var(--text-muted);}
.feat-box.good li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-primary); font-weight: 800; font-size: 18px;}
.feat-box.bad li::before { content: '✕'; position: absolute; left: 0; color: #f43f5e; font-weight: 800; font-size: 18px;}

/* REVIEWS */
.review-section { margin-top: 60px; }
.review-section h2 { margin-bottom: 35px; font-size: 28px; color: #fff;}
.review-container { display: flex; flex-direction: column; gap: 20px; }
.review-item { background: rgba(0,0,0,0.15); padding: 30px; border-radius: var(--radius); border: 1px solid var(--border); transition: var(--transition);}
.review-item:hover { border-color: rgba(255,255,255,0.15); background: var(--bg-card-hover);}
.ri-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.ri-user { display: flex; align-items: center; gap: 15px; }
.ri-avatar { width: 45px; height: 45px; border-radius: 50%; background: linear-gradient(135deg, var(--border), #475569); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700;}
.ri-meta h5 { font-size: 17px; margin: 0 0 4px; color: #fff;}
.ri-meta span { font-size: 13px; color: var(--text-muted); }
.ri-rating { color: #facc15; font-size: 16px; letter-spacing: 2px;}
.ri-text { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* FAQ */
.faq-section { margin: 80px 0; }
.faq-section h2 { text-align: center; margin-bottom: 50px; font-size: 36px; color: #fff; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.faq-card { background: var(--bg-card); padding: 35px; border-radius: var(--radius); border: 1px solid var(--border); }
.faq-card h3 { font-size: 20px; margin-bottom: 15px; color: var(--accent-primary); font-weight: 600;}
.faq-card p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* FOOTER */
.site-footer { background: #0b1120; padding: 80px 20px 30px; border-top: 1px solid var(--border);}
.footer-wrapper { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; margin-bottom: 60px;}
.footer-col h4 { font-size: 18px; margin-bottom: 25px; color: #fff; font-weight: 700;}
.footer-col p { color: var(--text-muted); font-size: 14px; line-height: 1.8; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 15px; }
.footer-col a { color: var(--text-muted); font-size: 14px; transition: var(--transition);}
.footer-col a:hover { color: var(--accent-primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 30px; text-align: center; font-size: 14px; color: var(--text-muted); }

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .broker-page-wrapper { flex-direction: column; }
    .broker-sidebar { width: 100%; position: relative; top: 0; display: grid; grid-template-columns: 1fr; padding-bottom: 40px;}
    .broker-sidebar-header { height: 80px; }
    .side-details { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding: 0 20px;}
    .side-details li { border: none; background: rgba(0,0,0,0.2); padding: 15px; border-radius: 8px;}
    .broker-sidebar .btn { width: 90%; margin: 0 auto;}
    .stats-grid-horizontal { grid-template-columns: repeat(2, 1fr); }
    .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; } 
    .hero-header { padding: 60px 20px; }
    .hero-header h1 { font-size: 38px; }
    .side-details { grid-template-columns: 1fr; }
    .content-body { padding: 30px 20px; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-wrapper { grid-template-columns: 1fr; text-align: center; gap: 40px;}
    .brand-logo { justify-content: center; width: 100%;}
}

@media (max-width: 576px) {
    .stats-grid-horizontal { grid-template-columns: 1fr; }
}
