:root {
    --bg: #f5f7fb;
    --card: #fff;
    --muted: #667085;
    --border: #e6e8f0;
    --ink: #101828;
    --good: #00cc66;
    --avg: #fa3;
    --bad: #eb0f00;
    --accent: #2563eb;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font: 14px/1.45 system-ui, Segoe UI, Roboto, Inter, Arial
}

.iframe-container {
    position: relative;
}

.iframe-container.preview-mobile {
    width: 20%;
    height: 50%;
}

.iframe-container.preview-desktop {
    display: block;
    width: 38%;
    height: 250px;
}

.iframe-container .screenshot-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media(max-width:700px) {
    .iframe-container .screenshot-img {
        height: 60%;
    }
}

@media(min-width: 701px) and (max-width:947px) {
    .iframe-container .screenshot-img {
        height: 80%;
    }

    .divider-vertical {
        margin: 0px 50px 0 50px !important;
    }
}

.wrap {
    max-width: 1000px;
    margin: 24px auto;
    padding: 0 16px
}

#mainContent {
    display: none;
}

.topbar {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.search {
    display: flex;
    gap: 8px;
    flex: 1
}

.search input {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px;
    font: inherit;
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease;
}

.search input.url-empty {
    border-color: #9ca3af;
}

.search input.url-valid {
    border-color: #00cc66;
}

.search input.url-invalid {
    border-color: #ef4444;
}

.search button {
    border: 0;
    background: var(--accent);
    color: #fff;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer
}

.search button:hover {
    background: #1e40af
}

.search button:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.url-error-message {
    color: #ef4444;
    font-size: 12px;
    margin-top: 6px;
    padding: 10px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    display: none;
    max-width: 100%;
    text-align: left;
}

.url-error-message.show {
    display: block;
}

.tabs {
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgb(255, 255, 255);
    margin-bottom: 20px;
}

.unmodified-tabs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

.tab {
    padding: 10px 12px;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    color: #475467;
}

.tab.active {
    color: var(--accent);
    border-bottom: 3px solid var(--accent);
    margin-bottom: -3px;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin: 0;
    margin-bottom: 16px;
    margin-top: 20px;
}

.card .head {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(0, 0, 0, .87);
}

.data-analysis {
    padding: 14px 16px;
}

.card .body {
    padding: 16px
}

.grid {
    display: grid;
    gap: 16px
}

.g4 {
    display: flex;
    justify-content: center;
    grid-template-columns: repeat(4, minmax(0, 1fr))
}

.g2 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
}

.info-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background-color: #f1f1f1;
    color: var(--bg-soft);
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    cursor: help;
    margin-left: 6px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.info-tooltip:hover {
    background-color: #cecece;
    transform: scale(1.2);
}

.info-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 50%;
    left: 130%;
    transform: translateY(-50%);
    background-color: #f3f3f3;
    color: rgb(100, 100, 100);
    padding: 16px 20px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    width: 200px;
    white-space: normal;
    line-height: 1.6;
    text-align: left;
    pointer-events: none;
}

.info-tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    left: 140%;
}

.info-tooltip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 120%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-right-color: #2c3e50;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
}

.info-tooltip:hover::before {
    opacity: 1;
    visibility: visible;
    left: 130%;
}

