:root {
    --bw-bg: #0b0f1a;
    --bw-card: #0f1320;
    --bw-card-hover: #13182a;
    --bw-card-2: #0b1020;
    --bw-accent: #7ee787;
    --bw-accent-2: #7cc5ff;
    --bw-purple: #a78bfa;
    --bw-orange: #f59e0b;
    --bw-cyan: #34d399;
    --bw-muted: #8b949e;
}

body {
    background:
        radial-gradient(1200px 600px at 10% -10%, rgba(126,231,135,.15), transparent 60%),
        radial-gradient(900px 500px at 90% -20%, rgba(124,197,255,.15), transparent 70%),
        var(--bw-bg);
    color: #e6edf3;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* NAVBAR */
.bw-navbar {
    background: rgba(13,18,30,.78);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,.06);
    z-index: 1050;
}
.bw-navbar .nav-link { color: #c6d1d9; }
.bw-navbar .nav-link:hover { color: var(--bw-accent); }
.bw-navbar .dropdown-menu {
    background: var(--bw-card);
    border: 1px solid rgba(255,255,255,.08);
}
.bw-navbar .dropdown-item { color: #e6edf3; }
.bw-navbar .dropdown-item:hover { background: rgba(126,231,135,.1); color: var(--bw-accent); }
.bw-avatar-placeholder {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%;
    background: linear-gradient(135deg, var(--bw-accent), var(--bw-accent-2));
    color: #0b0f1a; font-weight: 800; font-size: 0.85rem;
}

/* HERO */
.hero {
    height: 100vh; min-height: 72vh;
    padding-top: 7rem; padding-bottom: 3rem;
    background:
        linear-gradient(180deg, rgba(0,0,0,.18), transparent),
        radial-gradient(600px 300px at 15% 5%, rgba(126,231,135,.12), transparent 70%);
    position: relative;
    overflow: hidden;
}
.hero #floatingWordsCanvas {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    pointer-events: none; z-index: 0;
}
.hero .hero-inner { position: relative; z-index: 1; }
.hero h1 {
    background: linear-gradient(135deg, #ffffff 0%, var(--bw-accent) 60%, var(--bw-accent-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

/* CARDS */
.bw-card {
    background: var(--bw-card);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 1rem;
    transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.bw-card:hover {
    transform: translateY(-3px);
    background: var(--bw-card-hover);
    border-color: rgba(126,231,135,.35);
}

/* BUTTONS */
.btn-accent {
    background: var(--bw-accent) !important;
    color: #0b0f1a !important;
    border: 0 !important;
    box-shadow: 0 6px 24px rgba(126,231,135,.2);
    font-weight: 700;
}
.btn-accent:hover { filter: brightness(.97); }
.btn-ghost {
    background: transparent;
    border: 1px solid rgba(255,255,255,.16);
    color: #e6edf3;
}
.btn-ghost:hover { background: rgba(255,255,255,.04); color: #e6edf3; }

/* PRICING */
.price-card ul { list-style: none; padding-left: 0; }
.price-card li { padding: .5rem 0; border-bottom: 1px dashed rgba(255,255,255,.1); }

/* COMMUNITY */
.post-teaser {
    background: var(--bw-card-2);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: .75rem;
    padding: 1.5rem;
}
.badge-outline { border: 1px solid var(--bw-muted); color: var(--bw-muted); background: transparent; }

/* FOOTER */
footer { border-top: 1px solid rgba(255,255,255,.06); }

/* ===== PHONE DEMO (matching actual mobile app) ===== */
.phone-stage {
    perspective: 1400px;
    perspective-origin: 50% 40%;
    width: 100%; height: 640px;
    display: grid; place-items: center;
    position: relative;
}
.phone-ghost {
    position: absolute; inset: 0;
    background: radial-gradient(60% 40% at 50% 30%, rgba(126,231,135,.08), transparent 60%);
    filter: blur(30px); pointer-events: none;
}
.phone {
    width: 290px; height: 600px;
    background: linear-gradient(160deg, #1a1d28, #090d18);
    border-radius: 38px;
    position: relative;
    box-shadow:
        0 22px 60px rgba(0,0,0,.6),
        inset 0 0 0 1px rgba(255,255,255,.08),
        inset 0 -20px 40px rgba(255,255,255,0.02);
    transform-style: preserve-3d;
    transition: transform .28s cubic-bezier(.2,.8,.2,1);
    will-change: transform;
}
.phone-notch {
    position: absolute; top: 14px; left: 50%;
    transform: translateX(-50%);
    width: 100px; height: 22px;
    border-radius: 0 0 14px 14px;
    background: rgba(0,0,0,.7);
    z-index: 5;
}
.phone-glare {
    position: absolute; inset: 0;
    border-radius: 38px;
    pointer-events: none;
    transition: opacity .3s ease;
    z-index: 6;
    mix-blend-mode: screen;
    opacity: 0;
}
.phone .screen {
    position: absolute; inset: 8px;
    border-radius: 32px;
    background: radial-gradient(80% 100% at 50% 0%, rgba(124,197,255,.05), transparent 60%), #060a15;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Phone app header */
.app-header {
    padding: 32px 18px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.app-header h2 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
    color: #fff;
    letter-spacing: -0.02em;
}
.app-header small {
    color: rgba(255,255,255,.5);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
}
.app-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bw-accent), var(--bw-accent-2));
    color: #0b0f1a;
    display: grid; place-items: center;
    font-weight: 800;
    font-size: 0.95rem;
}

/* App body */
.app-body {
    flex: 1;
    overflow: hidden;
    padding: 0 14px;
    position: relative;
}

/* App project card */
.app-card {
    background: linear-gradient(180deg, rgba(126,231,135,.12), rgba(126,231,135,.04));
    border: 1px solid rgba(126,231,135,.22);
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: transform .15s, border-color .15s;
}
.app-card:active { transform: scale(.98); }
.app-card-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 6px;
}
.app-card-title { font-weight: 700; font-size: 0.92rem; color: #fff; }
.app-card-status {
    font-size: 0.65rem; font-weight: 700;
    background: rgba(126,231,135,.2); color: var(--bw-accent);
    padding: 2px 8px; border-radius: 999px;
}
.app-card-meta {
    display: flex; gap: 14px;
    font-size: 0.7rem; color: rgba(255,255,255,.55);
    margin-top: 8px;
}
.app-card-meta b { color: #fff; font-weight: 700; }

/* App KPI */
.app-kpi {
    background: linear-gradient(180deg, rgba(124,197,255,.12), rgba(124,197,255,.04));
    border: 1px solid rgba(124,197,255,.22);
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 10px;
}
.app-kpi-label { font-size: 0.7rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: 0.06em; }
.app-kpi-value { font-weight: 800; font-size: 1.7rem; line-height: 1.1; margin-top: 2px; color: #fff; }
.app-kpi-sub { font-size: 0.7rem; color: rgba(255,255,255,.55); margin-top: 4px; }

/* App buttons (clickable) */
.app-btn {
    width: 100%; height: 56px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.06);
    background: rgba(255,255,255,.03);
    color: #fff;
    display: grid; place-items: center;
    grid-auto-flow: column;
    gap: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: transform .12s, background .2s, border-color .2s, box-shadow .2s;
    -webkit-tap-highlight-color: transparent;
}
.app-btn:active { transform: scale(.96); }
.app-btn i { font-size: 1.1rem; opacity: .9; }
.app-btn.on {
    background: linear-gradient(180deg, rgba(126,231,135,.25), rgba(126,231,135,.08));
    border-color: rgba(126,231,135,.45);
    box-shadow: 0 0 0 1px rgba(126,231,135,.2), 0 0 20px rgba(126,231,135,.18);
}
.app-btn.on i { color: var(--bw-accent); }
.app-btn.off { opacity: .65; }
.app-btn.off i { opacity: .55; }

/* App slider */
.app-slider {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 14px;
    padding: 10px 12px;
}
.app-slider-label { font-size: 0.72rem; color: rgba(255,255,255,.6); margin-bottom: 6px; display: flex; justify-content: space-between; }
.app-slider-label b { color: var(--bw-accent); font-weight: 700; }
.app-slider input[type="range"] {
    -webkit-appearance: none; appearance: none;
    width: 100%; height: 5px; border-radius: 999px;
    background: linear-gradient(90deg, rgba(126,231,135,.7), rgba(126,231,135,.15));
    border: 1px solid rgba(126,231,135,.3);
    outline: none;
}
.app-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 16px; height: 16px; border-radius: 50%;
    background: #fff;
    border: 2px solid rgba(126,231,135,.9);
    cursor: pointer;
}
.app-slider input[type="range"]::-moz-range-thumb {
    width: 16px; height: 16px; border-radius: 50%;
    background: #fff; border: 2px solid rgba(126,231,135,.9);
    cursor: pointer;
}

/* Bottom nav (matches mobile-app.css) */
.app-bottom-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 10px 12px 14px;
    background: rgba(0,0,0,.4);
    border-top: 1px solid rgba(255,255,255,.06);
    backdrop-filter: blur(10px);
}
.app-bottom-nav button {
    background: transparent;
    border: 0;
    color: rgba(255,255,255,.55);
    font-size: 0.62rem;
    font-weight: 600;
    padding: 6px 4px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    transition: color .15s, background .15s;
}
.app-bottom-nav button i { font-size: 1.1rem; }
.app-bottom-nav button.active {
    color: var(--bw-accent);
    background: rgba(126,231,135,.08);
}
.app-bottom-nav button:active {
    background: rgba(126,231,135,.14);
}

/* ===== BLUEPRINT DEMO (interaktivní) ===== */
.bp-demo-wrap {
    position: relative;
    border-radius: 18px;
    background:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(180deg, #0d1224, #0a0e1c);
    background-size: 28px 28px, 28px 28px, 100% 100%;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: inset 0 0 80px rgba(0,0,0,.4);
    height: 460px;
    overflow: hidden;
    user-select: none;
    touch-action: none;
}
.bp-demo-hint {
    position: absolute; top: 12px; right: 14px;
    color: rgba(255,255,255,.45);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    pointer-events: none;
    z-index: 5;
}
.bp-svg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}
.bp-wire {
    fill: none;
    stroke: rgba(126,231,135,.5);
    stroke-width: 2.5;
    filter: drop-shadow(0 0 6px rgba(126,231,135,.3));
}
.bp-wire.draft {
    stroke: rgba(124,197,255,.7);
    stroke-dasharray: 6 4;
    filter: drop-shadow(0 0 6px rgba(124,197,255,.4));
    animation: bp-dash 1s linear infinite;
}
@keyframes bp-dash { to { stroke-dashoffset: -20; } }

.bp-node {
    position: absolute;
    width: 180px;
    background: linear-gradient(180deg, #1a2138, #0f1320);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
    padding: 12px 14px;
    cursor: grab;
    z-index: 2;
    box-shadow: 0 8px 28px rgba(0,0,0,.38);
    transition: box-shadow .15s, border-color .15s;
}
.bp-node:hover { border-color: rgba(126,231,135,.4); box-shadow: 0 10px 32px rgba(0,0,0,.45); }
.bp-node.dragging { cursor: grabbing; z-index: 10; box-shadow: 0 14px 40px rgba(0,0,0,.6); }
.bp-node.sensor { background: linear-gradient(180deg, rgba(20,184,166,.18), #0f1320); }
.bp-node.compare { background: linear-gradient(180deg, rgba(167,139,250,.18), #0f1320); }
.bp-node.action { background: linear-gradient(180deg, rgba(245,158,11,.16), #0f1320); }
.bp-node.timer { background: linear-gradient(180deg, rgba(124,197,255,.16), #0f1320); }
.bp-kicker {
    font-size: 0.6rem; letter-spacing: 0.12em;
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
    margin-bottom: 4px;
    font-weight: 700;
}
.bp-node-title {
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    font-size: 0.95rem;
}
.bp-node-sub {
    color: rgba(226,232,240,0.6);
    font-size: 0.75rem;
    margin-bottom: 8px;
}
.bp-port {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    color: #dce7ff;
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: 6px;
    cursor: crosshair;
    transition: background .15s, border-color .15s;
}
.bp-port:hover { background: rgba(126,231,135,.1); border-color: rgba(126,231,135,.4); }
.bp-port.in { padding-left: 14px; }
.bp-port.out { padding-right: 14px; flex-direction: row-reverse; text-align: right; }
.bp-port-dot {
    width: 11px; height: 11px;
    border-radius: 50%;
    background: var(--bw-accent);
    border: 2px solid rgba(11,15,26,0.95);
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(126,231,135,.4);
}
.bp-port.in .bp-port-dot {
    position: absolute; left: -7px; top: 50%; transform: translateY(-50%);
    background: var(--bw-cyan);
    box-shadow: 0 0 10px rgba(52,211,153,.4);
}
.bp-port.out .bp-port-dot {
    position: absolute; right: -7px; top: 50%; transform: translateY(-50%);
    background: var(--bw-purple);
    box-shadow: 0 0 10px rgba(167,139,250,.4);
}
.bp-port.connected .bp-port-dot {
    box-shadow: 0 0 12px rgba(126,231,135,.6), 0 0 0 2px rgba(126,231,135,.3);
}

/* ===== WORKSPACE preview (interactive) ===== */
.ws-preview {
    border-radius: 18px;
    background: linear-gradient(180deg, #0d1224, #0a0e1c);
    border: 1px solid rgba(255,255,255,.08);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.ws-titlebar {
    display: flex; align-items: center;
    padding: 10px 14px;
    background: rgba(255,255,255,.02);
    border-bottom: 1px solid rgba(255,255,255,.05);
    gap: 6px;
}
.ws-titlebar .dot {
    width: 11px; height: 11px; border-radius: 50%;
    background: rgba(255,255,255,.15);
}
.ws-titlebar .dot:nth-child(1) { background: #ff5f57; }
.ws-titlebar .dot:nth-child(2) { background: #febc2e; }
.ws-titlebar .dot:nth-child(3) { background: #28c840; }
.ws-titlebar .url {
    margin-left: auto; margin-right: auto;
    background: rgba(255,255,255,.04);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: rgba(255,255,255,.6);
    font-family: 'Roboto Mono', monospace;
}
.ws-body {
    display: grid;
    grid-template-columns: 200px 1fr;
    min-height: 460px;
}
.ws-sidebar {
    background: rgba(0,0,0,.18);
    border-right: 1px solid rgba(255,255,255,.04);
    padding: 14px 0;
    user-select: none;
}
.ws-side-group {
    padding: 0 14px;
    margin-bottom: 8px;
    color: rgba(255,255,255,.4);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 12px;
}
.ws-side-item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 14px;
    color: rgba(226,232,240,.75);
    font-size: 0.85rem;
    border-left: 2px solid transparent;
    cursor: pointer;
    transition: background .12s, color .12s, border-left-color .12s;
}
.ws-side-item:hover { background: rgba(255,255,255,.03); color: #fff; }
.ws-side-item.active {
    background: rgba(126,231,135,.06);
    border-left-color: var(--bw-accent);
    color: #fff;
}
.ws-side-item i { font-size: 1rem; opacity: .7; width: 16px; }

.ws-content { padding: 22px; }
.ws-section { display: none; animation: ws-fade .25s ease; }
.ws-section.active { display: block; }
@keyframes ws-fade {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ws-section-head {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 16px;
}
.ws-section-head h3 {
    font-size: 1.1rem; font-weight: 800; margin: 0; color: #fff;
}
.ws-section-head .ws-mini-btn {
    background: var(--bw-accent);
    color: #0b0f1a;
    border: 0;
    border-radius: 8px;
    padding: 5px 11px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: default;
}

.ws-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}
.ws-stat {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 10px;
    padding: 12px;
}
.ws-stat-label { font-size: 0.7rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: 0.05em; }
.ws-stat-value { font-size: 1.4rem; font-weight: 800; margin-top: 4px; }
.ws-stat.cyan .ws-stat-value { color: var(--bw-accent-2); }
.ws-stat.green .ws-stat-value { color: var(--bw-accent); }
.ws-stat.purple .ws-stat-value { color: var(--bw-purple); }
.ws-stat.orange .ws-stat-value { color: var(--bw-orange); }

.ws-device-list { display: grid; gap: 8px; }
.ws-device-row {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 14px; align-items: center;
    padding: 10px 12px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 10px;
}
.ws-device-icon {
    width: 32px; height: 32px;
    background: rgba(126,231,135,.1);
    border-radius: 8px;
    display: grid; place-items: center;
    color: var(--bw-accent);
    font-size: 1rem;
}
.ws-device-name { font-weight: 600; }
.ws-device-meta { font-size: 0.75rem; color: rgba(255,255,255,.5); }
.ws-pill {
    font-size: 0.7rem; font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(126,231,135,.12);
    color: var(--bw-accent);
}
.ws-pill.offline { background: rgba(255,255,255,.04); color: rgba(255,255,255,.5); }

/* DB section table */
.ws-table {
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 10px;
    overflow: hidden;
    font-size: 0.82rem;
}
.ws-table-row {
    display: grid;
    grid-template-columns: 80px 1fr 1fr 1fr;
    gap: 12px;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255,255,255,.04);
}
.ws-table-row:last-child { border-bottom: 0; }
.ws-table-row.head {
    background: rgba(255,255,255,.04);
    color: rgba(255,255,255,.55);
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Endpoint row */
.ws-endpoint {
    display: grid;
    grid-template-columns: 50px 1fr auto;
    gap: 12px; align-items: center;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 8px;
}
.ws-endpoint-method {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
    padding: 3px 8px;
    border-radius: 6px;
}
.ws-endpoint-method.get { background: rgba(124,197,255,.15); color: var(--bw-accent-2); }
.ws-endpoint-method.post { background: rgba(126,231,135,.15); color: var(--bw-accent); }
.ws-endpoint-path { font-family: 'Roboto Mono', monospace; font-size: 0.85rem; color: #fff; }
.ws-endpoint-desc { font-size: 0.72rem; color: rgba(255,255,255,.5); margin-top: 2px; }
.ws-endpoint-calls { font-size: 0.72rem; color: rgba(255,255,255,.55); }

/* Automation card */
.ws-auto {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 8px;
}
.ws-auto-head {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 6px;
}
.ws-auto-head strong { font-size: 0.9rem; }
.ws-auto-toggle {
    width: 32px; height: 18px;
    background: rgba(126,231,135,.4);
    border-radius: 999px;
    position: relative;
}
.ws-auto-toggle.off { background: rgba(255,255,255,.1); }
.ws-auto-toggle::after {
    content: ''; position: absolute;
    width: 14px; height: 14px;
    background: #fff; border-radius: 50%;
    top: 2px; right: 2px;
    transition: right .2s;
}
.ws-auto-toggle.off::after { right: 16px; }
.ws-auto-meta { font-size: 0.72rem; color: rgba(255,255,255,.55); }
.ws-auto-meta b { color: #fff; }

/* Versions list */
.ws-version {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px; align-items: center;
    padding: 10px 12px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 10px;
    margin-bottom: 6px;
}
.ws-version-tag {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.7rem; font-weight: 700;
    background: rgba(124,197,255,.15);
    color: var(--bw-accent-2);
    padding: 3px 9px; border-radius: 6px;
}
.ws-version-msg { font-size: 0.85rem; color: #fff; }
.ws-version-time { font-size: 0.72rem; color: rgba(255,255,255,.5); }

/* App Builder mini */
.ws-appbuilder-grid {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 14px;
    align-items: start;
}
.ws-widget-list {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 10px;
    padding: 8px;
}
.ws-widget-item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px;
    border-radius: 8px;
    font-size: 0.82rem;
    cursor: default;
}
.ws-widget-item:hover { background: rgba(255,255,255,.03); }
.ws-widget-item i { color: var(--bw-accent); }
.ws-widget-mini-phone {
    aspect-ratio: 9/16;
    background: linear-gradient(160deg, #14172a, #0a0d18);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.08);
    padding: 12px 8px;
    display: flex; flex-direction: column; gap: 6px;
}
.ws-widget-mini-phone .mb {
    height: 28px;
    background: rgba(126,231,135,.15);
    border-radius: 6px;
    border: 1px solid rgba(126,231,135,.25);
}
.ws-widget-mini-phone .mb.alt {
    background: rgba(255,255,255,.04);
    border-color: rgba(255,255,255,.06);
}

/* ===== AUTH VIEWS ===== */
.bw-auth-shell {
    min-height: calc(100vh - 80px);
    display: grid;
    place-items: center;
    padding: 100px 16px 40px;
}
.bw-auth-card {
    width: 100%;
    max-width: 460px;
    background: var(--bw-card);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.bw-auth-title {
    background: linear-gradient(135deg, #ffffff, var(--bw-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}
.bw-auth-sub { color: rgba(255,255,255,.55); margin-bottom: 24px; }
.bw-auth-form .form-control {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    color: #fff;
    padding: 11px 14px;
    border-radius: 10px;
    margin-bottom: 12px;
}
.bw-auth-form .form-control:focus {
    background: rgba(255,255,255,.05);
    border-color: rgba(126,231,135,.4);
    box-shadow: 0 0 0 3px rgba(126,231,135,.12);
    color: #fff;
}
.bw-auth-form label { font-size: 0.78rem; color: rgba(255,255,255,.7); margin-bottom: 4px; font-weight: 600; }
.bw-auth-divider {
    display: flex; align-items: center; gap: 12px;
    color: rgba(255,255,255,.4);
    font-size: 0.75rem;
    margin: 18px 0;
}
.bw-auth-divider::before, .bw-auth-divider::after {
    content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.08);
}
.bw-social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bw-social-btn {
    display: flex; align-items: center; justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background .15s, border-color .15s;
}
.bw-social-btn:hover { background: rgba(255,255,255,.07); border-color: rgba(126,231,135,.4); color: #fff; }
.bw-social-btn .gi { font-weight: 800; font-size: 1rem; }

@media (max-width: 768px) {
    .ws-body { grid-template-columns: 1fr; }
    .ws-sidebar { display: none; }
    .ws-stat-grid { grid-template-columns: repeat(2, 1fr); }
    .ws-appbuilder-grid { grid-template-columns: 1fr; }
    .bp-demo-wrap { height: 540px; }
    .bp-node { width: 160px; }
}
