/* ============================================
   Investment Banking Page - Styles
   ============================================ */

/* ============================================
   Icon Color Variants
   ============================================ */
.ib-icon-blue {
    background: var(--blue-bg);
    color: var(--blue);
}

.ib-icon-green {
    background: var(--green-bg);
    color: var(--green);
}

.ib-icon-orange {
    background: var(--orange-bg);
    color: var(--orange);
}

/* ============================================
   Hero Stats Strip
   ============================================ */
.ib-hero-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.ib-hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-width: 130px;
    transition: all 0.3s ease;
}

.ib-hero-stat:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(108, 92, 231, 0.15);
}

.ib-hero-stat-num {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--accent-light), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ib-hero-stat-num.green {
    background: linear-gradient(135deg, var(--green), #4dabf7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ib-hero-stat-num.orange {
    background: linear-gradient(135deg, var(--orange), var(--yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ib-hero-stat-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   Q&A Search Bar
   ============================================ */
.ib-search-bar {
    position: relative;
    margin-bottom: 20px;
}

.ib-search-bar svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    transition: color 0.2s ease;
}

.ib-search-bar input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    font-weight: 500;
    transition: all 0.2s ease;
    outline: none;
}

.ib-search-bar input::placeholder {
    color: var(--text-muted);
}

.ib-search-bar input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

.ib-search-bar input:focus + svg,
.ib-search-bar:focus-within svg {
    color: var(--accent-light);
}

.ib-search-count {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 2px 8px;
    background: var(--bg-card);
    border-radius: 100px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.ib-search-count.visible {
    opacity: 1;
}

.ib-qa-card.ib-search-hidden {
    display: none;
}

/* No results message */
.ib-no-results {
    display: none;
    text-align: center;
    padding: 48px 24px;
    color: var(--text-muted);
    font-size: 14px;
}

.ib-no-results.visible {
    display: block;
}

.ib-no-results svg {
    margin-bottom: 12px;
    opacity: 0.4;
}

/* ============================================
   Tab Navigation Enhancements
   ============================================ */
.net-tool-nav .category-btn .ib-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    margin-left: 4px;
    line-height: 1;
}

.net-tool-nav .category-btn.active .ib-tab-count {
    background: rgba(255, 255, 255, 0.2);
}

/* ============================================
   Q&A Accordion Cards
   ============================================ */
.ib-qa-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ib-qa-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.25s ease;
}

.ib-qa-card:hover {
    border-color: var(--border-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.ib-qa-card.open {
    border-color: rgba(108, 92, 231, 0.35);
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.1);
    transform: none;
}

.ib-qa-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    cursor: pointer;
    transition: background 0.2s ease;
    user-select: none;
}

.ib-qa-header:hover {
    background: var(--bg-card-hover);
}

.ib-qa-num {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    flex-shrink: 0;
    background: var(--accent-glow);
    color: var(--accent-light);
    transition: all 0.2s ease;
}

.ib-qa-card.open .ib-qa-num {
    background: var(--accent);
    color: white;
}

.ib-qa-num.advanced {
    background: var(--orange-bg);
    color: var(--orange);
}

.ib-qa-card.open .ib-qa-num.advanced {
    background: var(--orange);
    color: white;
}

.ib-qa-question {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
}

.ib-qa-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.ib-qa-toggle svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ib-qa-card.open .ib-qa-toggle {
    background: var(--accent-glow);
    border-color: var(--accent);
    color: var(--accent-light);
}

.ib-qa-card.open .ib-qa-toggle svg {
    transform: rotate(180deg);
}

/* Answer with smooth animation */
.ib-qa-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0 22px;
    border-top: 1px solid transparent;
}

.ib-qa-card.open .ib-qa-answer {
    max-height: 2000px;
    padding: 0 22px 22px;
    border-top-color: var(--border);
}

.ib-qa-answer p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-top: 16px;
    margin-bottom: 10px;
}

.ib-qa-answer p:last-child {
    margin-bottom: 0;
}

.ib-qa-answer strong {
    color: var(--text-primary);
}

.ib-qa-answer ul,
.ib-qa-answer ol {
    padding-left: 20px;
    margin: 10px 0;
}

.ib-qa-answer ul li,
.ib-qa-answer ol li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 6px;
}

.ib-qa-answer ul li strong,
.ib-qa-answer ol li strong {
    color: var(--text-primary);
}

/* Formula / Key Equation Callout */
.ib-formula {
    margin: 14px 0;
    padding: 14px 18px;
    background: rgba(108, 92, 231, 0.06);
    border: 1px solid rgba(108, 92, 231, 0.15);
    border-radius: var(--radius-sm);
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-light);
    line-height: 1.6;
}

