.analyst-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 10%, rgba(96, 165, 250, .24), transparent 30%),
        radial-gradient(circle at 52% 100%, rgba(34, 211, 238, .13), transparent 34%),
        linear-gradient(135deg, #071120, #0b172a 56%, #102b58);
    color: #fff;
}

.analyst-hero::after {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(148, 163, 184, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, .045) 1px, transparent 1px);
    background-size: 42px 42px;
    content: "";
    mask-image: linear-gradient(to bottom, black, transparent 90%);
    pointer-events: none;
}

.analyst-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 520px;
    align-items: center;
    gap: 64px;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    padding: 82px 0;
}

.analyst-hero h1 {
    max-width: 760px;
    margin: 18px 0 20px;
    font-size: clamp(2.8rem, 6vw, 5.4rem);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: .96;
}

.analyst-hero-copy { max-width: 650px; color: #c3d0e2; font-size: 1.12rem; }

.analyst-hero-panel {
    border: 1px solid rgba(125, 211, 252, .23);
    border-radius: 20px;
    background: rgba(8, 20, 39, .75);
    box-shadow: 0 26px 70px rgba(0, 0, 0, .28);
    padding: 28px;
}

.analyst-panel-label, .analyst-tier-card p, .analyst-panel-grid span { color: #8ea5c5; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.analyst-panel-number { margin-top: 10px; font-size: 3.25rem; font-weight: 850; letter-spacing: -.05em; }
.analyst-panel-number span { color: #b8c5d8; font-size: 1rem; font-weight: 650; letter-spacing: 0; }
.analyst-panel-rule { height: 1px; margin: 24px 0; background: rgba(148, 163, 184, .18); }
.analyst-panel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.analyst-panel-grid div { display: grid; gap: 4px; }
.analyst-panel-grid strong { font-size: 1.55rem; }
.analyst-hero-panel > p { margin: 24px 0 0; color: #b8c5d8; font-size: .9rem; }

.analyst-directory-section { background: #f8fafc; }
.analyst-directory-head { align-items: end; }
.analyst-filter { display: grid; grid-template-columns: 140px minmax(220px, 1fr) auto; align-items: end; gap: 10px; }
.analyst-filter label { display: grid; gap: 6px; color: #475569; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.analyst-filter .button { min-height: 44px; }
.analyst-directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.analyst-card { position: relative; display: flex; min-height: 360px; flex-direction: column; overflow: hidden; border: 1px solid #dbe4ef; border-radius: 18px; background: #fff; box-shadow: 0 14px 35px rgba(15, 23, 42, .07); padding: 24px; }
.analyst-card::before { position: absolute; inset: 0 0 auto; height: 4px; background: #94a3b8; content: ""; }
.analyst-card-platinum::before { background: linear-gradient(90deg, #7dd3fc, #2563eb); }
.analyst-card-gold::before { background: linear-gradient(90deg, #fbbf24, #f97316); }
.analyst-card-silver::before { background: linear-gradient(90deg, #94a3b8, #64748b); }
.analyst-card-bronze::before { background: linear-gradient(90deg, #fb923c, #b45309); }
.analyst-card-featured { box-shadow: 0 18px 48px rgba(37, 99, 235, .14); }
.analyst-card-top, .analyst-card-footer, .profile-section-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.analyst-card-top { justify-content: flex-start; }
.analyst-avatar { width: 58px; height: 58px; flex: 0 0 58px; border-radius: 16px; object-fit: cover; }
.analyst-avatar-initials { display: grid; place-items: center; background: linear-gradient(145deg, #1d4ed8, #0f2f7c); color: #fff; font-size: 1.1rem; font-weight: 850; }
.tier-badge, .profile-verified, .pick-visibility, .pick-result { display: inline-flex; align-items: center; width: fit-content; border-radius: 999px; font-size: .68rem; font-weight: 850; letter-spacing: .07em; padding: 6px 9px; text-transform: uppercase; }
.tier-badge { background: #e2e8f0; color: #334155; }
.tier-platinum { background: #dbeafe; color: #1d4ed8; }
.tier-gold { background: #fef3c7; color: #a16207; }
.tier-silver { background: #e2e8f0; color: #475569; }
.tier-bronze { background: #ffedd5; color: #9a3412; }
.profile-verified { margin-left: 5px; background: #dcfce7; color: #166534; }
.analyst-card h3 { margin: 24px 0 6px; color: #0f172a; font-size: 1.5rem; font-weight: 820; letter-spacing: -.03em; }
.analyst-card-headline { min-height: 26px; margin: 0; color: #1d4ed8; font-weight: 750; }
.analyst-card-bio { display: -webkit-box; min-height: 72px; margin: 12px 0 18px; overflow: hidden; color: #475569; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.analyst-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.analyst-tags span { border: 1px solid #dbe4ef; border-radius: 999px; color: #475569; font-size: .78rem; padding: 5px 9px; }
.analyst-card-footer { margin-top: auto; border-top: 1px solid #e2e8f0; padding-top: 18px; }
.analyst-card-price { color: #0f172a; font-size: 1.15rem; font-weight: 850; }
.analyst-card-price small, .analyst-tier-card strong small, .profile-side-price small { color: #64748b; font-size: .76rem; font-weight: 650; }
.text-link { color: #1d4ed8; font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.analyst-empty-state { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 24px; border: 1px solid #dbe4ef; border-radius: 18px; background: #fff; box-shadow: 0 14px 35px rgba(15, 23, 42, .06); padding: 30px; }
.analyst-empty-mark { display: grid; width: 70px; height: 70px; place-items: center; border-radius: 20px; background: linear-gradient(145deg, #2563eb, #0f2f7c); color: #fff; font-size: 1.25rem; font-weight: 900; }
.analyst-empty-state h3 { margin: 4px 0 8px; color: #0f172a; font-size: 1.45rem; }
.analyst-empty-state p:not(.section-kicker) { max-width: 700px; margin: 0 0 18px; color: #475569; }
.analyst-tier-section { background: #fff; }
.analyst-tier-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.analyst-tier-card { border: 1px solid #dbe4ef; border-top: 3px solid #94a3b8; border-radius: 14px; background: #fff; padding: 20px; }
.analyst-tier-platinum { border-top-color: #2563eb; }
.analyst-tier-gold { border-top-color: #f59e0b; }
.analyst-tier-silver { border-top-color: #64748b; }
.analyst-tier-bronze { border-top-color: #c2410c; }
.analyst-tier-card-top { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.analyst-tier-card strong { color: #0f172a; font-size: 1.25rem; }
.analyst-tier-card h3 { min-height: 50px; margin: 22px 0 10px; color: #0f172a; font-size: 1.08rem; }
.analyst-tier-card p { margin: 0 0 10px; letter-spacing: 0; text-transform: none; }
.tier-meter { height: 5px; margin: 12px 0 18px; overflow: hidden; border-radius: 999px; background: #e2e8f0; }
.tier-meter span { display: block; height: 100%; border-radius: inherit; background: #2563eb; }
.tier-meter-fill-0 { width: 0; }
.tier-meter-fill-1 { width: 20%; }
.tier-meter-fill-2 { width: 40%; }
.tier-meter-fill-3 { width: 60%; }
.tier-meter-fill-4 { width: 80%; }
.tier-meter-fill-5 { width: 100%; }
.analyst-trust-section { background: #eef4fb; }
.analyst-trust-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; }
.analyst-trust-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.analyst-trust-points div { display: grid; align-content: start; gap: 8px; border-left: 3px solid #2563eb; padding-left: 14px; }
.analyst-trust-points strong { color: #0f172a; }
.analyst-trust-points span { color: #475569; font-size: .92rem; }

.analyst-profile-hero { background: linear-gradient(135deg, #071120, #102039 62%, #0b2251); color: #fff; }
.analyst-profile-hero-inner { padding: 34px 0 66px; }
.back-link { color: #b8c5d8; font-weight: 750; text-decoration: none; }
.back-link:hover { color: #fff; }
.analyst-profile-heading { display: flex; align-items: center; gap: 24px; margin-top: 44px; }
.analyst-profile-avatar { width: 104px; height: 104px; flex: 0 0 104px; border: 1px solid rgba(125, 211, 252, .36); border-radius: 24px; object-fit: cover; }
.analyst-profile-heading h1 { margin: 12px 0 4px; font-size: clamp(2.2rem, 5vw, 4.3rem); font-weight: 900; letter-spacing: -.055em; line-height: 1; }
.analyst-profile-heading p { margin: 0; color: #b8c5d8; font-size: 1.08rem; }
.analyst-profile-section { background: #f8fafc; }
.analyst-profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); gap: 56px; }
.analyst-profile-bio { max-width: 760px; color: #334155; font-size: 1.1rem; line-height: 1.75; }
.analyst-profile-tags { margin: 24px 0 32px; }
.profile-detail-block { margin-top: 38px; }
.profile-detail-block h3 { margin: 0 0 12px; color: #0f172a; font-size: 1.35rem; }
.profile-detail-block p { color: #475569; }
.profile-side-card { border: 1px solid #dbe4ef; border-radius: 16px; background: #fff; box-shadow: 0 14px 35px rgba(15, 23, 42, .07); padding: 24px; }
.profile-side-card + .profile-side-card { margin-top: 16px; }
.profile-side-card h2 { margin: 6px 0 4px; color: #0f172a; font-size: 1.45rem; }
.profile-side-card p:not(.section-kicker) { color: #475569; }
.profile-side-price { color: #0f172a; font-size: 2.2rem; font-weight: 880; }
.profile-side-card .button { width: 100%; margin-top: 12px; }
.profile-record-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 20px 0; }
.profile-record-grid div { display: grid; gap: 3px; text-align: center; }
.profile-record-grid strong { color: #0f172a; font-size: 1.5rem; }
.profile-record-grid span { color: #64748b; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.analyst-pick-list { border-top: 1px solid #dbe4ef; }
.analyst-pick-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #dbe4ef; padding: 16px 0; }
.analyst-pick-row > div:first-child { display: grid; gap: 4px; }
.analyst-pick-row span, .analyst-pick-row small { color: #64748b; font-size: .76rem; }
.analyst-pick-row strong { color: #0f172a; }
.analyst-pick-meta { display: grid; justify-items: end; gap: 5px; }
.pick-visibility { background: #e0f2fe; color: #075985; }
.pick-result-win { background: #dcfce7; color: #166534; }
.pick-result-loss { background: #fee2e2; color: #991b1b; }
.pick-result-push, .pick-result-void { background: #fef3c7; color: #92400e; }
.profile-disclosure { margin-top: 34px; color: #64748b; font-size: .86rem; }
.analyst-ad-card { border-color: #bfdbfe; background: linear-gradient(145deg, #eff6ff, #fff); }

@media (max-width: 980px) {
    .analyst-hero-grid, .analyst-trust-grid, .analyst-profile-layout { grid-template-columns: 1fr; }
    .analyst-hero-grid { gap: 34px; padding: 62px 0; }
    .analyst-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .analyst-tier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .analyst-trust-grid { gap: 32px; }
}

@media (max-width: 640px) {
    .analyst-hero h1 { font-size: 3.2rem; }
    .analyst-panel-number { font-size: 2.7rem; }
    .analyst-directory-head { align-items: stretch; }
    .analyst-filter { grid-template-columns: 1fr; }
    .analyst-filter .button { width: 100%; }
    .analyst-directory-grid, .analyst-tier-grid, .analyst-trust-points { grid-template-columns: 1fr; }
    .analyst-empty-state { grid-template-columns: 1fr; }
    .analyst-profile-heading { align-items: flex-start; flex-direction: column; }
    .analyst-profile-heading h1 { font-size: 2.7rem; }
    .analyst-pick-row { align-items: flex-start; flex-direction: column; }
    .analyst-pick-meta { justify-items: start; }
}

