/* ==========================================================================
   Risel – Skill Assessments & Technical Quizzes CSS
   Design System: Sora + Inter, Modern SaaS, Compact Viewport Layout
   ========================================================================== */

/* --- MAIN & HERO SECTION --- */
.sa-main {
    padding-bottom: 40px;
}

.sa-hero {
    padding: 10px 0 4px;
    text-align: center;
    position: relative;
}

.sa-hero-inner {
    max-width: 760px;
    margin: 0 auto;
}

.sa-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 102, 255, 0.08);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 6px;
    border: 1px solid rgba(0, 102, 255, 0.15);
}

.sa-hero-heading {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--text-main);
    margin-bottom: 4px;
}

.sa-hero-accent {
    background: linear-gradient(135deg, var(--primary) 0%, #00b4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sa-hero-desc {
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
}

/* --- HUB VIEW (TRACK SELECTION) --- */
.sa-hub-section {
    padding: 14px 0 24px;
}

.sa-hub-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 12px;
}

.sa-hub-title {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
}

.sa-hub-subtitle {
    font-size: 12.5px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.sa-hub-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Category Filter Switcher & Filter Bar */
.sa-filter-bar,
.sa-category-switcher {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color, #e2e8f0);
}

.sa-filter-btn,
.sa-cat-pill {
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary, #64748b);
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    outline: none;
}

.sa-filter-btn:hover,
.sa-cat-pill:hover {
    color: var(--primary, #0066FF);
    background: rgba(255, 255, 255, 0.6);
}

.sa-filter-btn.active,
.sa-cat-pill.active {
    background: white;
    color: var(--primary, #0066FF);
    font-weight: 700;
    box-shadow: 0 1px 4px rgba(0, 102, 255, 0.12), 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Cards Grid */
.sa-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.sa-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02);
    position: relative;
}

.sa-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 102, 255, 0.3);
    box-shadow: 0 10px 24px rgba(0, 102, 255, 0.06);
}

.sa-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.icon-blue { background: rgba(0, 102, 255, 0.08); color: #0066FF; }
.icon-amber { background: rgba(217, 119, 6, 0.08); color: #d97706; }
.icon-sky { background: rgba(2, 132, 199, 0.08); color: #0284c7; }
.icon-purple { background: rgba(147, 51, 234, 0.08); color: #9333ea; }
.icon-emerald { background: rgba(5, 150, 105, 0.08); color: #059669; }
.icon-indigo { background: rgba(79, 70, 229, 0.08); color: #4f46e5; }

.sa-card-title {
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
    line-height: 1.3;
}

.sa-card-desc {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1;
}

.sa-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 500;
    color: #64748b;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    margin-bottom: 14px;
}

.meta-dot {
    width: 3.5px;
    height: 3.5px;
    border-radius: 50%;
    background: #cbd5e1;
    display: inline-block;
}

/* Distinct Career Direction Card */
.sa-card-direction {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1.5px solid rgba(79, 70, 229, 0.2);
}

.sa-card-direction:hover {
    border-color: #4f46e5;
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.08);
}

.sa-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 10px;
    font-weight: 700;
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.08);
    padding: 2px 8px;
    border-radius: 100px;
    border: 1px solid rgba(79, 70, 229, 0.15);
    text-transform: uppercase;
}

/* Buttons */
.sa-btn-card-start,
.sa-btn-start {
    width: 100%;
    padding: 10px 16px;
    background: var(--primary, #0066FF);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 3px 10px rgba(0, 102, 255, 0.2);
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.sa-btn-card-start:hover,
.sa-btn-start:hover {
    background: var(--primary-hover, #0052cc);
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(0, 102, 255, 0.3);
}

.btn-featured,
.sa-btn-direction {
    background: #4f46e5;
    box-shadow: 0 3px 10px rgba(79, 70, 229, 0.2);
}

.btn-featured:hover,
.sa-btn-direction:hover {
    background: #4338ca;
    box-shadow: 0 5px 14px rgba(79, 70, 229, 0.3);
}

.sa-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 3px 10px rgba(0, 102, 255, 0.2);
}

.sa-btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.sa-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.sa-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-main);
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.sa-btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 102, 255, 0.03);
}

.sa-btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.sa-btn-text {
    background: transparent;
    border: none;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px 8px;
    font-family: inherit;
}

.sa-btn-text.danger {
    color: #ef4444;
}

.sa-btn-text.danger:hover {
    text-decoration: underline;
}

/* --- ACTIVE QUIZ WORKSPACE --- */
.sa-quiz-section {
    padding: 10px 0 30px;
}

.sa-quiz-workspace {
    max-width: 760px;
    margin: 0 auto;
}

.sa-quiz-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.sa-quiz-track-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sa-quiz-track-title {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
}

.sa-quiz-header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sa-quiz-progress-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.sa-quiz-timer {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main);
    transition: all 0.2s ease;
}

