* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
    color: white;
}

header h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: 700;
}

header p {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 300;
}


.section {
    background: white;
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    animation: fadeInUp 0.8s ease-out;
    backdrop-filter: blur(10px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.3);
}

.btn-large {
    font-size: 1.3rem;
    padding: 18px 45px;
    margin-top: 25px;
    border-radius: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Enhanced Progress Bar */
.progress-bar {
    width: 100%;
    height: 25px;
    background: #e9ecef;
    border-radius: 15px;
    margin-bottom: 35px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 15px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

#progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 700;
    color: #333;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

/* Enhanced Question Container */
.question-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 35px;
    border-left: 6px solid #667eea;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    position: relative;
}

.question-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 0 15px 0 15px;
    opacity: 0.1;
}

.question-type-indicator {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
    animation: slideIn 0.5s ease-out;
}

.question-container h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.5;
}

.response-container {
    margin-bottom: 35px;
}

.response-methods {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

#text-response {
    width: 100%;
    min-height: 140px;
    padding: 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 16px;
    resize: vertical;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    font-family: inherit;
    line-height: 1.6;
}

#text-response:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

/* Enhanced Conversation History */
.conversation-history {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 15px;
    max-height: 500px;
    overflow-y: auto;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.05);
}

.conversation-entry {
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border-left: 5px solid #667eea;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
    position: relative;
}

.conversation-entry:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.conversation-entry.enhanced::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    background: #28a745;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.question-label, .answer-label, .coach-label {
    font-weight: 700;
    margin-right: 8px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.conversation-entry .question {
    color: #667eea;
    margin-bottom: 12px;
    font-weight: 600;
}

.conversation-entry .answer {
    color: #333;
    margin-bottom: 12px;
    font-style: italic;
    position: relative;
}

.energy-indicator {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2rem;
    animation: bounce 0.5s ease-out;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.conversation-entry .coach-response {
    color: #28a745;
    font-weight: 600;
    font-size: 0.95rem;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    border-left: 3px solid #28a745;
}

/* Enhanced Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 35px;
}

.result-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 15px;
    border-top: 5px solid #667eea;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.result-card h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.3rem;
    font-weight: 700;
}

.result-card ul {
    list-style: none;
    padding: 0;
}

.result-card li {
    background: white;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.result-card li:hover {
    transform: translateX(5px);
    border-left-color: #764ba2;
}

/* Enhanced Circle Visualization */
.circle-score {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.circle-score.enhanced {
    animation: slideIn 0.6s ease-out;
}

.circle-score:hover {
    transform: scale(1.02);
}

.circle-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.circle-icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.circle-name {
    font-weight: 700;
    text-transform: capitalize;
    font-size: 1.1rem;
}

.circle-bar {
    width: 200px;
    height: 25px;
    background: #e9ecef;
    border-radius: 15px;
    overflow: hidden;
    margin: 0 20px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.circle-fill {
    height: 100%;
    border-radius: 15px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.circle-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

.circle-value {
    font-weight: 700;
    min-width: 40px;
    text-align: right;
    font-size: 1.1rem;
    color: #333;
}

/* Enhanced Tags */
#tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease;
    cursor: default;
}

.tag.enhanced {
    animation: slideIn 0.5s ease-out;
}

.tag:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* New Enhanced Sections */
.precision-predictions-section,
.market-intelligence-section,
.psychological-insights-section {
    background: white;
    border-radius: 20px;
    padding: 35px;
    margin: 25px 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    animation: fadeInUp 0.8s ease-out;
}

.precision-predictions-section h2,
.market-intelligence-section h2,
.psychological-insights-section h2 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
}

.predictions-grid,
.intelligence-grid,
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.prediction-card,
.intelligence-card,
.insight-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid #667eea;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.prediction-card:hover,
.intelligence-card:hover,
.insight-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.prediction-card h3,
.intelligence-card h3,
.insight-card h3 {
    color: #667eea;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.salary-info {
    space-y: 10px;
}

.salary-item {
    background: white;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 8px;
    border-left: 3px solid #28a745;
}

.full-width {
    grid-column: 1 / -1;
}

/* Enhanced Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    color: white;
    backdrop-filter: blur(5px);
}

.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #f3f3f3;
    border-top: 6px solid #667eea;
    border-right: 6px solid #764ba2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 25px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-overlay p {
    font-size: 1.3rem;
    text-align: center;
    font-weight: 600;
    animation: pulse 2s infinite;
}

/* Recording Interface Enhancements */
.recording-interface {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
    border: 3px dashed #667eea;
    text-align: center;
}

.recording-status {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    margin-bottom: 25px;
}

.recording-dot {
    width: 25px;
    height: 25px;
    background: #dc3545;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
    box-shadow: 0 0 10px rgba(220, 53, 69, 0.5);
}

#recording-time {
    font-size: 1.4rem;
    font-weight: 700;
    color: #dc3545;
    font-family: 'Courier New', monospace;
}

.audio-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

#recorded-audio {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 8px;
}

.recording-interface.not-recording .recording-dot {
    background: #28a745;
    animation: none;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.5);
}

/* Enhanced Comprehensive Analysis */
.comprehensive-analysis-section {
    margin-top: 35px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px;
    border-radius: 20px;
    border-left: 8px solid #667eea;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.comprehensive-analysis-section h2 {
    margin-bottom: 25px;
    color: #333;
    font-size: 1.8rem;
    font-weight: 700;
}

.analysis-content {
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}

.analysis-paragraph {
    margin-bottom: 20px;
    text-align: justify;
}

.analysis-content p:first-of-type {
    font-size: 1.1rem;
    font-weight: 600;
    color: #667eea;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    header h1 {
        font-size: 2.2rem;
    }

    .section {
        padding: 25px;
    }

    .response-methods {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        margin-bottom: 15px;
    }

    .results-grid,
    .predictions-grid,
    .intelligence-grid,
    .insights-grid {
        grid-template-columns: 1fr;
    }

    .circle-score {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .circle-bar {
        width: 100%;
        margin: 10px 0;
    }

    .circle-info {
        justify-content: center;
    }

    .question-container h3 {
        font-size: 1.2rem;
    }

    #tags-cloud {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.8rem;
    }

    header p {
        font-size: 1.1rem;
    }

    .section {
        padding: 20px;
        border-radius: 15px;
    }

    .question-container {
        padding: 20px;
    }

    .comprehensive-analysis-section,
    .precision-predictions-section,
    .market-intelligence-section,
    .psychological-insights-section {
        padding: 25px;
    }
}

/* Additional animations and micro-interactions */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Accessibility improvements */
.btn:focus,
#text-response:focus {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        border: 2px solid #fff;
    }

    .progress-fill {
        background: #000;
    }

    .tag {
        background: #000;
        border: 1px solid #fff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Enhanced Results Cards */
.hero-insight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    color: white;
    text-align: center;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.profound-prediction h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.prediction-spotlight {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.confidence-indicator {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
}

/* Insight Cards Grid */
.insight-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.insight-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid #667eea;
    animation: slideIn 0.6s ease-out;
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.insight-card.mind-reader {
    border-left-color: #667eea;
}

.insight-card.energy-spike {
    border-left-color: #f093fb;
}

.insight-card.hidden-pattern {
    border-left-color: #4ecdc4;
}

.insight-card.work-style {
    border-left-color: #45b7d1;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.insight-card h4 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.insight-card p {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Career Timeline */
.career-timeline-section {
    background: white;
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.career-timeline-section h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 1.6rem;
    font-weight: 700;
}

.timeline-track {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin: 0 20px;
}

.timeline-track::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #4ecdc4);
    border-radius: 2px;
    z-index: 1;
}

.timeline-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    z-index: 2;
}

.timeline-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 4px solid #667eea;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.timeline-point.current .timeline-dot {
    border-color: #667eea;
    background: #667eea;
}

.timeline-point.year-1 .timeline-dot {
    border-color: #764ba2;
}

.timeline-point.year-3 .timeline-dot {
    border-color: #f093fb;
}