.gauge2 {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.greatpages-advantage{
    background-color: var(--card);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
}

@media (max-width:960px) {
    body {
        font-size: 13px;
    }

    .wrap {
        max-width: 100%;
        margin: 16px auto;
        padding: 0 12px;
    }

    .g4,
    .g2 {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero-title {
        font-size: 24px;
        margin: 0 0 16px;
    }

    .hero-text {
        margin: 0 auto 32px;
        font-size: 14px;
        line-height: 1.6;
    }

    .topbar {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }

    .search {
        flex-direction: column;
    }

    .search input {
        padding: 10px 12px;
        font-size: 16px;
    }

    .search button {
        padding: 10px 16px;
        font-size: 16px;
    }

    .tabs {
        margin-bottom: 16px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tab {
        padding: 8px 16px;
        font-size: 14px;
        white-space: nowrap;
    }

    .card {
        margin-bottom: 12px;
        margin-top: 16px;
    }

    .card .head {
        padding: 12px 14px;
        font-size: 14px;
    }

    .card .body {
        padding: 12px;
    }

    .score-num {
        width: 48px;
        height: 48px;
        font-size: 16px;
    }

    .gauge2 {
        width: 100px;
        height: 100px;
    }

    .gauge2 svg {
        width: 100px;
        height: 100px;
    }

    .gauge2-num {
        font-size: 20px;
    }

    .summary {
        padding: 40px 0 40px;
    }

    section .summary {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 30px 0 30px;
    }

    section .summary>div {
        width: 100% !important;
        max-width: 300px;
    }

    section .summary>div:first-child {
        order: 1;
    }

    section .summary>div:nth-child(2) {
        order: 3;
        width: 1px !important;
        height: 80px !important;
        margin: 0 auto !important;
    }

    section .summary>div:last-child {
        order: 2;
        width: 200px !important;
        height: 150px !important;
    }

    #iframeContainer {
        width: 200px !important;
        height: 150px !important;
    }

    .legend {
        gap: 12px;
        font-size: 12px;
    }

    .muted {
        font-size: 10px;
    }

    .info-tooltip {
        width: 14px;
        height: 14px;
        font-size: 9px;
    }

    .info-tooltip::after {
        font-size: 11px;
        padding: 12px 16px;
        width: 250px;
    }

}

.score-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px
}

.score-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    font-weight: 500;
    font-size: 18px
}

.good .score-num {
    color: #00cc66;
    border: 3px solid #00cc66
}

.avg .score-num {
    color: #fa3;
    border: 3px solid #fa3
}

.bad .score-num {
    color: #eb0f00;
    border: 3px solid #eb0f00
}

.muted {
    color: var(--muted);
    font-size: 11px
}

.hero-title {
    font-size: 32px;
    margin: 0 0 24px;
    font-weight: 600;
    letter-spacing: .4px
}

.hero-text {
    margin: 0 auto 48px;
    color: var(--muted);
    max-width: 600px;
    font-size: 16px;
    line-height: 1.8
}

.summary {
    display: flex;
    justify-content: center;
    align-items: center;
}

.kpi {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 14px
}

.kpi strong.good {
    color: #008000
}

.kpi strong.avg {
    color: #c33300
}

.kpi strong.bad {
    color: #8b0000
}

.gauge2 svg {
    display: block;
    transform: rotate(-90deg);
}

.gauge2-num {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 28px;
    line-height: 1;
    color: #111;
    z-index: 10;
    transition: opacity 0.2s ease;
    cursor: pointer;
}

.gauge2 {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
}

.gauge2:hover .gauge2-num,
.gauge2:focus-within .gauge2-num {
    opacity: 0.35;
}

.gauge2:hover #perf-arc,
.gauge2:focus-within #perf-arc {
    stroke-width: 10px;
    filter: brightness(1.1);
}

.gauge2:hover #perf-track,
.gauge2:focus-within #perf-track {
    stroke-width: 10px;
    stroke-dasharray: 281 283;
    stroke-dashoffset: 2;
}

.gauge-kpi-labels {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.gauge2:hover .gauge-kpi-labels,
.gauge2:focus-within .gauge-kpi-labels {
    opacity: 1;
}

.gauge-kpi-label {
    position: absolute;
    font-size: 12px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    transition: all 0.2s ease;
    transform-origin: center;
}

.gauge-kpi-label .label-text {
    background: rgba(255, 255, 255, 0.95);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gauge-kpi-label .label-line {
    position: absolute;
    background: currentColor;
    transform-origin: left center;
    height: 1px;
}

.kpi-fcp {
    color: #00cc66;
}

.kpi-lcp {
    color: #2563eb;
}

.kpi-cls {
    color: #f59e0b;
}

.kpi-tbt {
    color: #ef4444;
}

.kpi-si {
    color: #8b5cf6;
}

.tier-good {
    color: #00cc66 !important;
}

.tier-good .label-text {
    border-color: #00cc66 !important;
    color: #00cc66 !important;
}

.tier-avg {
    color: #fa3 !important;
}

.tier-avg .label-text {
    border-color: #fa3 !important;
    color: #fa3 !important;
}

.tier-bad {
    color: #eb0f00 !important;
}

.tier-bad .label-text {
    border-color: #eb0f00 !important;
    color: #eb0f00 !important;
}

.gauge2 #perf-fill {
    r: 42;
}

.legend {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 12px;
    color: #60606a
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%
}

.dot.red {
    background: #eb0f00
}

.dot.amber {
    background: #fa3
}

.dot.green {
    background: #00cc66
}

.hint {
    margin: 6px 0 0 2px
}

.kpi-status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
    flex-shrink: 0;
}