/* Pro Tip inside Q&A */
.ib-qa-tip {
    margin-top: 14px;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-left: 3px solid var(--yellow);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.ib-qa-tip strong {
    color: var(--yellow);
}

/* ============================================
   Section Controls (Expand All / Count / Filter)
   ============================================ */
.ib-section-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.ib-controls-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ib-expand-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.ib-expand-all-btn:hover {
    border-color: var(--accent);
    color: var(--accent-light);
    background: rgba(108, 92, 231, 0.06);
}

/* Difficulty filter buttons */
.ib-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-family: inherit;
}

.ib-filter-btn:hover {
    border-color: var(--border-light);
}

.ib-filter-btn.active {
    border-color: var(--accent);
    color: var(--accent-light);
    background: rgba(108, 92, 231, 0.1);
}

.ib-filter-basic {
    color: var(--green);
}

.ib-filter-basic.active {
    border-color: var(--green);
    background: rgba(0, 210, 160, 0.1);
    color: var(--green);
}

.ib-filter-advanced {
    color: var(--orange);
}

.ib-filter-advanced.active {
    border-color: var(--orange);
    background: rgba(255, 169, 77, 0.1);
    color: var(--orange);
}

.ib-question-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 6px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 100px;
}

/* Difficulty Badges */
.ib-qa-difficulty {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.ib-diff-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ib-diff-basic {
    background: rgba(0, 210, 160, 0.1);
    color: var(--green);
    border: 1px solid rgba(0, 210, 160, 0.25);
}

.ib-diff-basic::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
}

.ib-diff-advanced {
    background: rgba(255, 169, 77, 0.1);
    color: var(--orange);
    border: 1px solid rgba(255, 169, 77, 0.25);
}

.ib-diff-advanced::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
}

/* ============================================
   Difficulty Section Dividers
   ============================================ */
.ib-difficulty-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 28px 0 16px;
    padding: 0;
}

.ib-difficulty-divider:first-child {
    margin-top: 0;
}

.ib-difficulty-divider-line {
    flex: 1;
    height: 1px;
    background: var(--border);
}

.ib-difficulty-divider-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.ib-difficulty-divider-label.basic {
    background: rgba(0, 210, 160, 0.08);
    color: var(--green);
    border: 1px solid rgba(0, 210, 160, 0.2);
}

.ib-difficulty-divider-label.advanced {
    background: rgba(255, 169, 77, 0.08);
    color: var(--orange);
    border: 1px solid rgba(255, 169, 77, 0.2);
}

/* ============================================
   Progress Bar (Top of Q&A sections)
   ============================================ */
.ib-progress-bar {
    width: 100%;
    height: 3px;
    background: var(--border);
    border-radius: 3px;
    margin-bottom: 24px;
    overflow: hidden;
}

.ib-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--green));
    border-radius: 3px;
    width: 0%;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Back to Top Button
   ============================================ */
.ib-back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: var(--accent);
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 90;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(108, 92, 231, 0.4);
    pointer-events: none;
}

.ib-back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.ib-back-to-top:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(108, 92, 231, 0.5);
}

/* ============================================
   Two-Column Layout
   ============================================ */
.ib-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
}

.ib-col-card {
    padding: 20px 22px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s ease;
}

.ib-col-card:hover {
    border-color: var(--border-light);
}

.ib-col-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.ib-col-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

.ib-col-card ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}

.ib-col-card ul li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.ib-col-card ul li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: var(--accent-light);
}

.ib-col-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.ib-col-num {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--accent-glow);
    color: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
}

.ib-col-header h4 {
    margin-bottom: 0;
}

/* M&A and ECM column accents */
.ib-col-ma {
    border-color: rgba(77, 171, 247, 0.2);
}

.ib-col-ecm {
    border-color: rgba(0, 210, 160, 0.2);
}

