/* ========================
   INTERVIEW PAGE STYLES
   ======================== */

/* --- Banner --- */
.interview-banner {
    background: linear-gradient(135deg, #1e3a5f 0%, #4f46e5 100%);
    padding: 50px 0 40px;
    color: #fff;
}
.interview-banner h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}
.interview-banner p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 0;
}
.interview-banner .breadcrumb-status ul {
    padding: 0; margin: 0 0 15px 0; list-style: none;
}
.interview-banner .breadcrumb-status ul li {
    display: inline-block; color: rgba(255,255,255,0.7); font-size: 14px;
}
.interview-banner .breadcrumb-status ul li a {
    color: rgba(255,255,255,0.85); text-decoration: none;
}
.interview-banner .breadcrumb-status ul li a:hover {
    color: #fff;
}
.interview-banner .breadcrumb-status ul li + li::before {
    content: "›"; margin: 0 8px; color: rgba(255,255,255,0.5);
}
.interview-banner .breadcrumb-status ul li.active {
    color: #fff;
}
.interview-meta {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}
.interview-meta span {
    background: rgba(255,255,255,0.15);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
}

/* --- Filter Tabs --- */
.interview-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.filter-btn {
    padding: 8px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    background: #fff;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn:hover,
.filter-btn.active {
    background: #4f46e5;
    color: #fff;
    border-color: #4f46e5;
}

/* --- Search Bar --- */
.interview-search {
    position: relative;
    margin-bottom: 30px;
}
.interview-search input {
    width: 100%;
    padding: 14px 20px 14px 50px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: border-color 0.3s;
}
.interview-search input:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}
.interview-search .search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 16px;
}

/* --- Question Card --- */
.qa-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.qa-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.qa-card-header {
    display: flex;
    align-items: flex-start;
    padding: 20px 24px;
    cursor: pointer;
    gap: 15px;
}
.qa-number {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    min-width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}
.qa-question {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.5;
    margin: 0;
}
.qa-toggle {
    color: #94a3b8;
    font-size: 18px;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-top: 4px;
}
.qa-card.open .qa-toggle {
    transform: rotate(180deg);
    color: #4f46e5;
}
.qa-difficulty {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 10px;
    vertical-align: middle;
}
.diff-easy {
    background: #dcfce7;
    color: #16a34a;
}
.diff-medium {
    background: #fef3c7;
    color: #d97706;
}
.diff-hard {
    background: #fee2e2;
    color: #dc2626;
}

/* --- Answer Body --- */
.qa-answer {
    display: none;
    padding: 0 24px 24px;
    border-top: 1px solid #f1f5f9;
}
.qa-card.open .qa-answer {
    display: block;
}
.qa-answer-content {
    padding-top: 20px;
    color: #475569;
    font-size: 15px;
    line-height: 1.8;
}
.qa-answer-content p {
    margin-bottom: 12px;
}
.qa-answer-content ul {
    padding-left: 20px;
    margin-bottom: 12px;
}
.qa-answer-content ul li {
    margin-bottom: 6px;
    position: relative;
    padding-left: 8px;
}
.qa-answer-content ul li::before {
    content: "▸";
    color: #4f46e5;
    position: absolute;
    left: -12px;
}

/* --- Code Block inside answer --- */
.qa-code-block {
    background: #1e293b;
    color: #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.7;
    overflow-x: auto;
    position: relative;
}
.qa-code-block .code-lang {
    position: absolute;
    top: 8px;
    right: 12px;
    background: rgba(255,255,255,0.1);
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 11px;
    color: #94a3b8;
}

/* --- Key Point Box --- */
.qa-key-point {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
    padding: 14px 18px;
    border-radius: 0 8px 8px 0;
    margin: 15px 0;
    font-size: 14px;
    color: #1e40af;
}
.qa-key-point strong {
    display: block;
    margin-bottom: 4px;
}

