/* ============================================================
   xCroow — Landing page styles (landing.css)  ·  v2 compact
   Dedicated to the public landing page only.
   ============================================================ */

:root {
    --bg: #08090d;
    --bg-soft: #0c0e14;
    --card: rgba(255, 255, 255, .028);
    --card-hover: rgba(255, 255, 255, .055);
    --border: rgba(255, 255, 255, .08);
    --border-strong: rgba(255, 255, 255, .15);
    --text: #eef1f7;
    --muted: #9aa3b4;
    --dim: #6b7383;
    --accent: #6e7cff;
    --grad: linear-gradient(135deg, #6e7cff, #9a6bff);
    --accent-soft: rgba(110, 124, 255, .12);
    --success: #3ddc97;
    --warn: #f5b84c;
    --r: 14px;
    --font: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection { background: rgba(110, 124, 255, .35); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Buttons ── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .66rem 1.3rem;
    border-radius: 10px;
    font-size: .88rem;
    font-weight: 600;
    letter-spacing: -.01em;
    transition: all .18s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 4px 18px rgba(110, 124, 255, .3);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 26px rgba(110, 124, 255, .4); }

.btn-secondary {
    background: var(--card);
    border: 1px solid var(--border-strong);
    color: var(--text);
}
.btn-secondary:hover { background: var(--card-hover); }

.btn-sm { padding: .48rem 1rem; font-size: .8rem; }

/* ── Nav ── */

.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    background: rgba(8, 9, 13, .8);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}
.nav.scrolled { background: rgba(8, 9, 13, .94); }

.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -.03em;
}
.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: var(--grad);
    font-size: .82rem;
    font-weight: 800;
    color: #fff;
}

.nav-links { display: flex; align-items: center; gap: 1.4rem; }
.nav-links a { font-size: .84rem; font-weight: 500; color: var(--muted); transition: color .15s; }
.nav-links a:hover { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: .9rem; }
.nav-login { font-size: .84rem; font-weight: 500; color: var(--muted); }
.nav-login:hover { color: var(--text); }

.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 36px;
    height: 36px;
    padding: 8px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
}
.nav-burger span {
    display: block;
    height: 1.5px;
    border-radius: 2px;
    background: var(--text);
    transition: all .2s ease;
}
.nav-burger.active span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.nav-mobile {
    display: none;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
    background: rgba(8, 9, 13, .97);
    border-bottom: 1px solid transparent;
}
.nav-mobile.open { max-height: 340px; border-bottom-color: var(--border); }
.nav-mobile a {
    padding: .8rem 20px;
    font-size: .9rem;
    font-weight: 500;
    color: var(--muted);
    border-top: 1px solid var(--border);
}
.nav-mobile a:hover { color: var(--text); background: var(--card); }

/* ── Hero ── */

.hero {
    position: relative;
    padding: 104px 20px 48px;
    overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-glow {
    position: absolute;
    top: -260px;
    left: 50%;
    transform: translateX(-50%);
    width: 860px;
    height: 520px;
    background: radial-gradient(ellipse at center, rgba(110, 124, 255, .16), transparent 68%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 75% 50% at 50% 0%, black 25%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse 75% 50% at 50% 0%, black 25%, transparent 72%);
}

.hero-inner {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .34rem .85rem .34rem .7rem;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, .03);
    font-size: .74rem;
    font-weight: 500;
    color: var(--muted);
    margin-bottom: 18px;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }

