/* Experience Center — 체험 여정 허브·게이트 UI */

.bk-demo-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    max-width: 720px;
    margin: 0 auto 1.25rem;
    padding: 0.75rem 1rem;
    font-size: 0.82rem;
    line-height: 1.55;
    color: #455a64;
    background: #e3f2fd;
    border: 1px solid #90caf9;
    border-radius: 10px;
}

.bk-demo-notice__icon {
    flex-shrink: 0;
    color: var(--sot-blue);
    font-weight: 700;
}

.exp-journey-hub {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--sot-border, #e0e0e0);
    text-align: left;
}

.exp-journey-hub__lead {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--sot-blue-dark);
    margin-bottom: 1rem;
}

.exp-journey-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.exp-journey-step {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.85rem 1rem;
    background: #f8fafc;
    border: 1px solid var(--sot-border);
    border-radius: 12px;
}

.exp-journey-step.is-done {
    background: #e8f5e9;
    border-color: #a5d6a7;
}

.exp-journey-step.is-current {
    border-color: var(--sot-blue);
    box-shadow: 0 0 0 2px rgba(13, 71, 161, 0.12);
}

.exp-journey-step__num {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    text-align: center;
    border-radius: 50%;
    background: var(--sot-blue);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
}

.exp-journey-step.is-done .exp-journey-step__num {
    background: #43a047;
}

.exp-journey-step__title {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    color: var(--sot-blue-dark);
}

.exp-journey-step__hint {
    font-size: 0.8rem;
    color: var(--sot-muted);
    margin: 0 0 0.5rem;
    line-height: 1.45;
}

    .exp-journey-step__btn {
        min-height: 48px;
    }

/* Gate entry experience */
.gate-experience {
    max-width: 520px;
    margin: 0 auto;
}

.gate-screen {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(180deg, #1a2230 0%, #0d47a1 100%);
    color: #fff;
    padding: 1.5rem 1.25rem 1.25rem;
    box-shadow: 0 16px 40px rgba(13, 71, 161, 0.25);
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.gate-screen__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    opacity: 0.85;
    margin-bottom: 1rem;
}

.gate-screen__viewport {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem 0;
}

.gate-screen__icon {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.gate-screen__status {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.gate-screen__message {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.gate-screen.is-scanning .gate-screen__icon {
    animation: gate-pulse 1s ease-in-out infinite;
}

.gate-screen.is-ok {
    background: linear-gradient(180deg, #1b5e20 0%, #43a047 100%);
}

.gate-screen.is-fail {
    background: linear-gradient(180deg, #b71c1c 0%, #e53935 100%);
}

@keyframes gate-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.85; }
}

.gate-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.gate-actions .btn {
    min-height: 48px;
    font-weight: 600;
}

.gate-next-bar {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f0f4f8;
    border-radius: 12px;
    text-align: center;
}

.gate-dev-toggle {
    font-size: 0.78rem;
    margin-top: 1rem;
}

.locker-next-bar {
    margin-top: 1.25rem;
    padding: 1rem;
    background: #e8f5e9;
    border-radius: 12px;
    text-align: center;
}

/* Operations flow */
.ops-flow-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ops-flow-step {
    position: relative;
    padding: 1.25rem 1.25rem 1.25rem 3.5rem;
    background: #fff;
    border: 1px solid var(--sot-border);
    border-radius: 12px;
    margin-bottom: 0.75rem;
}

.ops-flow-step::before {
    content: attr(data-icon);
    position: absolute;
    left: 1rem;
    top: 1.15rem;
    font-size: 1.35rem;
}

.ops-flow-step .ops-no {
    position: absolute;
    left: 1rem;
    top: 2.6rem;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--sot-blue);
}

@media (max-width: 768px) {
    .exp-journey-step__btn {
        width: 100%;
    }

    .gate-screen {
        min-height: 280px;
    }

    .exp-funnel-progress__list {
        min-width: 0;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.35rem 0.5rem;
    }

    .exp-funnel-progress__item {
        flex: 0 1 calc(33.33% - 0.5rem);
        min-width: 88px;
    }

    .exp-funnel-progress__item:not(:last-child)::after {
        display: none;
    }

    .exp-funnel-progress__label {
        font-size: 0.62rem;
        line-height: 1.25;
    }

    .exp-complete-cta .btn {
        width: 100%;
        min-height: 48px;
    }

    .exp-profile-card {
        min-height: 48px;
    }
}

/* Funnel progress bar */
.exp-funnel-progress {
    margin: 0 auto 1.5rem;
    max-width: 960px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
}

.exp-funnel-progress__list {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 640px;
}

.exp-funnel-progress__link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 0 0.15rem;
}

.exp-funnel-progress__item.is-clickable .exp-funnel-progress__link {
    cursor: pointer;
}

.exp-funnel-progress__item.is-clickable .exp-funnel-progress__link:hover .exp-funnel-progress__label {
    color: var(--sot-blue);
}

.exp-funnel-progress__item:not(.is-clickable) .exp-funnel-progress__link {
    pointer-events: none;
}

.exp-funnel-progress__item {
    flex: 1;
    text-align: center;
    position: relative;
    padding-top: 1.5rem;
}

.exp-funnel-progress__item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 0.55rem;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #cfd8dc;
    z-index: 0;
}

.exp-funnel-progress__item.is-done:not(:last-child)::after {
    background: #43a047;
}

.exp-funnel-progress__dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #cfd8dc;
    z-index: 1;
}

