/**
 * Money Pages CSS
 * Styles for SEO landing pages: mangelrapport-nybyggeri, fejl-og-mangler-rapport, dokumentere-byggefejl
 */

/* ============================================
   Base Styles
   ============================================ */
.money-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1e293b;
    line-height: 1.6;
}

.mp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.mp-section {
    padding: 80px 0;
}

.mp-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.mp-section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.mp-section-header p {
    font-size: 18px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Hero Section
   ============================================ */
.mp-hero {
    position: relative;
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    overflow: hidden;
}

.mp-hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0.1) 100%);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}

.mp-hero-content {
    position: relative;
    max-width: 800px;
}

.mp-hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.mp-hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    color: #1e293b;
    margin-bottom: 24px;
}

.mp-hero-subtitle {
    font-size: 20px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 600px;
}

.mp-hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.mp-btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.mp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.mp-btn-primary.mp-btn-large {
    padding: 20px 40px;
    font-size: 18px;
}

.mp-btn-secondary {
    display: inline-block;
    background: white;
    color: #2563eb;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #2563eb;
    transition: all 0.2s;
}

.mp-btn-secondary:hover {
    background: #eff6ff;
}

.mp-hero-trust {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #64748b;
}

.mp-hero-trust span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ============================================
   Problem Section
   ============================================ */
.mp-problem {
    background: white;
}

.mp-problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.mp-problem-card {
    background: #f8fafc;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.mp-problem-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.mp-problem-highlight {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: #fcd34d;
}

.mp-problem-icon {
    width: 56px;
    height: 56px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #2563eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mp-problem-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.mp-problem-card p {
    font-size: 16px;
    color: #475569;
    line-height: 1.6;
}

/* ============================================
   How it Works Section
   ============================================ */
.mp-how-it-works {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
}

.mp-steps {
    display: grid;
    gap: 32px;
}

.mp-step {
    display: flex;
    gap: 32px;
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.mp-step-number {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}

.mp-step-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.mp-step-content p {
    font-size: 16px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 16px;
}

.mp-step-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.mp-step-features li {
    background: #f0fdf4;
    color: #059669;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

/* ============================================
   Preview Section
   ============================================ */
.mp-preview {
    background: white;
}

.mp-preview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.mp-preview-image img {
    width: 100%;
    height: auto;
}

.mp-preview-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mp-preview-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #1e293b;
}

.mp-check {
    color: #059669;
    font-size: 20px;
    font-weight: bold;
}

/* ============================================
   Compare Section (DIY vs Pro)
   ============================================ */
.mp-compare {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
}

.mp-compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.mp-compare-col {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.mp-compare-col h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.mp-compare-diy {
    border-top: 4px solid #059669;
}

.mp-compare-diy h3 {
    color: #059669;
}

.mp-compare-pro {
    border-top: 4px solid #d97706;
}

.mp-compare-pro h3 {
    color: #d97706;
}

.mp-compare-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mp-compare-col li {
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 15px;
    color: #475569;
    padding-left: 28px;
    position: relative;
}

.mp-compare-col li:last-child {
    border-bottom: none;
}

.mp-compare-col li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: inherit;
}

.mp-compare-diy li::before {
    color: #059669;
}

.mp-compare-pro li::before {
    color: #d97706;
}

.mp-compare-note {
    text-align: center;
    font-size: 16px;
    color: #475569;
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

/* ============================================
   FAQ Section
   ============================================ */
.mp-faq {
    background: white;
}

.mp-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.mp-faq-item {
    background: #f8fafc;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.mp-faq-item h3 {
    font-size: 17px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.mp-faq-item p {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
}

/* ============================================
   Bottom CTA Section
   ============================================ */
.mp-bottom-cta {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    color: white;
    text-align: center;
}

.mp-cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.mp-cta-content > p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.mp-bottom-cta .mp-btn-primary {
    background: white;
    color: #2563eb;
}

.mp-bottom-cta .mp-btn-primary:hover {
    background: #f8fafc;
}

.mp-cta-microcopy {
    margin-top: 16px;
    font-size: 14px;
    opacity: 0.8;
}

/* ============================================
   Related Links Section
   ============================================ */
.mp-related {
    background: #f8fafc;
    padding: 48px 0;
}

.mp-related h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
    text-align: center;
}

.mp-related-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.mp-related-links a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.mp-related-links a:hover {
    background: #eff6ff;
    border-color: #2563eb;
}

/* ============================================
   Footer additions
   ============================================ */
.mp-last-updated {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 768px) {
    .mp-section {
        padding: 60px 0;
    }

    .mp-hero {
        padding: 120px 0 60px;
    }

    .mp-hero-title {
        font-size: 32px;
    }

    .mp-hero-subtitle {
        font-size: 18px;
    }

    .mp-section-header h2 {
        font-size: 28px;
    }

    .mp-hero-cta {
        flex-direction: column;
    }

    .mp-btn-primary,
    .mp-btn-secondary {
        width: 100%;
        text-align: center;
    }

    .mp-hero-trust {
        flex-direction: column;
        gap: 12px;
    }

    .mp-step {
        flex-direction: column;
        gap: 20px;
    }

    .mp-preview-content {
        grid-template-columns: 1fr;
    }

    .mp-compare-grid {
        grid-template-columns: 1fr;
    }

    .mp-faq-grid {
        grid-template-columns: 1fr;
    }

    .mp-cta-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .mp-hero-title {
        font-size: 28px;
    }

    .mp-problem-grid {
        grid-template-columns: 1fr;
    }
}
