:root {
    --wbm-ink: #07182d;
    --wbm-navy: #061a33;
    --wbm-navy-2: #0b213d;
    --wbm-blue: #0f61d7;
    --wbm-blue-2: #2f7dff;
    --wbm-slate: #516070;
    --wbm-muted: #7a8795;
    --wbm-line: #dfe6ef;
    --wbm-soft: #f4f7fb;
    --wbm-panel: #ffffff;
    --wbm-success: #18a957;
    --wbm-warning: #f29f05;
    --wbm-danger: #e23b3b;
    --wbm-shadow: 0 20px 55px rgba(7, 24, 45, .12);
    --wbm-shadow-sm: 0 10px 30px rgba(7, 24, 45, .08);
    --wbm-radius: 22px;
    --wbm-radius-sm: 14px;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    background: var(--wbm-soft);
    color: var(--wbm-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: var(--wbm-blue);
}

.text-muted {
    color: var(--wbm-slate) !important;
}

.bg-wbm-dark {
    background: linear-gradient(120deg, #06172b 0%, #071d36 55%, #0d2a4b 100%);
}

.wbm-nav {
    background: linear-gradient(120deg, #06172b 0%, #071d36 55%, #0d2a4b 100%);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 14px 38px rgba(3, 15, 29, .22);
}

.brand-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, .86) !important;
    font-weight: 700;
    font-size: .93rem;
    padding-inline: .85rem !important;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #fff !important;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, .25);
}

.navbar-toggler-icon {
    filter: invert(1) grayscale(1) brightness(2);
}

.btn {
    border-radius: 10px;
    font-weight: 800;
    padding: .72rem 1.1rem;
}

.btn-sm {
    padding: .5rem .85rem;
}

.btn-lg {
    padding: .9rem 1.45rem;
}

.btn-primary {
    --cui-btn-bg: var(--wbm-blue);
    --cui-btn-border-color: var(--wbm-blue);
    --cui-btn-hover-bg: #0b52bd;
    --cui-btn-hover-border-color: #0b52bd;
    --cui-btn-active-bg: #0a49aa;
    --cui-btn-active-border-color: #0a49aa;
    box-shadow: 0 12px 24px rgba(15, 97, 215, .22);
}

.btn-outline-light {
    --cui-btn-color: #fff;
    --cui-btn-border-color: rgba(255, 255, 255, .55);
    --cui-btn-hover-bg: #fff;
    --cui-btn-hover-color: var(--wbm-navy);
    --cui-btn-hover-border-color: #fff;
}

.btn-outline-primary {
    --cui-btn-color: var(--wbm-blue);
    --cui-btn-border-color: rgba(15, 97, 215, .5);
    --cui-btn-hover-bg: var(--wbm-blue);
    --cui-btn-hover-border-color: var(--wbm-blue);
}

.btn-link {
    color: var(--wbm-blue);
    font-weight: 800;
    text-decoration: none;
}

.page-shell {
    min-height: calc(100vh - 170px);
}

.eyebrow {
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--wbm-blue);
}

.eyebrow-light {
    color: #6aa6ff;
}

.hero-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 0%, rgba(47, 125, 255, .17), transparent 38%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 70%, #eef4fb 100%);
    border-bottom: 1px solid var(--wbm-line);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: auto -16% -38% 52%;
    height: 520px;
    background: radial-gradient(circle, rgba(15, 97, 215, .12), transparent 62%);
    pointer-events: none;
}

.hero-title {
    font-weight: 950;
    letter-spacing: -.055em;
    line-height: .96;
    color: var(--wbm-ink);
}

.hero-title .accent {
    color: var(--wbm-blue);
    display: block;
}

.hero-copy {
    max-width: 600px;
    color: #334256;
}

.hero-product-card {
    position: relative;
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(7, 24, 45, .08);
    box-shadow: var(--wbm-shadow);
    overflow: hidden;
}

.hero-product-card img {
    width: 100%;
    display: block;
}

.hero-floating-label {
    position: absolute;
    left: 22px;
    bottom: 22px;
    right: 22px;
    border-radius: 16px;
    background: rgba(6, 26, 51, .92);
    color: #fff;
    padding: 1rem 1.1rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 38px rgba(4, 15, 29, .28);
}

