/* Estimate section */
.estimate-section {
    padding-top: 0;
}

.estimate-summary-card {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

.estimate-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.estimate-summary-header h3 {
    text-align: left;
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.estimate-summary-header p {
    margin-bottom: 0;
    color: #666;
    max-width: 760px;
}

.report-alert-section {
    padding-top: 1.25rem;
    padding-bottom: 0;
}

.report-alert-banner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.15rem 1.2rem;
    border-radius: 16px;
    border: 1px solid #f3d3a1;
    background: linear-gradient(180deg, #fffaf0 0%, #fff4df 100%);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.report-alert-banner-icon {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.75);
    color: #b45309;
    font-size: 1.15rem;
    font-weight: 800;
    flex: 0 0 auto;
}

.report-alert-banner-content h3 {
    margin-bottom: 0.35rem;
    color: #8a4b00;
}

.report-alert-banner-content p {
    margin-bottom: 0;
    color: #6b4f1d;
    line-height: 1.6;
}

.report-alert-banner-reason {
    margin-top: 0.7rem;
    font-size: 0.92rem;
    color: #7c5a21;
}

.report-alert-banner-reason strong {
    color: #8a4b00;
}

.estimate-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.estimate-stat-card {
    background: #f8f9fa;
    border: 1px solid #e7e7e7;
    border-radius: var(--border-radius);
    padding: 1rem;
}

.estimate-stat-card-highlight {
    background: #eef4ff;
    border-color: #d7e5ff;
}

.estimate-stat-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #666;
    margin-bottom: 0.3rem;
}

.estimate-stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #111;
    line-height: 1.1;
}

.estimate-summary-note {
    margin-bottom: 1rem;
    color: #444;
}

.estimate-table-wrap {
    overflow-x: auto;
}

.estimate-table {
    width: 100%;
    border-collapse: collapse;
}

.estimate-table th,
.estimate-table td {
    border-bottom: 1px solid #ececec;
    padding: 0.9rem 0.75rem;
    text-align: left;
    vertical-align: top;
}

.estimate-table th {
    background: #f8f9fa;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #666;
}

.estimate-table-subtext {
    margin-top: 0.35rem;
    font-size: 0.9rem;
    color: #666;
}

.estimate-work-subtext {
    margin-top: 0.45rem;
    font-size: 0.92rem;
    color: #475467;
}

.estimate-select-cell {
    width: 64px;
    vertical-align: middle;
}

.estimate-checkbox-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.estimate-line-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.estimate-line-row-off {
    opacity: 0.45;
}

.estimate-line-row-off td {
    background: #f9fafb;
}

.work-order-card {
    margin-top: 1.5rem;
    background: #f6f6f6;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.15rem;
}

.work-order-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.work-order-head h3 {
    text-align: left;
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
}

.work-order-head p {
    margin-bottom: 0;
    color: #667085;
    font-size: 0.94rem;
}

.work-order-copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 1px solid #cfd8e3;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    color: #1f2937;
    padding: 0.8rem 1.1rem;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1;
    appearance: none;
    -webkit-appearance: none;
}

.work-order-copy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.10);
    border-color: #b9c7d8;
}

.work-order-copy-btn:active {
    transform: translateY(0);
}

.work-order-copy-btn:focus-visible {
    outline: 3px solid rgba(13, 71, 161, 0.18);
    outline-offset: 2px;
}

.work-order-textarea {
    width: 100%;
    min-height: 240px;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    padding: 1rem;
    font: inherit;
    line-height: 1.55;
    resize: vertical;
    background: #fcfcfd;
    color: #111827;
}

.estimate-table tfoot td {
    font-weight: 800;
}

.report-section-overview {
    background: linear-gradient(180deg, #fbfcfe 0%, #f6f8fb 100%);
    padding: 1.75rem;
    border-radius: 16px;
    border: 1px solid #e8edf3;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.report-section-overview-head {
    text-align: center;
    margin-bottom: 1rem;
}

.report-section-overview-eyebrow {
    display: inline-block;
    margin-bottom: 0.55rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: #eef4ff;
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.report-section-overview-head h4 {
    margin-bottom: 0.4rem;
    color: #111827;
    font-size: 1.55rem;
}

.report-section-overview-head p {
    margin-bottom: 0;
    color: #667085;
    font-size: 0.98rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.report-section-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 0.35rem;
}

.report-section-overview-foot {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e6ebf2;
}

.report-section-overview-foot p {
    margin-bottom: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #5f6b7a;
}

.report-section-overview-foot strong {
    color: #344054;
}

.report-section-link {
    display: block;
    text-decoration: none;
    border-radius: 14px;
    border: 1px solid transparent;
    padding: 1rem 1.1rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    position: relative;
    overflow: hidden;
}

.report-section-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.report-section-link-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.45rem;
}

.report-section-link-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
}

