/* ==========================================================================
   USABILITY TESTING & ITERATION STYLES
   ========================================================================== */

.usability-section {
    width: 100%;
    margin-top: 32px;
}

/* Wrapper for two main groups */
.usability-wrapper {
    display: flex;
    flex-direction: row;
    gap: 32px;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    overflow-x: auto;
    /* Allow Scroll on small screens */
    padding-bottom: 20px;
}

/* Group (Old/New) */
.design-group {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1;
    min-width: 480px;
    /* Ensure groups don't squish too much */
}

.group-title {
    font-family: 'Syne', sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.old-design-title {
    color: var(--primary-orange);
}

.new-design-title {
    color: var(--primary-orange);
}

/* Row of 3 screens */
.design-row {
    display: flex;
    flex-direction: row;
    gap: 16px;
    width: 100%;
}

/* Individual Item */
.design-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    flex: 1;
    /* Distribute space evenly */
}

.item-label {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    /* Or #FFF7ED per user request */
    text-align: center;
}

.design-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

/* Divider Line */
.group-divider {
    width: 1px;
    background-color: var(--border-light);
    /* #2F2F2F */
    align-self: stretch;
    margin: 0 16px;
}


/* Responsive */
@media (max-width: 1200px) {
    .usability-wrapper {
        flex-direction: column;
        gap: 64px;
    }

    .group-divider {
        width: 100%;
        height: 1px;
        margin: 0;
    }

    .design-group {
        width: 100%;
        min-width: 0;
    }
}

/* ==========================================================================
   NEW SECTION 08 STYLES
   ========================================================================== */

.usability-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 32px;
    margin-top: 48px;
    width: 100%;
}

/* Left Column: Score Card */
.usability-score-card {
    background-color: var(--surface-card);
    /* Dark charcoal */
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--border-light);
    /* Optional: consistent with other cards */
    height: 100%;
}

.score-card-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 32px;
    text-align: center;
}

/* Circular Chart */
.circular-chart-container {
    position: relative;
    width: 160px;
    height: 160px;
    margin-bottom: 48px;
}

.circular-chart {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(var(--primary-orange) calc(var(--percentage) * 1%),
            #52200F 0
            /* Darker orange/brown track */
        );
    display: flex;
    justify-content: center;
    align-items: center;
}

.inner-circle {
    position: absolute;
    width: 120px;
    /* Thickness determined by difference */
    height: 120px;
    background-color: #52200F;
    /* Inner circle color matching the background of the chart fill? No, let's match card bg or darker fill */
    background-color: #3E1A10;
    /* Dark brownish fill */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.score-number {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    color: var(--text-white);
}

/* Stats List */
.usability-stats-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-orange);
    /* Orange background */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.stat-icon-badge i {
    color: var(--text-white);
    font-size: 20px;
}

/* Special case for the Question mark icon to match the design likely being orange with white icon? Or reversed? 
   Request says: "Use the orange color... for the chart and icons."
   Let's keep the badge orange and icon white as per standard.
*/

.stat-label {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    color: var(--text-white);
    line-height: 1.4;
}

/* Right Column: Results Table */
.usability-table-container {
    width: 100%;
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    background-color: var(--surface-card);
}

.usability-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-body);
    text-align: left;
}

.usability-table th {
    padding: 24px;
    background-color: transparent;
    /* Or maybe a slightly lighter header bg? Design looks transparent */
    color: var(--text-white);
    font-weight: 600;
    font-size: 16px;
    border-bottom: 1px solid var(--border-light);
}

.usability-table td {
    padding: 24px;
    vertical-align: top;
    color: var(--text-light);
    /* Slightly lighter text for body */
    font-size: 15px;
    line-height: 1.6;
    border-bottom: 1px solid var(--border-light);
}

.usability-table tbody tr:last-child td {
    border-bottom: none;
}

/* Specific column widths if needed, but flex table handles it well usually. 
   Let's ensure Task column isn't too narrow. */
.usability-table th:nth-child(1),
.usability-table td:nth-child(1) {
    width: 25%;
}

.usability-table th:nth-child(2),
.usability-table td:nth-child(2) {
    width: 50%;
}

.usability-table th:nth-child(3),
.usability-table td:nth-child(3) {
    width: 25%;
}


/* Responsive for New Section */
@media (max-width: 900px) {
    .usability-grid {
        grid-template-columns: 1fr;
    }

    .usability-score-card {
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {}

/* ==========================================================================
   GO-IKN USABILITY ANALYSIS HIGHLIGHTS
   ========================================================================== */

.go-ikn-analysis-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* High Performance Card */
.go-ikn-performance-card {
    background: linear-gradient(135deg, rgba(35, 122, 89, 0.15) 0%, rgba(35, 122, 89, 0.05) 100%);
    border: 1px solid rgba(35, 122, 89, 0.4);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.performance-score-badge {
    background-color: #237A59;
    /* Go-IKN Green */
    color: white;
    font-size: 36px;
    font-weight: 800;
    font-family: var(--font-display, 'Syne', sans-serif);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(35, 122, 89, 0.3);
}

.performance-details h4 {
    color: #237A59;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    margin-top: 0;
}

.performance-details p {
    color: var(--text-light, #DDD);
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

/* Pain Points Grid */
.go-ikn-pain-points-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.go-ikn-pain-point-card {
    background-color: var(--surface-card, #1A1A1A);
    border: 1px solid var(--border-light, #333);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.go-ikn-pain-point-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-orange);
    /* Subtle red glow on hover to indicate pain point */
}

.pain-point-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.pain-point-title {
    color: var(--primary-orange);
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.metric-badge {
    background-color: rgba(211, 47, 47, 0.1);
    /* Light red tint */
    color: #D32F2F;
    /* Red for alert */
    font-weight: 700;
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 20px;
}

.metric-badge.warning {
    background-color: rgba(255, 193, 7, 0.1);
    /* Light yellow */
    color: #FFC107;
}

.go-ikn-pain-point-card p {
    color: var(--text-light, #DDD);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Recommendations Grid */
.go-ikn-recommendations-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 16px;
}

.go-ikn-recommendation-card {
    background: linear-gradient(180deg, rgba(31, 31, 31, 0.6) 0%, rgba(51, 20, 9, 0.4) 100%);
    border: 1px solid var(--primary-orange, #D84F2A);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.recommendation-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(216, 79, 42, 0.15);
    /* Tinted orange */
    color: var(--primary-orange, #D84F2A);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    margin: 0 auto 16px auto;
}

.go-ikn-recommendation-card h4 {
    color: var(--primary-orange, #D84F2A);
    font-size: 16px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 8px;
}

.go-ikn-recommendation-card p {
    color: var(--text-white, #FFF);
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 900px) {

    .go-ikn-pain-points-row,
    .go-ikn-recommendations-row {
        grid-template-columns: 1fr;
    }

    .go-ikn-performance-card {
        flex-direction: column;
        text-align: center;
    }
}