.exp-funnel-progress__item.is-done .exp-funnel-progress__dot {
    background: #43a047;
    border-color: #43a047;
}

.exp-funnel-progress__item.is-done .exp-funnel-progress__dot::after {
    content: '✓';
    color: #fff;
    font-size: 0.65rem;
    line-height: 1rem;
    display: block;
    text-align: center;
}

.exp-funnel-progress__item.is-current .exp-funnel-progress__dot {
    border-color: var(--sot-blue);
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.2);
    background: var(--sot-blue);
}

.exp-funnel-progress__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--sot-muted);
    line-height: 1.3;
    padding: 0 0.15rem;
}

.exp-funnel-progress__item.is-current .exp-funnel-progress__label {
    color: var(--sot-blue-dark);
}

.exp-funnel-progress__item.is-done .exp-funnel-progress__label {
    color: #2e7d32;
}

/* Profile selection */
.exp-profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
    max-width: 720px;
}

.exp-profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 100px;
    padding: 1rem;
    border: 2px solid var(--sot-border);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.exp-profile-card:hover {
    border-color: var(--sot-blue);
    box-shadow: 0 8px 24px rgba(13, 71, 161, 0.12);
}

.exp-profile-card__label {
    font-weight: 700;
    color: var(--sot-blue-dark);
}

.exp-profile-card__go {
    font-size: 0.78rem;
    color: var(--sot-blue);
}

/* Complete page */
.exp-complete-hero {
    max-width: 520px;
}

.exp-complete-badge {
    width: 4.5rem;
    height: 4.5rem;
    line-height: 4.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #43a047, #2e7d32);
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 24px rgba(46, 125, 50, 0.35);
}

.exp-complete-checklist {
    list-style: none;
    padding: 0;
    margin: 0 auto 2rem;
    max-width: 320px;
}

.exp-complete-checklist li {
    padding: 0.4rem 0 0.4rem 1.75rem;
    position: relative;
    font-weight: 600;
    color: var(--sot-blue-dark);
}

.exp-complete-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #43a047;
    font-weight: 800;
}

.exp-lead-panel {
    background: #f8fafc;
    border: 1px solid var(--sot-border);
    border-radius: 16px;
    padding: 1.5rem;
}

.exp-lead-panel .form-control,
.exp-lead-panel .form-select {
    min-height: 48px;
}

.exp-lead-panel button[type="submit"] {
    min-height: 48px;
}

/* Admin demo KPI */
.admin-demo-kpi-card {
    background: #fff;
    border: 1px solid var(--sot-border);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    height: 100%;
}

.admin-demo-kpi-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.35rem;
}

.admin-demo-kpi-label {
    display: block;
    font-size: 0.78rem;
    color: var(--sot-muted);
    margin-bottom: 0.25rem;
}

.admin-demo-kpi-value {
    display: block;
    font-size: 1.35rem;
    color: var(--sot-blue-dark);
}

.admin-demo-kpi-value small {
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.15rem;
}