.kpi-status-dot.good {
    background-color: #16a34a;
}

.kpi-status-dot.avg {
    background-color: #f59e0b;
}

.kpi-status-dot.bad {
    background-color: #ef4444;
}

.status {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    margin: 8px 0 16px;
    opacity: 0;
    transform: translateY(-4px);
    transition: .25s
}

.status.show {
    opacity: 1;
    transform: none
}

.status.hidden {
    display: none
}

.status-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px
}

.spinner {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid #e5e7eb;
    border-top-color: var(--accent);
    animation: spin .9s linear infinite
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.status-text {
    flex: 1
}

.elapsed {
    font-variant-numeric: tabular-nums;
    color: #475467
}

.bar {
    height: 6px;
    background: #eef2f7;
    border-radius: 999px;
    overflow: hidden
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #22c55e)
}

.improve-performance {
    display: flex;
    justify-content: space-between;
    background-color: rgba(30, 164, 70, 0.08);
    padding: 10px;
    border-radius: 10px;
    align-items: center;
}

.improve-performance button {
    background-color: #ffffff;
    color: #1a73e8;
    border: 1px solid #e0e0e0;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    margin-right: 10px;
}

.improve-performance button:hover {
    background-color: rgb(250, 250, 250);
}

.improve-performance p {
    margin-left: 10px;
}

#heroSection {
    text-align: center;
    padding: 80px 0 0 0;
}

.gauge2-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    min-width: 300px;
    margin: 0 0 100px;
}

.gauge2-title {
    font-size: 16px;
    font-weight: 500;
}

.gauge2-description {
    font-size: 13px;
    color: var(--muted);
    text-align: center;
    max-width: 300px;
    line-height: 1.5;
}

.divider {
    width: 1px;
    height: 120px;
    background: var(--border);
}

.divider-horizontal {
    height: 1px;
    background: var(--border);
    margin: 30px 0 100px;
}

.divider-vertical {
    width: 1px;
    height: 120px;
    background: var(--border);
    margin: 0px 90px 0 70px;
}

.section-title {
    font-weight: 600;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.87);
}

.section-title:nth-of-type(1) {
    margin: 30px 0 10px;
}

.section-description {
    font-size: 12px;
    color: #757575;
    line-height: 1.5;
    margin-bottom: 10px;
}

.crux-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 10px;
}

.crux-column {
    display: flex;
    flex-direction: column;
}

.crux-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
}

.crux-box-title {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 13px;
}

.gauge2-small {
    width: 100px !important;
    height: 100px !important;
}

.gauge2-small svg {
    width: 100px !important;
    height: 100px !important;
}

.gauge2-small .gauge2-num {
    font-size: 18px !important;
}

.gauge2-medium {
    width: 120px !important;
    height: 120px !important;
}

.gauge2-medium svg {
    width: 120px !important;
    height: 120px !important;
}

.gauge2-medium .gauge2-num {
    font-size: 22px !important;
}

.gauge2-large {
    width: 150px !important;
    height: 150px !important;
}

.gauge2-large svg {
    width: 150px !important;
    height: 150px !important;
}

.gauge2-large .gauge2-num {
    font-size: 28px !important;
}

.divider-small {
    height: 50px !important;
}

.divider-medium {
    height: 80px !important;
}

.divider-large {
    height: 120px !important;
}

