﻿
/* =========================================================
   DOCUMENT SCANNING SERVICES
   PREMIUM CORPORATE DESIGN
========================================================= */

.scan-page {
    font-family: "Poppins", sans-serif;
    color: #18324a;
    overflow: hidden;
    background: #ffffff;
}

/* =========================================================
   HERO SECTION
========================================================= */

.scan-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 85% 20%, rgba(72, 193, 255, .18), transparent 30%), linear-gradient(135deg, #061d35 0%, #0a3963 55%, #0c65ad 100%);
    color: #ffffff;
    overflow: hidden;
}

    .scan-hero::before {
        content: "";
        position: absolute;
        width: 550px;
        height: 550px;
        border-radius: 50%;
        border: 1px solid rgba(255,255,255,.10);
        right: -180px;
        top: -180px;
        pointer-events: none;
    }

    .scan-hero::after {
        content: "";
        position: absolute;
        width: 400px;
        height: 400px;
        border-radius: 50%;
        border: 1px solid rgba(255,255,255,.07);
        left: -230px;
        bottom: -230px;
        pointer-events: none;
    }

.hero-content {
    position: relative;
    z-index: 3;
    padding: 85px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 30px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.20);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

    .hero-badge i {
        color: #67d8ff;
    }

.scan-hero h1 {
    color: #ffffff;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.08;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -1px;
    text-shadow: 0 2px 12px rgba(0,0,0,.15);
}

    .scan-hero h1 span {
        color: #6bd7ff;
    }

.hero-text {
    max-width: 650px;
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255,255,255,.94);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-scan-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 25px;
    border-radius: 8px;
    background: #ffffff;
    color: #0b4e87;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s ease;
}

    .btn-scan-primary:hover {
        transform: translateY(-3px);
        color: #0b4e87;
        box-shadow: 0 12px 30px rgba(0,0,0,.20);
    }

.btn-scan-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.40);
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all .3s ease;
}

    .btn-scan-outline:hover {
        background: rgba(255,255,255,.12);
        color: #ffffff;
    }

/* =========================================================
   HERO VISUAL - DOCUMENT SCANNER
========================================================= */

.scan-visual {
    position: relative;
    height: 440px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.scanner-card {
    width: 330px;
    height: 390px;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 25px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 25px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,.28);
    transform: rotate(3deg);
}

.scanner-paper {
    position: relative;
    z-index: 1;
    background: #ffffff;
    height: 250px;
    border-radius: 12px;
    padding: 25px;
    color: #17344d;
    transform: rotate(-3deg);
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
    overflow: hidden;
}

    .scanner-paper strong {
        font-size: 15px;
        letter-spacing: 1px;
        color: #17344d;
    }

    .scanner-paper hr {
        border: 0;
        border-top: 1px solid #dce7f1;
        opacity: 1;
        margin: 20px 0;
    }

.paper-line {
    width: 100%;
    height: 8px;
    background: #dce7f1;
    border-radius: 10px;
    margin-bottom: 13px;
}

    .paper-line.short {
        width: 55%;
    }

    .paper-line.medium {
        width: 75%;
    }

/* SCANNER LASER LINE ANIMATION */

.scan-line {
    position: absolute;
    left: 25px;
    right: 25px;
    top: 30%;
    height: 3px;
    border-radius: 5px;
    background: #4fd1ff;
    box-shadow: 0 0 8px #4fd1ff, 0 0 18px #4fd1ff, 0 0 30px rgba(79,209,255,.75);
    z-index: 5;
    pointer-events: none;
    animation: scanning 2.8s ease-in-out infinite alternate;
    will-change: top;
}

@keyframes scanning {
    0% {
        top: 15%;
        opacity: .75;
    }

    50% {
        opacity: 1;
    }

    100% {
        top: 85%;
        opacity: .75;
    }
}

/* FLOATING INFORMATION LABELS */

.visual-floating {
    position: absolute;
    z-index: 6;
    display: flex;
    align-items: center;
    background: #ffffff;
    color: #17344d;
    padding: 13px 18px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,.20);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

    .visual-floating i {
        color: #0d69bd;
        margin-right: 7px;
        font-size: 17px;
    }

.float-one {
    left: -10px;
    top: 65px;
    animation: floatLabel 4s ease-in-out infinite;
}

.float-two {
    right: -20px;
    bottom: 80px;
    animation: floatLabel 4s ease-in-out infinite 1s;
}