.brand-action-strip-section {
    background: #ffffff;
    border-top: 1px solid var(--wbm-line);
    border-bottom: 1px solid var(--wbm-line);
}

.brand-action-strip {
    width: 100%;
    display: block;
    border-radius: 18px;
    box-shadow: var(--wbm-shadow-sm);
}

.approved-brand-card {
    background: #fff;
}

.category-strip {
    background: rgba(255, 255, 255, .94);
    border-top: 1px solid var(--wbm-line);
    border-bottom: 1px solid var(--wbm-line);
    box-shadow: 0 10px 28px rgba(7, 24, 45, .05);
}

.category-pill {
    min-width: 96px;
    text-align: center;
    color: var(--wbm-ink);
    font-weight: 750;
    font-size: .82rem;
    text-decoration: none;
}

.category-pill span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: 0 auto .5rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--wbm-line);
    box-shadow: 0 8px 18px rgba(7, 24, 45, .06);
    font-size: 1.35rem;
}

.wbm-card,
.hero-card,
.feature-card,
.pricing-card,
.stat-card,
.mini-stat,
.empty-state,
.scan-header,
.auth-card,
.product-card,
.dashboard-preview {
    border: 1px solid rgba(7, 24, 45, .08);
    border-radius: var(--wbm-radius);
    background: var(--wbm-panel);
    box-shadow: var(--wbm-shadow-sm);
}

.feature-card,
.pricing-card,
.product-card {
    padding: 1.6rem;
    height: 100%;
}

.feature-icon,
.store-icon,
.stat-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: linear-gradient(140deg, rgba(15, 97, 215, .12), rgba(15, 97, 215, .04));
    color: var(--wbm-blue);
    font-size: 1.35rem;
    font-weight: 900;
}

.section-heading {
    max-width: 760px;
}

.pricing-card {
    position: relative;
}

.pricing-card.featured {
    border-color: rgba(15, 97, 215, .42);
    box-shadow: 0 26px 60px rgba(15, 97, 215, .16);
    transform: translateY(-8px);
}

.price {
    font-size: 2.25rem;
    font-weight: 950;
    letter-spacing: -.04em;
}

.check-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.check-list li {
    position: relative;
    padding-left: 1.65rem;
    margin-bottom: .75rem;
    color: #324155;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--wbm-blue);
    font-weight: 950;
}

.stat-card,
.mini-stat {
    padding: 1.25rem;
}

