/* ─── Enhanced Audit Design - Customer Attractive ─────────────────────────────── */

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

:root {
    --bg: #f8fafc;
    --bg-alt: #f0f4f9;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    --border-warm: #e8d5c4;
    --text: #1a202c;
    --text-light: #475569;
    --text-muted: #64748b;
    --accent: #2563eb;
    --accent-dark: #1e40af;
    --accent-light: #3b82f6;
    --accent-warm: #f97316;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #06b6d4;
    --radius: 16px;
    --radius-lg: 20px;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mono: "Fira Code", "Courier New", monospace;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%);
    color: var(--text);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-dark);
}

/* ─── REPORT CONTAINER - FIXED ───────────────────────────────────────────────────── */
.report-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 100px 24px 80px;
}

/* ─── REPORT HEADER - Enhanced ───────────────────────────────────────────────── */
.report-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 24px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 32px 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    /* box-shadow: var(--shadow-lg); */
}

.report-header-left h1 {
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 8px 0;
    word-break: break-all;
}

.eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
}

.report-client {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 6px;
    font-weight: 500;
}

.report-meta {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 8px;
    word-break: break-word;
}

.report-header-right {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* ─── BUTTONS - Enhanced ───────────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 11px 24px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    /* box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35); */
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary::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;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    /* box-shadow: 0 8px 30px rgba(37, 99, 235, 0.55); */
    transform: translateY(-2px);
    text-decoration: none;
    color: #fff;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-light);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-secondary:hover {
    border-color: var(--accent);
    background: rgba(37, 99, 235, 0.08);
    color: var(--accent);
    /* box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12); */
    text-decoration: none;
}

.btn-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border: 1.5px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: var(--error);
    /* box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2); */
}

/* ─── ALERTS ───────────────────────────────────────────────────────────── */
.alert {
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.alert-info {
    background: rgba(6, 182, 212, 0.1);
    border: 1.5px solid rgba(6, 182, 212, 0.2);
    color: #0891b2;
}

.alert-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(249, 115, 22, 0.05));
    border: 1.5px solid rgba(239, 68, 68, 0.2);
    color: var(--error);
}

/* ─── PROCESSING CARD ───────────────────────────────────────────────────── */
.processing-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 32px;
    /* box-shadow: var(--shadow-lg); */
    margin-bottom: 32px;
}

.processing-content {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.processing-icon {
    font-size: 1.35rem;
}

.processing-content h2 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 800;
}

.processing-content p {
    margin: 6px 0 0;
    color: #64748b;
}

.progress-bar {
    background: #e2e8f0;
    border-radius: 9999px;
    overflow: hidden;
    height: 14px;
}

.progress-fill {
    height: 14px;
    background: linear-gradient(135deg, #2563eb, #f97316);
    transition: width 0.4s ease;
}

.processing-note {
    margin: 16px 0 0;
    color: #475569;
    font-size: 0.9rem;
}

/* ─── SCORE GAUGE - Premium ───────────────────────────────────────────────── */
.scores-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    margin-bottom: 44px;
}

@media (max-width: 992px) {
    .scores-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.gauge-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* box-shadow: var(--shadow-lg); */
    position: relative;
    overflow: hidden;
}

.gauge-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.gauge-wrap {
    position: relative;
    width: 200px;
    height: 130px;
    margin-bottom: 16px;
    z-index: 1;
}

.gauge-svg {
    width: 100%;
    height: 100%;
}

.gauge-label {
    position: absolute;
    bottom: -21px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
}

.gauge-num {
    font-size: 2rem;
    font-weight: 900;
    font-family: var(--mono);
    background: linear-gradient(135deg, var(--accent), var(--accent-warm));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gauge-max {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-left: 2px;
}

.gauge-status {
    font-size: 1.1rem;
    font-weight: 800;
    margin-top: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent-warm));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: 1;
    position: relative;
}

.gauge-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ─── CATEGORY BARS - Enhanced ───────────────────────────────────────────── */
.category-bars {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* box-shadow: var(--shadow-lg); */
}

.cat-bar-row {
    display: grid;
    grid-template-columns: 28px 130px 1fr 45px 80px;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.cat-bar-row:last-child {
    border-bottom: none;
}

.cat-bar-row:hover {
    background: rgba(37, 99, 235, 0.03);
}

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

.cat-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
}