.sa-quiz-timer.warning {
    background: #fef2f2;
    border-color: #fecdd3;
    color: #dc2626;
    animation: sa-pulse 1s infinite;
}

@keyframes sa-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Progress Track */
.sa-progress-track {
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 16px;
}

.sa-progress-fill {
    height: 100%;
    background: var(--primary);
    width: 10%;
    transition: width 0.3s ease;
}

/* Question Card */
.sa-question-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin-bottom: 16px;
}

.sa-q-step-label {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.sa-q-text {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.45;
    margin-bottom: 20px;
}

/* 4 Options Grid */
.sa-options-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sa-option-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-main);
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sa-option-btn:hover {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.06);
}

.sa-option-btn.selected {
    background: rgba(0, 102, 255, 0.05);
    border-color: var(--primary);
    font-weight: 600;
}

.sa-option-letter {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: white;
    border: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.sa-option-btn.selected .sa-option-letter {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Quiz Navigation Bar */
.sa-quiz-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sa-quiz-nav-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- RESULTS VIEW --- */
.sa-results-section {
    padding: 10px 0 30px;
}

.sa-results-wrapper {
    max-width: 760px;
    margin: 0 auto;
}

.sa-results-hero-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin-bottom: 16px;
}

.sa-results-score-ring {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: white;
    border: 4px solid var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.12);
}

