/* ==========================================================================
   Login3D Homepage "WOW" Showcase, Hero Stage, Workflow SVGs, Compat & CTA
   File: static/home-showcase.css (UI-08 / #075)
   ========================================================================== */

html[data-l3d-auth="member"] #homeGuestCtaBanner {
    display: none !important;
}

/* --- UI-08a: Hero Stage & Value Line --- */
#firstLoadHeroBanner .flh-top-row {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(250px, 310px);
    align-items: center;
    gap: 20px;
}

.flh-main-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.flh-main-col .flh-cta-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.wow-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7dd3fc;
    background: rgba(14, 165, 233, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.34);
    border-radius: 999px;
    padding: 4px 11px;
    margin-bottom: 6px;
}

.wow-hero-tagline {
    margin: 4px 0 6px 0;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    color: #38bdf8;
    letter-spacing: -0.01em;
}

.wow-hero-stage {
    position: relative;
    width: 100%;
    max-width: 310px;
    aspect-ratio: 1 / 1;
    justify-self: end;
    border-radius: 18px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 42%, #13233f 0%, #091122 60%, #050913 100%);
    border: 1px solid rgba(56, 189, 248, 0.36);
    box-shadow: 0 14px 36px rgba(2, 6, 23, 0.65), 0 0 28px rgba(56, 189, 248, 0.14);
    contain: layout paint;
}

.wow-hero-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.28s ease;
}

.wow-hero-stage.is-live .wow-hero-poster {
    opacity: 0;
    pointer-events: none;
}

.wow-hero-stage model-viewer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    --poster-color: transparent;
}

.wow-hero-live-pill {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    z-index: 3;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #ecfeff;
    background: rgba(8, 15, 30, 0.84);
    border: 1px solid rgba(52, 211, 153, 0.48);
    pointer-events: none;
}

.wow-hero-inspect-btn {
    position: absolute;
    bottom: 10px;
    inset-inline-end: 10px;
    z-index: 3;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    color: #f8fafc;
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(56, 189, 248, 0.45);
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.wow-hero-inspect-btn:hover {
    background: rgba(14, 165, 233, 0.28);
    border-color: #7dd3fc;
}

/* --- UI-08f: Social Proof Strip --- */
.wow-proof-strip {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

.wow-proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px 12px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(11, 18, 34, 0.94), rgba(15, 23, 42, 0.88));
    border: 1px solid rgba(56, 189, 248, 0.22);
}

.wow-proof-num {
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1.15;
    color: #f8fafc;
    letter-spacing: -0.02em;
}

.wow-proof-label {
    margin-top: 3px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #cbd5e1;
}

/* --- UI-08e: Dynamic Guest CTA Banner --- */
.wow-guest-cta {
    margin-top: 16px;
    padding: 16px 20px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(125deg, rgba(8, 25, 48, 0.96) 0%, rgba(6, 38, 45, 0.92) 100%);
    border: 1px solid rgba(52, 211, 153, 0.42);
    box-shadow: 0 10px 28px rgba(2, 6, 23, 0.42);
    box-sizing: border-box;
    width: 100%;
}

.wow-guest-cta-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.wow-guest-cta-copy strong {
    font-size: 1.04rem;
    font-weight: 800;
    color: #f8fafc;
}

.wow-guest-cta-copy span {
    font-size: 0.82rem;
    color: #cbd5e1;
}

.wow-guest-cta-btn {
    flex-shrink: 0;
    padding: 11px 20px;
    border-radius: 12px;
    border: 1px solid #34d399;
    background: #059669;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease;
}

.wow-guest-cta-btn:hover {
    background: #047857;
    transform: translateY(-1px);
}

/* --- UI-08b: Offline WebP Showcase Section --- */
.wow-showcase-section {
    margin-top: 22px;
    padding: 20px;
    border-radius: 20px;
    background: rgba(11, 17, 32, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
}

.wow-showcase-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.wow-showcase-head-copy {
    min-width: 0;
}

.wow-showcase-head-copy h2 {
    margin: 4px 0 4px 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #f8fafc;
}

.wow-showcase-head-copy p {
    margin: 0;
    font-size: 0.83rem;
    color: #cbd5e1;
}

.wow-sc-pause-btn {
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #f8fafc;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(56, 189, 248, 0.4);
    cursor: pointer;
    min-height: 38px;
}

.wow-sc-pause-btn:hover {
    border-color: #7dd3fc;
    background: rgba(30, 41, 59, 0.95);
}

.wow-showcase-viewport {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(56, 189, 248, 0.35) transparent;
}

.wow-showcase-track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
}