/* --- Tags --- */
.qa-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px dashed #e2e8f0;
}
.qa-tag {
    background: #f1f5f9;
    color: #64748b;
    padding: 3px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

/* --- Sidebar Stats --- */
.interview-stats-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 24px;
    margin-bottom: 20px;
}
.interview-stats-card h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #1e293b;
}
.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}
.stat-row:last-child {
    border-bottom: none;
}
.stat-label {
    font-size: 14px;
    color: #64748b;
}
.stat-value {
    font-weight: 700;
    font-size: 14px;
    color: #1e293b;
}
.stat-bar {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    margin-top: 6px;
    overflow: hidden;
}
.stat-bar-fill {
    height: 100%;
    border-radius: 3px;
}
.fill-easy { background: #22c55e; }
.fill-medium { background: #f59e0b; }
.fill-hard { background: #ef4444; }

/* --- Related Topics Sidebar --- */
.related-topics-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 24px;
    margin-bottom: 20px;
}
.related-topics-card h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1e293b;
}
.related-topic-link {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    color: #475569;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    margin-bottom: 4px;
}
.related-topic-link:hover {
    background: #f1f5f9;
    color: #4f46e5;
    text-decoration: none;
}
.related-topic-link i {
    margin-right: 8px;
    color: #4f46e5;
}

/* --- Expand/Collapse All --- */
.expand-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.expand-btn {
    padding: 8px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #475569;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}
.expand-btn:hover {
    background: #f8fafc;
    border-color: #4f46e5;
    color: #4f46e5;
}

/* --- Pagination --- */
.interview-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 30px;
}
.page-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    color: #475569;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-btn:hover,
.page-btn.active {
    background: #4f46e5;
    color: #fff;
    border-color: #4f46e5;
}

/* --- CTA Banner --- */
.interview-cta {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-radius: 14px;
    padding: 30px;
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
}
.interview-cta h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}
.interview-cta p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 18px;
}
.interview-cta .cta-btn {
    display: inline-block;
    background: #fff;
    color: #4f46e5;
    padding: 10px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
}
.interview-cta .cta-btn:hover {
    background: #f0f0ff;
    text-decoration: none;
}

/* --- Back to Top --- */
.questions-count-badge {
    background: rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    display: inline-block;
    margin-top: 12px;
}

@media (max-width: 768px) {
    .interview-banner h1 { font-size: 24px; }
    .interview-meta { gap: 10px; }
    .qa-card-header { padding: 15px 16px; }
    .qa-answer { padding: 0 16px 16px; }
    .qa-question { font-size: 14px; }
}

