/* ═══════════════════════════════════════════════════════════════
   KESKA RESTO — ENTERPRISE DUAL-COLUMN ONBOARDING EXPERIENCE
   Ultra-High-End SaaS UI Architecture (Dark & Light Hybrid)
   ═══════════════════════════════════════════════════════════════ */

.demo-experience-wrapper {
    position: relative;
    min-height: calc(100vh - 75px);
    background: radial-gradient(circle at 20% 0%, rgba(99, 102, 241, 0.18) 0%, transparent 50%),
                radial-gradient(circle at 80% 100%, rgba(16, 185, 129, 0.12) 0%, transparent 50%),
                linear-gradient(180deg, #070a12 0%, #0c111e 100%);
    padding: 30px 0 60px 0;
}

[data-theme="light"] .demo-experience-wrapper {
    background: radial-gradient(circle at 20% 0%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 100%, rgba(16, 185, 129, 0.06) 0%, transparent 50%),
                linear-gradient(180deg, #f1f5f9 0%, #ffffff 100%);
}

/* ═══════════════════════ LEFT COLUMN: ENTERPRISE INFO CARD ═══════════════════════ */
.enterprise-info-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.85) 100%);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 24px;
    padding: 32px 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(99, 102, 241, 0.15);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

[data-theme="light"] .enterprise-info-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.08), 0 2px 8px rgba(0, 0, 0, 0.03);
}

.enterprise-badge-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(99, 102, 241, 0.16);
    border: 1px solid rgba(99, 102, 241, 0.35);
    color: #818cf8;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 6px 14px;
    border-radius: 999px;
    text-transform: uppercase;
}

[data-theme="light"] .enterprise-badge-pill {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #4338ca;
}