/* Example Deal Callout */
.ib-example-deal {
    margin-top: 12px;
    padding: 10px 14px;
    background: rgba(108, 92, 231, 0.06);
    border: 1px solid rgba(108, 92, 231, 0.15);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.ib-example-deal strong {
    color: var(--accent-light);
}

/* ============================================
   Tag List
   ============================================ */
.ib-tag-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ib-tag-list li {
    padding: 4px 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
}

.ib-tag-list li::before {
    display: none;
}

/* ============================================
   Bank Tiers
   ============================================ */
.ib-bank-tiers {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.ib-tier {
    padding: 20px 22px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s ease;
}

.ib-tier:hover {
    border-color: var(--border-light);
}

.ib-tier p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 10px;
}

.ib-tier-label {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.ib-tier-bb {
    background: rgba(77, 171, 247, 0.12);
    color: var(--blue);
    border: 1px solid rgba(77, 171, 247, 0.25);
}

.ib-tier-eb {
    background: rgba(0, 210, 160, 0.12);
    color: var(--green);
    border: 1px solid rgba(0, 210, 160, 0.25);
}

.ib-tier-mm {
    background: rgba(255, 169, 77, 0.12);
    color: var(--orange);
    border: 1px solid rgba(255, 169, 77, 0.25);
}

.ib-bank-names {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
    padding-top: 6px;
    border-top: 1px solid var(--border);
}

/* Green number variant */
.ib-num-green {
    background: var(--green-bg);
    color: var(--green);
}

/* ============================================
   Exit Opportunities Grid
   ============================================ */
.ib-exit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 16px;
}

.ib-exit-card {
    padding: 18px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
}

.ib-exit-card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.ib-exit-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.ib-exit-card p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* ============================================
   Hierarchy / Role Cards
   ============================================ */
.ib-hierarchy {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ib-role-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    transition: border-color 0.2s ease;
}

.ib-role-card:hover {
    border-color: var(--border-light);
}

.ib-role-card-md {
    border-color: rgba(255, 212, 59, 0.3);
    background: linear-gradient(135deg, var(--bg-card), rgba(255, 212, 59, 0.03));
}

.ib-role-level {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.ib-role-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ib-badge-analyst {
    background: rgba(77, 171, 247, 0.12);
    color: var(--blue);
    border: 1px solid rgba(77, 171, 247, 0.25);
}

.ib-badge-associate {
    background: rgba(0, 210, 160, 0.12);
    color: var(--green);
    border: 1px solid rgba(0, 210, 160, 0.25);
}

.ib-badge-vp {
    background: rgba(255, 169, 77, 0.12);
    color: var(--orange);
    border: 1px solid rgba(255, 169, 77, 0.25);
}

.ib-badge-dir {
    background: rgba(162, 155, 254, 0.12);
    color: var(--accent-light);
    border: 1px solid rgba(162, 155, 254, 0.25);
}

.ib-badge-md {
    background: rgba(255, 212, 59, 0.12);
    color: var(--yellow);
    border: 1px solid rgba(255, 212, 59, 0.25);
}

.ib-role-years {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.ib-role-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.ib-role-card > p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.ib-role-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ib-role-section h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.ib-role-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ib-role-section ul li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.ib-role-section ul li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: var(--accent-light);
}

.ib-role-section p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Compensation Range */
.ib-comp-range {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ib-comp-item {
    padding: 10px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 140px;
    transition: border-color 0.2s ease;
}

.ib-comp-item:hover {
    border-color: var(--border-light);
}

.ib-comp-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ib-comp-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--green);
}

.ib-comp-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
    line-height: 1.5;
}

/* ============================================
   Timeline
   ============================================ */
.ib-timeline {
    position: relative;
    padding-left: 28px;
    margin-top: 20px;
}

.ib-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--border));
}

.ib-timeline-item {
    position: relative;
    padding-bottom: 24px;
}

.ib-timeline-item:last-child {
    padding-bottom: 0;
}

.ib-timeline-marker {
    position: absolute;
    left: -22px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    z-index: 1;
    transition: all 0.2s ease;
}

.ib-marker-active {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
}

.ib-timeline-content {
    padding-left: 8px;
}

.ib-timeline-when {
    display: inline-block;
    padding: 3px 10px;
    background: var(--accent-glow);
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 8px;
}

.ib-timeline-content h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.ib-timeline-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ib-timeline-content ul li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.ib-timeline-content ul li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: var(--accent-light);
}

/* ============================================
   Financial Statements Grid
   ============================================ */
.ib-statement-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.ib-statement-card {
    padding: 22px 24px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    transition: border-color 0.2s ease;
}

.ib-statement-card:hover {
    border-color: var(--border-light);
}

.ib-statement-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.ib-stmt-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 10px;
}

.ib-statement-card > p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.ib-stmt-income {
    border-left: 3px solid var(--blue);
}

.ib-stmt-balance {
    border-left: 3px solid var(--green);
}

.ib-stmt-cashflow {
    border-left: 3px solid var(--orange);
}

/* Statement Flow */
.ib-stmt-flow {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin: 12px 0;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.ib-stmt-item {
    padding: 6px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.ib-stmt-arrow {
    font-size: 12px;
    color: var(--text-muted);
    padding-left: 8px;
    font-weight: 500;
}

.ib-stmt-highlight {
    background: var(--accent-glow);
    border-color: rgba(108, 92, 231, 0.3);
    color: var(--accent-light);
}

/* Key Terms */
.ib-key-terms {
    margin-top: 12px;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.ib-key-terms p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 6px;
}

.ib-key-terms p:last-child {
    margin-bottom: 0;
}

.ib-key-terms strong {
    color: var(--text-primary);
}

/* ============================================
   Valuation Grid
   ============================================ */
.ib-valuation-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.ib-val-card {
    padding: 22px 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    position: relative;
    transition: border-color 0.2s ease;
}

.ib-val-card:hover {
    border-color: var(--border-light);
}

.ib-val-num {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--accent-glow);
    color: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
}

.ib-val-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    padding-right: 40px;
}

