
:root {
    --clv-primary: #2563eb;
    --clv-primary-soft: #e0edff;
    --clv-dark: #020617;
}
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f8fafc;
}
.navbar-brand span {
    font-weight: 700;
    letter-spacing: .02em;
}
.badge-beta {
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.hero-section {
    padding-top: 5rem;
    padding-bottom: 4rem;
    background: radial-gradient(circle at top left, #dbeafe, #eff6ff 45%, #f8fafc 100%);
}
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .25rem .75rem;
    border-radius: 999px;
    background: rgba(15,23,42,.03);
    border: 1px solid rgba(148,163,184,.5);
    font-size: .75rem;
}
.hero-pill i {
    color: var(--clv-primary);
}
.hero-title {
    font-weight: 800;
    letter-spacing: -.03em;
}
.hero-highlight {
    background: linear-gradient(120deg, #2563eb, #4f46e5);
    -webkit-background-clip: text;
    color: transparent;
}
.hero-card {
    border-radius: 1.5rem;
    border: 1px solid rgba(148,163,184,.4);
    box-shadow: 0 18px 60px rgba(15,23,42,.18);
    background: #020617;
    color: #e5e7eb;
    overflow: hidden;
}
.hero-card-header {
    padding: .75rem 1.25rem;
    border-bottom: 1px solid rgba(51,65,85,.9);
    display: flex;
    align-items: center;
    gap: .4rem;
}
.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
}
.hero-dot.red { background:#f97373; }
.hero-dot.yellow { background:#facc15; }
.hero-dot.green { background:#22c55e; }
.hero-card-body {
    padding: 1.25rem 1.25rem 1rem;
}
.hero-participant {
    display:flex;
    align-items:center;
    gap:.6rem;
    padding:.4rem .5rem;
    border-radius:.75rem;
    background: rgba(15,23,42,.8);
    margin-bottom:.5rem;
}
.hero-avatar {
    width: 26px;
    height: 26px;
    border-radius:999px;
    background:#1f2937;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:.8rem;
    font-weight:600;
}
.hero-tag {
    display:inline-flex;
    align-items:center;
    gap:.25rem;
    font-size:.7rem;
    padding:.2rem .45rem;
    border-radius:.75rem;
    background: rgba(37,99,235,.18);
    color:#bfdbfe;
}
.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #1d4ed8;
    margin-bottom: .75rem;
}
.feature-card {
    height: 100%;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: #ffffff;
}
.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(15,23,42,.08);
    transition: all .16s ease-out;
}
.section-label {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: #64748b;
    margin-bottom: .25rem;
}
.step-number {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: .9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: .5rem;
}
.pricing-card {
    border-radius: 1.25rem;
    border: 1px solid #e2e8f0;
    background: #ffffff;
}
.pricing-card.highlight {
    border-color: #2563eb;
    box-shadow: 0 16px 45px rgba(37,99,235,.18);
}
.badge-pill-soft {
    border-radius: 999px;
    background: rgba(37,99,235,.08);
    color: #1d4ed8;
    padding: .25rem .6rem;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 600;
}
.testimonial-quote {
    font-size: .95rem;
    color: #374151;
}
.terms-text, .policy-text {
    font-size: .86rem;
    color: #4b5563;
}
.footer {
    border-top: 1px solid #e2e8f0;
    background: #f9fafb;
}
.footer a {
    text-decoration: none;
    color: #6b7280;
}
.footer a:hover {
    color: #111827;
}
.feedback-card {
    border-radius: 1.25rem;
    border: 1px solid #e2e8f0;
    background: #ffffff;
}
#pasteInfo {
    font-size: .8rem;
}
@media (max-width: 767.98px) {
    .hero-section {
        padding-top: 4rem;
    }
    .hero-title {
        font-size: 1.9rem;
    }
}


#loading {
    /* по умолчанию показывается */
    display: block;
}


#boardContainer.board-fullscreen {
    position: fixed;
    inset: 0;              /* top:0; right:0; bottom:0; left:0 */
    z-index: 9999;
    background: #fff;
    margin: 0;
    border-radius: 0;
}

#boardContainer.board-fullscreen #boardToolbar {
    border-bottom: 1px solid #ddd;
}

#boardContainer.board-fullscreen #boardCanvas {
    display: block;

    height: unset !important;
}



.chat-fullscreen {
    position: fixed !important;
    inset: 0 !important; /* top: 0; right: 0; bottom: 0; left: 0 */
    z-index: 9998 !important;
    background: #fff;
    border-radius: 0 !important;
}

.chat-fullscreen .card-body {
    height: 100vh !important;
    display: flex;
    flex-direction: column;
}

.chat-fullscreen #chatMessages {
    flex-grow: 1;
    overflow-y: auto;
}
