/* AI 人像抠图页 */
.rxkt-card {
    min-height: 520px;
    overflow: hidden;
}

.rxkt-card.is-complete {
    box-shadow: 0 8px 32px rgba(13, 110, 253, .12);
}

.rxkt-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    padding: 18px 24px;
    background: linear-gradient(135deg, #f0f6ff 0%, #fafcff 50%, #fff 100%);
    border-bottom: 1px solid rgba(13, 110, 253, .08);
}

.rxkt-step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .8);
    border: 1px solid #e8ecf0;
    color: #888;
    font-size: 13px;
    transition: all .3s;
}

.rxkt-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e8ecf0;
    color: #666;
    font-size: 12px;
    font-weight: 700;
}

.rxkt-step.is-active {
    background: #fff;
    border-color: #0d6efd;
    color: #0d6efd;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(13, 110, 253, .15);
}

.rxkt-step.is-active .rxkt-step-num {
    background: linear-gradient(135deg, #0d6efd, #4dabf7);
    color: #fff;
}

.rxkt-step.is-done {
    background: #f0faf2;
    border-color: #b8e6c1;
    color: #2e7d32;
}

.rxkt-step.is-done .rxkt-step-num {
    background: #43a047;
    color: #fff;
}

.rxkt-step-arrow {
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, #d0d7de, #0d6efd);
    border-radius: 1px;
    opacity: .5;
}

.rxkt-hero {
    padding-bottom: 8px;
}

.rxkt-upload-inner {
    min-height: 320px;
    margin: 24px 24px 0;
    background: linear-gradient(160deg, #f8fbff 0%, #fff 40%, #f0f6ff 100%);
    border: 2px dashed rgba(13, 110, 253, .35);
    position: relative;
}

.rxkt-upload-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: radial-gradient(circle at 50% 0%, rgba(13, 110, 253, .06) 0%, transparent 60%);
    pointer-events: none;
}

.rxkt-upload-inner:hover,
.rxkt-upload-inner.is-dragover {
    border-color: #0d6efd;
    background: linear-gradient(160deg, #eef4ff 0%, #fff 50%, #e8f0ff 100%);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(13, 110, 253, .12);
}

.rxkt-upload-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.rxkt-demo-box {
    width: 72px;
    height: 88px;
    border-radius: 10px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8px;
    position: relative;
    overflow: hidden;
}

.rxkt-demo-box--before {
    background: linear-gradient(180deg, #87ceeb 0%, #e8f4ff 100%);
    box-shadow: inset 0 -20px 30px rgba(0, 0, 0, .08);
}

.rxkt-demo-box--before::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 50px;
    background: linear-gradient(180deg, #ffc9a8 0%, #e8a87c 100%);
    border-radius: 18px 18px 0 0;
}

.rxkt-demo-box--after {
    background-image: linear-gradient(45deg, #eee 25%, transparent 25%), linear-gradient(-45deg, #eee 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #eee 75%), linear-gradient(-45deg, transparent 75%, #eee 75%);
    background-size: 10px 10px;
    background-position: 0 0, 0 5px, 5px -5px, -5px 0;
    background-color: #fff;
    border: 1px solid #e0e0e0;
}

.rxkt-demo-box--after::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 50px;
    background: linear-gradient(180deg, #ffc9a8 0%, #e8a87c 100%);
    border-radius: 18px 18px 0 0;
}

.rxkt-demo-label {
    font-size: 10px;
    font-weight: 600;
    color: rgba(0, 0, 0, .45);
    z-index: 1;
}

.rxkt-demo-arrow {
    font-size: 20px;
    color: #0d6efd;
    font-weight: 300;
}

.rxkt-upload-title {
    margin: 0 0 8px;
    font-size: clamp(22px, 2.8vw, 28px);
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: .3px;
}

.rxkt-upload-desc {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    max-width: 420px;
    text-align: center;
}

.rxkt-upload-hint {
    margin: 14px 0 0;
    font-size: 12px;
    color: #aaa;
}

.rxkt-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    list-style: none;
    margin: 20px 24px 0;
    padding: 0;
}

.rxkt-features li {
    text-align: center;
    padding: 16px 12px;
    background: #fafbfc;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    transition: border-color .2s, box-shadow .2s;
}

.rxkt-features li:hover {
    border-color: rgba(13, 110, 253, .2);
    box-shadow: 0 4px 12px rgba(13, 110, 253, .06);
}

.rxkt-feature-icon {
    display: block;
    font-size: 22px;
    margin-bottom: 6px;
}

.rxkt-features strong {
    display: block;
    font-size: 14px;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.rxkt-features li > span:last-child {
    font-size: 12px;
    color: #999;
}

.rxkt-scenes {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 20px 24px 24px;
    padding-top: 16px;
    border-top: 1px solid #f0f2f5;
}

.rxkt-scenes-label {
    font-size: 12px;
    font-weight: 600;
    color: #888;
    margin-right: 4px;
}

.rxkt-scene-tag {
    font-size: 12px;
    color: #555;
    background: #fff;
    border: 1px solid #e8ecf0;
    padding: 5px 12px;
    border-radius: 999px;
}

.rxkt-success-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 20px 0;
    padding: 12px 16px;
    background: linear-gradient(90deg, #e8f5e9, #f1f8f2);
    border: 1px solid #c8e6c9;
    border-radius: 12px;
    font-size: 14px;
    color: #2e7d32;
    font-weight: 500;
}

.rxkt-success-bar svg {
    flex-shrink: 0;
    color: #43a047;
}

.rxkt-panel-tag {
    font-size: 11px;
    font-weight: 600;
    color: #888;
    background: #f0f4f8;
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: .3px;
}

.rxkt-panel-tag--success {
    color: #0d6efd;
    background: #eef4ff;
}

.rxkt-loading-sub {
    margin: 8px 0 0;
    font-size: 12px;
    color: #999;
}

a.rxkt-download-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

a.rxkt-download-link[hidden] {
    display: none !important;
}

@media (max-width: 768px) {
    .rxkt-steps {
        padding: 14px 16px;
    }

    .rxkt-step {
        padding: 6px 12px;
        font-size: 12px;
    }

    .rxkt-step-arrow {
        display: none;
    }

    .rxkt-upload-inner {
        margin: 16px 16px 0;
        min-height: 280px;
        padding: 28px 16px;
    }

    .rxkt-features {
        grid-template-columns: 1fr;
        margin: 16px;
    }

    .rxkt-scenes {
        margin: 16px;
    }

    .rxkt-upload-visual {
        gap: 10px;
    }

    .rxkt-demo-box {
        width: 56px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .rxkt-card {
        width: 100%;
        padding: 0 8px;
    }

    .rxkt-steps {
        padding: 10px 8px;
        gap: 4px;
    }

    .rxkt-step {
        padding: 4px 8px;
        font-size: 11px;
    }

    .rxkt-upload-inner {
        margin: 8px 8px 0;
        min-height: 220px;
        padding: 20px 10px;
    }

    .rxkt-upload-visual {
        gap: 6px;
    }

    .rxkt-demo-box {
        width: 44px;
        height: 56px;
    }

    .rxkt-features {
        grid-template-columns: 1fr;
        margin: 10px 8px;
    }

    .rxkt-scenes {
        margin: 10px 8px;
    }

    a.rxkt-download-link {
        width: 100%;
    }
}
