/* ==========================================================
   COPYCOLOR - PREMIUM PROCESS SECTION
   Namespace: cpy-process-
   ========================================================== */

.cpy-process-section {
    position: relative;
    overflow: hidden;

    padding: 130px 0 140px;

    background:
        radial-gradient(
            circle at 10% 15%,
            rgba(28, 103, 170, 0.18),
            transparent 32%
        ),
        radial-gradient(
            circle at 90% 85%,
            rgba(75, 42, 120, 0.14),
            transparent 35%
        ),
        #070b14;

    color: #ffffff;
}


/* subtle grid */

.cpy-process-section::before {
    content: "";
    position: absolute;
    inset: 0;

    pointer-events: none;

    opacity: 0.16;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.035) 1px,
            transparent 1px
        );

    background-size: 64px 64px;

    mask-image: linear-gradient(
        to bottom,
        black,
        transparent 90%
    );
}


/* ==========================================================
   HEADER
   ========================================================== */

.cpy-process-header {
    position: relative;
    z-index: 2;

    max-width: 720px;

    margin-bottom: 70px;
}


.cpy-process-eyebrow {
    display: inline-block;

    margin-bottom: 18px;

    color: #8fc9ff;

    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.22em;
    text-transform: uppercase;
}


.cpy-process-header h2 {
    margin: 0;

    color: #ffffff;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(48px, 6vw, 82px);
    font-weight: 400;

    line-height: 0.95;
    letter-spacing: -0.045em;
}


.cpy-process-header h2 em {
    color: #dcecff;

    font-style: normal;

    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #8ecbff 100%
        );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


.cpy-process-header p {
    max-width: 510px;

    margin: 28px 0 0;

    color: rgba(220, 231, 244, 0.62);

    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1.8;
}


/* ==========================================================
   GRID
   ========================================================== */

.cpy-process-grid {
    position: relative;
    z-index: 2;
}


/* ==========================================================
   CARD
   ========================================================== */

.cpy-process-card {
    position: relative;

    height: 100%;
    min-height: 355px;

    padding: 30px 30px 32px;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 2px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.055),
            rgba(255,255,255,0.018)
        );

    box-shadow:
        0 20px 70px rgba(0,0,0,0.25);

    transition:
        transform 0.45s cubic-bezier(.2,.8,.2,1),
        border-color 0.45s ease,
        background 0.45s ease,
        box-shadow 0.45s ease;
}


/* glow interno */

.cpy-process-card::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -100px;
    right: -80px;

    border-radius: 50%;

    background: rgba(45, 155, 255, 0.15);

    filter: blur(45px);

    opacity: 0;

    transition: opacity 0.45s ease;
}


/* linea superiore */

.cpy-process-card::after {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 0;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            #54b8ff,
            transparent
        );

    transition: width 0.5s ease;
}


.cpy-process-card:hover {
    transform: translateY(-8px);

    border-color: rgba(100, 190, 255, 0.35);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.075),
            rgba(255,255,255,0.025)
        );

    box-shadow:
        0 28px 80px rgba(0,0,0,0.40),
        0 0 40px rgba(35,130,210,0.06);
}


.cpy-process-card:hover::before {
    opacity: 1;
}


.cpy-process-card:hover::after {
    width: 100%;
}


/* ==========================================================
   CARD TOP
   ========================================================== */

.cpy-process-card-top {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 28px;
}


.cpy-process-number {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 50%;

    color: #ffffff;

    background: rgba(255,255,255,0.035);

    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.04em;

    box-shadow:
        0 0 0 5px rgba(255,255,255,0.015);
}


.cpy-process-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    border: 1px solid rgba(89, 180, 255, 0.22);
    border-radius: 50%;

    color: #7fcaff;

    background: rgba(45, 145, 220, 0.07);

    font-size: 17px;

    transition:
        transform 0.4s ease,
        background 0.4s ease;
}


.cpy-process-card:hover .cpy-process-icon {
    transform: rotate(8deg) scale(1.08);

    background: rgba(45, 145, 220, 0.14);
}


/* ==========================================================
   LINE
   ========================================================== */

.cpy-process-line {
    width: 100%;
    height: 1px;

    margin-bottom: 28px;

    background:
        linear-gradient(
            90deg,
            rgba(91,184,255,0.55),
            rgba(255,255,255,0.06),
            transparent
        );
}


/* ==========================================================
   TYPOGRAPHY
   ========================================================== */

.cpy-process-card h3 {
    position: relative;
    z-index: 1;

    margin: 0 0 16px;

    color: #ffffff;

    font-family: Arial, sans-serif;
    font-size: 21px;
    font-weight: 600;

    letter-spacing: -0.02em;
}


.cpy-process-card p {
    position: relative;
    z-index: 1;

    max-width: 310px;

    margin: 0;

    color: rgba(208, 220, 235, 0.60);

    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1.75;
}


/* ==========================================================
   ARROW
   ========================================================== */

.cpy-process-arrow {
    position: absolute;

    right: 28px;
    bottom: 25px;

    color: #65bfff;

    font-size: 21px;
    font-weight: 300;

    opacity: 0.45;

    transition:
        transform 0.4s ease,
        opacity 0.4s ease;
}


.cpy-process-card:hover .cpy-process-arrow {
    transform: translateX(7px);

    opacity: 1;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1199.98px) {

    .cpy-process-section {
        padding: 110px 0;
    }

    .cpy-process-header {
        margin-bottom: 55px;
    }

    .cpy-process-card {
        min-height: 330px;
    }
}


@media (max-width: 767.98px) {

    .cpy-process-section {
        padding: 80px 0;
    }

    .cpy-process-header {
        margin-bottom: 45px;
    }

    .cpy-process-header h2 {
        font-size: 48px;
    }

    .cpy-process-card {
        min-height: 300px;

        padding: 25px;
    }
}


@media (max-width: 575.98px) {

    .cpy-process-section {
        padding: 70px 0;
    }

    .cpy-process-header h2 {
        font-size: 42px;
    }

    .cpy-process-header p {
        font-size: 14px;
    }

    .cpy-process-card {
        min-height: 285px;
    }
}

/* ==========================================================
   CLICKABLE CARD
   ========================================================== */

.cpy-process-card {
    display: block;

    text-decoration: none !important;
    color: inherit !important;

    cursor: pointer;
}

.cpy-process-card:visited,
.cpy-process-card:active,
.cpy-process-card:focus {
    color: inherit;
    text-decoration: none;
}

.cpy-process-card:focus-visible {
    outline: 1px solid #69c4ff;
    outline-offset: 5px;
}