:root {
    --iq-primary: #1e293b;
    --iq-primary-light: #334155;
    --iq-accent: #f62121;
    --iq-accent-hover: #dc1e1e;
    --iq-accent-glow: rgba(246, 33, 33, 0.08);
    --iq-text: #334155;
    --iq-text-light: #64748b;
    --iq-text-muted: #94a3b8;
    --iq-bg: #f8fafc;
    --iq-white: #ffffff;
    --iq-border: #e2e8f0;
    --iq-border-light: #f1f5f9;
    --iq-success: #059669;
    --iq-success-bg: #ecfdf5;
    --iq-warning: #d97706;
    --iq-warning-bg: #fffbeb;
    --iq-danger: #dc2626;
    --iq-danger-bg: #fef2f2;
    --iq-shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --iq-shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --iq-shadow-lg: 0 10px 30px rgba(0,0,0,0.08);
    --iq-shadow-hover: 0 12px 35px rgba(0,0,0,0.1);
    --iq-radius: 12px;
    --iq-radius-lg: 16px;
    --iq-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
/* --- Global --- */
.iq-page * {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    box-sizing: border-box;
}
.iq-page {
    background: var(--iq-bg);
    min-height: 100vh;
}
/* --- Banner --- */
.iq-banner {
    background: var(--iq-primary);
    position: relative;
    overflow: hidden;
    padding: 48px 0 42px;
}
.iq-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(246,33,33,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.iq-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(246,33,33,0.3), transparent);
}
.iq-breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 0;
}
.iq-breadcrumb li {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    font-weight: 500;
}
.iq-breadcrumb li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color var(--iq-transition);
}
.iq-breadcrumb li a:hover {
    color: #fff;
}
.iq-breadcrumb li + li::before {
    content: "›";
    margin: 0 10px;
    color: rgba(255,255,255,0.3);
    font-size: 14px;
}
.iq-breadcrumb li.active {
    color: rgba(255,255,255,0.9);
}
.iq-banner h1 {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.iq-banner-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 0;
    line-height: 1.6;
    max-width: 600px;
}
.iq-banner-meta {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.iq-meta-badge {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.iq-meta-badge i {
    font-size: 12px;
    opacity: 0.7;
}
/* --- Content Area --- */
.iq-content-area {
    padding: 40px 0 60px;
}
/* --- Search --- */
.iq-search {
    position: relative;
    margin-bottom: 24px;
}
.iq-search input {
    width: 100%;
    padding: 15px 20px 15px 52px;
    border: 2px solid var(--iq-border);
    border-radius: var(--iq-radius);
    font-size: 15px;
    font-weight: 500;
    color: var(--iq-primary);
    background: var(--iq-white);
    transition: all var(--iq-transition);
    font-family: 'Inter', sans-serif;
}
.iq-search input::placeholder {
    color: var(--iq-text-muted);
    font-weight: 400;
}
.iq-search input:focus {
    outline: none;
    border-color: var(--iq-accent);
    box-shadow: 0 0 0 4px var(--iq-accent-glow);
}
.iq-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--iq-text-muted);
    font-size: 15px;
    pointer-events: none;
}
/* --- Filters --- */
.iq-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.iq-filter-btn {
    padding: 8px 20px;
    border: 1.5px solid var(--iq-border);
    border-radius: 100px;
    background: var(--iq-white);
    color: var(--iq-text-light);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--iq-transition);
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.2px;
}
.iq-filter-btn:hover {
    border-color: var(--iq-primary-light);
    color: var(--iq-primary);
    background: var(--iq-border-light);
}
.iq-filter-btn.active {
    background: var(--iq-primary);
    color: #fff;
    border-color: var(--iq-primary);
}
/* --- Controls Row --- */
.iq-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.iq-expand-controls {
    display: flex;
    gap: 8px;
}
.iq-expand-btn {
    padding: 7px 16px;
    border: 1.5px solid var(--iq-border);
    border-radius: 8px;
    background: var(--iq-white);
    color: var(--iq-text-light);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--iq-transition);
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.iq-expand-btn:hover {
    border-color: var(--iq-accent);
    color: var(--iq-accent);
}
.iq-results-count {
    font-size: 13px;
    color: var(--iq-text-muted);
    font-weight: 500;
}
/* ========================
   QUESTION CARD
   ======================== */
.iq-card {
    background: var(--iq-white);
    border-radius: var(--iq-radius);
    border: 1.5px solid var(--iq-border);
    margin-bottom: 16px;
    overflow: hidden;
    transition: all var(--iq-transition);
    box-shadow: var(--iq-shadow-sm);
}
.iq-card:hover {
    box-shadow: var(--iq-shadow-md);
    border-color: #cbd5e1;
}
.iq-card.open {
    border-color: var(--iq-accent);
    box-shadow: 0 4px 20px rgba(246, 33, 33, 0.06);
}
/* Card Header */
.iq-card-header {
    display: flex;
    align-items: flex-start;
    padding: 20px 24px;
    cursor: pointer;
    gap: 16px;
    user-select: none;
    transition: background var(--iq-transition);
}
.iq-card-header:hover {
    background: var(--iq-border-light);
}
.iq-card.open .iq-card-header {
    background: transparent;
}
/* Question Number */
.iq-num {
    min-width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    flex-shrink: 0;
    background: var(--iq-border-light);
    color: var(--iq-text-light);
    transition: all var(--iq-transition);
    letter-spacing: -0.3px;
}
.iq-card.open .iq-num {
    background: var(--iq-accent);
    color: #fff;
}
/* Question Text */
.iq-question {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: var(--iq-primary);
    line-height: 1.55;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 2px;
}
/* Difficulty Badge */
.iq-diff {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
    gap: 4px;
}
.iq-diff-easy {
    background: var(--iq-success-bg);
    color: var(--iq-success);
}
.iq-diff-medium {
    background: var(--iq-warning-bg);
    color: var(--iq-warning);
}
.iq-diff-hard {
    background: var(--iq-danger-bg);
    color: var(--iq-danger);
}
/* Toggle Icon */
.iq-toggle {
    color: var(--iq-text-muted);
    font-size: 14px;
    transition: all var(--iq-transition);
    flex-shrink: 0;
    margin-top: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}
