/* 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;
}

.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-table tfoot td {
    font-weight: 800;
}
/* CSS Reset & Basics */
:root {
    --primary-color: #0d47a1; /* Deep Blue */
    --accent-color: #ff6d00; /* Vibrant Orange */
    --bg-light: #f8f9fa;
    --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;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 18px;
    background-color: var(--white);
    -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;
    }

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

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

    .checkup-input-group {
        flex-direction: column;
    }
    .checkup-input-group input {
        border-radius: var(--border-radius);
    }
    .checkup-input-group button {
        border-radius: var(--border-radius);
    }
}

/* Free Website Checkup UI */
.checkup-section {
    border-bottom: 1px solid #e0e0e0;
    min-height: 800px;
}

.checkup-form {
    margin-top: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.checkup-input-group {
    display: flex;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-radius: 50px;
    overflow: hidden;
    background: #fff;
    border: 2px solid var(--primary-color);
}

.checkup-input-group input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1.1rem;
    outline: none;
    font-family: 'Inter', sans-serif;
    min-width: 0;
}

.checkup-input-group button {
    border-radius: 0 50px 50px 0;
    margin: 0;
    box-shadow: none;
    border-left: 1px solid var(--primary-color);
}

.checkup-input-group button:hover {
    transform: none;
    box-shadow: none;
    background-color: #e66200; /* Darker orange */
}

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

.scan-count-text {
    margin-top: 0.85rem;
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--text-light);
}

@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;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

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

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

.category-count-pill {
    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;
}

.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: #fff8e1;
    border-color: #ffe082;
}

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

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

.report-status-list {
    margin: 0;
    padding-left: 1.2rem;
}

.report-status-list li {
    margin-bottom: 0.65rem;
}

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

.report-status-sublist {
    margin-top: 0.45rem;
    margin-left: 1rem;
    padding-left: 1.25rem;
}

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

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

/* Checkup Results Page Specifics */
.results-header {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.results-header h1 {
    color: white;
    margin-bottom: 0.5rem;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(var(--accent-color) var(--score-deg, 360deg), #333 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    border: 6px solid #444;
}

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

.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 */
@media print {
    body { background: #fff !important; color: #000 !important; }
    .print-hidden, .buy-button, .report-actions, footer { display: none !important; }
    .findings-category {
        page-break-before: always;
        break-before: page;
    }
    .findings-category:first-of-type {
        page-break-before: auto;
        break-before: auto;
    }
    section.section:not(.print-hidden) {
        page-break-before: always;
        break-before: page;
    }
    .results-header + 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;
    }
    .score-circle {
        width: 90px;
        height: 90px;
        margin: 0 auto 0.75rem auto;
        font-size: 2rem;
        border: 2px solid #000;
        background: #000 !important;
        color: #fff !important;
        box-shadow: none;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
    .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: #111 !important;
    }
    .results-header h1 {
        font-size: 2rem;
        margin-bottom: 0.25rem;
    }
    .results-header p {
        margin-bottom: 0.5rem;
        font-size: 1rem;
    }
    .results-header h3 {
        margin-bottom: 0.35rem;
        font-size: 1.4rem;
        line-height: 1.2;
    }
    .results-header .container.small-container {
        max-width: 700px;
    }
}

html {
    scroll-behavior: smooth;
}
