/* Language switcher & premium dashboard */
.qr-lang-switcher {
    display: inline-flex;
    gap: 6px;
    padding: 4px;
    background: rgba(255,255,255,0.12);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
}
.qr-lang-switcher .lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.qr-lang-switcher .lang-btn:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}
.qr-lang-switcher .lang-btn.active {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 4px 14px rgba(99,102,241,0.4);
}
.qr-lang-switcher .lang-flag { font-size: 18px; line-height: 1; }
.qr-lang-switcher--light {
    background: #f1f5f9;
    border-color: #e2e8f0;
}
.qr-lang-switcher--light .lang-btn { color: #475569; }
.qr-lang-switcher--light .lang-btn.active { color: #fff; }

.dashboard-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    border-radius: 20px;
    padding: 32px 36px;
    margin-bottom: 28px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.dashboard-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99,102,241,0.35) 0%, transparent 70%);
    pointer-events: none;
}
.dashboard-hero-inner {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.dashboard-hero h1 {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}
.dashboard-hero p {
    margin: 0;
    opacity: 0.85;
    font-size: 1rem;
    max-width: 520px;
}
.dashboard-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}
.lang-panel-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 28px;
    box-shadow: 0 4px 24px rgba(15,23,42,0.06);
    border: 1px solid #e2e8f0;
}
.lang-panel-card h3 {
    margin: 0 0 6px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
}
.lang-panel-card p {
    margin: 0 0 16px;
    color: #64748b;
    font-size: 0.9rem;
}

.mvp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}
.mvp-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}
.mvp-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(15,23,42,0.08);
}
.mvp-card.active-feature {
    border-color: #a5b4fc;
    background: linear-gradient(180deg, #fafaff 0%, #fff 100%);
}
.mvp-card.coming-soon {
    opacity: 0.72;
}
.mvp-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 14px;
}
.mvp-card-icon.qr { background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff; }
.mvp-card-icon.wa { background: linear-gradient(135deg, #22c55e, #16a34a); color: #fff; }
.mvp-card-icon.admin { background: linear-gradient(135deg, #3b82f6, #2563eb); color: #fff; }
.mvp-card-icon.orders { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; }
.mvp-card-icon.muted { background: #f1f5f9; color: #94a3b8; }
.mvp-card h4 { margin: 0 0 6px; font-size: 1rem; font-weight: 700; color: #0f172a; }
.mvp-card p { margin: 0; font-size: 0.82rem; color: #64748b; line-height: 1.45; }
.mvp-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 20px;
}
.mvp-badge.active { background: #d1fae5; color: #065f46; }
.mvp-badge.soon { background: #f1f5f9; color: #64748b; }

.quick-links-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}
.quick-links-bar a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s;
}
.quick-links-bar a:hover {
    border-color: #6366f1;
    color: #4f46e5;
    box-shadow: 0 4px 12px rgba(99,102,241,0.15);
}

.subscription-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.subscription-pill {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Customer menu lang + WhatsApp */
.customer-lang-bar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px;
    background: #f1f5f9;
    border-radius: 10px;
}
.customer-lang-bar a {
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    color: #64748b;
    transition: all 0.15s;
}
.customer-lang-bar a.active {
    background: #fff;
    color: #4f46e5;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
}
.btn-whatsapp:hover {
    filter: brightness(1.05);
}
