/* === V2 Styles - Image/Professionalism angle === */

/* Wider container for v2 */
.container {
    max-width: 1280px;
}

/* Tighter vertical rhythm for wider layout */
.section {
    padding: 56px 0;
}

.section-header {
    margin-bottom: 40px;
}

/* Wider narrow containers */
.container-narrow {
    max-width: 900px;
}

/* Professions: 3 columns instead of 2 */
.professions-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* --- Contrast Grid (Before/After) --- */
.contrast-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto 48px;
}

.contrast-card {
    border-radius: 16px;
    padding: 32px;
    position: relative;
}

.contrast-before {
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
}

.contrast-after {
    background: #f0fdf4;
    border: 2px solid #86efac;
}

.contrast-label {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.contrast-before .contrast-label {
    background: var(--gray-200);
    color: var(--gray-600);
}

.contrast-after .contrast-label {
    background: #bbf7d0;
    color: #166534;
}

/* Chat bubbles (before) */
.contrast-chat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}

.chat-bubble {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.4;
    max-width: 85%;
}

.chat-out {
    background: #dcf8c6;
    color: #333;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-in {
    background: white;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    border: 1px solid var(--gray-200);
}

/* Document mock (after) */
.contrast-doc {
    background: white;
    border-radius: 12px;
    border: 1px solid #d1fae5;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.doc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #f0fdf4;
    border-bottom: 1px solid #d1fae5;
}

.doc-icon {
    font-size: 28px;
}

.doc-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-800);
}

.doc-sub {
    font-size: 11px;
    color: var(--gray-400);
}

.doc-body {
    padding: 14px 16px;
}

.doc-body p {
    font-size: 12px;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 2px;
}

.doc-footer {
    padding: 10px 16px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.doc-badge-accepted {
    display: inline-block;
    padding: 3px 10px;
    background: #166534;
    color: white;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.doc-meta {
    font-size: 10px;
    color: var(--gray-400);
}

/* Verdict */
.contrast-verdict {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contrast-icon-bad,
.contrast-icon-good {
    font-size: 28px;
    flex-shrink: 0;
}

.contrast-verdict p {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.4;
}

.contrast-verdict em {
    font-weight: 700;
}

/* --- Image Reasons (3 cards) --- */
.image-reasons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: none;
    margin: 0 auto;
}

.image-reason {
    text-align: center;
    padding: 28px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.image-reason-icon {
    font-size: 36px;
    margin-bottom: 14px;
}

.image-reason h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.image-reason p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* --- Chain Section (Horizontal) --- */
.chain-horizontal {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
}

.chain-h-step {
    flex: 1;
    text-align: center;
    max-width: 340px;
}

.chain-h-step .chain-number {
    margin: 0 auto 12px;
}

.chain-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--blue-600);
    color: white;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
}

.chain-h-step h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.chain-quote {
    font-size: 15px !important;
    font-style: italic;
    color: var(--gray-700) !important;
    font-weight: 600;
    padding: 4px 0 0;
}

.chain-h-arrow {
    font-size: 28px;
    color: var(--gray-300);
    padding: 28px 16px 0;
    flex-shrink: 0;
}

/* --- Hero App Download (badges + QR) --- */
.hero-app-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin: 28px 0 12px;
}

.hero-app-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-badge-link {
    display: inline-block;
    transition: transform 0.2s, opacity 0.2s;
    opacity: 0.85;
}

.app-badge-link:hover {
    transform: scale(1.05);
    opacity: 1;
}

.hero-app-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.hero-app-qr img {
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    background: white;
    padding: 4px;
}

.hero-qr-label {
    font-size: 11px;
    color: var(--gray-400);
    text-align: center;
    line-height: 1.3;
}

.hero-app-note {
    font-size: 13px;
    color: var(--gray-400);
    text-align: center;
    margin-bottom: 8px;
}

/* --- Example PDFs --- */
.example-pdfs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .professions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-app-download {
        flex-direction: column;
        gap: 20px;
    }

    .hero-app-badges {
        flex-direction: row;
        gap: 12px;
    }

    .hero-app-badges img {
        height: 40px;
    }

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

    .image-reasons {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .professions-grid {
        grid-template-columns: 1fr;
    }

    .chain-horizontal {
        flex-direction: column;
        align-items: center;
    }

    .chain-h-step {
        max-width: 400px;
    }

    .chain-h-arrow {
        transform: rotate(90deg);
        padding: 4px 0;
    }
}

@media (max-width: 480px) {
    .contrast-card {
        padding: 20px;
    }

    .chat-bubble {
        font-size: 12px;
    }
}