.hero-title {
    font-size: clamp(2.05rem, 4.8vw, 3.15rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.08;
    max-width: 640px;
    background: linear-gradient(180deg, #fff 30%, #b9c1d3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-title em {
    font-style: normal;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    margin-top: 14px;
    max-width: 540px;
    font-size: .96rem;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    gap: .7rem;
    margin-top: 22px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-note { margin-top: 12px; font-size: .76rem; color: var(--dim); }

.hero-visual {
    position: relative;
    width: min(560px, 100%);
    margin-top: 38px;
    text-align: left;
}
.mock-window {
    background: linear-gradient(180deg, #12141c, #0c0e14);
    border: 1px solid var(--border-strong);
    border-radius: var(--r);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
    overflow: hidden;
}

.mock-titlebar {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: .6rem .9rem;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, .02);
}
.mock-titlebar .dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.mock-crumb { margin-left: .5rem; font-size: .68rem; color: var(--dim); font-weight: 500; }

.mock-body { padding: 1rem 1.1rem 1.1rem; }

.mock-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; }
.mock-kicker {
    font-size: .62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .11em;
    color: var(--dim);
}
.mock-title { font-size: 1.02rem; font-weight: 700; letter-spacing: -.02em; margin-top: 2px; }

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .26rem .65rem;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 600;
    white-space: nowrap;
}
.status-progress { background: rgba(245, 184, 76, .1); color: var(--warn); border: 1px solid rgba(245, 184, 76, .25); }
.status-review { background: var(--accent-soft); color: #a3adff; border: 1px solid rgba(110, 124, 255, .3); }
.pulse {
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--warn);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }

.mock-parties {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: .9rem;
    padding: .6rem .8rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255, 255, 255, .015);
}
.party { display: flex; align-items: center; gap: .5rem; }
.party-line { flex: 1; height: 1px; background: var(--border-strong); }
.party-meta { display: flex; flex-direction: column; line-height: 1.25; }
.party-role { font-size: .58rem; text-transform: uppercase; letter-spacing: .09em; color: var(--dim); }
.party-name { font-size: .8rem; font-weight: 600; }
.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    border-radius: 50%;
    font-size: .7rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.av-a { background: linear-gradient(135deg, #6e7cff, #4a5ce0); }
.av-b { background: linear-gradient(135deg, #9a6bff, #6e4ae0); }

.mock-milestones {
    margin-top: .8rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}
.ms {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .52rem .8rem;
    font-size: .8rem;
    border-bottom: 1px solid var(--border);
}
.ms:last-child { border-bottom: none; }
.ms-ico { width: 15px; text-align: center; font-size: .72rem; flex-shrink: 0; }
.ms-name { flex: 1; font-weight: 500; }
.ms-state { font-size: .62rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; }
.ms.done .ms-ico, .ms.done .ms-state { color: var(--success); }
.ms.active { background: var(--accent-soft); }
.ms.active .ms-ico, .ms.active .ms-state { color: #a3adff; }
.ms.pending .ms-ico, .ms.pending .ms-state { color: var(--dim); }

.mock-panel {
    margin-top: .8rem;
    padding: .85rem .95rem;
    border: 1px solid rgba(110, 124, 255, .3);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(110, 124, 255, .08), rgba(110, 124, 255, .02));
}
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; }
.panel-label { font-size: .8rem; font-weight: 600; }
.panel-desc { margin-top: .35rem; font-size: .74rem; color: var(--muted); }
.panel-actions { display: flex; gap: .5rem; margin-top: .75rem; flex-wrap: wrap; }
.mock-btn {
    padding: .42rem .8rem;
    border-radius: 8px;
    border: 1px solid var(--border-strong);
    font-size: .72rem;
    font-weight: 600;
    background: rgba(255, 255, 255, .04);
}
.mock-btn-primary { background: var(--grad); border: none; color: #fff; }

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .55rem .8rem;
    border-radius: 12px;
    background: rgba(14, 17, 25, .94);
    border: 1px solid var(--border-strong);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
    animation: floaty 6s ease-in-out infinite;
}
.float-1 { top: 14%; right: -56px; }
.float-2 { bottom: 10%; left: -64px; animation-delay: 3s; }
.fc-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    border-radius: 8px;
    background: rgba(61, 220, 151, .14);
    color: var(--success);
    font-size: .72rem;
    font-weight: 700;
    flex-shrink: 0;
}
.fc-ico-b { background: var(--accent-soft); color: #a3adff; font-size: .6rem; }
.fc-meta { display: flex; flex-direction: column; line-height: 1.3; }
.fc-meta strong { font-size: .74rem; font-weight: 600; }
.fc-meta span { font-size: .64rem; color: var(--muted); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
/* ── Sections ── */

.section { padding: 56px 20px; }

.section-alt {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-inner { max-width: 1120px; margin: 0 auto; }

.section-head { max-width: 580px; margin-bottom: 30px; }
.section-head.center { margin: 0 auto 30px; text-align: center; }

.eyebrow {
    display: inline-block;
    font-size: .68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .13em;
    color: #a3adff;
    margin-bottom: 8px;
}

.section-title {
    font-size: clamp(1.35rem, 2.9vw, 1.8rem);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.18;
    background: linear-gradient(180deg, #fff 40%, #c0c7d8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc { margin-top: 10px; font-size: .93rem; color: var(--muted); }

/* ── Cards ── */

.cards-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 14px;
}

.vp-card {
    padding: 1.3rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--r);
    background: var(--card);
    transition: all .2s ease;
}
.vp-card:hover { background: var(--card-hover); border-color: var(--border-strong); transform: translateY(-2px); }

.vp-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 9px;
    font-size: .7rem;
    font-weight: 700;
    color: #a3adff;
    background: var(--accent-soft);
    border: 1px solid rgba(110, 124, 255, .22);
    margin-bottom: .9rem;
}
.vp-title { font-size: 1rem; font-weight: 700; letter-spacing: -.015em; margin-bottom: .4rem; }
.vp-desc { font-size: .87rem; color: var(--muted); }

.uc-card {
    padding: 1.15rem 1.15rem;
    border: 1px solid var(--border);
    border-radius: var(--r);
    background: var(--card);
    transition: all .2s ease;
}
.uc-card:hover { background: var(--card-hover); border-color: var(--border-strong); transform: translateY(-2px); }

.uc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--accent-soft);
    border: 1px solid rgba(110, 124, 255, .22);
    color: #a3adff;
    margin-bottom: .8rem;
}
.uc-icon svg { width: 18px; height: 18px; }
.uc-title { font-size: .95rem; font-weight: 700; margin-bottom: .3rem; }
.uc-desc { font-size: .84rem; color: var(--muted); }

/* ── Steps ── */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.step {
    padding: 1.2rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: var(--r);
    background: var(--card);
    transition: all .2s ease;
}
.step:hover { background: var(--card-hover); border-color: rgba(110, 124, 255, .35); transform: translateY(-2px); }

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border-radius: 50%;
    font-size: .72rem;
    font-weight: 700;
    color: #a3adff;
    background: var(--accent-soft);
    border: 1px solid rgba(110, 124, 255, .25);
    margin-bottom: .8rem;
}
.step-title { font-size: .95rem; font-weight: 700; margin-bottom: .3rem; }
.step-desc { font-size: .82rem; color: var(--muted); }
/* ── Telegram ── */

.tg-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 44px;
    align-items: center;
}

