﻿/* QR Studio enhancements — scenes strip, Pro upsell, upgrade modal */

.qr-studio-topbar-lead {
    margin-top: 0.35rem;
    max-width: 36rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--ink-mute, #6b6560);
}

.qr-studio-scenes-strip {
    margin-bottom: 1.25rem;
    padding: 0.875rem 1rem 1rem;
}

.qr-studio-scenes-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}

.qr-studio-scenes-scroll {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scrollbar-width: thin;
}

.qr-studio-scene-chip {
    flex: 0 0 auto;
    border: 1px solid rgba(28, 24, 20, 0.1);
    border-radius: 999px;
    background: rgba(255, 247, 237, 0.65);
    padding: 0.4rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ink, #1c1814);
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    cursor: pointer;
}

.qr-studio-scene-chip:hover,
.qr-studio-scene-chip.is-active {
    border-color: rgba(196, 92, 38, 0.35);
    background: rgba(196, 92, 38, 0.08);
    color: var(--clay-dark, #9a4318);
}

.qr-studio-pro-panel {
    position: relative;
    overflow: hidden;
    margin: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(196, 92, 38, 0.2);
    background:
        linear-gradient(135deg, rgba(255, 252, 248, 0.98) 0%, rgba(243, 230, 220, 0.55) 100%);
    box-shadow: 0 1px 2px rgba(20, 18, 16, 0.04), 0 10px 28px -12px rgba(196, 92, 38, 0.18);
}

.qr-studio-pro-panel::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, #c45c26, rgba(196, 92, 38, 0.35));
}

.qr-studio-pro-panel-grid {
    display: grid;
    gap: 1rem;
    padding: 1rem 1.125rem 1.125rem 1.25rem;
}

@media (min-width: 640px) {
    .qr-studio-pro-panel-grid {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 1.25rem 1.5rem;
        padding: 1.125rem 1.25rem 1.125rem 1.375rem;
    }
}

.qr-studio-pro-panel-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.625rem;
}

.qr-studio-pro-panel-title {
    font-size: 0.9375rem;
    line-height: 1.35;
    color: var(--ink, #141210);
}

.qr-studio-pro-panel-badge,
.qr-studio-pro-tag,
.qr-studio-inline-pro,
.qr-studio-chip-pro {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(196, 92, 38, 0.14);
    color: var(--clay-dark, #9a4318);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
}

.qr-studio-pro-panel-list {
    display: grid;
    gap: 0.45rem;
    margin: 0.75rem 0 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 640px) {
    .qr-studio-pro-panel-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.5rem 0.75rem;
    }
}

.qr-studio-pro-panel-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--ink-mute, #6b6560);
}

.qr-studio-pro-check {
    width: 0.95rem;
    height: 0.95rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
    color: var(--clay, #c45c26);
}

.qr-studio-pro-panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

@media (min-width: 640px) {
    .qr-studio-pro-panel-actions {
        flex-direction: column;
        align-items: stretch;
        min-width: 8.75rem;
    }
}

@media (max-width: 639px) {
    .qr-studio-pro-panel-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .qr-studio-pro-panel-actions .btn {
        width: 100%;
        justify-content: center;
        min-height: 2.5rem;
    }
}

.qr-studio-analytics-teaser {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.85rem;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    border: 1px dashed rgba(28, 24, 20, 0.12);
    background: rgba(255, 255, 255, 0.45);
}

.qr-studio-dynamic-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    min-width: 8.5rem;
}

.qr-studio-dynamic-actions .qr-studio-dynamic-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    text-decoration: none;
}

.qr-studio-analytics-copy strong {
    display: block;
    font-size: 0.875rem;
}

.qr-studio-analytics-copy p {
    margin-top: 0.2rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--ink-mute, #6b6560);
}

.qr-studio-link-btn {
    border: 0;
    background: none;
    padding: 0;
    color: var(--clay-dark, #9a4318);
    font: inherit;
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
}

.qr-studio-btn-gated {
    position: relative;
}

.qr-studio-inline-pro {
    margin-left: 0.35rem;
    vertical-align: middle;
}

.qr-studio-pro-hint {
    margin: 0 0 0.5rem;
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--clay-dark, #9a4318);
}

.qr-studio-spotlight {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(28, 24, 20, 0.06);
}

.qr-studio-spotlight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: 0.55rem;
}

@media (min-width: 640px) {
    .qr-studio-spotlight-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.qr-studio-spotlight-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-height: 4.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(28, 24, 20, 0.08);
    padding: 0.75rem 0.85rem;
    font-size: 0.8125rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.qr-studio-spotlight-card:hover {
    transform: translateY(-1px);
    border-color: rgba(196, 92, 38, 0.25);
    box-shadow: 0 8px 20px rgba(28, 24, 20, 0.06);
}

.qr-studio-spotlight-card--sky { background: linear-gradient(145deg, rgba(56, 189, 248, 0.12), rgba(255,255,255,0.5)); }
.qr-studio-spotlight-card--violet { background: linear-gradient(145deg, rgba(139, 92, 246, 0.12), rgba(255,255,255,0.5)); }
.qr-studio-spotlight-card--clay { background: linear-gradient(145deg, rgba(196, 92, 38, 0.12), rgba(255,255,255,0.5)); }
.qr-studio-spotlight-card--emerald { background: linear-gradient(145deg, rgba(16, 185, 129, 0.12), rgba(255,255,255,0.5)); }
.qr-studio-spotlight-card--pink { background: linear-gradient(145deg, rgba(236, 72, 153, 0.12), rgba(255,255,255,0.5)); }
.qr-studio-spotlight-card--orange { background: linear-gradient(145deg, rgba(249, 115, 22, 0.12), rgba(255,255,255,0.5)); }

.qr-studio-spotlight-card .qr-studio-pro-tag {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}

.qr-studio-spotlight-cta {
    margin-top: auto;
    font-size: 0.75rem;
    color: var(--clay-dark, #9a4318);
}

.qr-studio-tool-chip {
    position: relative;
}

.qr-studio-chip-pro {
    margin-left: 0.35rem;
}

.qr-studio-recommended-card .qr-studio-pro-tag {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
}

.qr-studio-upgrade-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.qr-studio-upgrade-modal[hidden] {
    display: none !important;
}

.qr-studio-upgrade-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(28, 24, 20, 0.45);
}

.qr-studio-upgrade-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 26rem);
    padding: 1.35rem 1.35rem 1.15rem;
}

.qr-studio-upgrade-close {
    position: absolute;
    top: 0.65rem;
    right: 0.75rem;
    border: 0;
    background: none;
    font-size: 1.35rem;
    line-height: 1;
    color: var(--ink-mute, #6b6560);
    cursor: pointer;
}

.qr-studio-upgrade-title {
    margin-top: 0.25rem;
    font-family: var(--font-display, Georgia, serif);
    font-size: 1.25rem;
}

.qr-studio-upgrade-lead {
    margin-top: 0.45rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--ink-mute, #6b6560);
}

.qr-studio-upgrade-list {
    margin: 0.85rem 0 0;
    padding-left: 1.1rem;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--ink, #1c1814);
}

.qr-studio-upgrade-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

body.qr-studio-modal-open {
    overflow: hidden;
}