@media (max-width:600px) {
    .improve-performance {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .improve-performance p {
        margin-left: 0;
        margin-bottom: 0;
    }

    .improve-performance button {
        width: 50%;
        margin-right: 0;
    }

    .summary {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        flex-direction: column;
    }

    .divider-vertical {
        display: none;
    }

}

.promo-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-popup.hidden {
    display: none;
}

.promo-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.promo-popup-content {
    position: relative;
    background: #f5f7fb;
    border-radius: 16px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    animation: popupSlideIn 0.3s ease-out;
    border: 1px solid var(--border);
    padding: 5px 30px 5px 40px;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.promo-popup-close {
    position: sticky;
    top: 16px;
    right: 0;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: var(--ink);
    transition: all 0.2s ease;
    z-index: 10;
    margin: 0 0 0 auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.promo-popup-close:hover {
    background: var(--bg);
    transform: scale(1.1);
}

.promo-popup-body {
    padding: 40px;
    color: var(--ink);
    background-color: #f5f7fb;
}

.comparison-title {
    font-size: 25px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 10px 0;
    color: #00cc66;
}

.comparison-description {
    color: var(--muted);
    text-align: center;
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.platform-metrics {
    margin-bottom: 25px;
}

.metric-row.enhanced {
    background: var(--bg);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.metric-item.enhanced {
    position: relative;
    background: var(--card);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid var(--border);
}

.metric-after.enhanced {
    color: var(--good);
    font-weight: 700;
    font-size: 20px;
}

.enhancement-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--good);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 204, 102, 0.3);
}

.additional-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.platform-advantage {
    display: flex;
    align-items: center;
    background: var(--card);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.advantage-icon {
    font-size: 32px;
    margin-right: 15px;
    flex-shrink: 0;
    color: var(--accent);
}

.advantage-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--ink);
}

.advantage-content p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
}

.btn-primary {
    padding: 10px 20px;
    border-radius: 10px;
    background: #00cc66;
    color: #fffcfc;
    border-color: #00cc66;
    margin-top: 20px;
}

.btn-primary:hover {
    cursor: pointer;
    background: #00b359;
    border-color: #00b359;
}

.metric-after.enhanced {
    position: relative;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px var(--good), 0 0 10px var(--good), 0 0 15px var(--good);
    }

    to {
        text-shadow: 0 0 10px var(--good), 0 0 20px var(--good), 0 0 30px var(--good);
    }
}

@media (max-width: 768px) {
    .comparison-section {
        padding: 20px;
        margin: 20px 0;
    }

    .additional-metrics {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .platform-advantage {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .advantage-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 700px) {
    .summary {
        flex-direction: column;
    }

    .divider-vertical {
        display: none;
    }

}

.client-results-section {
    background: var(--card);
    border-radius: 16px;
    padding: 30px 30px 20px 30px;
    margin: 30px 0;
    border: 1px solid var(--border);
}

.results-title {
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    color: var(--ink);
}

.results-description {
    color: var(--muted);
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
}

.enhanced-scores-section {
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
    color: var(--ink);
}

.enhanced-scores-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.enhanced-score-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 15px;
    background: var(--bg);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.enhanced-score-pill .score-num {
    width: 60px;
    height: 60px;
    font-size: 20px;
    border: 3px solid var(--good);
}

.enhanced-gauge-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    min-width: 300px;
    margin: 50px 0 50px 0;
}

.enhanced-gauge {
    position: relative;
    width: 180px;
    height: 180px;
}

.enhanced-gauge svg {
    width: 180px;
    height: 180px;
}

.enhanced-gauge-val {
    font-size: 32px;
    font-weight: 800;
    color: var(--good);
}

.enhanced-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
}

.enhanced-description {
    font-size: 14px;
    color: var(--muted);
    text-align: center;
    max-width: 350px;
    line-height: 1.5;
}

.enhanced-legend {
    gap: 16px;
    font-size: 13px;
    color: var(--muted);
}

.enhanced-lab-section {
    margin-bottom: 30px;
}

.enhanced-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 15px;
}

.enhanced-kpi {
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--card);
}

.enhanced-kpi strong.good {
    color: var(--good);
    font-size: 16px;
}

.enhanced-section-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
    background: var(--bg);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.enhanced-crux-section {
    margin-bottom: 20px;
}

.enhanced-crux-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.enhanced-crux-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.enhanced-crux-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.enhanced-crux-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--good);
}

.enhanced-crux-box .crux-box-title {
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--ink);
}

.enhanced-kpi-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.enhanced-kpi-content strong.good {
    color: var(--good);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.enhanced-kpi-content .muted {
    font-size: 12px;
    color: var(--muted);
}

@media (max-width: 768px) {
    .client-results-section {
        padding: 20px;
        margin: 20px 0;
    }

    .enhanced-scores-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .enhanced-metrics-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .enhanced-crux-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .enhanced-gauge {
        width: 140px;
        height: 140px;
    }

    .enhanced-gauge svg {
        width: 140px;
        height: 140px;
    }

    .enhanced-gauge-val {
        font-size: 24px;
    }
}