.tg-cases { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }

.tg-case {
    padding: .85rem 1rem;
    border: 1px solid var(--border);
    border-left: 2px solid var(--accent);
    border-radius: 10px;
    background: var(--card);
}
.tg-case h4 { font-size: .88rem; font-weight: 700; }
.tg-case p { font-size: .8rem; color: var(--muted); margin-top: .15rem; }

.tg-cta { margin-top: 20px; }
.tg-visual { display: flex; justify-content: center; }

.tg-phone {
    width: min(330px, 100%);
    background: linear-gradient(180deg, #12141c, #0b0d13);
    border: 1px solid var(--border-strong);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
    overflow: hidden;
}

.tg-header {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .8rem 1rem;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, .02);
}
.tg-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
}
.tg-header-meta { display: flex; flex-direction: column; line-height: 1.25; }
.tg-header-meta strong { font-size: .84rem; }
.tg-header-meta span { font-size: .66rem; color: var(--success); }

.tg-chat {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .65rem;
    background:
        radial-gradient(circle at 80% 10%, rgba(110, 124, 255, .07), transparent 50%),
        radial-gradient(circle at 15% 90%, rgba(154, 107, 255, .06), transparent 50%);
}

.bubble {
    max-width: 90%;
    padding: .6rem .8rem;
    border-radius: 14px;
    font-size: .76rem;
    line-height: 1.4;
}
.bubble.out {
    align-self: flex-end;
    background: linear-gradient(135deg, rgba(110, 124, 255, .28), rgba(154, 107, 255, .22));
    border: 1px solid rgba(110, 124, 255, .3);
    border-bottom-right-radius: 5px;
}
.bubble.in {
    align-self: flex-start;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--border);
    border-bottom-left-radius: 5px;
}
.bubble-title { font-weight: 700; font-size: .78rem; }
.bubble-sub { color: var(--muted); font-size: .7rem; margin-top: .15rem; }
.bubble-actions { display: flex; gap: .4rem; margin-top: .5rem; }
.bubble-actions span {
    padding: .26rem .6rem;
    border-radius: 7px;
    font-size: .64rem;
    font-weight: 600;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, .04);
}
.bubble-actions .ba-primary { background: var(--grad); border: none; color: #fff; }
/* ── Examples (light section) ── */

.section-light { background: #f5f6f9; color: #171a22; }
.eyebrow.light { color: #5b5fe0; }

.section-title.dark {
    background: linear-gradient(180deg, #10131c 40%, #3d4354 100%);
    -webkit-background-clip: text;
    background-clip: text;
}
.section-desc.dark { color: #5b6272; }

.cards-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
}

.ex-card {
    display: flex;
    flex-direction: column;
    padding: 1.2rem 1.15rem;
    border-radius: var(--r);
    background: #fff;
    border: 1px solid #e4e7ee;
    box-shadow: 0 1px 6px rgba(16, 20, 30, .05);
    transition: all .2s ease;
}
.ex-card:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(16, 20, 30, .09); }
.ex-title { font-size: .95rem; font-weight: 700; color: #10131c; }
.ex-list { margin: .8rem 0 1rem; flex: 1; }
.ex-list li {
    position: relative;
    padding: .22rem 0 .22rem 1.15rem;
    font-size: .82rem;
    color: #5b6272;
}
.ex-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .68rem;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #6e7cff;
}
.ex-status {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .36rem .7rem;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 600;
    background: #f1f3f9;
    border: 1px solid #e4e7ee;
    color: #3d4354;
    align-self: flex-start;
}
.ex-dot { width: 6px; height: 6px; border-radius: 50%; }
.ex-dot-info { background: #6e7cff; }
.ex-dot-progress { background: #f5b84c; }
.ex-dot-warn { background: #e8804c; }

/* ── Problem / solution ── */

.ps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 14px;
}

.ps-heading {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--dim);
    margin-bottom: 12px;
}
.ps-heading-accent { color: #a3adff; }

.quotes, .checks { display: flex; flex-direction: column; gap: 8px; }

.quote {
    padding: .7rem 1rem;
    border-radius: 10px;
    font-size: .86rem;
    color: var(--muted);
    background: var(--card);
    border: 1px solid var(--border);
}
.quote-bad { border-left: 2px solid rgba(232, 128, 76, .7); font-style: italic; }

.check {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .7rem 1rem;
    border-radius: 10px;
    font-size: .88rem;
    font-weight: 500;
    background: linear-gradient(180deg, rgba(110, 124, 255, .1), rgba(110, 124, 255, .04));
    border: 1px solid rgba(110, 124, 255, .22);
}
.check-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 19px; height: 19px;
    border-radius: 50%;
    background: rgba(61, 220, 151, .16);
    color: var(--success);
    font-size: .62rem;
    font-weight: 700;
    flex-shrink: 0;
}

.ps-tagline {
    margin-top: 32px;
    text-align: center;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    font-weight: 700;
    letter-spacing: -.02em;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* ── Dashboard preview ── */

.dash {
    display: grid;
    grid-template-columns: 180px 1fr;
    border: 1px solid var(--border-strong);
    border-radius: var(--r);
    background: linear-gradient(180deg, #10131b, #0b0d13);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
    overflow: hidden;
}

.dash-side {
    border-right: 1px solid var(--border);
    padding: 1rem .8rem;
    background: rgba(255, 255, 255, .015);
}

.dash-logo {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .9rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
}

.dash-nav { display: flex; flex-direction: column; gap: 3px; }
.dn-item { padding: .42rem .65rem; border-radius: 7px; font-size: .78rem; color: var(--muted); }
.dn-active { background: var(--accent-soft); color: #c3caff; font-weight: 600; }

.dash-main { padding: 1.2rem 1.4rem; min-width: 0; }

.dash-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.2rem;
    flex-wrap: wrap;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.dash-kicker {
    font-size: .6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .11em;
    color: var(--dim);
}
.dash-title { font-size: 1.1rem; font-weight: 700; letter-spacing: -.02em; margin: 2px 0 .5rem; }
.dash-meta { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.dash-participants { font-size: .74rem; color: var(--muted); }

.dash-progress { text-align: right; }
.dp-num {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -.03em;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.dp-bar {
    width: 140px;
    max-width: 100%;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    margin-top: 4px;
    overflow: hidden;
}
.dp-bar span { display: block; height: 100%; border-radius: 999px; background: var(--grad); }
.dp-label { margin-top: 4px; font-size: .64rem; color: var(--dim); }

.dash-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    padding-top: 1rem;
}

.dash-col-title {
    font-size: .66rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--dim);
    margin-bottom: .6rem;
}

.dash-ms {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .42rem .65rem;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 500;
    margin-bottom: 3px;
}
.dash-ms .ms-state { margin-left: auto; font-size: .6rem; }
.dash-ms.done .ms-ico, .dash-ms.done .ms-state { color: var(--success); }
.dash-ms.active { background: var(--accent-soft); }
.dash-ms.active .ms-ico, .dash-ms.active .ms-state { color: #a3adff; }
.dash-ms.pending { color: var(--dim); }

.act {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    padding: .45rem 0;
    font-size: .8rem;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
}
.act:last-child { border-bottom: none; }
.act strong { color: var(--text); font-weight: 600; }
.act-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-top: .4rem; flex-shrink: 0; }
.act-dot-warn { background: var(--warn); }
.act-dot-ok { background: var(--success); }
.act-time { display: block; font-size: .64rem; color: var(--dim); margin-top: 1px; }

/* ── Trust flow ── */

.flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.flow-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3rem;
    padding: .85rem 1.1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--card);
    font-size: .8rem;
    font-weight: 600;
    transition: all .2s ease;
}
.flow-node:hover { border-color: rgba(110, 124, 255, .4); background: var(--card-hover); }
.flow-final { border-color: rgba(61, 220, 151, .4); background: rgba(61, 220, 151, .06); }
.fn-ico { font-size: 1rem; }
.flow-arrow { color: var(--dim); font-size: .85rem; animation: flowPulse 2.4s ease-in-out infinite; }
@keyframes flowPulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

/* ── Categories ── */

.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
}

.cat {
    padding: .95rem 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--card);
    transition: all .2s ease;
}
.cat:hover { background: var(--card-hover); border-color: rgba(110, 124, 255, .35); }
.cat h4 { font-size: .86rem; font-weight: 700; }
.cat p { font-size: .74rem; color: var(--muted); margin-top: .1rem; }

/* ── Final CTA ── */

.final-cta {
    position: relative;
    padding: 72px 20px;
    text-align: center;
    overflow: hidden;
    border-top: 1px solid var(--border);
}

.cta-glow {
    position: absolute;
    top: -160px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 380px;
    background: radial-gradient(ellipse at center, rgba(110, 124, 255, .14), transparent 70%);
    pointer-events: none;
}

.cta-inner { position: relative; max-width: 620px; margin: 0 auto; }

.cta-title {
    font-size: clamp(1.6rem, 3.6vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.12;
    background: linear-gradient(180deg, #fff 30%, #b9c1d3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-sub { margin-top: 12px; font-size: .95rem; color: var(--muted); }

/* ── Footer ── */

.footer {
    border-top: 1px solid var(--border);
    background: var(--bg-soft);
    padding: 36px 20px 26px;
}

.footer-inner { max-width: 1120px; margin: 0 auto; }

.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border);
}

.footer-tag { margin-top: 6px; font-size: .8rem; color: var(--muted); }

.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-links a { font-size: .8rem; color: var(--muted); transition: color .15s; }
.footer-links a:hover { color: var(--text); }

.footer-legal {
    margin-top: 20px;
    font-size: .72rem;
    line-height: 1.65;
    color: var(--dim);
    max-width: 820px;
}

.footer-copy { margin-top: 10px; font-size: .72rem; color: var(--dim); }

/* ── Reveal animations ── */

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .55s cubic-bezier(.16, 1, .3, 1), transform .55s cubic-bezier(.16, 1, .3, 1);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .float-card, .flow-arrow, .pulse { animation: none; }
}

/* ── Responsive ── */

@media (max-width: 960px) {
    .nav-links, .nav-login { display: none; }
    .nav-burger { display: flex; }
    .nav-mobile { display: flex; }
    .tg-grid { grid-template-columns: 1fr; gap: 32px; }
    .tg-visual { order: -1; }
    .float-1 { right: -10px; top: 6%; }
    .float-2 { left: -10px; bottom: 5%; }
}

@media (max-width: 760px) {
    body { font-size: 14.5px; }
    .hero { padding: 92px 16px 40px; }
    .section { padding: 44px 16px; }
    .dash { grid-template-columns: 1fr; }
    .dash-side {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: .8rem 1rem;
    }
    .dash-logo { margin-bottom: .7rem; }
    .dash-nav { flex-direction: row; flex-wrap: wrap; }
    .dash-main { padding: 1rem; }
    .dash-progress { text-align: left; }
    .hero-actions .btn { flex: 1 1 160px; }
}

@media (max-width: 480px) {
    .float-card { display: none; }
    .flow { flex-direction: column; align-items: stretch; }
    .flow-node { flex-direction: row; justify-content: flex-start; padding: .7rem .9rem; }
    .flow-arrow { transform: none; padding-left: 1.2rem; }
    .panel-actions .mock-btn { flex: 1; text-align: center; }
    .footer-top { flex-direction: column; }
    .mock-parties { flex-wrap: wrap; gap: .6rem; }
    .party-line { display: none; }
}