.cat-bar-track {
    background: var(--bg-alt);
    border-radius: 8px;
    height: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    /* box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05); */
}

.cat-bar-fill {
    height: 100%;
    border-radius: 8px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    /* box-shadow: 0 0 10px rgba(37, 99, 235, 0.3); */
}

.cat-score {
    font-size: 0.85rem;
    font-weight: 800;
    text-align: right;
    font-family: var(--mono);
    background: linear-gradient(135deg, var(--accent), var(--accent-warm));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cat-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .cat-bar-row {
        grid-template-columns: 28px 1fr 40px;
        gap: 10px;
    }

    .cat-label {
        display: none;
    }

    .cat-name {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .cat-bar-row {
        grid-template-columns: 24px 1fr 35px;
        gap: 8px;
        padding: 8px 0;
    }

    .cat-icon {
        font-size: 1rem;
    }

    .cat-score {
        font-size: 0.75rem;
    }
}

/* ─── REPORT SECTION ───────────────────────────────────────────────── */
.report-section {
    margin-bottom: 44px;
}

.section-heading {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-heading--green {
    color: var(--success);
}

.section-heading--red {
    color: var(--error);
}

.section-subtitle {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* ─── STRENGTHS - Gorgeous ───────────────────────────────────────────────── */
.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}

.strength-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(59, 130, 246, 0.06) 100%);
    border: 1.5px solid rgba(16, 185, 129, 0.2);
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: var(--transition);
    /* box-shadow: var(--shadow); */
    position: relative;
    overflow: hidden;
}

.strength-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--success), transparent);
}

.strength-card:hover {
    border-color: rgba(16, 185, 129, 0.4);
    /* box-shadow: 0 8px 24px rgba(16, 185, 129, 0.12); */
    transform: translateY(-2px);
}

.strength-check {
    color: var(--success);
    font-size: 1.2rem;
    font-weight: 900;
    flex-shrink: 0;
}

.strength-card strong {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.4;
}

.strength-cat {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 480px) {
    .strengths-grid {
        grid-template-columns: 1fr;
    }

    .strength-card {
        padding: 14px 16px;
    }
}

/* ─── ISSUE COUNTS ───────────────────────────────────────────────────────── */
.issue-counts {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.issue-count {
    background: rgba(255, 255, 255, 0.9);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 16px 20px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    min-width: 90px;
    transition: var(--transition);
    /* box-shadow: var(--shadow); */
    font-weight: 600;
    flex: 1;
    max-width: 140px;
}

.issue-count:hover {
    /* box-shadow: var(--shadow-lg); */
}

.issue-count span {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    font-family: var(--mono);
    margin-bottom: 2px;
}

.issue-count--critical span {
    color: var(--error);
}

.issue-count--high span {
    color: var(--accent-warm);
}

.issue-count--medium span {
    color: var(--warning);
}

.issue-count--low span {
    color: var(--success);
}

@media (max-width: 480px) {
    .issue-count {
        min-width: 70px;
        padding: 12px 14px;
        font-size: 0.7rem;
        max-width: 100%;
    }

    .issue-count span {
        font-size: 1.4rem;
    }
}

/* ─── ISSUE CARDS - Beautiful ────────────────────────────────────────────── */
.issues-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.issue-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.issue-card:hover {
    box-shadow: var(--shadow-lg);
}

.issue-card.impact--critical {
    border-left: 4px solid var(--error);
}

.issue-card.impact--high {
    border-left: 4px solid var(--accent-warm);
}

.issue-card.impact--medium {
    border-left: 4px solid var(--warning);
}

.issue-card.impact--low {
    border-left: 4px solid var(--success);
}

.issue-summary {
    display: grid;
    grid-template-columns: 32px 1fr auto auto 24px;
    gap: 10px;
    align-items: center;
    padding: 14px 16px;
    cursor: pointer;
    list-style: none;
    transition: var(--transition);
}

.issue-summary::-webkit-details-marker {
    display: none;
}

.issue-summary:hover {
    background: var(--bg-alt);
}

.issue-num {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-muted);
    font-family: var(--mono);
    background: var(--bg-alt);
    padding: 4px 8px;
    border-radius: 6px;
    text-align: center;
}

.issue-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
}

.issue-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    white-space: nowrap;
}

.impact-badge--critical {
    background: rgba(239, 68, 68, 0.15);
    color: var(--error);
}

