/* ========================================
   PROCESS
======================================== */

.process-section {
    position: relative;
    padding: 54px 0 72px;
    overflow: hidden;
    background:
        radial-gradient(circle at 24% 34%, rgba(123, 92, 255, 0.055), transparent 25rem),
        radial-gradient(circle at 77% 62%, rgba(114, 230, 208, 0.065), transparent 25rem),
        #fbfcfb;
}

.process-container {
    width: min(1350px, calc(100% - 80px));
    margin: 0 auto;
}

.process-header {
    margin-bottom: 38px;
}

.process-eyebrow {
    margin-bottom: 13px;
    color: #755cff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.process-header h2 {
    color: #121722;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.045em;
}

.process-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 54px;
}

.process-steps::before {
    position: absolute;
    top: 67px;
    right: 8%;
    left: 8%;
    height: 1px;
    background: repeating-linear-gradient(90deg, #9b88ef 0 5px, transparent 5px 11px);
    content: "";
}

.process-card {
    position: relative;
    z-index: 1;
    min-height: 270px;
    padding: 47px 22px 25px;
    border: 1px solid rgba(24, 29, 42, 0.045);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 16px 45px rgba(44, 50, 72, 0.045);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .9s cubic-bezier(.25,.1,.25,1), transform .9s cubic-bezier(.25,.1,.25,1), box-shadow 0.25s ease;
}

.process-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.process-card.is-visible:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 55px rgba(44, 50, 72, 0.09);
}

.process-number {
    position: absolute;
    top: -13px;
    left: 10px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: #c9f2e9;
    color: #15202a;
    font-size: 0.76rem;
    font-weight: 700;
    box-shadow: 0 7px 22px rgba(70, 190, 166, 0.12);
}

.process-number-purple {
    background: #e2ddff;
    box-shadow: 0 7px 22px rgba(123, 92, 255, 0.12);
}

.process-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 23px;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(114, 230, 208, 0.11), rgba(123, 92, 255, 0.07));
}

.process-icon svg {
    width: 37px;
    height: 37px;
    fill: none;
    stroke: #171d28;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.process-card h3 {
    margin-bottom: 9px;
    color: #111621;
    font-family: "Manrope", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.process-card h4 {
    margin-bottom: 12px;
    color: #171d28;
    font-family: "Manrope", sans-serif;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.015em;
}

.process-card p {
    color: #58606d;
    font-size: 0.76rem;
    line-height: 1.7;
}

@media (max-width: 1200px) {
    .process-container {
        width: min(960px, calc(100% - 48px));
    }

    .process-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 34px;
    }

    .process-steps::before {
        display: none;
    }
}

@media (max-width: 760px) {
    .process-section {
        padding: 45px 0 58px;
    }

    .process-container {
        width: calc(100% - 32px);
    }

    .process-header {
        margin-bottom: 34px;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 27px;
        padding-left: 16px;
    }

    .process-steps::before {
        display: block;
        top: 5px;
        bottom: 5px;
        left: 2px;
        width: 1px;
        height: auto;
        background: repeating-linear-gradient(180deg, #9b88ef 0 5px, transparent 5px 11px);
    }

    .process-card {
        min-height: 0;
        padding: 40px 22px 24px;
    }

    .process-number {
        left: -20px;
    }
}

/* Atmosfär och kortdjup */
.process-section {
    isolation: isolate;
}

.process-section::before,
.process-section::after {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
    content: "";
}

.process-section::before {
    top: 18%;
    left: -110px;
    width: 330px;
    height: 330px;
    background: rgba(123,92,255,.075);
}

.process-section::after {
    right: -90px;
    bottom: 5%;
    width: 310px;
    height: 310px;
    background: rgba(114,230,208,.09);
}

.process-card {
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,255,255,.68));
    box-shadow:
        0 10px 22px rgba(44,50,72,.045),
        0 28px 55px rgba(44,50,72,.075),
        inset 0 1px 0 rgba(255,255,255,.95);
}

.process-card::after {
    position: absolute;
    top: -70px;
    right: -65px;
    width: 145px;
    height: 145px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(114,230,208,.15), transparent 70%);
    pointer-events: none;
    content: "";
}

.process-card.is-visible:hover {
    box-shadow: 0 14px 28px rgba(44,50,72,.07), 0 34px 65px rgba(82,68,145,.12), 0 0 30px rgba(114,230,208,.07);
}

@media (prefers-reduced-motion: reduce) {
    .process-section .process-card {
        transition: none;
        opacity: 1;
        transform: none;
    }
}