.iq-card.open .iq-toggle {
    transform: rotate(180deg);
    color: var(--iq-accent);
    background: var(--iq-accent-glow);
}
/* ========================
   ANSWER BODY
   ======================== */
.iq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
}
.iq-card.open .iq-answer {
    max-height: 3000px;
    opacity: 1;
}
.iq-answer-inner {
    padding: 0 24px 24px;
    border-top: 1px solid var(--iq-border-light);
}
.iq-answer-content {
    padding-top: 20px;
    color: var(--iq-text);
    font-size: 14.5px;
    line-height: 1.85;
}
.iq-answer-content p {
    margin-bottom: 14px;
}
.iq-answer-content ul {
    padding-left: 0;
    margin-bottom: 16px;
    list-style: none;
}
.iq-answer-content ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 22px;
    line-height: 1.7;
}
.iq-answer-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--iq-accent);
    opacity: 0.6;
}
/* Code Block */
.iq-code {
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 10px;
    padding: 22px 24px;
    margin: 18px 0;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.75;
    overflow-x: auto;
    position: relative;
    border: 1px solid #1e293b;
}
.iq-code-lang {
    position: absolute;
    top: 10px;
    right: 14px;
    background: rgba(255,255,255,0.07);
    padding: 3px 12px;
    border-radius: 6px;
    font-size: 10px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.iq-code pre {
    margin: 0;
    background: transparent;
    border: none;
    padding: 0;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}
.iq-code code {
    background: transparent;
    color: inherit;
    font-family: inherit;
}
/* Key Point */
.iq-keypoint {
    background: #eff6ff;
    border-left: 3px solid #3b82f6;
    padding: 16px 20px;
    border-radius: 0 10px 10px 0;
    margin: 18px 0;
    font-size: 13.5px;
    color: #1e40af;
    line-height: 1.7;
}
.iq-keypoint strong {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #2563eb;
}
/* Tags */
.iq-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed var(--iq-border);
}
.iq-tag {
    background: var(--iq-border-light);
    color: var(--iq-text-light);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: all var(--iq-transition);
}
.iq-tag:hover {
    background: var(--iq-accent-glow);
    color: var(--iq-accent);
}
/* ========================
   SIDEBAR
   ======================== */
.iq-sidebar-card {
    background: var(--iq-white);
    border-radius: var(--iq-radius);
    border: 1.5px solid var(--iq-border);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--iq-shadow-sm);
}
.iq-sidebar-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--iq-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.2px;
}
.iq-sidebar-title i {
    font-size: 16px;
}
/* Stats */
.iq-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--iq-border-light);
}
.iq-stat-row:last-child {
    border-bottom: none;
}
.iq-stat-label {
    font-size: 13px;
    color: var(--iq-text-light);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}