.impact-badge--high {
    background: rgba(249, 115, 22, 0.15);
    color: var(--accent-warm);
}

.impact-badge--medium {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.impact-badge--low {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.issue-cat-tag {
    font-size: 0.65rem;
    color: var(--text-muted);
    background: var(--bg-alt);
    border-radius: 6px;
    padding: 3px 8px;
    white-space: nowrap;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.issue-chevron {
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    justify-self: end;
}

details[open] .issue-chevron {
    transform: rotate(90deg);
}

.issue-body {
    padding: 0 16px 16px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }

    to {
        opacity: 1;
        max-height: 500px;
    }
}

.issue-detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 12px;
}

@media (max-width: 700px) {
    .issue-detail-row {
        grid-template-columns: 1fr;
    }

    .issue-summary {
        grid-template-columns: 28px 1fr auto 20px;
        gap: 8px;
    }

    .issue-cat-tag {
        display: none;
    }

    .issue-title {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .issue-summary {
        grid-template-columns: 24px 1fr 20px;
        gap: 6px;
        padding: 10px 12px;
    }

    .issue-badge {
        display: none;
    }

    .issue-num {
        font-size: 0.6rem;
        padding: 2px 6px;
    }

    .issue-title {
        font-size: 0.75rem;
    }
}

.issue-body h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 6px;
}

.issue-body p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
}

.issue-time {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    font-weight: 600;
}

/* ─── BREAKDOWN CARDS ──────────────────────────────────────────────────── */
.breakdown-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.breakdown-card:hover {
    box-shadow: var(--shadow-lg);
}

.breakdown-summary {
    display: grid;
    grid-template-columns: 32px 150px 1fr 80px 24px;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    cursor: pointer;
    list-style: none;
    transition: var(--transition);
}

.breakdown-summary::-webkit-details-marker {
    display: none;
}

.breakdown-summary:hover {
    background: var(--bg-alt);
}

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

.breakdown-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
}

.breakdown-bar-wrap {
    background: var(--bg-alt);
    border-radius: 8px;
    height: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    /* box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05); */
}

.breakdown-bar {
    height: 100%;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--accent), var(--accent-warm));
    /* box-shadow: 0 0 8px rgba(37, 99, 235, 0.3); */
}

.breakdown-score {
    font-size: 0.85rem;
    font-weight: 800;
    font-family: var(--mono);
    text-align: right;
    background: linear-gradient(135deg, var(--accent), var(--accent-warm));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.breakdown-chevron {
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    justify-self: end;
}

details[open] .breakdown-chevron {
    transform: rotate(90deg);
}

.breakdown-body {
    padding: 0 16px 16px;
    animation: slideDown 0.3s ease;
}

.checks-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.check-item {
    display: grid;
    grid-template-columns: 180px 1fr 40px;
    gap: 12px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.check-item:last-child {
    border-bottom: none;
}

.check-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: capitalize;
}

.check-bar-track {
    background: var(--bg-alt);
    border-radius: 6px;
    height: 6px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.check-bar-fill {
    height: 100%;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--accent), var(--accent-warm));
    /* box-shadow: 0 0 6px rgba(37, 99, 235, 0.2); */
}

.check-score {
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--mono);
    text-align: right;
    background: linear-gradient(135deg, var(--accent), var(--accent-warm));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.no-data {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 16px;
    text-align: center;
}

@media (max-width: 700px) {
    .breakdown-summary {
        grid-template-columns: 28px 130px 1fr 65px 20px;
        gap: 10px;
    }

    .breakdown-label {
        font-size: 0.8rem;
    }

    .check-item {
        grid-template-columns: 140px 1fr 35px;
    }
}

@media (max-width: 480px) {
    .breakdown-summary {
        grid-template-columns: 24px 1fr 45px 20px;
        gap: 8px;
        padding: 10px 12px;
    }

    .breakdown-label {
        font-size: 0.75rem;
    }

    .breakdown-score {
        font-size: 0.75rem;
    }

    .breakdown-bar-wrap {
        height: 6px;
    }

    .check-item {
        grid-template-columns: 1fr 35px;
        gap: 8px;
        padding: 6px 0;
    }

    .check-label {
        font-size: 0.75rem;
    }

    .check-score {
        font-size: 0.7rem;
    }
}

/* ─── FOOTER ───────────────────────────────────────────────────────────── */
.report-footer-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 24px 0;
    border-top: 2px solid var(--border);
    margin-top: 36px;
}