@keyframes floatLabel {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* =========================================================
   COMMON SECTION
========================================================= */

.scan-section {
    padding: 90px 0;
}

.section-heading {
    max-width: 750px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-label {
    display: inline-block;
    color: #0c69b7;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.section-heading h2 {
    font-size: 38px;
    font-weight: 700;
    color: #12334f;
    margin-bottom: 15px;
}

.section-heading p {
    color: #657789;
    line-height: 1.8;
    margin-bottom: 0;
}

/* =========================================================
   FEATURE CARDS
========================================================= */

.feature-card {
    height: 100%;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e5edf4;
    border-radius: 18px;
    transition: all .35s ease;
    position: relative;
    overflow: hidden;
}

    .feature-card::after {
        content: "";
        position: absolute;
        width: 90px;
        height: 90px;
        border-radius: 50%;
        background: #edf7ff;
        right: -35px;
        bottom: -35px;
        transition: all .35s ease;
        pointer-events: none;
    }

    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 45px rgba(17,69,110,.12);
        border-color: #cfe8fb;
    }

        .feature-card:hover::after {
            transform: scale(2.3);
        }

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#0b68b3,#42b8ef);
    color: #ffffff;
    font-size: 25px;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.feature-card h4 {
    font-size: 20px;
    font-weight: 650;
    color: #183b58;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: #718394;
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* =========================================================
   STATS
========================================================= */

.stats-section {
    padding: 65px 0;
    background: #f4f9fd;
}

.stat-box {
    text-align: center;
    padding: 15px;
}

.stat-number {
    font-size: 42px;
    font-weight: 750;
    color: #0a5fa8;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-box p {
    margin: 0;
    color: #667b8c;
    font-size: 14px;
}

/* =========================================================
   SERVICES
========================================================= */

.service-card {
    height: 100%;
    padding: 30px;
    border-radius: 18px;
    background: linear-gradient(145deg,#ffffff,#f5faff);
    border: 1px solid #e3edf5;
    transition: all .35s ease;
}

    .service-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 20px 45px rgba(19,79,120,.13);
    }

.service-number {
    font-size: 13px;
    font-weight: 700;
    color: #3baee8;
    margin-bottom: 18px;
}

.service-card h4 {
    font-size: 20px;
    font-weight: 650;
    color: #153b58;
    margin-bottom: 12px;
}

.service-card p {
    color: #718394;
    line-height: 1.7;
    min-height: 75px;
}

.service-link {
    color: #0968b4;
    font-weight: 600;
    text-decoration: none;
}

    .service-link:hover {
        color: #064b83;
    }

/* =========================================================
   PROCESS SECTION
========================================================= */

.process-section {
    position: relative;
    background: linear-gradient(135deg,#f4f9fd 0%,#ffffff 100%);
    color: #18324a;
    overflow: hidden;
}

    .process-section::before {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        background: rgba(13,105,183,.05);
        top: -180px;
        right: -100px;
        pointer-events: none;
    }

    .process-section::after {
        content: "";
        position: absolute;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background: rgba(66,184,239,.04);
        bottom: -150px;
        left: -100px;
        pointer-events: none;
    }

    .process-section .section-heading {
        position: relative;
        z-index: 2;
    }

        .process-section .section-heading h2 {
            color: #12334f;
        }

        .process-section .section-heading p {
            color: #647789;
        }

.process-wrapper {
    position: relative;
}

.process-box {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 30px 20px;
    background: #ffffff;
    border: 1px solid #e3edf5;
    border-radius: 18px;
    height: 100%;
    transition: all .35s ease;
}

    .process-box:hover {
        transform: translateY(-8px);
        border-color: #c5e2f6;
        box-shadow: 0 18px 40px rgba(20,80,120,.12);
    }

.process-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#0b68b3,#42b8ef);
    color: #ffffff;
    font-size: 25px;
    box-shadow: 0 10px 25px rgba(11,104,179,.20);
}

.process-box h5 {
    font-size: 18px;
    font-weight: 650;
    color: #153b58;
    margin-bottom: 10px;
}

.process-box p {
    color: #66798a;
    font-size: 14px;
    margin: 0;
    line-height: 1.7;
}

/* PROCESS CONNECTOR */

.process-line {
    position: absolute;
    left: 12.5%;
    right: 12.5%;
    top: 67px;
    height: 2px;
    background: #d7e9f6;
    z-index: 1;
}

/* =========================================================
   INDUSTRIES
========================================================= */

.industry-box {
    padding: 24px 15px;
    text-align: center;
    border: 1px solid #e4edf4;
    border-radius: 15px;
    height: 100%;
    transition: all .3s ease;
    background: #ffffff;
}

    .industry-box:hover {
        transform: translateY(-5px);
        border-color: #bfe0f6;
        box-shadow: 0 15px 35px rgba(20,80,120,.10);
    }

    .industry-box i {
        display: inline-block;
        font-size: 28px;
        color: #0b68b3;
        margin-bottom: 12px;
    }

    .industry-box h6 {
        margin: 0;
        color: #23435c;
        font-weight: 600;
    }

/* =========================================================
   SECURITY
========================================================= */

.security-section {
    background: #f5faff;
}

.security-content {
    padding: 20px;
}

    .security-content h2 {
        color: #12334f;
    }

.security-list {
    list-style: none;
    padding: 0;
    margin: 25px 0 0;
}

    .security-list li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 16px;
        color: #5e7182;
        line-height: 1.7;
    }

    .security-list i {
        color: #0b76c5;
        margin-top: 4px;
    }

.security-panel {
    padding: 40px;
    border-radius: 22px;
    background: linear-gradient(145deg,#0a4c80,#0c70b9);
    color: #ffffff;
    box-shadow: 0 25px 55px rgba(9,71,116,.20);
}

    .security-panel h3 {
        font-size: 28px;
        margin-bottom: 18px;
        color: #ffffff;
    }

    .security-panel p {
        color: rgba(255,255,255,.90);
        line-height: 1.7;
    }

.security-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.12);
    padding: 9px 13px;
    border-radius: 30px;
    margin: 5px 4px 0 0;
    font-size: 12px;
    color: #ffffff;
}