.sa-results-score-num {
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.sa-results-score-label {
    font-size: 9px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-top: 2px;
}

.sa-results-hero-info {
    flex: 1;
}

.sa-status-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.status-pass { background: rgba(5, 150, 105, 0.12); color: #059669; }
.status-fail { background: rgba(220, 38, 38, 0.12); color: #dc2626; }
.status-indigo { background: rgba(79, 70, 229, 0.12); color: #4f46e5; }

.sa-results-title {
    font-family: 'Sora', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-main);
}

.sa-results-desc {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Stats Breakdown Grid */
.sa-stats-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.sa-stat-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}

.sa-stat-val {
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.val-green { color: #059669; }
.val-red { color: #dc2626; }
.val-slate { color: #64748b; }
.val-blue { color: #0066FF; }

.sa-stat-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Skill Breakdown */
.sa-skill-breakdown-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
}

.sa-section-card-title {
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
}

.sa-skill-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.sa-skill-box {
    border-radius: 10px;
    padding: 12px 14px;
}

.box-green { background: rgba(5, 150, 105, 0.05); border: 1px solid rgba(5, 150, 105, 0.15); }
.box-amber { background: rgba(217, 119, 6, 0.05); border: 1px solid rgba(217, 119, 6, 0.15); }

.sa-skill-box-title {
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

.box-green .sa-skill-box-title { color: #059669; }
.box-amber .sa-skill-box-title { color: #d97706; }

.sa-skill-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sa-skill-list li {
    font-size: 12px;
    color: var(--text-main);
    line-height: 1.4;
    padding-left: 12px;
    position: relative;
}

.sa-skill-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
}

.list-green li::before { background: #059669; }
.list-amber li::before { background: #d97706; }

/* Risel Skill Badge Card */
.sa-badge-card {
    background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
    border: 1.5px solid rgba(0, 102, 255, 0.25);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.06);
}

.sa-badge-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.sa-badge-header h3 {
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
}

.sa-badge-header p {
    font-size: 11.5px;
    color: var(--primary);
    font-weight: 600;
}

.sa-badge-track-name {
    font-family: 'Sora', sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.sa-badge-details {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.sa-badge-code {
    font-family: monospace;
    font-size: 11px;
    color: #64748b;
    background: white;
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}

/* Answer Review Accordion */
.sa-review-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
}

.sa-review-header {
    margin-bottom: 14px;
}

.sa-review-header h3 {
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
}

.sa-review-header p {
    font-size: 12px;
    color: var(--text-secondary);
}

.sa-review-accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sa-review-item {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px;
    background: #f8fafc;
}

.sa-review-item.item-correct { border-left: 3.5px solid #059669; }
.sa-review-item.item-incorrect { border-left: 3.5px solid #dc2626; }

.sa-review-q {
    font-weight: 600;
    font-size: 13px;
    color: var(--text-main);
    margin-bottom: 6px;
}

.sa-review-ans-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 12px;
    margin-bottom: 6px;
}

.sa-ans-selected { color: #dc2626; }
.sa-ans-correct { color: #059669; font-weight: 600; }

.sa-review-explanation {
    font-size: 11.5px;
    color: var(--text-secondary);
    line-height: 1.45;
    background: white;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

/* Results Actions */
.sa-results-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* --- CAREER DIRECTION RESULTS --- */
.sa-direction-results-section {
    padding: 10px 0 30px;
}

.sa-direction-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(79, 70, 229, 0.08);
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sa-direction-paths-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 16px;
}

.sa-direction-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 18px;
}

.sa-direction-title {
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.sa-direction-reason {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 10px;
}

.sa-direction-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.sa-skill-tag {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--primary);
    background: rgba(0, 102, 255, 0.06);
    padding: 2px 7px;
    border-radius: 4px;
}

/* --- FEATURES / BENEFITS SECTION --- */
.sa-features-section {
    padding: 32px 0;
    background: #f8fafc;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.sa-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 24px;
}

.sa-section-header h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 800;
    letter-spacing: -0.6px;
    color: var(--text-main);
    margin-bottom: 6px;
}

.sa-section-header p {
    font-size: 14px;
    color: var(--text-secondary);
}

.sa-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.sa-feature-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 18px 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sa-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 102, 255, 0.25);
}

.sa-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.sa-feature-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.sa-feature-card p {
    font-size: 12px;
    line-height: 1.45;
    color: var(--text-secondary);
}

/* --- SEO SECTION --- */
.sa-seo-section {
    padding: 40px 0;
}

.sa-seo-box {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.sa-seo-box h2 {
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}

.sa-seo-box p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* --- FAQ SECTION --- */
.sa-faq-section {
    padding: 40px 0 60px;
}

.sa-faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sa-faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.sa-faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.06);
}

.sa-faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    text-align: left;
    cursor: pointer;
}

.sa-faq-icon {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-secondary);
    transition: transform 0.25s ease;
}

.sa-faq-item.active .sa-faq-icon {
    transform: rotate(45deg);
    color: var(--primary);
}

.sa-faq-ans {
    display: none;
    padding: 0 20px 16px;
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--text-secondary);
}

.sa-faq-item.active .sa-faq-ans {
    display: block;
}

/* --- TOAST NOTIFICATION --- */
.sa-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #0f172a;
    color: white;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 3000;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.sa-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .sa-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .sa-stats-breakdown-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sa-skill-two-col,
    .sa-direction-paths-grid {
        grid-template-columns: 1fr;
    }

    .sa-results-hero-card {
        flex-direction: column;
        text-align: center;
    }

    .sa-quiz-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .sa-quiz-header-right {
        width: 100%;
        justify-content: space-between;
    }
}