.wow-showcase-section[data-paused="false"] .wow-sc-card {
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.wow-sc-card {
    appearance: none;
    -webkit-appearance: none;
    text-align: start;
    padding: 10px;
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.96), rgba(9, 14, 28, 0.98));
    border: 1px solid rgba(148, 163, 184, 0.22);
    color: #f8fafc;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.wow-sc-card:hover {
    border-color: rgba(56, 189, 248, 0.62);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.55);
    transform: translateY(-2px);
}

.wow-sc-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 42%, #13233f 0%, #060b16 100%);
}

.wow-sc-poster,
.wow-sc-clip {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wow-sc-clip {
    z-index: 2;
}

.wow-sc-badge {
    position: absolute;
    top: 7px;
    inset-inline-start: 7px;
    z-index: 3;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 800;
    color: #f8fafc;
    background: rgba(9, 14, 28, 0.84);
    border: 1px solid rgba(56, 189, 248, 0.35);
    max-width: calc(100% - 14px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wow-sc-title {
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.32;
    color: #f8fafc;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
    min-height: 2.15em;
}

.wow-sc-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
    margin-top: auto;
}

.wow-sc-cat {
    font-size: 0.71rem;
    font-weight: 600;
    color: #cbd5e1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wow-sc-price {
    flex-shrink: 0;
    font-size: 0.74rem;
    font-weight: 800;
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(52, 211, 153, 0.32);
    border-radius: 999px;
    padding: 2px 8px;
}

/* --- UI-08d: Compatibility Badges (Text + Original Inline Geometric SVGs, Contrast >= 4.5:1) --- */
.wow-compat-strip {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.22);
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
    width: 100%;
}

.wow-compat-heading {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #e2e8f0;
}

.wow-compat-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wow-compat-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border-radius: 10px;
    background: #090f1f;
    border: 1px solid rgba(56, 189, 248, 0.32);
    color: #f8fafc;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
}

.wow-compat-badge svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke: #38bdf8;
}

/* --- UI-08c: Upgraded #howItWorksSection Inline Animated SVGs --- */
.wow-how-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 165, 233, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.34);
    margin-bottom: 10px;
}

.wow-how-svg {
    width: 24px;
    height: 24px;
    stroke: #38bdf8;
    fill: none;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@keyframes wowPulseFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.92;
    }
    50% {
        transform: translateY(-2px) scale(1.06);
        opacity: 1;
    }
}

.wow-how-svg-anim {
    transform-origin: center;
    animation: wowPulseFloat 2.8s ease-in-out infinite;
}

/* --- Focus Rings (WCAG 2.4.7) --- */
.wow-sc-card:focus-visible,
.wow-sc-pause-btn:focus-visible,
.wow-guest-cta-btn:focus-visible,
.wow-hero-inspect-btn:focus-visible {
    outline: 2px solid #38bdf8;
    outline-offset: 2px;
}

/* --- Responsive Breakpoints (1440 / 768 / 375px — Zero Horizontal Scroll) --- */
@media (max-width: 1024px) {
    .wow-showcase-track {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    #firstLoadHeroBanner .flh-top-row {
        grid-template-columns: 1fr;
    }
    .wow-hero-stage {
        justify-self: center;
        max-width: 260px;
    }
    .wow-showcase-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .wow-guest-cta {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .wow-guest-cta-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .wow-proof-strip {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .wow-proof-item {
        flex-direction: row;
        justify-content: space-between;
        padding: 10px 14px;
    }
    .wow-showcase-section {
        padding: 14px 12px;
    }
    .wow-showcase-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .wow-sc-card {
        padding: 8px;
    }
    .wow-compat-badge {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
}

/* --- Reduced Motion Compliance --- */
@media (prefers-reduced-motion: reduce) {
    .wow-how-svg-anim,
    .wow-sc-card,
    .wow-guest-cta-btn,
    .wow-hero-poster {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

.skip-to-content-link {
    transition: none !important;
}