.report-footer-actions .btn-primary,
.report-footer-actions .btn-secondary,
.report-footer-actions .btn-danger {
    font-size: 0.85rem;
    padding: 10px 18px;
}

@media (max-width: 480px) {
    .report-footer-actions {
        flex-direction: column;
        gap: 8px;
    }

    .report-footer-actions .btn-primary,
    .report-footer-actions .btn-secondary,
    .report-footer-actions .btn-danger {
        width: 100%;
        justify-content: center;
        white-space: normal;
    }
}

/* ─── HELP SECTION - Mobile Optimized ──────────────────────────────────── */
.audit-help-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px;
    background: #ffffff;
    border-radius: 32px;
    /* box-shadow: 0 20px 60px rgba(15, 23, 42, 0.06); */
    position: relative;
    overflow: hidden;
}

@media (max-width: 480px) {
    .audit-help-section {
        padding: 24px 12px;
        border-radius: 20px;
        margin: 0 4px;
    }
}

/* ─── PRINT ───────────────────────────────────────────────────────────── */
@media print {
    .navbar,
    .report-header-right,
    .report-footer-actions,
    .btn-primary,
    .btn-secondary,
    .btn-danger {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    .report-container {
        padding: 20px;
    }

    .report-header {
        background: #fff;
        border: 1px solid #ccc;
        box-shadow: none;
    }

    .gauge-card,
    .category-bars,
    .issue-card,
    .breakdown-card,
    .strength-card {
        border: 1px solid #ccc !important;
        background: #f9f9f9 !important;
        box-shadow: none !important;
    }

    details .issue-body,
    details .breakdown-body {
        display: block !important;
    }

    .audit-help-section {
        box-shadow: none;
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }
}

/* ─── Responsive Container Fix ───────────────────────────────────────── */
.about-hero {
    width: 100%;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .report-container {
        padding: 100px 12px 60px;
    }

    .report-header {
        padding: 20px;
        flex-direction: column;
    }

    .report-header-left h1 {
        font-size: 1.6rem;
    }

    .report-header-right {
        width: 100%;
        justify-content: flex-start;
    }

    .report-header-right .btn-secondary {
        font-size: 0.8rem;
        padding: 8px 14px;
    }
}

@media (max-width: 480px) {
    .report-container {
        padding: 100px 8px 40px;
    }

    .report-header {
        padding: 16px;
        border-radius: 14px;
    }

    .report-header-left h1 {
        font-size: 1.3rem;
    }

    .report-meta {
        font-size: 0.75rem;
    }

    .report-client {
        font-size: 0.8rem;
    }

    .eyebrow {
        font-size: 0.6rem;
    }

    .gauge-card {
        padding: 20px 16px;
    }

    .gauge-wrap {
        width: 160px;
        height: 105px;
    }

    .gauge-num {
        font-size: 2.4rem;
    }

    .category-bars {
        padding: 16px 12px;
    }

    .section-heading {
        font-size: 1.2rem;
    }

    .processing-content {
        flex-direction: column;
        text-align: center;
    }

    .processing-content h2 {
        font-size: 1.1rem;
    }
}

/* Fix for very small screens */
@media (max-width: 360px) {
    .report-header-left h1 {
        font-size: 1.1rem;
    }

    .gauge-wrap {
        width: 140px;
        height: 92px;
    }

    .gauge-num {
        font-size: 2rem;
    }

    .cat-bar-row {
        grid-template-columns: 20px 1fr 30px;
        gap: 6px;
        font-size: 0.7rem;
    }

    .cat-icon {
        font-size: 0.9rem;
    }
}
</style>
    <style>
        /* ===== HELP SECTION ===== */
        .audit-help-section {
    max-width: 1280px;
    margin: 0px auto;
    padding: 60px 40px;
    background: #ffffff;
    border-radius: 32px;
    /* box-shadow: 0 20px 60px rgba(15, 23, 42, 0.06); */
    position: relative;
    overflow: hidden;
}

.audit-help-section::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.audit-help-section::after {
    content: "";
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ===== HEADER ===== */
.audit-help-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.help-badge {
    display: inline-block;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #1e40af;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.audit-help-header h2 {
    font-size: 2.8rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 16px;
    line-height: 1.2;
}

.audit-help-header h2 .highlight {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.audit-help-header p {
    font-size: 1.1rem;
    color: #475569;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 500;
}

/* ===== SERVICE PACKAGES GRID ===== */
.audit-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.audit-service-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 24px;
    padding: 36px 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03); */
}

.audit-service-card:hover {
    border-color: #93bbfc;
    /* box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1); */
    transform: translateY(-4px);
}

.audit-service-card--featured {
    border-color: #2563eb;
    border-width: 3px;
    background: linear-gradient(145deg, #ffffff 0%, #f8faff 100%);
    /* box-shadow: 0 20px 60px rgba(37, 99, 235, 0.15); */
    transform: scale(1.03);
}

.audit-service-card--featured:hover {
    transform: scale(1.03) translateY(-4px);
    /* box-shadow: 0 30px 80px rgba(37, 99, 235, 0.2); */
}

/* Badges */
.service-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 14px;
    width: fit-content;
}

.service-badge--quick {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.service-badge--featured {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    border: none;
    padding: 6px 20px;
}

.service-badge--ongoing {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93bbfc;
}

.audit-service-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.service-desc {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.5;
    flex-grow: 0;
}

/* Price */
.service-price {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.service-price--featured {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: #1d4ed8;
}

.service-price--featured .price-amount,
.service-price--featured .price-term {
    color: #ffffff;
}

.price-amount {
    display: block;
    font-size: 2.4rem;
    font-weight: 900;
    color: #2563eb;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.price-term {
    display: block;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 4px;
    font-weight: 600;
}

/* Features */
.service-features {
    list-style: none;
    margin: 0 0 28px 0;
    padding: 0;
    flex-grow: 1;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.9rem;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
    line-height: 1.4;
}

.service-features li:last-child {
    border-bottom: none;
}

.feature-icon {
    flex-shrink: 0;
    font-size: 0.85rem;
    margin-top: 1px;
}

.service-features strong {
    color: #0f172a;
    font-weight: 700;
    margin-right: 4px;
}

.feature-desc {
    color: #64748b;
    font-weight: 400;
    display: block;
    font-size: 0.85rem;
    margin-top: 1px;
}

.service-features li:has(.feature-desc) {
    flex-wrap: wrap;
}

/* CTA Buttons */
.service-cta {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.3px;
    margin-bottom: 14px;
}

.service-cta--quick {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    /* box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3); */
}

.service-cta--quick:hover {
    transform: translateY(-2px);
    /* box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4); */
}

.service-cta--featured {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    /* box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35); */
}

.service-cta--featured:hover {
    transform: translateY(-2px);
    /* box-shadow: 0 8px 30px rgba(37, 99, 235, 0.45); */
}

.service-cta--ongoing {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #ffffff;
    /* box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3); */
}

.service-cta--ongoing:hover {
    transform: translateY(-2px);
    /* box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4); */
}

.service-note {
    font-size: 0.8rem;
    color: #94a3b8;
    text-align: center;
    font-style: italic;
    margin: 0;
}

.service-note--featured {
    color: #64748b;
}

/* ===== SOLUTIONS SECTION ===== */
.audit-solutions-section {
    background: #f8fafc;
    border: 2px solid #e5e7eb;
    border-radius: 24px;
    padding: 48px 40px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.audit-solutions-section:hover {
    border-color: #93bbfc;
}

.solutions-header {
    text-align: center;
    margin-bottom: 36px;
}

.solutions-badge {
    display: inline-block;
    background: #ffffff;
    color: #2563eb;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border: 1px solid #e5e7eb;
    margin-bottom: 12px;
}

.solutions-header h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.solutions-header p {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.solution-item {
    padding: 28px 20px;
    background: #ffffff;
    border-radius: 16px;
    border: 1.5px solid #e5e7eb;
    transition: all 0.3s ease;
    text-align: center;
    cursor: default;
}

.solution-item:hover {
    border-color: #2563eb;
    transform: translateY(-4px);
    /* box-shadow: 0 12px 30px rgba(37, 99, 235, 0.08); */
}

.solution-icon {
    font-size: 2.8rem;
    display: block;
    margin-bottom: 12px;
    line-height: 1;
}

.solution-item h4 {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.solution-item p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
    font-weight: 400;
    margin: 0;
}

/* ===== CTA SECTION ===== */
.audit-cta-final {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
    border-radius: 24px;
    padding: 56px 48px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    /* box-shadow: 0 20px 60px rgba(15, 23, 42, 0.3); */
}

.audit-cta-final::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.audit-cta-final::after {
    content: "";
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: #93bbfc;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 16px;
}

.audit-cta-final h3 {
    font-size: 2.4rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.audit-cta-final p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.3px;
    min-width: 200px;
    justify-content: center;
}

.btn-cta--primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    /* box-shadow: 0 8px 30px rgba(37, 99, 235, 0.35); */
}

.btn-cta--primary:hover {
    transform: translateY(-3px);
    /* box-shadow: 0 12px 40px rgba(37, 99, 235, 0.45); */
}

.btn-cta--secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-cta--secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.cta-guarantee {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.guarantee-icon {
    font-size: 1.1rem;
}

/* ===== RESPONSIVE ===== */

/* Tablets & small desktops */
@media (max-width: 1024px) {
    .audit-help-section {
        padding: 40px 24px;
        margin: 40px 20px;
    }

    .audit-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .audit-service-card--featured {
        transform: scale(1);
        grid-column: span 2;
    }

    .audit-service-card--featured:hover {
        transform: scale(1) translateY(-4px);
    }

    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .audit-help-header h2 {
        font-size: 2.2rem;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .audit-help-section {
        padding: 32px 16px;
        margin: 30px 12px;
        border-radius: 20px;
    }

    .audit-help-header h2 {
        font-size: 1.8rem;
    }

    .audit-help-header p {
        font-size: 1rem;
        padding: 0 4px;
    }

    .audit-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .audit-service-card--featured {
        grid-column: span 1;
        transform: scale(1);
    }

    .audit-service-card--featured:hover {
        transform: scale(1) translateY(-4px);
    }

    .audit-service-card {
        padding: 28px 20px;
    }

    .audit-service-card h3 {
        font-size: 1.3rem;
    }

    .price-amount {
        font-size: 2rem;
    }

    .solutions-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .solution-item {
        padding: 20px 14px;
    }

    .solution-icon {
        font-size: 2.2rem;
    }

    .solution-item h4 {
        font-size: 0.9rem;
    }

    .solution-item p {
        font-size: 0.8rem;
    }

    .audit-solutions-section {
        padding: 32px 16px;
    }

    .solutions-header h3 {
        font-size: 1.5rem;
    }

    .audit-cta-final {
        padding: 36px 20px;
    }

    .audit-cta-final h3 {
        font-size: 1.6rem;
    }

    .audit-cta-final p {
        font-size: 0.95rem;
    }

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

    .btn-cta {
        min-width: 0;
        width: 100%;
        max-width: 320px;
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    .cta-guarantee {
        font-size: 0.8rem;
        padding: 8px 16px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .audit-help-section {
        padding: 24px 12px;
        margin: 20px 8px;
        border-radius: 16px;
    }

    .help-badge {
        font-size: 0.7rem;
        padding: 6px 14px;
    }

    .audit-help-header h2 {
        font-size: 1.4rem;
    }

    .audit-help-header p {
        font-size: 0.9rem;
    }

    .audit-service-card {
        padding: 20px 16px;
    }

    .service-badge {
        font-size: 0.6rem;
        padding: 4px 12px;
    }

    .service-desc {
        font-size: 0.85rem;
    }

    .price-amount {
        font-size: 1.6rem;
    }

    .service-features li {
        font-size: 0.8rem;
        padding: 8px 0;
    }

    .service-cta {
        font-size: 0.85rem;
        padding: 12px 20px;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .solution-item {
        padding: 16px 12px;
        /* display: flex; */
        align-items: center;
        gap: 12px;
        text-align: left;
    }

    .solution-icon {
        padding-bottom: 15px;
        font-size: 1.8rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .solution-item h4 {
        font-size: 0.85rem;
        margin-bottom: 2px;
    }

    .solution-item p {
        font-size: 0.75rem;
    }

    .audit-solutions-section {
        padding: 24px 12px;
    }

    .solutions-header h3 {
        font-size: 1.2rem;
    }

    .audit-cta-final {
        padding: 28px 16px;
    }

    .audit-cta-final h3 {
        font-size: 1.3rem;
    }

    .audit-cta-final p {
        font-size: 0.85rem;
    }

    .btn-cta {
        font-size: 0.85rem;
        padding: 12px 20px;
    }

    .cta-guarantee {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
}