.timeline-point.year-5 .timeline-dot {
    border-color: #4ecdc4;
}

.timeline-content {
    text-align: center;
    max-width: 150px;
}

.timeline-label {
    font-weight: 700;
    color: #333;
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.timeline-desc {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Growth Section */
.growth-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.growth-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.growth-card:hover {
    transform: translateY(-3px);
}

.growth-card.strength {
    border-left: 5px solid #28a745;
}

.growth-card.limitation {
    border-left: 5px solid #ffc107;
}

.growth-card h4 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.growth-card p {
    color: #555;
    line-height: 1.6;
}

/* Market Snapshot */
.market-snapshot {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.market-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-top: 5px solid #667eea;
}

.market-card h4 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.salary-range {
    font-size: 2rem;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 5px;
}

.salary-growth {
    color: #666;
    font-size: 0.9rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.hot-skill {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Personality Radar */
.personality-radar-section {
    background: white;
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.personality-radar-section h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 1.6rem;
    font-weight: 700;
}

.radar-chart {
    margin-bottom: 25px;
}

.radar-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
}

.radar-label {
    font-weight: 600;
    min-width: 140px;
    color: #333;
    font-size: 0.9rem;
}

.radar-bar {
    flex: 1;
    height: 25px;
    background: #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.radar-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 12px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.radar-score {
    font-weight: 700;
    color: #333;
    min-width: 35px;
    text-align: right;
}

.radar-highlight {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border-left: 5px solid #667eea;
}

/* Call to Action */
.cta-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border-left: 5px solid #28a745;
    margin-top: 30px;
}

.cta-section h4 {
    color: #28a745;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-section p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design for New Elements */
@media (max-width: 768px) {
    .hero-insight {
        padding: 30px 20px;
    }

    .prediction-spotlight {
        font-size: 1.1rem;
        padding: 20px;
    }

    .timeline-track {
        flex-direction: column;
        gap: 30px;
    }

    .timeline-track::before {
        display: none;
    }

    .timeline-content {
        max-width: 100%;
    }

    .insight-cards-grid {
        grid-template-columns: 1fr;
    }

    .market-snapshot {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .radar-item {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .radar-label {
        min-width: auto;
        text-align: center;
    }

    .skill-tags {
        flex-direction: column;
        align-items: center;
    }
}

/* Evidence-Based Insights Styling */
.evidence-insights-section,
.behavioral-evidence-section,
.language-patterns-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin: 25px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    animation: fadeInUp 0.8s ease-out;
}

.evidence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.evidence-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid #667eea;
    transition: transform 0.3s ease;
}

.evidence-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.evidence-quote {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 3px solid #28a745;
}

.evidence-quote h4 {
    margin: 0;
    color: #333;
    font-size: 1rem;
    font-style: italic;
}

.insight-reveal {
    margin-bottom: 15px;
}

.career-prediction {
    background: rgba(102, 126, 234, 0.1);
    padding: 12px;
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

.moments-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.moment-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #f093fb;
}

.moment-type {
    background: #667eea;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}

.significance {
    background: rgba(40, 167, 69, 0.1);
    padding: 10px;
    border-radius: 6px;
    margin-top: 10px;
    border-left: 3px solid #28a745;
}

.language-insights {
    margin-top: 20px;
}

.language-insight {
    background: white;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 4px solid #4ecdc4;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Add these new CSS rules to styles.css */

/* Voice Insights Section */
.voice-insights-section {
    background: white;
    border-radius: 20px;
    padding: 35px;
    margin: 25px 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    animation: fadeInUp 0.8s ease-out;
}

.voice-insights-section h2 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
}

.voice-insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.voice-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid #f093fb;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.voice-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.voice-card h3 {
    color: #f093fb;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.voice-card ul {
    list-style: none;
    padding: 0;
}

.voice-card li {
    background: white;
    padding: 10px 15px;
    margin-bottom: 8px;
    border-radius: 8px;
    border-left: 3px solid #f093fb;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Benchmarking Section */
.benchmarking-section {
    background: white;
    border-radius: 20px;
    padding: 35px;
    margin: 25px 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    animation: fadeInUp 0.8s ease-out;
}

.benchmarking-section h2 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
}

.benchmark-intro {
    text-align: center;
    margin-bottom: 30px;
    color: #6c757d;
    font-size: 1.1rem;
}

.benchmarking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.benchmark-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid #4ecdc4;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.benchmark-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.benchmark-card h3 {
    color: #4ecdc4;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.benchmark-card.full-width {
    grid-column: 1 / -1;
}

/* Percentile Rankings */
.percentile-chart {
    space-y: 15px;
}

.percentile-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
}

.skill-name {
    font-weight: 600;
    min-width: 140px;
    color: #333;
    font-size: 0.95rem;
}

.percentile-bar {
    flex: 1;
    height: 20px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.percentile-fill {
    height: 100%;
    background: linear-gradient(90deg, #4ecdc4, #45b7d1);
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.percentile-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

.percentile-score {
    font-weight: 700;
    color: #333;
    min-width: 40px;
    text-align: right;
    font-size: 0.95rem;
}

/* Success Rates */
.success-rates {
    space-y: 12px;
}

.success-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 3px solid #28a745;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.career-name {
    font-weight: 600;
    color: #333;
}

.success-rate {
    font-weight: 700;
    color: #28a745;
    font-size: 0.95rem;
}

/* Peer Comparisons and Market Insights */
.peer-insights, .market-insights {
    space-y: 10px;
}

.peer-insight, .market-insight {
    background: white;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 3px solid #667eea;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    font-size: 0.95rem;
    line-height: 1.5;
}

.market-insight {
    border-left-color: #f093fb;
}

/* Contradiction Showcase Section */
.contradiction-showcase-section {
    background: white;
    border-radius: 20px;
    padding: 35px;
    margin: 25px 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    animation: fadeInUp 0.8s ease-out;
}

.contradiction-showcase-section h2 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
}

.showcase-intro {
    text-align: center;
    margin-bottom: 30px;
    color: #6c757d;
    font-size: 1.05rem;
}

.contradiction-moments {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contradiction-moment {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid #667eea;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.contradiction-moment:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.moment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.moment-number {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.moment-question {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 600;
}

.moment-content p {
    margin: 0;
    color: #333;
    line-height: 1.6;
    font-size: 1.05rem;
}

.moment-content strong {
    color: #667eea;
}

/* Enhanced Conversation History for Contradiction Moments */
.coach-response.contradiction-insight {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6f0ff 100%);
    border-left: 4px solid #667eea;
    position: relative;
}

.coach-response.deep-insight {
    background: linear-gradient(135deg, #fff0f8 0%, #ffe6f7 100%);
    border-left: 4px solid #f093fb;
}

.insight-badge {
    position: absolute;
    top: 8px;
    right: 12px;
    background: #667eea;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.coach-response.deep-insight .insight-badge {
    background: #f093fb;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .voice-insights-grid,
    .benchmarking-grid {
        grid-template-columns: 1fr;
    }

    .percentile-item {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .skill-name {
        min-width: auto;
        text-align: center;
    }

    .success-item {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 8px;
    }

    .moment-header {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .voice-insights-section,
    .benchmarking-section,
    .contradiction-showcase-section {
        padding: 25px;
    }

    .benchmark-intro,
    .showcase-intro {
        font-size: 1rem;
    }
}

/* New Streamlined Results Page Styles */

/* Mind-Reading Section */
.mind-reading-section {
    background: white;
    border-radius: 20px;
    padding: 35px;
    margin: 30px 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    animation: fadeInUp 0.8s ease-out;
}

.mind-reading-section h2 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 30px;
    font-style: italic;
}

.mind-reading-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.mind-reading-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 25px;
    border-left: 5px solid #667eea;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    position: relative;
}

.mind-reading-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.mind-reading-card::before {
    content: '🧠';
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    opacity: 0.7;
}

.insight-quote {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    font-style: italic;
    font-weight: 500;
}

/* Professional Identity Section */
.professional-identity-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 30px 0;
    color: white;
    text-align: center;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.professional-identity-section h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.identity-statement {
    font-size: 1.3rem;
    line-height: 1.7;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.identity-statement strong {
    color: #fff;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Career Directions Section */
.career-directions-section {
    background: white;
    border-radius: 20px;
    padding: 35px;
    margin: 30px 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    animation: fadeInUp 0.8s ease-out;
}

.career-directions-section h2 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 700;
}

.career-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.career-direction-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 30px;
    border-left: 5px solid #28a745;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    position: relative;
}

.career-direction-card:nth-child(2) {
    border-left-color: #667eea;
}

.career-direction-card:nth-child(3) {
    border-left-color: #f093fb;
}

.career-direction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.career-header {
    margin-bottom: 20px;
}

.career-header h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.3;
}

.match-score {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-right: 10px;
}

.career-direction-card:nth-child(2) .match-score {
    background: #667eea;
}

.career-direction-card:nth-child(3) .match-score {
    background: #f093fb;
}

.salary-range {
    display: inline-block;
    background: #495057;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.career-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

.why-perfect, .target-companies {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: #555;
}

.why-perfect strong, .target-companies strong {
    color: #333;
}

/* Deeper Analysis Teaser */
.deeper-analysis-teaser {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 35px;
    margin: 30px 0;
    border: 2px dashed #667eea;
    text-align: center;
}

.deeper-analysis-teaser h2 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.teaser-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.teaser-item:hover {
    transform: translateY(-3px);
}

.teaser-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.teaser-text {
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
}

/* Main CTA Section */
.cta-section-main {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    color: white;
    text-align: center;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.cta-section-main h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 16px 32px;
    font-size: 1.1rem;
    min-width: 200px;
}

/* Social Proof Section */
.social-proof-section {
    text-align: center;
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
}

.social-proof-text {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
}

.sample-notice {
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid #667eea;
    border-radius: 10px;
    padding: 15px;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
}

/* Responsive Design for New Elements */
@media (max-width: 768px) {
    .mind-reading-cards,
    .career-cards-container,
    .teaser-grid {
        grid-template-columns: 1fr;
    }

    .career-direction-card {
        min-width: auto;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .professional-identity-section,
    .cta-section-main {
        padding: 30px 20px;
    }

    .identity-statement {
        font-size: 1.1rem;
        padding: 25px;
    }

    .hero-insight {
        padding: 30px 20px;
    }

    .prediction-spotlight {
        font-size: 1.1rem;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .mind-reading-section,
    .career-directions-section,
    .deeper-analysis-teaser {
        padding: 25px;
    }

    .career-header h3 {
        font-size: 1.1rem;
    }

    .teaser-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .teaser-icon {
        font-size: 1.5rem;
    }
}

/* Demo-specific styles */
.demo-preview {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    border: 2px dashed #667eea;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.demo-preview:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    border-style: solid;
}

.demo-preview h3 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.demo-preview p {
    color: #6c757d;
    margin-bottom: 20px;
    font-size: 1rem;
}

.demo-preview-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.demo-preview-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 200px;
}

.demo-preview-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.demo-preview-text {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
    text-align: center;
}

.demo-container {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin: 25px 0;
    border: 2px solid #667eea;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
    display: none;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.demo-container.active {
    display: block;
}

.demo-header {
    text-align: center;
    margin-bottom: 25px;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 20px;
}

.demo-chat-container {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    min-height: 300px;
    max-height: 500px;
    overflow-y: auto;
}

.demo-message {
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.demo-message.visible {
    opacity: 1;
    transform: translateY(0);
}

.nathan-message {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 18px;
    border-radius: 18px 18px 18px 4px;
    margin-right: 60px;
    position: relative;
    font-size: 0.95rem;
}

.nathan-message::before {
    content: "🧠 Nathan";
    position: absolute;
    top: -18px;
    left: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: #667eea;
}

.user-message {
    background: #e9ecef;
    color: #333;
    padding: 12px 18px;
    border-radius: 18px 18px 4px 18px;
    margin-left: 60px;
    position: relative;
    font-size: 0.95rem;
}

.user-message::before {
    content: "👤 You";
    position: absolute;
    top: -18px;
    right: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6c757d;
}

.demo-insight {
    background: rgba(102, 126, 234, 0.1);
    border-left: 4px solid #667eea;
    padding: 12px;
    border-radius: 8px;
    margin: 15px 0;
    font-size: 0.85rem;
    color: #333;
}

.demo-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.demo-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.demo-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.demo-btn-secondary {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #e9ecef;
}

.energy-indicator {
    margin-left: 8px;
    font-size: 1.1rem;
}

.typing-indicator {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 18px;
    margin-right: 60px;
    display: none;
    border: 2px dashed #667eea;
}

.typing-dots {
    display: flex;
    gap: 4px;
    align-items: center;
}

.dot {
    width: 6px;
    height: 6px;
    background: #667eea;
    border-radius: 50%;
    animation: typing 1.5s infinite;
}

.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { opacity: 0.3; }
    30% { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .demo-preview-content {
        flex-direction: column;
    }

    .nathan-message {
        margin-right: 40px;
    }

    .user-message {
        margin-left: 40px;
    }
}

/* Add these styles to your existing styles.css file */

/* Header Authentication */
.header-auth {
    margin-top: 15px;
}

.auth-link {
    color: white;
    text-decoration: underline;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.auth-link:hover {
    opacity: 0.8;
}

/* Authentication Pages */
.auth-section {
    max-width: 500px;
    margin: 0 auto;
}

.auth-container {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.auth-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.auth-tab {
    flex: 1;
    padding: 15px 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    color: #6c757d;
    transition: all 0.3s ease;
}

.auth-tab.active {
    background: white;
    color: #333;
    border-bottom: 3px solid #667eea;
}

.auth-form {
    padding: 30px;
}

.auth-form h3 {
    margin-bottom: 10px;
    color: #333;
    font-size: 1.5rem;
}

.auth-subtitle {
    color: #6c757d;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.password-help {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 5px;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.auth-links p {
    margin: 10px 0;
    color: #6c757d;
}

.auth-links a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* Dashboard Styles */
.dashboard-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 0;
    margin-bottom: 30px;
    border-radius: 20px;
}

.dashboard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.dashboard-nav h1 {
    margin: 0;
    font-size: 1.8rem;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-greeting {
    font-size: 1.1rem;
    font-weight: 500;
}

.dashboard-content {
    max-width: 1200px;
    margin: 0 auto;
}

.loading-state {
    text-align: center;
    padding: 60px 20px;
}

.loading-state .spinner {
    margin: 0 auto 20px auto;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.empty-state h2 {
    color: #333;
    margin-bottom: 15px;
}

.empty-state p {
    color: #6c757d;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Profile Summary */
.profile-cards {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.profile-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.profile-card h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1.1rem;
}

.profile-card.main-prediction {
    border-left-color: #667eea;
}

.profile-card.identity {
    border-left-color: #28a745;
}

.profile-card.traits {
    border-left-color: #f093fb;
}

.prediction-text {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 10px;
    color: #333;
}

.confidence-badge {
    background: #667eea;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.identity-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #28a745;
}

.traits-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.trait-tag {
    background: #f093fb;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Assessments Grid */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    margin: 0;
    color: #333;
}

.assessments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.assessment-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.assessment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.assessment-card.latest {
    border-color: #28a745;
    background: linear-gradient(135deg, #f8fff9 0%, #e8f5e8 100%);
}

.latest-badge {
    position: absolute;
    top: -8px;
    right: 15px;
    background: #28a745;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.assessment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.assessment-header h4 {
    margin: 0;
    color: #333;
}

.assessment-date {
    color: #6c757d;
    font-size: 0.9rem;
}

.assessment-summary {
    margin-bottom: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.summary-item .label {
    color: #6c757d;
    font-size: 0.9rem;
}

.summary-item .value {
    font-weight: 600;
    color: #333;
}

.assessment-actions {
    display: flex;
    gap: 10px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* Career Matches */
.career-matches {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.career-match-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.3s ease;
}

.career-match-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.match-header h4 {
    margin: 0;
    color: #333;
    flex: 1;
}

.match-score {
    background: #28a745;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 10px;
}

.match-details p {
    margin: 8px 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.salary-range {
    color: #28a745;
    font-weight: 600;
}

/* Action Cards */
.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.action-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
}

.action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.action-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.action-card h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.2rem;
}

.action-card p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Account Creation Prompt */
.account-prompt-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 30px;
    margin: 30px 0;
    border: 2px solid #667eea;
    text-align: center;
}

.prompt-header h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.6rem;
}

.prompt-header p {
    color: #6c757d;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.prompt-benefits {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #333;
}

.benefit-icon {
    font-size: 1.2rem;
}

.account-form-container {
    max-width: 400px;
    margin: 0 auto;
}

.compact-form .form-row {
    margin-bottom: 15px;
}

.compact-form input {
    padding: 10px 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.95rem;
}

.skip-account-btn {
    background: none;
    border: none;
    color: #6c757d;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 10px;
}

.skip-account-btn:hover {
    color: #333;
}

.account-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.account-success h3 {
    color: #28a745;
    margin-bottom: 15px;
}

.success-animation {
    margin-top: 20px;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    max-width: 400px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    padding: 15px;
    gap: 12px;
}

.notification-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notification-message {
    flex: 1;
    color: #333;
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #6c757d;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-error {
    border-left: 4px solid #dc3545;
}

.notification-success {
    border-left: 4px solid #28a745;
}

.notification-info {
    border-left: 4px solid #17a2b8;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90%;
    overflow-y: auto;
}

.modal-content.large {
    max-width: 800px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
}

.modal-header h3 {
    margin: 0;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6c757d;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding: 20px;
    border-top: 1px solid #e9ecef;
}

/* Assessment Results in Modal */
.assessment-results-summary {
    display: grid;
    gap: 20px;
}

.result-card {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.result-card h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.career-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.career-item {
    background: white;
    padding: 10px;
    border-radius: 6px;
    border-left: 3px solid #28a745;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-nav {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 0 20px;
    }

    .nav-controls {
        justify-content: center;
    }

    .profile-cards {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .prompt-benefits {
        flex-direction: column;
        gap: 15px;
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: 20px;
        width: calc(100% - 40px);
    }

    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .dashboard-header {
        margin: 0 -20px 20px -20px;
        border-radius: 0;
    }

    .auth-form {
        padding: 20px;
    }

    .account-prompt-section {
        padding: 20px;
        margin: 20px -20px;
        border-radius: 0;
    }
}

/* Assessor Chat Styles */
.chat-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.chat-modal[style*="flex"] {
    opacity: 1;
}

.chat-modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    height: 80%;
    max-height: 700px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.chat-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nathan-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
}

.chat-title h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.chat-title p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.chat-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.chat-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-modal-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Conversation Starters */
.conversation-starters {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 20px;
}

.starters-header h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1rem;
}

.starters-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.starter-btn {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 16px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: #333;
}

.starter-btn:hover {
    border-color: #667eea;
    background: #f0f3ff;
    transform: translateY(-1px);
}

/* Chat Messages */
.chat-messages-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-message {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.chat-message.message-visible {
    opacity: 1;
    transform: translateY(0);
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.sender-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sender-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.nathan-message .sender-avatar {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.user-message .sender-avatar {
    background: #e9ecef;
    color: #333;
}

.sender-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
}

.question-type-badge {
    background: #667eea;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.message-time {
    color: #6c757d;
    font-size: 0.8rem;
}

.message-content {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
    line-height: 1.5;
    color: #333;
}

.nathan-message .message-content {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6f0ff 100%);
    border-left: 4px solid #667eea;
}

.user-message .message-content {
    background: #e9ecef;
    margin-left: 42px; /* Align with avatar */
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: #6c757d;
    font-size: 0.9rem;
    font-style: italic;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dots .dot {
    width: 6px;
    height: 6px;
    background: #667eea;
    border-radius: 50%;
    animation: typing 1.5s infinite;
}

.typing-dots .dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dots .dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { opacity: 0.3; }
    30% { opacity: 1; }
}

/* Chat Input */
.chat-modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 20px;
}

.chat-input-container {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    margin-bottom: 15px;
}

#chat-input {
    flex: 1;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.95rem;
    resize: none;
    min-height: 44px;
    max-height: 100px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

#chat-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#send-chat-message {
    height: 44px;
    min-width: 80px;
    border-radius: 12px;
}

.chat-actions {
    display: flex;
    justify-content: center;
}

/* Premium Feature Styling */
.premium-feature {
    position: relative;
}

.premium-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.premium-upgrade-prompt {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #667eea;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin: 20px 0;
}

.premium-upgrade-prompt h4 {
    color: #333;
    margin-bottom: 10px;
}

.premium-upgrade-prompt p {
    color: #6c757d;
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .chat-modal-content {
        width: 95%;
        height: 90%;
        margin: 20px;
    }

    .chat-modal-header {
        padding: 15px;
    }

    .chat-messages-container {
        padding: 15px;
    }

    .chat-modal-footer {
        padding: 15px;
    }

    .starters-list {
        max-height: 120px;
        overflow-y: auto;
    }

    .user-message .message-content {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .chat-input-container {
        flex-direction: column;
        align-items: stretch;
    }

    #send-chat-message {
        width: 100%;
        margin-top: 10px;
    }

    .starters-list {
        max-height: 100px;
    }

    .starter-btn {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}


/* Effort indicators */
.effort-indicator {
    position: absolute;
    right: 30px;
    top: 0;
    font-size: 1.2rem;
    animation: bounce 0.5s ease-out;
}

/* Effort feedback styling */
.coach-response.effort-feedback {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-left: 4px solid #f39c12;
    position: relative;
}

.coach-response.effort-feedback .insight-badge {
    background: #f39c12;
}

/* Effort analysis section in results */
.effort-analysis-section {
    background: white;
    border-radius: 20px;
    padding: 35px;
    margin: 25px 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    animation: fadeInUp 0.8s ease-out;
}

.effort-analysis-section h2 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
}

.effort-insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.effort-insight-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid #f39c12;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.effort-insight-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.effort-score-display {
    text-align: center;
    margin: 20px 0;
}

.effort-score-number {
    font-size: 3rem;
    font-weight: 700;
    color: #f39c12;
    display: block;
}

.effort-score-label {
    color: #6c757d;
    font-size: 1rem;
    margin-top: 5px;
}

.effort-comparison {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 20px 0;
    padding: 20px;
    background: white;
    border-radius: 10px;
}

.effort-metric {
    text-align: center;
}

.effort-metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
}

.effort-metric-label {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Effort Analysis Specific Styles */
.effort-overview {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
    border: 2px solid #f39c12;
}

.effort-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #f39c12;
}

.stat-label {
    font-size: 0.85rem;
    color: #6c757d;
}

.breakdown-items {
    space-y: 15px;
}

.breakdown-item {
    margin-bottom: 15px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    border-left: 3px solid #f39c12;
}

.breakdown-detail {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 5px 0 0 0;
}

.self-awareness-content {
    space-y: 15px;
}

.awareness-level, .gap-assessment {
    margin-bottom: 15px;
    padding: 12px;
    background: white;
    border-radius: 8px;
}

.user-explanation {
    margin-top: 15px;
    padding: 15px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

.user-quote {
    font-style: italic;
    color: #333;
    margin: 8px 0 0 0;
    padding: 10px;
    background: white;
    border-radius: 6px;
}

.recommendations-list {
    list-style: none;
    padding: 0;
}

.recommendations-list li {
    background: white;
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 8px;
    border-left: 3px solid #28a745;
    position: relative;
}

.recommendations-list li::before {
    content: '💡';
    position: absolute;
    left: -8px;
    top: 8px;
    background: white;
    padding: 2px;
    border-radius: 50%;
}

.next-steps {
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.effort-comparison-section {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.effort-comparison-section h3 {
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

.effort-comparison {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 25px 0;
}

.vs-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 20px;
}

.effort-bar {
    width: 100px;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 8px;
}

.effort-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease;
}

.gap-indicator {
    font-weight: 600;
    text-align: center;
}

.comparison-insight {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    border-left: 4px solid #667eea;
}

.comparison-insight p {
    margin: 0;
    line-height: 1.6;
}

.effort-impact-explanation {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 25px;
    border-radius: 15px;
    margin-top: 25px;
    border-left: 5px solid #2196f3;
}

.effort-impact-explanation h3 {
    color: #1976d2;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.effort-impact-explanation p {
    color: #333;
    line-height: 1.7;
    margin: 0;
}

/* Responsive design for effort analysis */
@media (max-width: 768px) {
    .effort-comparison {
        flex-direction: column;
        gap: 20px;
    }

    .vs-indicator {
        order: 2;
        margin: 10px 0;
    }

    .effort-stats {
        flex-direction: column;
        gap: 15px;
    }

    .effort-insights-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .effort-overview {
        padding: 20px;
    }

    .effort-analysis-section {
        padding: 25px;
    }

    .stat-number {
        font-size: 1.5rem;
    }
}

/* iPhone-Style Call Interface CSS */
/* Add to styles.css */

/* Call Mode Toggle */
.call-mode-toggle {
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    text-align: center;
    border: 2px dashed #667eea;
}

.call-toggle-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.call-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.call-mode-description {
    margin: 10px 0 0 0;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Phone Call Interface */
.phone-call-interface {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.call-screen {
    width: 100%;
    max-width: 400px;
    height: 100%;
    max-height: 850px;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    border-radius: 40px;
    padding: 60px 30px 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    color: white;
}

/* Call Header */
.call-header {
    text-align: center;
    margin-bottom: 20px;
}

.call-status {
    color: #8e8e93;
    font-size: 0.9rem;
    margin-bottom: 5px;
    font-weight: 500;
}

.call-time {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'SF Mono', Monaco, monospace;
}

/* Caller Profile */
.caller-profile {
    text-align: center;
    margin: 40px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.caller-avatar {
    position: relative;
    margin-bottom: 30px;
}

.avatar-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
    position: relative;
    z-index: 2;
}

.avatar-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    opacity: 0;
    animation: pulse-glow 2s infinite;
    z-index: 1;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.caller-name {
    font-size: 2.5rem;
    font-weight: 300;
    margin: 0 0 5px 0;
    color: white;
}

.caller-title {
    font-size: 1.1rem;
    color: #8e8e93;
    margin: 0 0 15px 0;
    font-weight: 400;
}

.call-status-text {
    font-size: 1rem;
    color: #34c759;
    font-weight: 500;
}

/* Voice Activity Indicator */
.voice-activity {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    min-height: 60px;
}

.listening-indicator {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.sound-wave {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 40px;
}

.wave {
    width: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
    animation: wave-animation 1.5s infinite ease-in-out;
}

.wave:nth-child(1) { animation-delay: 0s; height: 20px; }
.wave:nth-child(2) { animation-delay: 0.1s; height: 30px; }
.wave:nth-child(3) { animation-delay: 0.2s; height: 40px; }
.wave:nth-child(4) { animation-delay: 0.3s; height: 30px; }

@keyframes wave-animation {
    0%, 100% {
        transform: scaleY(0.5);
        opacity: 0.5;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

#listening-text {
    color: #8e8e93;
    font-size: 0.9rem;
    margin: 0;
}

/* Call Progress */
.call-progress {
    margin: 20px 0;
    text-align: center;
}

.progress-info {
    color: #8e8e93;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#call-question-number {
    color: white;
    font-weight: 600;
}

.progress-separator {
    color: #8e8e93;
}

.call-progress-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.call-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
    transition: width 0.8s ease;
    width: 0%;
}

/* Call Controls */
.call-controls {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 40px 0 20px 0;
    padding: 0 20px;
}

.call-control-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.mute-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.mute-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.mute-btn.muted {
    background: #ff3b30;
    color: white;
}

.end-call-btn {
    background: #ff3b30;
    color: white;
    width: 80px;
    height: 80px;
    font-size: 2rem;
}

.end-call-btn:hover {
    background: #d70015;
    transform: scale(1.05);
}

.speaker-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.speaker-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.speaker-btn.active {
    background: #34c759;
    color: white;
}

/* Call Instructions */
.call-instructions {
    text-align: center;
    margin-top: 20px;
}

.call-instructions p {
    color: #8e8e93;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 480px) {
    .call-screen {
        border-radius: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        padding: 40px 20px 30px 20px;
    }

    .caller-name {
        font-size: 2rem;
    }

    .avatar-image {
        width: 150px;
        height: 150px;
        font-size: 3rem;
    }

    .call-control-btn {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .end-call-btn {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

@media (max-width: 360px) {
    .call-controls {
        padding: 0 10px;
        gap: 10px;
    }

    .caller-profile {
        margin: 20px 0;
    }

    .avatar-image {
        width: 120px;
        height: 120px;
        font-size: 2.5rem;
    }

    .caller-name {
        font-size: 1.8rem;
    }
}

/* Speaking Indicator Animation */
.avatar-image.speaking {
    animation: speaking-pulse 1s infinite ease-in-out;
}

@keyframes speaking-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 25px 50px rgba(102, 126, 234, 0.5);
    }
}

/* Dark mode optimizations */
@media (prefers-color-scheme: dark) {
    .call-screen {
        background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .call-screen {
        border: 2px solid white;
    }

    .call-control-btn {
        border: 2px solid white;
    }

    .avatar-image {
        border: 3px solid white;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .avatar-glow,
    .wave,
    .speaking-pulse {
        animation: none;
    }

    .call-control-btn:hover,
    .call-toggle-btn:hover {
        transform: none;
    }
}

/* Additional animations for better UX */
.call-screen {
    animation: slideInFromBottom 0.5s ease-out;
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Status text animations */
.call-status-text {
    transition: all 0.3s ease;
}

.call-status-text.updating {
    opacity: 0.5;
    transform: scale(0.95);
}

/* Button press feedback */
.call-control-btn:active {
    transform: scale(0.95);
}

.end-call-btn:active {
    transform: scale(0.95);
}

/* Real-time processing styles */
.coach-response-container {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.coach-response {
    animation: slideIn 0.3s ease-out;
}

.coach-response.immediate {
    border-left: 4px solid #28a745;
}

.coach-response.enhanced {
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

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

.coach-avatar {
    font-size: 1.2rem;
}

.coach-name {
    font-weight: 600;
    color: #2c3e50;
}

.response-type {
    background: #e9ecef;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    color: #6c757d;
}

.coach-message {
    font-size: 1rem;
    line-height: 1.5;
    color: #2c3e50;
    transition: opacity 0.3s ease;
}

.analysis-progress {
    margin-top: 15px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.analysis-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.analysis-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.analysis-message {
    color: #667eea;
    font-weight: 500;
}

.analysis-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.analysis-steps .step {
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    color: #6c757d;
    transition: all 0.3s ease;
}

.analysis-steps .step.active {
    background: #667eea;
    color: white;
    transform: translateX(5px);
}

.analysis-steps .step.completed {
    background: #28a745;
    color: white;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Add these styles to your styles.css file */

/* Demographic Recommendations Section */
.demographic-recommendations-section,
.scholarships-section {
    background: white;
    border-radius: 20px;
    padding: 35px;
    margin: 25px 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    animation: fadeInUp 0.8s ease-out;
}

.demographic-recommendations-section h2,
.scholarships-section h2 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
}

.demographic-intro,
.scholarships-intro {
    text-align: center;
    margin-bottom: 30px;
    color: #6c757d;
    font-size: 1.1rem;
}

/* Demographic Grid */
.demographic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.demographic-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid #667eea;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.demographic-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.demographic-card h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

/* Age Advantages Card */
.advantage-card {
    border-left-color: #28a745;
}

.advantages-list {
    space-y: 12px;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    padding: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.advantage-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.advantage-text {
    color: #333;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Timing Recommendations Card */
.timing-card {
    border-left-color: #f39c12;
}

.timing-list {
    space-y: 12px;
}

.timing-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    padding: 10px;
    background: white;
    border-radius: 8px;
}

.timing-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.timing-text {
    color: #333;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Financial Strategy Card */
.financial-card {
    border-left-color: #17a2b8;
}

.financial-strategy {
    space-y: 15px;
}

.strategy-section {
    margin-bottom: 15px;
    padding: 12px;
    background: white;
    border-radius: 8px;
}

.strategy-section h4 {
    color: #17a2b8;
    font-size: 1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.strategy-section ul {
    list-style: none;
    padding: 0;
}

.strategy-section li {
    padding: 4px 0;
    border-left: 3px solid #17a2b8;
    padding-left: 12px;
    margin-bottom: 6px;
    background: #f8f9fa;
    border-radius: 4px;
}

/* Scholarship Strategy Card */
.scholarship-strategy-card {
    border-left-color: #6f42c1;
}

.top-recommendation {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 3px solid #6f42c1;
}

.top-recommendation h4 {
    color: #6f42c1;
    margin-bottom: 10px;
}

.why-perfect {
    color: #333;
    font-style: italic;
    margin-bottom: 10px;
}

.application-strategy {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 6px;
    margin-top: 10px;
}

.timeline {
    background: white;
    padding: 12px;
    border-radius: 8px;
    border-left: 3px solid #6f42c1;
}

/* Unconventional Opportunities Card */
.unconventional-card {
    border-left-color: #e83e8c;
}

.unconventional-list {
    space-y: 12px;
}

.unconventional-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    padding: 10px;
    background: white;
    border-radius: 8px;
}

.unconventional-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.unconventional-text {
    color: #333;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Peer Comparison Card */
.peer-comparison-card {
    border-left-color: #fd7e14;
}

.peer-comparison p {
    color: #333;
    line-height: 1.6;
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin: 0;
}

/* Life Stage Priorities Card */
.priorities-card {
    border-left-color: #20c997;
}

.priorities-list {
    space-y: 12px;
}

.priority-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.priority-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #20c997, #17a2b8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.priority-text {
    color: #333;
    font-weight: 500;
    line-height: 1.4;
}

/* Scholarships Grid */
.scholarships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.scholarship-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.scholarship-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.scholarship-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.scholarship-card.perfect-match::before {
    background: linear-gradient(90deg, #28a745, #20c997);
}

.scholarship-card.good-match::before {
    background: linear-gradient(90deg, #17a2b8, #6f42c1);
}

.scholarship-card.potential-match::before {
    background: linear-gradient(90deg, #ffc107, #fd7e14);
}

.scholarship-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.scholarship-header h3 {
    color: #333;
    font-size: 1.3rem;
    margin: 0;
    font-weight: 700;
    flex: 1;
}

.match-indicator {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    min-width: 100px;
}

.match-indicator.perfect-match {
    background: #28a745;
    color: white;
}

.match-indicator.good-match {
    background: #17a2b8;
    color: white;
}

.match-indicator.potential-match {
    background: #ffc107;
    color: #333;
}

.scholarship-amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 10px;
}

.scholarship-description {
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.scholarship-info {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.info-item {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.info-item strong {
    color: #667eea;
    font-weight: 600;
}

.scholarship-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
}

/* Age-Specific Opportunities */
.age-specific-section {
    margin-top: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 5px solid #667eea;
}

.age-specific-section h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.opportunity-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-left: 4px solid #667eea;
}

.opportunity-card h4 {
    color: #667eea;
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.opportunity-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.option-tag {
    background: #e9ecef;
    color: #333;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.why-relevant {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

/* Networking Section */
.networking-section {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f0f3ff 0%, #e6f0ff 100%);
    border-radius: 15px;
    border-left: 5px solid #667eea;
}

.networking-section h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.networking-opportunities {
    display: grid;
    gap: 12px;
}

.networking-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.networking-icon {
    font-size: 1.2rem;
    color: #667eea;
}

.networking-text {
    color: #333;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .demographic-grid,
    .scholarships-grid,
    .opportunities-grid {
        grid-template-columns: 1fr;
    }

    .scholarship-header {
        flex-direction: column;
        gap: 10px;
    }

    .scholarship-actions {
        flex-direction: column;
    }

    .scholarship-actions .btn {
        text-align: center;
    }

    .priority-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .demographic-recommendations-section,
    .scholarships-section {
        padding: 25px;
    }

    .demographic-card,
    .scholarship-card {
        padding: 20px;
    }

    .scholarship-header h3 {
        font-size: 1.1rem;
    }

    .opportunity-options {
        justify-content: center;
    }
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    max-width: 400px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    padding: 15px;
    gap: 12px;
}

.notification-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notification-message {
    flex: 1;
    color: #333;
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #6c757d;
}

.notification-success {
    border-left: 4px solid #28a745;
}

.notification-error {
    border-left: 4px solid #dc3545;
}

.notification-info {
    border-left: 4px solid #17a2b8;
}

/* Add these styles to styles.css */

/* Engagement Boost Styling */
.engagement-boost {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6f0ff 100%);
    border: 2px solid #667eea;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    position: relative;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    animation: slideInFromRight 0.5s ease-out;
}

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

.boost-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.boost-title {
    font-weight: 700;
    color: #667eea;
    font-size: 1.1rem;
    flex: 1;
}

.confidence-badge {
    background: #667eea;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.boost-message {
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.validation-prompt {
    color: #6c757d;
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 10px;
}

.follow-up {
    color: #667eea;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 8px;
}

.validation-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.validation-buttons .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 20px;
    min-width: 120px;
    transition: all 0.3s ease;
}

.validation-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Enhanced Progress Text */
#progress-text {
    text-align: center;
    line-height: 1.4;
}

#progress-text small {
    display: block;
    margin-top: 2px;
    color: #667eea;
    font-weight: 500;
}

/* Engagement Boost Conversation History Styling */
.coach-response.engagement-boost-moment {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6f0ff 100%);
    border-left: 4px solid #667eea;
    position: relative;
}

.coach-response.engagement-boost-moment .insight-badge {
    background: #667eea;
}

/* Different engagement boost types */
.engagement-boost.statistical {
    border-color: #28a745;
    background: linear-gradient(135deg, #f0fff4 0%, #e6fffa 100%);
}

.engagement-boost.statistical .boost-title {
    color: #28a745;
}

.engagement-boost.pattern-recognition {
    border-color: #17a2b8;
    background: linear-gradient(135deg, #f0fcff 0%, #e6f9ff 100%);
}

.engagement-boost.pattern-recognition .boost-title {
    color: #17a2b8;
}

.engagement-boost.personality-preview {
    border-color: #6f42c1;
    background: linear-gradient(135deg, #f8f0ff 0%, #f0e6ff 100%);
}

.engagement-boost.personality-preview .boost-title {
    color: #6f42c1;
}

.engagement-boost.career-direction {
    border-color: #fd7e14;
    background: linear-gradient(135deg, #fff8f0 0%, #ffe6d9 100%);
}

.engagement-boost.career-direction .boost-title {
    color: #fd7e14;
}

.engagement-boost.specific-prediction {
    border-color: #e83e8c;
    background: linear-gradient(135deg, #fff0f7 0%, #ffe6f2 100%);
}

.engagement-boost.specific-prediction .boost-title {
    color: #e83e8c;
}

/* Animations */
@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutToRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(30px);
    }
}

/* Pulse animation for high-confidence predictions */
.engagement-boost.specific-prediction {
    animation: slideInFromRight 0.5s ease-out, confidencePulse 2s infinite 1s;
}

@keyframes confidencePulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    }
    50% {
        box-shadow: 0 12px 35px rgba(102, 126, 234, 0.25);
    }
}

/* Responsive design for engagement boosts */
@media (max-width: 768px) {
    .engagement-boost {
        margin: 15px 0;
        padding: 15px;
    }

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

    .validation-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .validation-buttons .btn {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .engagement-boost {
        margin: 10px -20px;
        border-radius: 0;
        padding: 15px 20px;
    }

    .boost-message {
        font-size: 0.95rem;
    }

    .boost-title {
        font-size: 1rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .engagement-boost {
        border-width: 3px;
        background: white;
    }

    .validation-buttons .btn {
        border: 2px solid;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .engagement-boost {
        animation: none;
    }

    .validation-buttons .btn:hover {
        transform: none;
    }

    @keyframes confidencePulse {
        0%, 100% {
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
        }
    }
}

/* Enhanced progress visualization */
.progress-bar {
    position: relative;
    margin-bottom: 25px;
}

.progress-confidence-indicator {
    position: absolute;
    top: -25px;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    color: #667eea;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

/* Gamification elements */
.insight-counter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 15px;
    margin-left: 10px;
    font-size: 0.8rem;
    color: white;
    backdrop-filter: blur(5px);
}

.achievement-unlock {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
    z-index: 1000;
    animation: achievementSlideIn 0.5s ease-out;
    max-width: 300px;
}

.achievement-unlock .achievement-icon {
    font-size: 1.5rem;
    margin-right: 10px;
}

.achievement-unlock .achievement-text {
    font-weight: 600;
    font-size: 0.9rem;
}

@keyframes achievementSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Statistical reinforcement special styling */
.engagement-boost.statistical-reinforcement {
    border-left: 5px solid #28a745;
    background: linear-gradient(135deg, #f8fff9 0%, #e8f5e8 100%);
    position: relative;
}

.engagement-boost.statistical-reinforcement::before {
    content: '📊';
    position: absolute;
    top: -8px;
    right: 15px;
    background: #28a745;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* Pattern recognition special styling */
.engagement-boost.pattern-recognition {
    border-left: 5px solid #17a2b8;
    background: linear-gradient(135deg, #f0fcff 0%, #e6f9ff 100%);
}

.engagement-boost.pattern-recognition::before {
    content: '🧠';
    position: absolute;
    top: -8px;
    right: 15px;
    background: #17a2b8;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* Add these styles to styles.css */

/* Engagement Boost Styling */
.engagement-boost {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6f0ff 100%);
    border: 2px solid #667eea;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    position: relative;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    animation: slideInFromRight 0.5s ease-out;
}

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

.boost-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.boost-title {
    font-weight: 700;
    color: #667eea;
    font-size: 1.1rem;
    flex: 1;
}

.confidence-badge {
    background: #667eea;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.boost-message {
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.validation-prompt {
    color: #6c757d;
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 10px;
}

.follow-up {
    color: #667eea;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 8px;
}

.validation-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.validation-buttons .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 20px;
    min-width: 120px;
    transition: all 0.3s ease;
}

.validation-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Enhanced Progress Text */
#progress-text {
    text-align: center;
    line-height: 1.4;
}

#progress-text small {
    display: block;
    margin-top: 2px;
    color: #667eea;
    font-weight: 500;
}

/* Engagement Boost Conversation History Styling */
.coach-response.engagement-boost-moment {
    background: linear-gradient(135deg, #f0f3ff 0%, #e6f0ff 100%);
    border-left: 4px solid #667eea;
    position: relative;
}

.coach-response.engagement-boost-moment .insight-badge {
    background: #667eea;
}

/* Different engagement boost types */
.engagement-boost.statistical {
    border-color: #28a745;
    background: linear-gradient(135deg, #f0fff4 0%, #e6fffa 100%);
}

.engagement-boost.statistical .boost-title {
    color: #28a745;
}

.engagement-boost.pattern-recognition {
    border-color: #17a2b8;
    background: linear-gradient(135deg, #f0fcff 0%, #e6f9ff 100%);
}

.engagement-boost.pattern-recognition .boost-title {
    color: #17a2b8;
}

.engagement-boost.personality-preview {
    border-color: #6f42c1;
    background: linear-gradient(135deg, #f8f0ff 0%, #f0e6ff 100%);
}

.engagement-boost.personality-preview .boost-title {
    color: #6f42c1;
}

.engagement-boost.career-direction {
    border-color: #fd7e14;
    background: linear-gradient(135deg, #fff8f0 0%, #ffe6d9 100%);
}

.engagement-boost.career-direction .boost-title {
    color: #fd7e14;
}

.engagement-boost.specific-prediction {
    border-color: #e83e8c;
    background: linear-gradient(135deg, #fff0f7 0%, #ffe6f2 100%);
}

.engagement-boost.specific-prediction .boost-title {
    color: #e83e8c;
}

/* Animations */
@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutToRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(30px);
    }
}

/* Pulse animation for high-confidence predictions */
.engagement-boost.specific-prediction {
    animation: slideInFromRight 0.5s ease-out, confidencePulse 2s infinite 1s;
}

@keyframes confidencePulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    }
    50% {
        box-shadow: 0 12px 35px rgba(102, 126, 234, 0.25);
    }
}

/* Responsive design for engagement boosts */
@media (max-width: 768px) {
    .engagement-boost {
        margin: 15px 0;
        padding: 15px;
    }

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

    .validation-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .validation-buttons .btn {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .engagement-boost {
        margin: 10px -20px;
        border-radius: 0;
        padding: 15px 20px;
    }

    .boost-message {
        font-size: 0.95rem;
    }

    .boost-title {
        font-size: 1rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .engagement-boost {
        border-width: 3px;
        background: white;
    }

    .validation-buttons .btn {
        border: 2px solid;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .engagement-boost {
        animation: none;
    }

    .validation-buttons .btn:hover {
        transform: none;
    }

    @keyframes confidencePulse {
        0%, 100% {
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
        }
    }
}

/* Enhanced progress visualization */
.progress-bar {
    position: relative;
    margin-bottom: 25px;
}

.progress-confidence-indicator {
    position: absolute;
    top: -25px;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    color: #667eea;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

/* Gamification elements */
.insight-counter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 15px;
    margin-left: 10px;
    font-size: 0.8rem;
    color: white;
    backdrop-filter: blur(5px);
}

.achievement-unlock {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
    z-index: 1000;
    animation: achievementSlideIn 0.5s ease-out;
    max-width: 300px;
}

.achievement-unlock .achievement-icon {
    font-size: 1.5rem;
    margin-right: 10px;
}

.achievement-unlock .achievement-text {
    font-weight: 600;
    font-size: 0.9rem;
}

@keyframes achievementSlideIn {
    0% {
        opacity: 0;
        transform: translateX(100%) scale(0.8);
    }
    60% {
        opacity: 1;
        transform: translateX(-10px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes achievementSlideOut {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(100%) scale(0.9);
    }
}

/* Achievement notification styling */
.achievement-unlock {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.4);
    z-index: 1000;
    max-width: 350px;
    animation: achievementSlideIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.achievement-unlock:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(40, 167, 69, 0.5);
}

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

.achievement-icon {
    font-size: 2.2rem;
    margin-right: 15px;
    animation: achievementBounce 2s infinite;
}

@keyframes achievementBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    40% {
        transform: translateY(-8px) rotate(-5deg);
    }
    60% {
        transform: translateY(-4px) rotate(5deg);
    }
}

.achievement-title {
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.2;
}

.achievement-subtitle {
    opacity: 0.9;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.achievement-message {
    font-size: 0.95rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.achievement-stat {
    font-size: 0.8rem;
    opacity: 0.85;
    font-style: italic;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 8px;
}

/* Tier indicator styling */
.tier-indicator {
    position: absolute;
    top: -30px;
    left: 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    animation: tierSlideIn 0.5s ease-out 0.3s both;
}

@keyframes tierSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Enhanced progress bar with confidence visualization */
.progress-bar {
    position: relative;
    margin-bottom: 35px;
    background: linear-gradient(90deg, #e9ecef 0%, #f8f9fa 100%);
    border-radius: 20px;
    overflow: visible;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.progress-fill {
    position: relative;
    overflow: visible;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: -5px;
    width: 10px;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 70%);
    border-radius: 50%;
    animation: progressGlow 2s ease-in-out infinite alternate;
}

@keyframes progressGlow {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Enhanced engagement boost animations */
.engagement-boost {
    position: relative;
    overflow: hidden;
}

.engagement-boost::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmerBorder 3s infinite;
    z-index: -1;
    border-radius: 17px;
}

@keyframes shimmerBorder {
    0% {
        transform: translateX(-100%) translateY(-100%);
    }
    100% {
        transform: translateX(100%) translateY(100%);
    }
}

/* Validation button enhancements */
.validation-buttons .btn {
    position: relative;
    overflow: hidden;
}

.validation-buttons .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.validation-buttons .btn:active::before {
    width: 300px;
    height: 300px;
}

/* Floating achievement badges */
.floating-badge {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    padding: 20px 30px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    z-index: 2000;
    animation: floatingBadgeAppear 2s ease-out;
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
}

@keyframes floatingBadgeAppear {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0) rotate(-180deg);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2) rotate(-10deg);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
}

/* Mobile responsiveness for achievements */
@media (max-width: 768px) {
    .achievement-unlock {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        padding: 15px;
    }

    .achievement-icon {
        font-size: 1.8rem;
        margin-right: 12px;
    }

    .achievement-title {
        font-size: 1rem;
    }

    .tier-indicator {
        position: static;
        margin-bottom: 10px;
        width: fit-content;
    }
}

@media (max-width: 480px) {
    .achievement-unlock {
        padding: 12px;
        border-radius: 12px;
    }

    .achievement-header {
        margin-bottom: 8px;
    }

    .achievement-message {
        font-size: 0.9rem;
    }

    .achievement-stat {
        font-size: 0.75rem;
    }
}

/* Dark mode support for achievements */
@media (prefers-color-scheme: dark) {
    .achievement-unlock {
        background: linear-gradient(135deg, #1e7e34, #17a2b8);
        border-color: rgba(255, 255, 255, 0.2);
    }

    .tier-indicator {
        background: linear-gradient(135deg, #495057, #6c757d);
    }
}

/* High contrast mode for achievements */
@media (prefers-contrast: high) {
    .achievement-unlock {
        border: 3px solid white;
        background: #28a745;
    }

    .tier-indicator {
        border: 2px solid white;
        background: #495057;
    }
}

/* Reduced motion for achievements */
@media (prefers-reduced-motion: reduce) {
    .achievement-unlock {
        animation: none;
    }

    .achievement-icon {
        animation: none;
    }

    .tier-indicator {
        animation: none;
    }

    @keyframes progressGlow {
        0%, 100% {
            opacity: 0.8;
            transform: scale(1);
        }
    }
}

/* Statistical reinforcement special styling */
.engagement-boost.statistical-reinforcement {
    border-left: 5px solid #28a745;
    background: linear-gradient(135deg, #f8fff9 0%, #e8f5e8 100%);
    position: relative;
}

.engagement-boost.statistical-reinforcement::before {
    content: '📊';
    position: absolute;
    top: -8px;
    right: 15px;
    background: #28a745;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* Pattern recognition special styling */
.engagement-boost.pattern-recognition {
    border-left: 5px solid #17a2b8;
    background: linear-gradient(135deg, #f0fcff 0%, #e6f9ff 100%);
}

.engagement-boost.pattern-recognition::before {
    content: '🧠';
    position: absolute;
    top: -8px;
    right: 15px;
    background: #17a2b8;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* Value Reveals */
.value-reveal {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    border: 2px solid #28a745;
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    animation: slideInFromLeft 0.5s ease-out;
}

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

.reveal-icon {
    font-size: 1.3rem;
}

.reveal-title {
    font-weight: 700;
    color: #28a745;
    font-size: 1rem;
    flex: 1;
}

.reveal-message {
    color: #333;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
}

/* Validation Moments */
.validation-moment {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    animation: slideInFromRight 0.5s ease-out;
}

.validation-question {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #333;
}

.validation-icon {
    font-size: 1.2rem;
}

.validation-responses {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.validation-btn {
    background: white;
    border: 2px solid #ffc107;
    border-radius: 20px;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.validation-btn:hover {
    background: #ffc107;
    color: white;
    transform: translateY(-2px);
}

/* Brief Messages */
.brief-message {
    background: #d1ecf1;
    color: #0c5460;
    padding: 10px 15px;
    border-radius: 8px;
    margin: 10px 0;
    text-align: center;
    font-weight: 600;
    animation: fadeInOut 3s ease-in-out;
}

/* Animations */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    10%, 90% { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .validation-responses {
        flex-direction: column;
    }

    .validation-btn {
        width: 100%;
        text-align: center;
    }

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

/* ADD THESE CSS ANIMATIONS TO YOUR styles.css */

/* Confidence Update Animation */
@keyframes confidenceUpdate {
    0% {
        transform: scale(1);
        color: #8e8e93;
    }
    50% {
        transform: scale(1.1);
        color: #667eea;
    }
    100% {
        transform: scale(1);
        color: #8e8e93;
    }
}

/* Avatar Enhancement Animations */
.enhancement-statistical {
    box-shadow: 0 20px 40px rgba(40, 167, 69, 0.4) !important;
    animation: statisticalGlow 2s ease-in-out;
}

.enhancement-pattern {
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.4) !important;
    animation: patternGlow 2.5s ease-in-out;
}

.enhancement-career {
    box-shadow: 0 20px 40px rgba(255, 193, 7, 0.4) !important;
    animation: careerShimmer 2.5s ease-in-out;
}

.enhancement-salary {
    box-shadow: 0 20px 40px rgba(40, 167, 69, 0.5) !important;
    animation: salaryPulse 2.5s ease-in-out;
}

.enhancement-achievement {
    box-shadow: 0 20px 40px rgba(40, 167, 69, 0.6) !important;
    animation: achievementCelebration 2s ease-in-out;
}

@keyframes statisticalGlow {
    0%, 100% {
        box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 0 25px 50px rgba(40, 167, 69, 0.4);
    }
}

@keyframes patternGlow {
    0%, 100% {
        box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 0 25px 50px rgba(102, 126, 234, 0.4);
    }
}

@keyframes careerShimmer {
    0%, 100% {
        box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 0 25px 50px rgba(255, 193, 7, 0.4);
    }
}

@keyframes salaryPulse {
    0%, 100% {
        box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 25px 50px rgba(40, 167, 69, 0.5);
        transform: scale(1.02);
    }
}

@keyframes achievementCelebration {
    0%, 100% {
        box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
        transform: scale(1);
    }
    25% {
        box-shadow: 0 25px 50px rgba(40, 167, 69, 0.6);
        transform: scale(1.03);
    }
    75% {
        box-shadow: 0 30px 60px rgba(40, 167, 69, 0.6);
        transform: scale(1.01);
    }
}

/* Achievement Pulse */
@keyframes achievementPulse {
    0%, 100% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

/* Enhanced Progress Info */
.progress-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #8e8e93;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

#confidence-text {
    transition: all 0.3s ease;
    font-weight: 600;
}

/* Call Status Text Enhancement */
#call-status-text {
    transition: color 0.3s ease;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .enhancement-statistical,
    .enhancement-pattern,
    .enhancement-career,
    .enhancement-salary,
    .enhancement-achievement {
        animation: none;
        transition: box-shadow 0.3s ease;
    }

    @keyframes confidenceUpdate {
        0%, 100% { color: #8e8e93; }
        50% { color: #667eea; }
    }

    #confidence-text {
        animation: none !important;
        transition: color 0.3s ease;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .enhancement-statistical,
    .enhancement-pattern,
    .enhancement-career,
    .enhancement-salary,
    .enhancement-achievement {
        border: 2px solid white;
    }

    #confidence-text {
        color: white !important;
        text-shadow: 1px 1px 2px black;
    }
}
