/* ============================================
   NFC Process Steps Widget — Pinned 3D Stacking
   ============================================ */

.nfc-process-section {
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 0;
    background: inherit;
}

.nfc-process-inner {
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    min-height: 100vh;
}

.nfc-process-inner.nfc-boxed {
    max-width: 1280px;
}

.nfc-process-inner.nfc-full-width {
    max-width: 100%;
}

/* Left Column */
.nfc-process-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Header */
.nfc-process-subtitle {
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 16px;
}

.nfc-process-subtitle.has-line::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 2px;
    margin-right: 14px;
    flex-shrink: 0;
}

.nfc-process-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    padding: 0;
}

.nfc-process-heading em {
    font-style: italic;
}

/* Steps List — stacked, one visible at a time */
.nfc-steps-list {
    position: relative;
    margin-top: 40px;
    min-height: 100px;
}

.nfc-step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    width: 100%;
}

/* First step relative to hold space, rest absolute */
.nfc-step-item:first-child {
    position: relative;
}

.nfc-step-item:not(:first-child) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
}

.nfc-step-number {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
    padding-top: 2px;
}

.nfc-step-content {
    flex: 1;
}

.nfc-step-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 8px;
}

.nfc-step-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Right Column */
.nfc-process-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nfc-process-card-wrapper {
    width: 100%;
}

/* 3D Stacking Cards Container */
.nfc-cards-stack {
    position: relative;
    width: 100%;
    perspective: 1200px;
}

/* Card */
.nfc-process-card {
    width: 100%;
    overflow: hidden;
    will-change: transform, opacity;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transform-origin: center top;
}

.nfc-process-card:first-child {
    position: relative;
}

.nfc-process-card:not(:first-child) {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.nfc-card-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.3;
    margin: 0 0 28px 0;
    padding: 0;
}

/* Timeline */
.nfc-card-timeline {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nfc-timeline-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
}

.nfc-timeline-dot {
    flex-shrink: 0;
    border-radius: 50%;
}

.nfc-timeline-text {
    flex: 1;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
}

.nfc-timeline-time {
    flex-shrink: 0;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    opacity: 0.7;
}

/* Step counter indicator */
.nfc-step-counter {
    display: flex;
    gap: 8px;
    margin-top: 24px;
}

.nfc-step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #CBD5E1;
    transition: background 0.4s ease, transform 0.4s ease;
}

.nfc-step-dot.is-active {
    background: #2E7CF6;
    transform: scale(1.3);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .nfc-process-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .nfc-process-inner {
        flex-direction: column;
        min-height: 100vh;
        align-items: stretch;
        gap: 24px;
    }

    .nfc-process-left {
        flex: 0 0 auto !important;
    }

    .nfc-process-right {
        width: 100%;
        position: sticky;
        top: 20px;
        bottom: 20px;
    }

    .nfc-process-card-wrapper {
        width: 100%;
    }

    .nfc-process-heading {
        font-size: 32px;
    }

    .nfc-step-title {
        font-size: 18px;
    }

    .nfc-step-desc {
        font-size: 13px;
    }

    .nfc-step-number {
        font-size: 14px;
    }

    .nfc-process-subtitle {
        font-size: 11px;
        letter-spacing: 2px;
    }
}

@media (max-width: 600px) {
    .nfc-process-inner {
        gap: 20px;
    }

    .nfc-process-heading {
        font-size: 26px;
    }

    .nfc-step-item {
        gap: 12px;
    }

    .nfc-step-title {
        font-size: 16px;
    }

    .nfc-step-desc {
        font-size: 12px;
        line-height: 1.5;
    }

    .nfc-step-number {
        font-size: 13px;
    }

    .nfc-card-heading {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .nfc-timeline-row {
        padding: 10px 14px;
        gap: 10px;
    }

    .nfc-timeline-text {
        font-size: 12px;
    }

    .nfc-timeline-time {
        font-size: 11px;
    }

    .nfc-step-counter {
        margin-top: 16px;
    }

    .nfc-steps-list {
        margin-top: 24px;
    }
}