/* =========================================================
   CALL TO ACTION
========================================================= */

.scan-cta {
    padding: 85px 0;
}

.cta-box {
    position: relative;
    overflow: hidden;
    padding: 55px;
    border-radius: 25px;
    background: linear-gradient(135deg,#0b3154,#0875c7);
    color: #ffffff;
}

    .cta-box::after {
        content: "";
        position: absolute;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        border: 1px solid rgba(255,255,255,.12);
        right: -100px;
        top: -120px;
        pointer-events: none;
    }

    .cta-box h2 {
        font-size: 35px;
        font-weight: 700;
        color: #ffffff;
        margin-bottom: 12px;
    }

    .cta-box p {
        color: rgba(255,255,255,.90);
        max-width: 650px;
        line-height: 1.7;
    }

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 25px;
    border-radius: 8px;
    background: #ffffff;
    color: #095b98;
    font-weight: 650;
    text-decoration: none;
    margin-top: 15px;
    transition: all .3s ease;
}

    .cta-btn:hover {
        transform: translateY(-3px);
        color: #095b98;
        box-shadow: 0 10px 25px rgba(0,0,0,.15);
    }

/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 991px) {

    .scan-hero {
        min-height: auto;
    }

    .hero-content {
        padding: 70px 0 40px;
    }

    .scan-visual {
        margin-top: 25px;
        margin-bottom: 30px;
    }

    .section-heading h2 {
        font-size: 32px;
    }

    .process-line {
        display: none;
    }

    .float-one {
        left: 0;
    }

    .float-two {
        right: 0;
    }
}

/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 575px) {

    .scan-hero h1 {
        font-size: 38px;
    }

    .hero-text {
        font-size: 15px;
    }

    .hero-content {
        padding: 55px 12px 30px;
    }

    .hero-buttons {
        gap: 10px;
    }

    .btn-scan-primary,
    .btn-scan-outline {
        padding: 12px 16px;
        font-size: 13px;
    }

    .scan-visual {
        height: 390px;
        margin-top: 10px;
    }

    .scanner-card {
        width: 280px;
        height: 350px;
        padding: 20px;
    }

    .scanner-paper {
        height: 235px;
        padding: 22px;
    }

    .scan-line {
        left: 20px;
        right: 20px;
    }

    .visual-floating {
        padding: 10px 12px;
        font-size: 11px;
    }

        .visual-floating i {
            font-size: 14px;
        }

    .float-one {
        left: 0;
        top: 35px;
    }

    .float-two {
        right: 0;
        bottom: 35px;
    }

    .scan-section {
        padding: 65px 0;
    }

    .section-heading {
        margin-bottom: 35px;
    }

        .section-heading h2 {
            font-size: 28px;
        }

    .feature-card,
    .service-card {
        padding: 24px;
    }

    .stat-number {
        font-size: 34px;
    }

    .cta-box {
        padding: 35px 25px;
    }

        .cta-box h2 {
            font-size: 28px;
        }

    .security-panel {
        padding: 28px 22px;
    }

        .security-panel h3 {
            font-size: 24px;
        }

    .process-box {
        padding: 25px 18px;
    }
}

/* =========================================================
   ACCESSIBILITY - REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .scan-line,
    .visual-floating {
        animation: none;
    }

    .scan-line {
        top: 50%;
    }

    .feature-card,
    .service-card,
    .process-box,
    .industry-box,
    .btn-scan-primary,
    .btn-scan-outline,
    .cta-btn {
        transition: none;
    }
}