.enterprise-headline {
    font-size: 1.75rem;
    font-weight: 850;
    color: #ffffff;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

[data-theme="light"] .enterprise-headline {
    color: #0f172a;
}

.gradient-text {
    background: linear-gradient(135deg, #818cf8 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.enterprise-subtext {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.55;
    margin-bottom: 0;
}

[data-theme="light"] .enterprise-subtext {
    color: #64748b;
}

/* Live SaaS Mockup Card */
.live-saas-mockup-card {
    background: rgba(10, 15, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .live-saas-mockup-card {
    background: #f1f5f9;
    border-color: #cbd5e1;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .mockup-header {
    border-bottom-color: #e2e8f0;
}

.mockup-traffic-dots {
    display: flex;
    gap: 6px;
}

.mockup-traffic-dots .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.mockup-status-badge {
    font-size: 0.72rem;
    font-weight: 700;
    color: #34d399;
    letter-spacing: 0.04em;
}

.mockup-tenant-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
}

[data-theme="light"] .mockup-tenant-title {
    color: #0f172a;
}

.mockup-tenant-domain {
    font-size: 0.76rem;
    color: #818cf8;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
    margin-top: 2px;
}

.mockup-specs-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.78rem;
}

.mockup-spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spec-label {
    color: #94a3b8;
}

.spec-val {
    font-weight: 700;
}

/* Features List */
.enterprise-features-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #cbd5e1;
}

[data-theme="light"] .feature-item {
    color: #334155;
}

.feature-item i {
    font-size: 0.95rem;
    flex-shrink: 0;
}

.stars-gold {
    color: #fbbf24;
    font-size: 0.82rem;
}

/* ═══════════════════════ RIGHT COLUMN: MASTER WIZARD CARD ═══════════════════════ */
.demo-console-card {
    background: rgba(15, 23, 42, 0.94);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(99, 102, 241, 0.12);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    overflow: hidden;
}

[data-theme="light"] .demo-console-card {
    background: #ffffff;
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Stepper Navigation */
.console-stepper-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 28px;
    background: rgba(10, 15, 26, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .console-stepper-header {
    background: #f8fafc;
    border-bottom-color: #e2e8f0;
}

.console-steps-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.console-step-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    padding: 6px 14px;
    border-radius: 999px;
    transition: all 0.25s ease;
}

.step-tab-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.76rem;
    font-weight: 800;
    transition: all 0.25s;
}

.step-tab-label {
    font-size: 0.84rem;
    font-weight: 700;
    color: #94a3b8;
    transition: all 0.25s;
}

.step-tab-divider {
    width: 16px;
    height: 1.5px;
    background: rgba(255, 255, 255, 0.12);
}

[data-theme="light"] .step-tab-divider {
    background: #cbd5e1;
}

.console-step-tab.active {
    background: rgba(99, 102, 241, 0.15);
}

.console-step-tab.active .step-tab-num {
    background: #6366f1;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.6);
}

.console-step-tab.active .step-tab-label {
    color: #ffffff;
}

[data-theme="light"] .console-step-tab.active .step-tab-label {
    color: #4338ca;
}

.console-step-tab.completed .step-tab-num {
    background: #10b981;
    color: #ffffff;
}

.console-step-tab.completed .step-tab-label {
    color: #10b981;
}

.console-badge-secure {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #34d399;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 5px 12px;
    border-radius: 999px;
}

[data-theme="light"] .console-badge-secure {
    background: #ecfdf5;
    color: #047857;
    border-color: #a7f3d0;
}

/* Progress Bar */
.console-progress-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

[data-theme="light"] .console-progress-track {
    background: #e2e8f0;
}

.console-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #38bdf8, #10b981);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Form Body & Panes */
.console-form-body {
    padding: 28px 32px 32px 32px;
}

.console-pane {
    display: none;
    opacity: 0;
}

.console-pane.active {
    display: block;
    opacity: 1;
}

.console-pane.slide-enter-right {
    animation: paneInRight 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.console-pane.slide-enter-left {
    animation: paneInLeft 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes paneInRight {
    from { opacity: 0; transform: translate3d(20px, 0, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes paneInLeft {
    from { opacity: 0; transform: translate3d(-20px, 0, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.pane-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .pane-header-row {
    border-bottom-color: #e2e8f0;
}

.pane-title {
    font-size: 1.35rem;
    font-weight: 850;
    color: #ffffff;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

[data-theme="light"] .pane-title {
    color: #0f172a;
}

.pane-desc {
    font-size: 0.86rem;
    color: #94a3b8;
    margin-bottom: 0;
}

[data-theme="light"] .pane-desc {
    color: #64748b;
}

.pane-step-counter {
    font-size: 0.8rem;
    font-weight: 750;
    color: #818cf8;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    padding: 4px 12px;
    border-radius: 999px;
}

[data-theme="light"] .pane-step-counter {
    background: #eef2ff;
    color: #4338ca;
    border-color: #c7d2fe;
}

/* Form Fields */
.form-field-unit {
    display: flex;
    flex-direction: column;
}

.form-field-caption {
    font-size: 0.84rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 7px;
}

[data-theme="light"] .form-field-caption {
    color: #1e293b;
}

.required-mark {
    color: #ef4444;
}

.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-leading-icon {
    position: absolute;
    left: 16px;
    color: #818cf8;
    font-size: 0.95rem;
    pointer-events: none;
}

.console-input,
.console-select {
    width: 100%;
    background: rgba(15, 23, 42, 0.85) !important;
    border: 1.5px solid rgba(99, 102, 241, 0.25) !important;
    border-radius: 14px !important;
    padding: 12px 16px !important;
    color: #ffffff !important;
    font-size: 0.92rem !important;
    transition: all 0.25s ease !important;
}

.input-icon-wrapper .console-input {
    padding-left: 44px !important;
}

[data-theme="light"] .console-input,
[data-theme="light"] .console-select {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

.console-input:focus,
.console-select:focus {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3.5px rgba(99, 102, 241, 0.2) !important;
    outline: none !important;
}

.security-email-badge {
    font-size: 0.78rem;
    color: #94a3b8;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 8px 12px;
    border-radius: 10px;
}

[data-theme="light"] .security-email-badge {
    background: #f1f5f9;
    color: #475569;
    border-color: #e2e8f0;
}

/* Compact 4x2 Venue Types Grid */
.compact-type-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.type-badge-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    text-align: center;
}

[data-theme="light"] .type-badge-card {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.type-badge-card i {
    font-size: 1.25rem;
    color: #818cf8;
    transition: transform 0.2s;
}

.type-badge-card span {
    font-size: 0.78rem;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.2;
}

[data-theme="light"] .type-badge-card span {
    color: #1e293b;
}

.type-badge-card:hover {
    border-color: rgba(99, 102, 241, 0.45);
    background: rgba(99, 102, 241, 0.08);
    transform: translateY(-2px);
}

.type-badge-card.active {
    background: rgba(99, 102, 241, 0.2);
    border-color: #6366f1;
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.3);
}

.type-badge-card.active i {
    color: #818cf8;
    transform: scale(1.15);
}

/* Position Role Pills */
.compact-roles-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.role-pill-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

[data-theme="light"] .role-pill-card {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.role-pill-card i {
    font-size: 0.88rem;
    color: #818cf8;
}

.role-pill-card span {
    font-size: 0.82rem;
    font-weight: 650;
    color: #cbd5e1;
}

[data-theme="light"] .role-pill-card span {
    color: #475569;
}

.role-pill-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(99, 102, 241, 0.1);
}

.role-pill-card.active {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border-color: #818cf8;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

.role-pill-card.active i,
.role-pill-card.active span {
    color: #ffffff;
}

/* Horizontal Need Matrix */
.horizontal-need-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.need-item-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(30, 41, 59, 0.5);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

[data-theme="light"] .need-item-card {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.need-item-card:hover {
    border-color: rgba(99, 102, 241, 0.45);
    background: rgba(99, 102, 241, 0.08);
    transform: translateY(-2px);
}

.need-item-card.selected {
    background: rgba(99, 102, 241, 0.18);
    border-color: #6366f1;
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.22);
}

.need-check-box {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.72rem;
    color: transparent;
    transition: all 0.2s;
}

[data-theme="light"] .need-check-box {
    border-color: #cbd5e1;
}

.need-item-card.selected .need-check-box {
    background: #6366f1;
    border-color: #6366f1;
    color: #ffffff;
}

.need-text-wrap {
    display: flex;
    flex-direction: column;
}

.need-text-wrap strong {
    font-size: 0.86rem;
    color: #f8fafc;
    line-height: 1.25;
}

[data-theme="light"] .need-text-wrap strong {
    color: #0f172a;
}

.need-text-wrap span {
    font-size: 0.74rem;
    color: #94a3b8;
    line-height: 1.3;
}

/* Horizontal Plan Selector */
.horizontal-plans-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.horizontal-plan-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 14px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

[data-theme="light"] .horizontal-plan-card {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.horizontal-plan-card:hover {
    border-color: #6366f1;
    transform: translateY(-2px);
}

.horizontal-plan-card.active {
    background: rgba(99, 102, 241, 0.16);
    border-color: #6366f1;
    box-shadow: 0 6px 22px rgba(99, 102, 241, 0.28);
}

.plan-card-tag {
    font-size: 0.68rem;
    font-weight: 800;
    color: #818cf8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 3px;
}

.plan-card-name {
    font-size: 0.88rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
}

[data-theme="light"] .plan-card-name {
    color: #0f172a;
}

.plan-card-price {
    font-size: 1.2rem;
    font-weight: 850;
    color: #818cf8;
    line-height: 1;
}

.plan-card-price small {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 600;
}

.plan-card-check {
    font-size: 0.7rem;
    font-weight: 700;
    color: #10b981;
    display: block;
    margin-top: 4px;
}

/* Compact Summary Panel */
.console-summary-panel {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(16, 185, 129, 0.04) 100%);
    border: 1px dashed rgba(99, 102, 241, 0.35);
    border-radius: 16px;
    padding: 14px 18px;
}

[data-theme="light"] .console-summary-panel {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.summary-panel-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

[data-theme="light"] .summary-panel-header {
    color: #0f172a;
}

.summary-kv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px 14px;
}

.summary-kv-item {
    font-size: 0.78rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.summary-kv-item strong {
    color: #f1f5f9;
}

[data-theme="light"] .summary-kv-item strong {
    color: #0f172a;
}

/* Action Bar */
.console-actions-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .console-actions-bar {
    border-top-color: #e2e8f0;
}

.action-info-text {
    font-size: 0.82rem;
    font-weight: 650;
    color: #94a3b8;
}

[data-theme="light"] .action-info-text {
    color: #64748b;
}

.btn-console-back {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

[data-theme="light"] .btn-console-back {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569;
}

.btn-console-back:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transform: translateX(-2px);
}

.btn-console-next {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border: none;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 999px;
    font-weight: 750;
    font-size: 0.92rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-console-next:hover {
    transform: translateY(-2px) translateX(2px);
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.55);
    color: #ffffff;
}

.btn-console-launch {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border: none;
    color: #ffffff;
    padding: 13px 36px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.96rem;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-console-launch:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.6);
    color: #ffffff;
}

/* Error Shake */
.input-error-shake {
    animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
}

@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-3px, 0, 0); }
    40%, 60% { transform: translate3d(3px, 0, 0); }
}

/* Responsive Rules */
@media (max-width: 992px) {
    .compact-type-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .horizontal-need-grid {
        grid-template-columns: 1fr;
    }

    .summary-kv-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