.report-section-link-title-stack {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.report-section-link-subtitle {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
}

.report-section-link-symbol {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.98rem;
    font-weight: 800;
    background: rgba(255,255,255,0.8);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.55);
    flex: 0 0 auto;
}

.report-section-link-name {
    font-weight: 800;
    color: #111827;
    font-size: 1rem;
}

.report-section-link-score-pill {
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
    padding: 0.42rem 0.78rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.86);
    border: 1px solid rgba(15,23,42,0.07);
    letter-spacing: 0.01em;
}

.report-section-link-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.report-mini-stat {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid transparent;
    background: rgba(255,255,255,0.75);
}

.report-mini-stat-issue {
    color: #b42318;
    border-color: rgba(180, 35, 24, 0.14);
}

.report-mini-stat-pass {
    color: #1b5e20;
    border-color: rgba(27, 94, 32, 0.14);
}

.report-mini-stat-info {
    color: #0d47a1;
    border-color: rgba(13, 71, 161, 0.14);
}

.report-section-progress-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.report-section-progress-bar {
    flex: 1;
    height: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.72);
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04);
}

.report-section-progress-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.9;
}

.report-section-progress-label {
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}

.section-status-green {
    background: linear-gradient(180deg, #eef9f0 0%, #e6f5e8 100%);
    border-color: #c8e6c9;
}

.section-status-green .report-section-link-score-pill,
.section-status-green .report-section-link-symbol {
    color: #1b5e20;
}

.section-status-green .report-section-progress-label,
.section-status-green .report-section-progress-fill {
    color: #1b5e20;
}

.section-status-yellow {
    background: linear-gradient(180deg, #fff9e6 0%, #fff3d4 100%);
    border-color: #ffe082;
}

.section-status-yellow .report-section-link-score-pill,
.section-status-yellow .report-section-link-symbol {
    color: #8d6e00;
}

.section-status-yellow .report-section-progress-label,
.section-status-yellow .report-section-progress-fill {
    color: #8d6e00;
}

.section-status-red {
    background: linear-gradient(180deg, #fff3f2 0%, #ffe8e6 100%);
    border-color: #ffcdd2;
}

.section-status-red .report-section-link-score-pill,
.section-status-red .report-section-link-symbol {
    color: #b71c1c;
}

.section-status-red .report-section-progress-label,
.section-status-red .report-section-progress-fill {
    color: #b71c1c;
}

.section-status-neutral {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-color: #e5e7eb;
}

.section-status-neutral .report-section-link-score-pill,
.section-status-neutral .report-section-link-symbol {
    color: #4b5563;
}

.section-status-neutral .report-section-progress-label,
.section-status-neutral .report-section-progress-fill {
    color: #4b5563;
}


/* CSS Reset & Basics */
:root {
    --primary-color: #0d47a1; /* Deep Blue */
    --accent-color: #ff6d00; /* Vibrant Orange */
    --bg-light: #EBEEF2;
    --bg-dark: #1a202c;
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --container-width: 1100px;
    --container-small: 990px;
    --spacing: 4rem;
    --border-radius: 8px;
}

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

}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 18px;
    background-color: #e7e9ee;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; margin-bottom: 1.5rem; }
h3 { font-size: 2rem; margin-bottom: 2rem; text-align: center; }
h4 { font-size: 1.3rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1.5rem; }

img { max-width: 100%; height: auto; display: block; border-radius: var(--border-radius); }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.small-container {
    max-width: var(--container-small);
}

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

.lead {
    font-size: 1.15rem;
    color: #444;
}

.highlight-mark {
    background: linear-gradient(180deg, rgba(255,255,255,0) 45%, #fff3a3 45%);
    font-weight: 700;
    padding: 0 0.15em;
}

.highlight-text {
    font-weight: 700;
    font-size: 1.15rem;
    color: #111;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(255, 109, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 109, 0, 0.4);
}

.btn-large {
    font-size: 1.4rem;
    padding: 1.2rem 3rem;
    width: 100%;
    max-width: 400px;
}

/* Hero Section */
.hero-section {
    padding: 2rem 0; /* Reduced to show checkup tool above the fold */
    background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
    border-bottom: 1px solid #e0e0e0;
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content .eyebrow {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    display: block;
}

.hero-content .eyebrow a{
    color: var(--accent-color);
}

.hero-content h1 {
    font-size: 3.5rem; /* Larger hero title */
    color: #111;
}

.hero-content h2 {
    color: var(--text-light);
    font-weight: 500;
    font-size: 1.8rem;
    margin-top: -0.5rem;
}

.hero-subtext {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 2rem;
}

.hero-offer {
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.offer-details {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.hero-image img {
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transform: rotate(-2deg);
}

/* Section Basics */
.section {
    padding: var(--spacing) 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); color: #ccc; }
.bg-dark h3, .bg-dark h4 { color: var(--white); }

/* Lists & Checklists */
ul {
    list-style-position: inside;
    margin-bottom: 1.5rem;
}

.checklist {
    list-style: none;
}

.checklist li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
}

.checklist.check-green li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.checklist.cross-red li::before {
    content: '✘';
    position: absolute;
    left: 0;
    color: #c0392b;
    font-weight: bold;
}

.checklist.text-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
    line-height: 1.5rem;
}

/* Grids */
.grid-2, .grid-3, .chapter-preview-grid, .author-grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.chapter-preview-grid {
    grid-template-columns: repeat(2, 1fr);
}

.author-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(220px, 320px);
    align-items: start;
}

.chapter-preview-list {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.chapter-preview-list li {
    margin-bottom: 0.65rem;
}

.author-copy {
    min-width: 0;
}

.author-photo {
    display: flex;
    justify-content: center;
}

.author-photo img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: cover;
}

/* Bonus Section */
.bonus-header .lead {
    font-size: 1.15rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
}

.bonus-badge {
    display: inline-block;
    background: #fff3e0;
    color: #b45309;
    border: 1px solid #ffd8a8;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.bonus-note {
    margin-top: 1rem;
    margin-bottom: 0;
    color: var(--text-light);
}

/* Left-align Bonus + Value sections for easier reading */
.bonus-section h3,
.value-section h3,
.value-section p {
    text-align: left;
}

.bonus-header {
    text-align: left;
}

/* Keep the main CTA button centered within the value section */
.value-section .btn {
    display: inline-block;
}

.value-section {
    text-align: left; /* keep body copy left */
}

.value-section .btn-large {
    display: block;
    margin: 0 auto;
}
/* Sample Section */
.sample-section .card ol {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.sample-section .card li {
    margin-bottom: 0.75rem;
}

.sample-section .card em {
    color: var(--text-light);
}
/* Specific Sections */
.cost-section .feature-item {
    margin-bottom: 2rem;
    border-left: 4px solid var(--accent-color);
    padding-left: 1.5rem;
}

.impact-statement {
    text-align: center;
    font-weight: 600;
    font-size: 1.2rem;
    margin-top: 3rem;
    padding: 2rem;
    background: #fff3e0;
    border-radius: var(--border-radius);
}

.card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid #eee;
}

.feature-box {
    background: rgba(255,255,255,0.05); /* Slight tint for dark bg */
    padding: 1.5rem;
    border-radius: var(--border-radius);
}
.feature-box ul {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #aaa;
}
.feature-box li {
    margin-bottom: 0.3rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.comparison-grid .for-you {
    background: #e8f5e9;
    padding: 2rem;
    border-radius: var(--border-radius);
}

.comparison-grid .not-for-you {
    background: #ffebee;
    padding: 2rem;
    border-radius: var(--border-radius);
}

.value-section .price-tag {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1.5rem 0;
    text-align: center;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}
.faq-item:last-child { border-bottom: none; }
.faq-item h4 { cursor: pointer; color: var(--primary-color); }

/* Mobile */
@media (max-width: 768px) {
    .container { padding: 0 1rem; }
    
    .hero-section .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 { font-size: 2.5rem; }
    
    .hero-image {
        order: -1;
        margin: 0 auto;
        max-width: 250px; /* Reduced from 300px to save vertical space */
    }
    .hero-image img { transform: rotate(0); }

    .grid-2, .grid-3, .comparison-grid, .chapter-preview-grid, .author-grid {
        grid-template-columns: 1fr;
    }

    .report-overview-grid,
    .priority-summary-grid {
        grid-template-columns: 1fr;
    }
    .estimate-summary-grid {
        grid-template-columns: 1fr;
    }

    .report-section-overview-grid {
        grid-template-columns: 1fr;
    }

    .report-section-overview-foot {
        margin-top: 0.85rem;
        padding-top: 0.85rem;
    }

    .report-section-link-top {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .report-section-link-score-pill {
        align-self: flex-start;
    }

    .report-alert-banner {
        flex-direction: column;
        padding: 1rem;
    }
    
    .report-section-progress-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.45rem;
    }
    
    .report-section-progress-bar {
        width: 100%;
    }
    
    .report-section-link-stats {
        gap: 0.35rem;
    }

    .estimate-summary-header {
        flex-direction: column;
    }

    .work-order-head {
        flex-direction: column;
    }

    .work-order-copy-btn {
        width: 100%;
    }

    .findings-category-header {
        flex-direction: column;
    }
    
    .btn-large { width: 100%; }

    .checkup-section {
        min-height: auto;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .checkup-form-card {
        padding: 1rem;
        border-radius: 18px;
    }
    
    .checkup-input-group {
        flex-direction: column;
        border-radius: 18px;
    }
    
    .checkup-input-group input {
        border-radius: 0;
        padding: 1rem 1.1rem;
    }
    
    .checkup-input-group button {
        border-radius: 14px;
        width: calc(100% - 12px);
        min-width: 0;
        margin: 0 6px 6px;
    }
    
    .checkup-trust-list {
        flex-direction: column;
        align-items: flex-start;
        max-width: 460px;
    }
}

/* Free Website Checkup UI */
.checkup-section {
    border-bottom: 1px solid #e0e0e0;
    min-height: 800px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at top center, rgba(13, 71, 161, 0.08) 0%, rgba(13, 71, 161, 0) 42%),
        linear-gradient(180deg, #f5f8fc 0%, #eef2f7 100%);
}

.checkup-hero-wrap {
    max-width: 820px;
    margin: 0 auto;
}

.checkup-eyebrow {
    display: inline-block;
    margin-bottom: 0.9rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: #e7effd;
    color: var(--accent-color);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.checkup-section h1 {
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    color: var(--primary-color);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
    text-wrap: balance;
}

.checkup-lead {
    max-width: 760px;
    margin: 0 auto 1.75rem;
    font-size: 1.15rem;
    line-height: 1.65;
    color: #475467;
}

.checkup-form-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 1.35rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 22px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.10);
    backdrop-filter: blur(8px);
}

.checkup-form {
    margin-top: 0;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.checkup-form-label {
    display: block;
    text-align: left;
    font-size: 0.92rem;
    font-weight: 700;
    color: #344054;
    margin-bottom: 0.75rem;
}

.checkup-input-group {
    display: flex;
    align-items: stretch;
    box-shadow: 0 10px 26px rgba(13, 71, 161, 0.12);
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
    border: 2px solid rgba(13, 71, 161, 0.14);
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.checkup-input-group:focus-within {
    border-color: rgba(13, 71, 161, 0.35);
    box-shadow: 0 14px 34px rgba(13, 71, 161, 0.16);
    transform: translateY(-1px);
}

.checkup-input-group input {
    flex: 1;
    padding: 1.15rem 1.35rem;
    border: none;
    font-size: 1.08rem;
    outline: none;
    font-family: 'Inter', sans-serif;
    min-width: 0;
    color: #111827;
    background: transparent;
}

.checkup-input-group input::placeholder {
    color: #98a2b3;
}

.checkup-input-group button {
    border-radius: 999px;
    margin: 6px;
    box-shadow: 0 10px 22px rgba(255, 109, 0, 0.22);
    border-left: none;
    min-width: 200px;
    padding: 1rem 1.45rem;
    font-size: 1rem;
}

.checkup-input-group button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(255, 109, 0, 0.28);
    background-color: #e66200;
}

.checkup-form-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 0.9rem;
}

.checkup-meta-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    background: #f4f7fb;
    border: 1px solid #e5ecf5;
    color: #475467;
    font-size: 0.82rem;
    font-weight: 700;
}

.checkup-status-text {
    margin-top: 1rem;
    margin-bottom: 0;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.98rem;
    animation: pulse 1.5s infinite;
}

.scan-count-text {
    margin-top: 0.85rem;
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #667085;
}

.checkup-trust-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem 1rem;
    margin: 1.3rem auto 0;
    padding: 0;
    max-width: 860px;
}

.checkup-trust-list li {
    position: relative;
    padding-left: 1.35rem;
    margin-bottom: 0;
    color: #475467;
    font-size: 0.95rem;
    font-weight: 600;
}

.checkup-trust-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 0.02rem;
    color: var(--primary-color);
    font-weight: 800;
}

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

/* -------------------------------------------------
   Report Overview & Priority Summary (Results Page)
---------------------------------------------------*/
.report-overview {
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.report-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.overview-card {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: var(--border-radius);
    padding: 1.25rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

.overview-card-score {
    border-top: 4px solid var(--primary-color);
}

.overview-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #666;
    margin-bottom: 0.4rem;
}

.overview-value {
    font-size: 2rem;
    font-weight: 800;
    color: #111;
    line-height: 1.1;
    margin-bottom: 0.4rem;
}

.overview-note {
    margin-bottom: 0;
    color: #666;
    font-size: 0.95rem;
}

.priority-summary-card {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: var(--border-radius);
    padding: 1.25rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

.priority-summary-card h3 {
    text-align: left;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.priority-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.priority-stat {
    border-radius: 10px;
    padding: 0.85rem 1rem;
    border: 1px solid transparent;
}

.priority-stat-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.priority-stat strong {
    font-size: 1.5rem;
    line-height: 1;
}

.priority-stat-critical {
    background: #ffebee;
    border-color: #ffcdd2;
    color: #b71c1c;
}

.priority-stat-high {
    background: #fff3e0;
    border-color: #ffe0b2;
    color: #e65100;
}

.priority-stat-medium {
    background: #fff9c4;
    border-color: #fff59d;
    color: #8d6e00;
}

.priority-stat-low {
    background: #e8f5e9;
    border-color: #c8e6c9;
    color: #1b5e20;
}

.findings-category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.findings-category-header h2 {
    margin-bottom: 0.35rem;
}

.category-subtitle {
    margin-bottom: 0;
    color: #666;
    font-size: 1rem;
}

.category-count-pill {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    background: #eef4ff;
    color: var(--primary-color);
    border: 1px solid #d7e5ff;
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.55rem;
}

.category-status-block {
    border-radius: var(--border-radius);
    padding: 1rem 1.2rem;
    margin-bottom: 1.25rem;
    border: 1px solid transparent;
}

.category-status-block h3 {
    text-align: left;
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.category-status-block p {
    margin-bottom: 0;
}

.category-status-block-alert {
    background: #fff1f0;
    border-color: #ffcdd2;
}

.category-status-block-alert h3 {
    color: #b71c1c;
}

.category-status-block-pass {
    background: #edf7ed;
    border-color: #c8e6c9;
}

.category-status-block-pass h3 {
    color: #1b5e20;
}

.category-status-block-info {
    background: #eef4ff;
    border-color: #d7e5ff;
}

.category-status-block-info h3 {
    color: #0d47a1;
}

.report-status-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.report-status-list li {
    position: relative;
    margin-bottom: 0.65rem;
    padding-left: 0;
}

.report-status-list li:last-child {
    margin-bottom: 0;
}

.report-status-icon {
    display: inline-block;
    margin-right: 0.4rem;
    font-weight: 800;
}

.report-status-icon.pass-icon {
    color: #1b5e20;
}

.report-status-icon.info-icon {
    color: #0d47a1;
}

.report-status-sublist {
    margin-top: 0.45rem;
    margin-left: 0.15rem;
    padding-left: 1.35rem;
    list-style: disc;
}

.report-status-sublist li {
    margin-bottom: 0.35rem;
    color: #555;
    padding-left: 0;
    list-style-position: outside;
}

.report-status-sublist li::before {
    content: none !important;
}

.report-status-list > li {
    padding-left: 0;
}

/* Checkup Results Page Specifics */
.results-header {
    background-color: #ffffff;
    background-image: 
        linear-gradient(to right, rgba(226, 232, 240, 0.6) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(226, 232, 240, 0.6) 1px, transparent 1px);
    background-size: 20px 20px;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
    padding: 3.5rem 0 2.5rem 0;
    text-align: center;
}

.results-header h1 {
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.results-header p {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.5;
}

.results-header a {
    color: #2563eb;
    text-decoration: none;
}

.results-header a:hover {
    text-decoration: underline;
}

.score-gauge-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem auto;
}

.score-gauge-container svg {
    width: 100%;
    height: 100%;
    display: block;
}

.score-gauge-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
}

.score-gauge-text .score-value {
    font-size: 3.2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    margin-top: -3px;
}

/* Overall Score Badge Pill */
.score-overall-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    border: 1px solid #e2e8f0;
}

.gauge-track {
    stroke: #e2e8f0;
}

.gauge-fill {
    stroke: #2563eb;
    transition: stroke-dashoffset 0.6s ease;
}

.findings-category {
    margin-bottom: 4.5rem;
}

.findings-category:not(:last-child) {
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #ececec;
}

.finding-card {
    background: #fff;
    border: 1px solid #eee;
    border-left: 5px solid #ccc;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.finding-card.priority-Critical { border-left-color: #d32f2f; }
.finding-card.priority-High { border-left-color: #f57c00; }
.finding-card.priority-Medium { border-left-color: #fbc02d; }
.finding-card.priority-Low { border-left-color: #388e3c; }

.priority-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.badge-Critical { background: #ffebee; color: #d32f2f; }
.badge-High { background: #fff3e0; color: #f57c00; }
.badge-Medium { background: #fff9c4; color: #f5b041; }
.badge-Low { background: #e8f5e9; color: #388e3c; }

.finding-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.finding-detail h5 {
    font-size: 0.95rem;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 0.2rem;
    margin-top: 1rem;
}

.finding-detail p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Print Styles */
.print-only-cta {
    display: none;
}

@media print {
    body, html, .bg-light, .section { 
        background: #ffffff !important; 
        background-color: #ffffff !important; 
        color: #000000 !important; 
    }
    .print-hidden, .buy-button, .report-actions, footer, .playbook-cta-section, .playbook-mid-section, .estimate-section, .playbook-cta-card { 
        display: none !important; 
    }
    
    .findings-category {
        page-break-before: always !important;
        break-before: page !important;
        margin-bottom: 2rem !important;
    }
    
    .category-status-block {
        background: #ffffff !important;
        padding: 0.85rem 1rem !important;
        border: 1px solid #e2e8f0 !important;
    }
    
    .category-status-block-alert {
        border-left: 4px solid #b71c1c !important;
    }
    
    .category-status-block-pass {
        border-left: 4px solid #1b5e20 !important;
    }
    
    .category-status-block-info {
        border-left: 4px solid #0d47a1 !important;
    }
    
    section.section:not(.print-hidden) {
        page-break-before: auto;
        break-before: auto;
    }
    
    .finding-card { 
        page-break-inside: avoid; 
        break-inside: avoid; 
        border: 1px solid #ddd; 
        box-shadow: none; 
        margin-bottom: 20px;
    }
    .code-box-container {
        border: 1px solid #ccc;
        page-break-inside: avoid;
        break-inside: avoid;
    }
    a { text-decoration: underline; color: #333; }
    .results-header {
        padding: 1.25rem 0 1rem;
        background-color: #ffffff !important;
        background-image: 
            linear-gradient(to right, rgba(226, 232, 240, 0.7) 1px, transparent 1px),
            linear-gradient(to bottom, rgba(226, 232, 240, 0.7) 1px, transparent 1px) !important;
        background-size: 20px 20px !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        border-bottom: 1px solid #ccc !important;
        color: #333333 !important;
    }
    .results-header h1 {
        font-size: 2rem;
        margin-bottom: 0.25rem;
        color: #000000 !important;
    }
    .results-header p {
        margin-bottom: 0.5rem;
        font-size: 1rem;
        color: #333333 !important;
    }
    .results-header h3 {
        margin-bottom: 0.35rem;
        font-size: 1.4rem;
        line-height: 1.2;
        color: #000000 !important;
    }
    .results-header .container.small-container {
        max-width: 700px;
    }
    .score-gauge-container {
        width: 100px !important;
        height: 100px !important;
        margin: 0 auto 0.5rem auto !important;
    }
    .score-gauge-text .score-value {
        font-size: 2.4rem !important;
        color: #000000 !important;
        margin-top: -3px !important;
    }
    .score-overall-badge {
        background: #f1f5f9 !important;
        color: #333333 !important;
        border: 1px solid #ccc !important;
        margin-bottom: 0.75rem !important;
        font-size: 0.7rem !important;
        padding: 0.25rem 0.65rem !important;
        display: inline-flex !important;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
    .report-domain-link {
        color: #0066cc !important;
    }
    .gauge-track {
        stroke: #e2e8f0 !important;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
    .gauge-fill {
        stroke: #2563eb !important;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
}

html {
    scroll-behavior: smooth;
}

/* -------------------------------------------------
   Disabled button and working state
---------------------------------------------------*/
.btn:disabled,
button:disabled,
.btn-working,
#checkup-btn:disabled {
    background-color: #64748b !important;
    border-color: #64748b !important;
    color: #f8fafc !important;
    cursor: not-allowed !important;
    opacity: 0.85;
    transform: none !important;
    box-shadow: none !important;
}

/* Home Page Prominent Working Status Card */
.checkup-status-card {
    margin-top: 1.25rem;
    padding: 1.15rem 1.25rem;
    border-radius: 12px;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.checkup-status-card .status-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.checkup-status-card.status-working {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid #60a5fa;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
    animation: workingGlow 2s infinite alternate;
}

.checkup-status-card.status-error {
    background: #fef2f2;
    border: 2px solid #f87171;
    color: #991b1b;
}

.checkup-status-card.status-success {
    background: #f0fdf4;
    border: 2px solid #4ade80;
    color: #166534;
}

.checkup-status-card.status-warning {
    background: #fffbeb;
    border: 2px solid #fcd34d;
    color: #92400e;
}

.status-spinner {
    width: 2rem;
    height: 2rem;
    border: 3px solid rgba(37, 99, 235, 0.2);
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    flex-shrink: 0;
}

.status-icon {
    font-size: 1.6rem;
    line-height: 1;
    flex-shrink: 0;
}

.status-text-group {
    flex: 1;
}

.status-headline {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 0.2rem;
}

.status-error .status-headline {
    color: #991b1b;
}

.status-success .status-headline {
    color: #166534;
}

.status-subtext {
    font-size: 0.9rem;
    color: #3b82f6;
    line-height: 1.4;
    font-weight: 500;
}

.status-error .status-subtext {
    color: #b91c1c;
}

.status-success .status-subtext {
    color: #15803d;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes workingGlow {
    0% { box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12); }
    100% { box-shadow: 0 8px 28px rgba(37, 99, 235, 0.28); }
}

/* Domain Link in Header */
.report-domain-link {
    color: #2563eb !important;
    text-decoration: underline !important;
    text-underline-offset: 4px;
    font-weight: 800;
    transition: all 0.2s ease;
}

.report-domain-link:hover {
    color: #1d4ed8 !important;
    text-decoration-thickness: 2px;
}

/* Crossed out old price */
.old-price {
    text-decoration: line-through;
    opacity: 0.72;
    margin-right: 0.35rem;
    font-weight: 600;
}

/* Playbook CTA Cards */
.playbook-cta-section {
    padding-top: 1rem;
    padding-bottom: 1.5rem;
}

.playbook-mid-section {
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.playbook-cta-card {
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    padding: 2rem 2.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
    text-align: left;
    overflow: hidden;
}

.playbook-cta-card-alt {
    background: #fff;
    border: 1px solid #EFF8FF;
    box-shadow: 0 12px 32px rgba(16, 81, 185, 0.08);
}

.playbook-cta-content {
    flex: 1;
    min-width: 0;
}

.playbook-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: #e2e8f0;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    letter-spacing: 0.02em;
}

.playbook-cta-card-alt .playbook-badge {
    background: #EFF8FF;
    color: #656565;
}

.playbook-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.65rem;
    line-height: 1.3;
}

.playbook-desc {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.playbook-action-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
}

.playbook-btn-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
}

.playbook-discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
    padding: 0.42rem 0.85rem;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.08);
    white-space: nowrap;
}

.print-discount-tag {
    color: #dc2626 !important;
    font-weight: 800;
    margin-left: 0.35rem;
}

.playbook-guarantee-note {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 500;
}

.playbook-cta-image-wrap {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
}

.book-cover-tilted {
    width: 200px;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.18)) drop-shadow(0 3px 6px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
    display: block;
}

.book-cover-tilted:hover {
    transform: scale(1.04);
    filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.25)) drop-shadow(0 5px 10px rgba(0, 0, 0, 0.12));
}

@media (max-width: 768px) {
    .playbook-cta-card {
        flex-direction: column-reverse;
        text-align: center;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    .playbook-action-wrap {
        align-items: center;
        width: 100%;
    }
    .playbook-btn-row {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
    }
    .playbook-btn-row .btn {
        width: 100%;
    }
    .book-cover-tilted {
        width: 170px;
    }
}

/* Estimate Accordion (Closed by default) */
.estimate-accordion {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius, 12px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: all 0.3s ease;
}

.estimate-accordion[open] {
    border-color: #cbd5e1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.estimate-accordion-toggle {
    display: block;
    cursor: pointer;
    list-style: none;
    padding: 1.5rem 1.75rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    user-select: none;
    transition: background-color 0.2s ease;
}

.estimate-accordion-toggle::-webkit-details-marker {
    display: none;
}

.estimate-accordion-toggle:hover {
    background: #f1f5f9;
}

.estimate-toggle-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.estimate-toggle-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.estimate-toggle-icon {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
}

.estimate-toggle-h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.2rem;
}

.estimate-toggle-subtitle {
    font-size: 0.92rem;
    color: #64748b;
    margin-bottom: 0;
}

.estimate-toggle-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    background: #2563eb;
    color: #ffffff;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    transition: transform 0.2s ease, background 0.2s ease;
    flex-shrink: 0;
}

.estimate-accordion-toggle:hover .estimate-toggle-badge {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.estimate-accordion[open] .estimate-toggle-badge {
    background: #475569;
    box-shadow: none;
}

.estimate-accordion[open] .estimate-accordion-toggle {
    border-bottom: 1px solid #e2e8f0;
}

.estimate-accordion-body {
    padding: 0;
}

.estimate-accordion-body .estimate-summary-card {
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 1.75rem;
}

@media (max-width: 768px) {
    .estimate-toggle-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .estimate-toggle-badge {
        width: 100%;
        justify-content: center;
    }
    .estimate-toggle-h2 {
        font-size: 1.2rem;
    }
}

/* -------------------------------------------------
   Score Gain & Point Opportunity Presentation
---------------------------------------------------*/
.score-gain-banner {
    margin-top: 1.25rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.score-gain-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.score-gain-subtext {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0;
}

.overview-value-sub {
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
    margin-left: 0.2rem;
}

.priority-stat-pts {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    margin-top: 0.25rem;
    color: #16a34a;
    background: #f0fdf4;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    border: 1px solid #dcfce7;
}

.priority-stat-critical .priority-stat-pts {
    color: #dc2626;
    background: #fef2f2;
    border-color: #fee2e2;
}

.priority-stat-high .priority-stat-pts {
    color: #ea580c;
    background: #fff7ed;
    border-color: #ffedd5;
}

.priority-stat-medium .priority-stat-pts {
    color: #d97706;
    background: #fffbeb;
    border-color: #fef3c7;
}

.report-mini-stat-pts {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
    font-weight: 700;
}

.finding-card-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.finding-card-badges .priority-badge {
    margin-bottom: 0;
}

.points-gain-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: auto;
    padding: 0.38rem 0.95rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #6ee7b7;
    color: #065f46;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.12);
}

.points-gain-icon {
    font-size: 0.95rem;
}

.score-impact-card {
    margin-top: 1rem;
    padding: 0.65rem 1.15rem 0.65rem 0.7rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1px solid #a7f3d0;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    max-width: 100%;
}

.score-impact-pill {
    background: #059669;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(5, 150, 105, 0.25);
}

.score-impact-desc {
    font-size: 0.92rem;
    color: #065f46;
    line-height: 1.4;
    font-weight: 500;
}

@media (max-width: 600px) {
    .score-impact-card {
        border-radius: 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.45rem;
        padding: 0.85rem 1rem;
    }
    .points-gain-badge {
        margin-left: 0;
    }
}

/* -------------------------------------------------
   Report Action Toolbar & Re-Scan Button
---------------------------------------------------*/
.report-action-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.report-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    padding: 0.65rem 1.25rem;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.report-action-btn:hover {
    transform: translateY(-1px);
}

.scan-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-left: auto;
}

.scan-count-badge strong {
    color: #0f172a;
    font-weight: 800;
}

.header-scan-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 0.4rem;
    vertical-align: middle;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@media (max-width: 600px) {
    .report-action-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .report-action-btn {
        width: 100%;
        justify-content: center;
    }
    .scan-count-badge {
        margin-left: 0;
        justify-content: center;
        width: 100%;
    }
}

/* -------------------------------------------------
   Floating Back to Top Button
---------------------------------------------------*/
.back-to-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0284c7;
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.2s ease, box-shadow 0.2s ease;
    pointer-events: none;
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top-btn:hover {
    background: #0369a1;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.45);
}

.back-to-top-btn:active {
    transform: translateY(0);
}

.back-to-top-btn svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.back-to-top-btn:hover svg {
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .back-to-top-btn {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 44px;
        height: 44px;
    }
}

@media print {
    .back-to-top-btn {
        display: none !important;
    }
}

/* Site Logo Global Styles */
.site-logo-wrap {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-top: 1.5rem;
}

.site-logo {
    max-width: 280px;
    width: 100%;
    height: auto;
    display: inline-block;
}