.ib-val-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 8px;
}

.ib-val-card p:last-child {
    margin-bottom: 0;
}

.ib-val-card ol {
    padding-left: 18px;
    margin: 8px 0;
}

.ib-val-card ol li {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 4px;
}

/* ============================================
   Question List (Technical + Behavioral)
   ============================================ */
.ib-question-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.ib-question-item {
    display: flex;
    gap: 14px;
    padding: 18px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    align-items: flex-start;
    transition: border-color 0.2s ease;
}

.ib-question-item:hover {
    border-color: var(--border-light);
}

.ib-q-num {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--accent-glow);
    color: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
}

.ib-q-content {
    flex: 1;
}

.ib-q-content strong {
    display: block;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.ib-q-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   IB Resume Examples
   ============================================ */
.ib-resume-examples {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 16px;
}

.ib-resume-example h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 8px;
}

/* ============================================
   Keywords Grid
   ============================================ */
.ib-keywords-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 16px;
}

.ib-keyword-group {
    padding: 16px 18px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.ib-keyword-group h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.ib-keyword-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ib-keyword-tags span {
    padding: 3px 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
    .ib-two-col {
        grid-template-columns: 1fr;
    }

    .ib-exit-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ib-keywords-grid {
        grid-template-columns: 1fr;
    }

    .ib-comp-range {
        flex-direction: column;
    }

    .ib-comp-item {
        min-width: auto;
    }

    .ib-qa-question {
        font-size: 14px;
    }

    .ib-hero-stats {
        gap: 16px;
    }

    .ib-hero-stat {
        min-width: 100px;
        padding: 12px 16px;
    }

    .ib-hero-stat-num {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .ib-exit-grid {
        grid-template-columns: 1fr;
    }

    .ib-role-card {
        padding: 20px 18px;
    }

    .ib-statement-card {
        padding: 16px 18px;
    }

    .ib-val-card {
        padding: 16px 18px;
    }

    .ib-val-num {
        position: static;
        margin-bottom: 10px;
    }

    .ib-val-card h4 {
        padding-right: 0;
    }

    .ib-question-item {
        padding: 14px 16px;
    }

    .ib-timeline {
        padding-left: 24px;
    }

    .ib-qa-header {
        padding: 14px 16px;
    }

    .ib-qa-answer {
        padding: 0 16px;
    }

    .ib-qa-card.open .ib-qa-answer {
        padding: 0 16px 16px;
    }

    .ib-qa-num {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .ib-qa-question {
        font-size: 13px;
    }

    .ib-qa-answer p,
    .ib-qa-answer ul li,
    .ib-qa-answer ol li {
        font-size: 13px;
    }

    .ib-section-controls {
        flex-direction: column;
        align-items: flex-start;
    }

    .ib-controls-left {
        flex-wrap: wrap;
    }

    .ib-formula {
        font-size: 12px;
        overflow-x: auto;
    }

    .ib-hero-stats {
        gap: 10px;
    }

    .ib-hero-stat {
        min-width: 90px;
        padding: 10px 14px;
    }

    .ib-hero-stat-num {
        font-size: 22px;
    }

    .ib-hero-stat-label {
        font-size: 10px;
    }

    .ib-back-to-top {
        bottom: 20px;
        right: 20px;
        min-width: 44px;
        min-height: 44px;
    }

    .ib-search-bar input {
        font-size: 13px;
        padding: 10px 14px 10px 40px;
    }
}

@media (max-width: 480px) {
    .ib-hero-stat {
        min-width: auto;
        padding: 10px 12px;
    }

    .ib-hero-stat-num {
        font-size: 20px;
    }

    .ib-role-card {
        padding: 16px 14px;
    }

    .ib-statement-card {
        padding: 14px 14px;
    }

    .ib-val-card {
        padding: 14px 14px;
    }

    .ib-question-item {
        padding: 12px 12px;
    }

    .ib-qa-header {
        padding: 12px 12px;
        gap: 10px;
    }

    .ib-qa-answer {
        padding: 0 12px;
    }

    .ib-qa-card.open .ib-qa-answer {
        padding: 0 12px 12px;
    }

    .ib-exit-card {
        padding: 14px 14px;
    }

    .ib-keyword-group {
        padding: 12px 14px;
    }
}
