/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SEO REPORT STYLES - Professional Business Design
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ────────────────────────────────────────────────────────────────────
   CONTAINER & LAYOUT
   ──────────────────────────────────────────────────────────────────── */

.seo-report {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #1a202c;
    line-height: 1.6;
    padding: 0;
    max-width: 100%;
}

/* ────────────────────────────────────────────────────────────────────
   EXECUTIVE SUMMARY - Hero Section
   ──────────────────────────────────────────────────────────────────── */

.seo-executive-summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.seo-executive-summary h2 {
    margin: 0 0 20px 0;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.seo-executive-summary h2 svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.seo-health-score {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.seo-opportunities, .seo-critical-issues {
    margin: 20px 0;
}

.seo-opportunities h3, .seo-critical-issues h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.seo-opportunities ul, .seo-critical-issues ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seo-opportunities li, .seo-critical-issues li {
    padding: 10px 15px;
    margin: 8px 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 10px;
}

.seo-opportunities li::before {
    content: "→";
    font-weight: bold;
    font-size: 18px;
}

.seo-critical-issues li::before {
    content: "⚠";
    font-size: 18px;
}

.seo-estimated-impact {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    font-size: 16px;
    font-weight: 500;
}

/* ────────────────────────────────────────────────────────────────────
   SECTION STRUCTURE
   ──────────────────────────────────────────────────────────────────── */

.seo-section {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.seo-section:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.seo-section > h2 {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
    display: flex;
    align-items: center;
    gap: 12px;
}

.seo-section > h2 svg {
    width: 28px;
    height: 28px;
    fill: #667eea;
}

.seo-section > h3 {
    font-size: 20px;
    font-weight: 600;
    color: #4a5568;
    margin: 25px 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.seo-section > h3 svg {
    width: 22px;
    height: 22px;
    fill: #667eea;
}

/* ────────────────────────────────────────────────────────────────────
   CARDS & ITEMS
   ──────────────────────────────────────────────────────────────────── */

.seo-card {
    background: #f7fafc;
    border-left: 4px solid #667eea;
    padding: 20px;
    margin: 15px 0;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.seo-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.seo-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.seo-card-content {
    color: #4a5568;
    font-size: 15px;
    line-height: 1.7;
}

/* ────────────────────────────────────────────────────────────────────
   PRIORITY & STATUS BADGES
   ──────────────────────────────────────────────────────────────────── */

.seo-priority, .seo-severity, .seo-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 8px;
}

.seo-priority-high, .seo-severity-critical {
    background: #fed7d7;
    color: #c53030;
}

.seo-priority-medium, .seo-severity-high {
    background: #feebc8;
    color: #c05621;
}

.seo-priority-low, .seo-severity-medium {
    background: #c6f6d5;
    color: #22543d;
}

.seo-severity-low {
    background: #bee3f8;
    color: #2c5282;
}

/* ────────────────────────────────────────────────────────────────────
   LISTS & TABLES
   ──────────────────────────────────────────────────────────────────── */

.seo-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.seo-list li {
    padding: 12px 15px;
    margin: 8px 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s ease;
}

.seo-list li:hover {
    background: #f7fafc;
}

.seo-list li::before {
    content: "✓";
    display: inline-block;
    width: 20px;
    height: 20px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.seo-keyword-list, .seo-action-list {
    list-style: none;
    padding: 0;
}

.seo-keyword-list li, .seo-action-list li {
    padding: 15px;
    margin: 10px 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.seo-keyword-list li:hover, .seo-action-list li:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

/* ────────────────────────────────────────────────────────────────────
   KEYWORD STRATEGY
   ──────────────────────────────────────────────────────────────────── */

.seo-keyword-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 15px;
    align-items: start;
}

.seo-keyword-details strong {
    display: block;
    font-size: 16px;
    color: #2d3748;
    margin-bottom: 8px;
}

.seo-keyword-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
    font-size: 13px;
}

.seo-intent, .seo-optimization {
    padding: 3px 10px;
    background: #edf2f7;
    border-radius: 4px;
    color: #4a5568;
    font-weight: 500;
}

.seo-recommendation {
    margin-top: 10px;
    padding: 10px;
    background: #f0f4ff;
    border-left: 3px solid #667eea;
    border-radius: 4px;
    font-size: 14px;
    color: #4a5568;
}

/* ────────────────────────────────────────────────────────────────────
   COMPETITIVE ANALYSIS
   ──────────────────────────────────────────────────────────────────── */

.seo-competitor-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
}

.seo-competitor-card h5 {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 15px 0;
}

.seo-strengths, .seo-weaknesses {
    margin: 12px 0;
}

.seo-strengths h6, .seo-weaknesses h6 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.seo-strengths h6 {
    color: #38a169;
}

.seo-weaknesses h6 {
    color: #e53e3e;
}

.seo-strengths ul, .seo-weaknesses ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seo-strengths li, .seo-weaknesses li {
    padding: 8px 12px;
    margin: 5px 0;
    border-radius: 4px;
    font-size: 14px;
}

.seo-strengths li {
    background: #f0fff4;
    color: #22543d;
}

.seo-weaknesses li {
    background: #fff5f5;
    color: #742a2a;
}

/* ────────────────────────────────────────────────────────────────────
   CONTENT GAPS & TOPICS
   ──────────────────────────────────────────────────────────────────── */

.seo-topic-card {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 18px;
    margin: 12px 0;
}

.seo-topic-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 10px;
}

.seo-topic-title {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
}

.seo-content-type {
    font-size: 13px;
    padding: 4px 10px;
    background: #667eea;
    color: white;
    border-radius: 4px;
    font-weight: 500;
}

.seo-topic-rationale {
    color: #4a5568;
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.6;
}

/* ────────────────────────────────────────────────────────────────────
   ROADMAP & TIMELINE
   ──────────────────────────────────────────────────────────────────── */

.seo-roadmap-item {
    position: relative;
    padding-left: 35px;
    margin: 20px 0;
}

.seo-roadmap-item::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 0;
    bottom: -20px;
    width: 2px;
    background: #cbd5e0;
}

.seo-roadmap-item:last-child::before {
    display: none;
}

.seo-roadmap-icon {
    position: absolute;
    left: 0;
    top: 5px;
    width: 24px;
    height: 24px;
    background: #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.seo-action-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.seo-action-title {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
}

.seo-impact-effort {
    display: flex;
    gap: 8px;
    font-size: 12px;
}

.seo-impact, .seo-effort, .seo-timeline {
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.seo-impact {
    background: #c6f6d5;
    color: #22543d;
}

.seo-effort {
    background: #feebc8;
    color: #7c2d12;
}

.seo-timeline {
    background: #e0e7ff;
    color: #3730a3;
}

/* ────────────────────────────────────────────────────────────────────
   METRICS & KPIs
   ──────────────────────────────────────────────────────────────────── */

.seo-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.seo-metric-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.seo-metric-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.seo-metric-name {
    font-size: 14px;
    color: #718096;
    margin-bottom: 10px;
    font-weight: 500;
}

.seo-metric-value {
    font-size: 32px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 8px;
}

.seo-metric-description {
    font-size: 13px;
    color: #4a5568;
}

/* ────────────────────────────────────────────────────────────────────
   TOP PRIORITIES - Call to Action
   ──────────────────────────────────────────────────────────────────── */

.seo-final-recommendations {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 40px;
    border-radius: 12px;
    margin-top: 30px;
    box-shadow: 0 10px 40px rgba(240, 147, 251, 0.3);
}

.seo-final-recommendations h2 {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 25px 0;
}

.seo-top-priorities {
    display: grid;
    gap: 20px;
    margin: 25px 0;
}

.seo-priority-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid white;
}

.seo-priority-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.seo-priority-reason {
    font-size: 15px;
    opacity: 0.95;
    margin-bottom: 10px;
}

.seo-priority-impact {
    font-size: 14px;
    opacity: 0.9;
    font-style: italic;
}

.seo-quick-wins, .seo-strategic-initiatives {
    margin: 25px 0;
}

.seo-quick-wins h3, .seo-strategic-initiatives h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.seo-quick-wins ul, .seo-strategic-initiatives ul {
    list-style: none;
    padding: 0;
}

.seo-quick-wins li, .seo-strategic-initiatives li {
    padding: 12px 15px;
    margin: 8px 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    backdrop-filter: blur(10px);
}

/* ────────────────────────────────────────────────────────────────────
   SCHEMA & TECHNICAL
   ──────────────────────────────────────────────────────────────────── */

.seo-schema-list {
    list-style: none;
    padding: 0;
}

.seo-schema-item {
    background: #f7fafc;
    border-left: 4px solid #48bb78;
    padding: 18px;
    margin: 12px 0;
    border-radius: 6px;
}

.seo-schema-type {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.seo-schema-benefit {
    color: #4a5568;
    font-size: 14px;
    margin: 8px 0;
}

.seo-schema-implementation {
    color: #718096;
    font-size: 13px;
    font-style: italic;
    margin-top: 8px;
}

/* ────────────────────────────────────────────────────────────────────
   UTILITY CLASSES
   ──────────────────────────────────────────────────────────────────── */

.seo-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.seo-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 25px 0;
}

.seo-text-muted {
    color: #718096;
}

.seo-text-small {
    font-size: 13px;
}

.seo-bold {
    font-weight: 600;
}

/* ────────────────────────────────────────────────────────────────────
   RESPONSIVE DESIGN
   ──────────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .seo-executive-summary,
    .seo-section {
        padding: 20px;
    }

    .seo-executive-summary h2 {
        font-size: 24px;
    }

    .seo-section > h2 {
        font-size: 20px;
    }

    .seo-metrics-grid,
    .seo-grid-2 {
        grid-template-columns: 1fr;
    }

    .seo-keyword-item {
        grid-template-columns: 1fr;
    }
}

/* ────────────────────────────────────────────────────────────────────
   PRINT STYLES
   ──────────────────────────────────────────────────────────────────── */

@media print {
    .seo-report {
        background: white;
    }

    .seo-executive-summary,
    .seo-final-recommendations {
        background: #667eea !important;
        color: white !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .seo-section {
        page-break-inside: avoid;
    }
}