.iq-stat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.iq-stat-dot-easy { background: var(--iq-success); }
.iq-stat-dot-medium { background: var(--iq-warning); }
.iq-stat-dot-hard { background: var(--iq-danger); }
.iq-stat-value {
    font-weight: 700;
    font-size: 13px;
    color: var(--iq-primary);
}
.iq-stat-bar {
    height: 5px;
    background: var(--iq-border-light);
    border-radius: 10px;
    margin-top: 8px;
    overflow: hidden;
}
.iq-stat-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.6s ease;
}
.iq-fill-easy { background: var(--iq-success); }
.iq-fill-medium { background: var(--iq-warning); }
.iq-fill-hard { background: var(--iq-danger); }
/* CTA */
.iq-cta {
    background: var(--iq-primary);
    border-radius: var(--iq-radius-lg);
    padding: 28px 24px;
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    border: none;
}
.iq-cta::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: var(--iq-accent);
    opacity: 0.1;
    border-radius: 50%;
}
.iq-cta h5 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
    position: relative;
}
.iq-cta p {
    font-size: 13px;
    opacity: 0.75;
    margin-bottom: 18px;
    line-height: 1.6;
    position: relative;
}
.iq-cta-btn {
    display: inline-block;
    background: var(--iq-accent);
    color: #fff !important;
    padding: 10px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none !important;
    transition: all var(--iq-transition);
    position: relative;
    letter-spacing: 0.3px;
}
.iq-cta-btn:hover {
    background: var(--iq-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(246, 33, 33, 0.25);
}
/* Related Topics */
.iq-topic-link {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--iq-text);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none !important;
    transition: all var(--iq-transition);
    margin-bottom: 3px;
    gap: 10px;
}
.iq-topic-link:hover {
    background: var(--iq-border-light);
    color: var(--iq-accent);
}
.iq-topic-link i {
    color: var(--iq-accent);
    font-size: 12px;
    width: 16px;
    text-align: center;
}
/* --- Pagination --- */
.iq-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 32px;
}
.iq-page-btn {
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--iq-border);
    border-radius: 10px;
    background: var(--iq-white);
    color: var(--iq-text-light);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all var(--iq-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
}
.iq-page-btn:hover,
.iq-page-btn.active {
    background: var(--iq-primary);
    color: #fff;
    border-color: var(--iq-primary);
}
/* --- Enquiry Form --- */
.iq-form-card .form-control {
    border-radius: 8px;
    border: 1.5px solid var(--iq-border);
    padding: 10px 16px;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    transition: all var(--iq-transition);
}
.iq-form-card .form-control:focus {
    border-color: var(--iq-accent);
    box-shadow: 0 0 0 3px var(--iq-accent-glow);
}
.iq-form-card .btn-submit {
    background: var(--iq-accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all var(--iq-transition);
    width: 100%;
    font-family: 'Inter', sans-serif;
}
.iq-form-card .btn-submit:hover {
    background: var(--iq-accent-hover);
}
/* --- Scroll to Top --- */
.iq-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--iq-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: var(--iq-shadow-lg);
    transition: all var(--iq-transition);
    z-index: 100;
}
.iq-scroll-top:hover {
    background: var(--iq-accent);
    transform: translateY(-2px);
}
.iq-scroll-top.visible {
    display: flex;
}
/* --- Progress Indicator --- */
.iq-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--iq-accent);
    z-index: 9999;
    transition: width 0.15s linear;
}
/* --- Animations --- */
@keyframes iq-fade-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
.iq-animate {
    animation: iq-fade-up 0.4s ease forwards;
    opacity: 0;
}
.iq-animate:nth-child(1) { animation-delay: 0.05s; }
.iq-animate:nth-child(2) { animation-delay: 0.1s; }
.iq-animate:nth-child(3) { animation-delay: 0.15s; }
.iq-animate:nth-child(4) { animation-delay: 0.2s; }
.iq-animate:nth-child(5) { animation-delay: 0.25s; }
/* --- Responsive --- */
@media (max-width: 991px) {
    .iq-sidebar-col {
        margin-top: 30px;
    }
}
@media (max-width: 768px) {
    .iq-banner { padding: 35px 0 30px; }
    .iq-banner h1 { font-size: 24px; }
    .iq-card-header { padding: 16px 18px; gap: 12px; }
    .iq-answer-inner { padding: 0 18px 18px; }
    .iq-question { font-size: 14px; }
    .iq-num { min-width: 34px; height: 34px; font-size: 12px; }
    .iq-content-area { padding: 24px 0 40px; }
    .iq-controls { flex-direction: column; gap: 12px; align-items: flex-start; }
}