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

.process {
    position: relative;
    padding: 160px 0;
    overflow: hidden;
    background: var(--bg-soft);
    transition: background .4s ease;
}

.process .container {
    width: min(1200px, 92%);
    margin: auto;
    position: relative;
    z-index: 3;
}

.process-header {
    max-width: 900px;
    margin: 0 auto 100px;
    text-align: center;
}

/* ============================================
        TIMELINE
============================================ */

.process-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* Main line */
.process-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2.5px;
    transform: translateX(-50%);
    background: var(--accent-border);
    border-radius: 4px;
}

/* Animated progress line */
.process-line-progress {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2.5px;
    height: 0;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--accent-2), var(--accent));
    box-shadow: 0 0 18px var(--accent-glow);
    transition: height 1.2s cubic-bezier(.22, .61, .36, 1);
    z-index: 1;
}

/* ============================================
        ITEM
============================================ */

.process-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    z-index: 2;
}

/* Number */
.process-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 3;
    font-size: 22px;
    font-weight: 900;
    color: var(--accent);
    background: var(--bg-soft);
    border: 2.5px solid var(--accent);
    box-shadow: 0 0 25px var(--accent-glow);
    transition: transform .35s ease, background .35s ease, color .35s ease;
}

.process-item:hover .process-number {
    transform: translateX(-50%) scale(1.12);
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    color: var(--bg);
}

/* Card */
.process-card {
    width: 45%;
    padding: 40px;
    border-radius: 30px;
    background: var(--bg-card);
    border: 1px solid var(--accent-border);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 20px 50px var(--shadow);
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
    position: relative;
    overflow: hidden;
}

.process-card::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    bottom: -90px;
    left: -90px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    opacity: 0;
    transition: opacity .4s ease;
}

.process-item:nth-child(odd) .process-card {
    margin-right: auto;
}

.process-item:nth-child(even) .process-card {
    margin-left: auto;
}

.process-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 30px 70px var(--shadow-strong), 0 0 45px var(--accent-glow);
}

.process-card:hover::before {
    opacity: 1;
}

/* Icon */
.process-icon {
    width: 75px;
    height: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 24px;
    margin-bottom: 30px;
    background: var(--accent-soft);
    color: var(--accent);
    transition: transform .35s ease, background .35s ease, color .35s ease;
}

.process-icon svg {
    width: 36px;
    height: 36px;
}

.process-card:hover .process-icon {
    transform: scale(1.1) rotate(-8deg);
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    color: var(--bg);
}

.process-card h3 {
    margin: 0 0 18px;
    font-size: 26px;
    font-weight: 800;
    color: var(--text);
}

.process-card p {
    margin: 0;
    font-size: 16px;
    line-height: 2.1;
    color: var(--text-muted);
}

/* ============================================
        RESPONSIVE
============================================ */

@media (max-width: 900px) {
    .process { padding: 120px 0; }
    .process-header { margin-bottom: 70px; }

    .process-timeline::before {
        left: 35px;
        transform: none;
    }

    .process-line-progress {
        left: 35px;
        transform: none;
    }

    .process-item {
        justify-content: flex-start;
        min-height: auto;
        padding-left: 100px;
    }

    .process-number {
        left: 0;
        transform: none;
        width: 70px;
        height: 70px;
    }

    .process-item:hover .process-number {
        transform: scale(1.12);
    }

    .process-card {
        width: 100%;
    }

    .process-item:nth-child(odd) .process-card,
    .process-item:nth-child(even) .process-card {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .process { padding: 90px 0; }
    .process-title { font-size: 38px; }
    .process-description { font-size: 16px; line-height: 2; }
    .process-item { padding-left: 85px; }
    .process-number { width: 60px; height: 60px; font-size: 18px; }
    .process-card { padding: 32px; border-radius: 25px; }
    .process-icon { width: 65px; height: 65px; }
    .process-card h3 { font-size: 24px; }
    .process-card p { font-size: 15px; }
}

@media (max-width: 480px) {
    .process-tag { font-size: 12px; padding: 10px 22px; }
    .process-title { font-size: 32px; }
    .process-item { padding-left: 75px; }
    .process-timeline::before { left: 30px; }
    .process-line-progress { left: 30px; }
    .process-number { width: 55px; height: 55px; font-size: 16px; }
    .process-card { padding: 25px; }
}
