/* ==========================
   OCR & KI SECTION
========================== */

.ocr-ki-section {
    padding: 110px 0;
    background:
        radial-gradient(circle at 85% 15%, rgba(37, 99, 235, .14) 0%, transparent 38%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.ocr-ki-head {
    max-width: 940px;
    margin-bottom: 56px;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    padding: 9px 16px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: #0F172A;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ocr-ki-head h2 {
    font-size: clamp(36px, 4vw, 58px);
    line-height: 1.06;
    letter-spacing: -2px;
    color: #0F172A;
    margin-bottom: 22px;
}

.ocr-ki-head p {
    max-width: 840px;
    font-size: 20px;
    color: #334155;
    line-height: 1.75;
}

.ocr-ki-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-bottom: 64px;
}

.ocr-ki-card {
    position: relative;
    padding: 34px;
    border-radius: 28px;
    background: rgba(255, 255, 255, .86);
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .06);
    transition: .28s ease;
    overflow: hidden;
}

.ocr-ki-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, .10), transparent 45%);
    opacity: 0;
    transition: .28s ease;
}

.ocr-ki-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 26px 65px rgba(15, 23, 42, .12);
    border-color: rgba(37, 99, 235, .35);
}

.ocr-ki-card:hover::before {
    opacity: 1;
}

.ocr-icon {
    position: relative;
    z-index: 1;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: #0F172A;
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 17px;
    font-weight: 900;
    margin-bottom: 24px;
}

.ocr-ki-card h3 {
    position: relative;
    z-index: 1;
    font-size: 24px;
    color: #0F172A;
    margin-bottom: 14px;
    letter-spacing: -.5px;
}

.ocr-ki-card p {
    position: relative;
    z-index: 1;
    color: #475569;
    font-size: 16px;
    line-height: 1.75;
}

.ocr-ki-content {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 34px;
    align-items: stretch;
    margin-bottom: 58px;
}

.ocr-ki-text {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    padding: 42px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .05);
}

.ocr-ki-text h3,
.ocr-ki-box h3 {
    font-size: 30px;
    line-height: 1.15;
    color: #0F172A;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.ocr-ki-text p {
    color: #334155;
    font-size: 17px;
    line-height: 1.85;
    margin-bottom: 18px;
}

.ocr-ki-box {
    background: #0F172A;
    color: #ffffff;
    border-radius: 30px;
    padding: 42px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, .20);
}

.ocr-ki-box h3 {
    color: #ffffff;
}

.ocr-ki-box ul {
    list-style: none;
}

.ocr-ki-box li {
    position: relative;
    padding: 14px 0 14px 34px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    color: #e5e7eb;
    line-height: 1.55;
}

.ocr-ki-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 14px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #2563EB;
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 900;
}

.ocr-ki-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    padding: 26px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .05);
}

.flow-item {
    flex: 1;
    min-height: 104px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flow-item strong {
    font-size: 25px;
    color: #0F172A;
    line-height: 1;
}

.flow-item span {
    margin-top: 8px;
    font-size: 14px;
    color: #64748B;
    font-weight: 700;
}

.flow-arrow {
    font-size: 28px;
    color: #2563EB;
    font-weight: 900;
}

/* Responsive OCR & KI */

@media (max-width: 1100px) {

    .ocr-ki-grid,
    .ocr-ki-content {
        grid-template-columns: 1fr;
    }

    .ocr-ki-flow {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 700px) {
    .ocr-ki-section {
        padding: 72px 0;
    }

    .ocr-ki-text,
    .ocr-ki-box,
    .ocr-ki-card {
        padding: 28px;
        border-radius: 22px;
    }

    .ocr-ki-head p {
        font-size: 17px;
    }
}