.stat-card span,
.mini-stat span {
    display: block;
    color: var(--wbm-muted);
    font-size: .85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.stat-card strong {
    display: block;
    font-size: 2.1rem;
    letter-spacing: -.04em;
}

.mini-stat strong {
    display: block;
    font-size: 1rem;
    overflow-wrap: anywhere;
}

.empty-state {
    padding: 3rem;
    text-align: center;
    background: linear-gradient(180deg, #fff, #f8fbff);
}

.empty-state.compact {
    padding: 1.5rem;
}

.scan-header {
    padding: 2rem;
    background: linear-gradient(140deg, #fff 0%, #f7fbff 100%);
}

.scan-public-shell {
    background:
        radial-gradient(circle at 8% 0%, rgba(15, 97, 215, .12), transparent 30%),
        var(--wbm-soft);
}

.content-page {
    max-width: 850px;
}

.form-control,
.form-select {
    border-color: #d5deea;
    border-radius: 11px;
    padding: .76rem .9rem;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(15, 97, 215, .55);
    box-shadow: 0 0 0 .25rem rgba(15, 97, 215, .12);
}

.badge-wbm {
    background: rgba(15, 97, 215, .1);
    color: var(--wbm-blue);
    border: 1px solid rgba(15, 97, 215, .18);
}

.box-card,
.item-card {
    transition: transform .18s ease, box-shadow .18s ease;
}

.box-card:hover,
.item-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--wbm-shadow);
}

.fake-qr {
    height: 170px;
    width: 170px;
    margin: 1rem auto;
    display: grid;
    place-items: center;
    border: 10px solid #081a2f;
    border-radius: 12px;
    color: #081a2f;
    font-weight: 950;
    letter-spacing: .18em;
    background:
        linear-gradient(90deg, #081a2f 10px, transparent 10px) 0 0 / 30px 30px,
        linear-gradient(#081a2f 10px, transparent 10px) 0 0 / 30px 30px,
        #fff;
}

.fake-qr.small {
    height: 138px;
    width: 138px;
    font-size: .82rem;
}

.qr-label-card {
    background: #fff;
    border: 1px solid var(--wbm-line);
    border-radius: 18px;
    padding: 1rem;
    box-shadow: inset 0 0 0 6px #f7f9fc;
}

.dashboard-shell {
    background: #f6f8fb;
}

.dashboard-preview {
    overflow: hidden;
}

.dashboard-preview img {
    width: 100%;
    display: block;
}

.sidebar-preview {
    background: linear-gradient(180deg, #06172b, #08213e);
    color: #fff;
    border-radius: 24px;
    padding: 1.25rem;
    min-height: 100%;
}

.sidebar-preview .menu-link {
    color: rgba(255, 255, 255, .82);
    padding: .72rem .85rem;
    border-radius: 12px;
    display: block;
    text-decoration: none;
    font-weight: 750;
}

.sidebar-preview .menu-link.active,
.sidebar-preview .menu-link:hover {
    color: #fff;
    background: var(--wbm-blue);
}

.mobile-preview {
    max-width: 270px;
    margin-inline: auto;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: var(--wbm-shadow);
    border: 8px solid #08182b;
}

.mobile-preview img {
    width: 100%;
    display: block;
}

.wbm-footer {
    background: linear-gradient(120deg, #06172b 0%, #071d36 70%, #0d2a4b 100%);
    color: rgba(255, 255, 255, .75);
}

.wbm-footer a {
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
}

.wbm-footer a:hover {
    color: #fff;
}

.auth-page {
    background:
        radial-gradient(circle at 20% 10%, rgba(15, 97, 215, .12), transparent 34%),
        linear-gradient(180deg, #fff 0%, #f4f7fb 100%);
}

.auth-card {
    overflow: hidden;
}

.auth-brand-panel {
    background: linear-gradient(160deg, #06172b, #0a294b);
    color: #fff;
    padding: 2rem;
}

.auth-logo {
    width: 260px;
    max-width: 100%;
}

@media (max-width: 991.98px) {
    .brand-logo {
        height: 42px;
    }

    .navbar .nav-link {
        padding-inline: 0 !important;
    }

    .hero-title {
        font-size: 3rem;
    }

    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2.45rem;
    }

    .category-pill {
        min-width: 78px;
    }

    .empty-state {
        padding: 2rem 1rem;
    }
}

.identify-photo {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    background: #fff;
}

.item-photo-thumb {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--wbm-line);
    background: #fff;
}


.identify-thumbnail-link {
    max-width: 100%;
    text-decoration: none;
}

.identify-thumbnail {
    width: 180px;
    height: 180px;
    max-width: 100%;
    object-fit: contain;
    background: #fff;
    display: block;
}

.identify-batch-page .identify-thumbnail {
    width: 150px;
    height: 150px;
}

@media (max-width: 575.98px) {
    .identify-thumbnail {
        width: 140px;
        height: 140px;
    }
}

.identify-notes {
    white-space: pre-wrap;
    color: var(--wbm-slate);
    font-family: inherit;
}

.duplicate-card {
    border-left: 5px solid var(--wbm-warning) !important;
}

.real-qr {
    width: 160px;
    max-width: 100%;
    background: #fff;
    border-radius: 16px;
    padding: .35rem;
    border: 1px solid var(--wbm-line);
}

.real-qr svg {
    width: 100%;
    height: auto;
    display: block;
}

.product-card {
    background: #fff;
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: var(--wbm-shadow);
    border: 1px solid var(--wbm-line);
}

.store-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(15, 97, 215, .1);
    color: var(--wbm-blue);
    font-size: 2rem;
    font-weight: 800;
}

.identify-progress-panel .progress {
    height: .75rem;
    border-radius: 999px;
    background: rgba(15, 97, 215, .12);
}

.identify-progress-panel .progress-bar {
    transition: width .45s ease;
}

.identify-retry-progress {
    max-width: 680px;
}
