/* ============================================================
   LANDING SHOWCASE — sits between the features section and the
   comparison table on the landing page. Three variations stacked:
     V01 — Focused capsule carousel (Discord moments)
     V02 — Dashboard tour (alternating)
     V03 — Feature deep-dives (big isolated previews)
   All classes are namespaced (.dc-, .dash-, .var-, .stats-, etc.)
   and only loaded on the landing page, so they don't collide with
   the in-app dashboard's stylesheet.
   ============================================================ */

.showcase {
    --sc-bg: #08090b;
    --sc-bg-2: #0d0e11;
    --sc-ink: #f2f3f5;
    --sc-ink-2: #c8cbd1;
    --sc-ink-3: #8b8f97;
    --sc-ink-4: #5b5f67;
    --sc-rule: rgba(255, 255, 255, 0.06);
    --sc-rule-2: rgba(255, 255, 255, 0.10);
    --sc-accent: #a78bfa;
    --sc-accent-2: #818cf8;
    --sc-accent-soft: rgba(167, 139, 250, 0.15);
    --sc-glass-bg: linear-gradient(180deg, rgba(26, 28, 33, 0.82) 0%, rgba(18, 20, 24, 0.78) 100%);
    --sc-glass-border: rgba(255, 255, 255, 0.07);
    --sc-glass-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(255, 255, 255, 0.03) inset;
    --sc-discord-text: #dbdee1;
    --sc-discord-text-muted: #949ba4;
    --sc-discord-text-header: #f2f3f5;

    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    padding: 80px 64px 100px;
    color: var(--sc-ink);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.showcase * { box-sizing: border-box; }

.showcase-variation {
    position: relative;
    padding: 60px 0;
}
.showcase-variation + .showcase-variation { border-top: 1px dashed rgba(255, 255, 255, 0.07); margin-top: 24px; }

/* ---------- Feature text block ---------- */
.showcase .feature-eyebrow {
    display: inline-block;
    font-family: Consolas, 'SF Mono', ui-monospace, monospace;
    font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--sc-ink-3);
    margin-bottom: 16px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.showcase .feature-title {
    font-size: 30px; font-weight: 700; letter-spacing: -0.02em;
    margin: 0 0 16px; line-height: 1.15; color: var(--sc-ink);
    text-wrap: balance;
}
.showcase .feature-title em { font-style: normal; color: var(--sc-accent); }
.showcase .feature-body {
    font-size: 15.5px; color: var(--sc-ink-2); margin: 0;
    line-height: 1.6; text-wrap: pretty;
}

/* ============================================================
   DISCORD CHAT CARD
   ============================================================ */
.dc-chat-card {
    background: var(--sc-glass-bg);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    border: 1px solid var(--sc-glass-border);
    border-radius: 12px;
    box-shadow: var(--sc-glass-shadow);
    overflow: hidden;
    position: relative;
}
.dc-channel-header {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(0, 0, 0, 0.15);
}
.dc-channel-hash { color: #80848e; display: flex; }
.dc-channel-name { font-size: 14px; font-weight: 600; color: var(--sc-discord-text-header); }
.dc-channel-divider { width: 1px; height: 14px; background: rgba(255, 255, 255, 0.08); margin: 0 8px; }
.dc-channel-topic { font-size: 12px; color: var(--sc-discord-text-muted); }
.dc-chat-body {
    padding: 12px 0 14px;
    display: flex; flex-direction: column; gap: 14px;
}

/* ---------- Messages ---------- */
.dc-message { padding: 2px 16px; position: relative; }
.dc-message-row { display: flex; gap: 14px; }
.dc-message-avatar { flex-shrink: 0; }
.dc-avatar {
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 600; font-family: 'Segoe UI', sans-serif;
    overflow: hidden;
    flex-shrink: 0;
}
.dc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.dc-message-body { flex: 1; min-width: 0; }
.dc-message-header {
    display: flex; align-items: baseline; gap: 8px;
    margin-bottom: 2px; flex-wrap: wrap;
}
.dc-username {
    font-size: 15px; font-weight: 500;
    display: inline-flex; align-items: baseline; gap: 4px;
}
.dc-username-name { font-weight: 500; }
.dc-tag {
    font-weight: 500;
    display: inline-flex; align-items: baseline; gap: 3px;
}
.dc-badge {
    display: inline-flex; align-items: center; gap: 3px;
    background: #5865f2; color: white;
    font-size: 10px; font-weight: 600;
    padding: 1px 4px 1px 3px;
    border-radius: 3px;
    text-transform: uppercase; letter-spacing: 0.02em;
    transform: translateY(-1px);
}
.dc-badge-check { display: flex; }
.dc-time { font-size: 12px; color: var(--sc-discord-text-muted); }
.dc-message-content {
    font-size: 15px; color: var(--sc-discord-text);
    line-height: 1.45;
    word-wrap: break-word;
}
.dc-mention {
    background: rgba(167, 139, 250, 0.18);
    color: #d4c7ff;
    padding: 0 3px;
    border-radius: 3px;
    font-weight: 500;
}
.dc-message-content strong { font-weight: 600; color: var(--sc-discord-text-header); }

/* Fluent emoji inline */
.fluent-emoji {
    width: 1.2em; height: 1.2em;
    vertical-align: -0.25em;
    display: inline-block;
    object-fit: contain;
}
.dc-message-content .fluent-emoji { width: 20px; height: 20px; vertical-align: -5px; }

/* Reply preview */
.dc-reply {
    display: flex; align-items: center; gap: 6px;
    padding-left: 56px; margin-bottom: 4px;
    font-size: 13px; color: var(--sc-discord-text-muted);
    position: relative;
}
.dc-reply::before {
    content: ''; position: absolute;
    left: 26px; top: 50%;
    width: 24px; height: 11px;
    border-left: 2px solid rgba(255, 255, 255, 0.12);
    border-top: 2px solid rgba(255, 255, 255, 0.12);
    border-top-left-radius: 6px;
}
.dc-reply-mention { display: inline-flex; align-items: baseline; gap: 0; }
.dc-reply-at { color: var(--sc-discord-text-muted); }
.dc-reply-mention .dc-username { font-size: 13px; }
.dc-reply-mention .dc-tag { font-size: 12px; }
.dc-reply-text {
    color: var(--sc-discord-text-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    max-width: 360px;
}

/* Embed */
.dc-embed {
    display: flex;
    max-width: 520px;
    margin-top: 6px;
    background: rgba(0, 0, 0, 0.28);
    border-radius: 4px;
    overflow: hidden;
}
.dc-embed-bar { width: 4px; flex-shrink: 0; background: var(--embed-color, #5865f2); }
.dc-embed-body { padding: 10px 14px 12px; flex: 1; min-width: 0; }
.dc-embed-title {
    font-size: 14px; font-weight: 600; color: var(--sc-discord-text-header);
    margin-bottom: 6px; letter-spacing: -0.005em;
    display: inline-flex; align-items: baseline; gap: 6px;
}
.dc-embed-desc { font-size: 13.5px; color: var(--sc-discord-text); line-height: 1.5; }
.dc-embed-fields {
    display: flex; flex-wrap: wrap; gap: 10px 16px;
    margin-top: 10px;
}
.dc-embed-field { min-width: 100%; }
.dc-embed-field.inline { min-width: 0; flex: 1; }
.dc-embed-field-name {
    font-size: 13px; font-weight: 600; color: var(--sc-discord-text-header);
    margin-bottom: 2px;
}
.dc-embed-field-value { font-size: 13px; color: var(--sc-discord-text); }
.dc-embed-footer {
    margin-top: 10px;
    font-size: 11px; color: var(--sc-discord-text-muted);
}

/* Stat boxes (level-up format) */
.dc-embed-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 8px;
}
.dc-embed-stat { display: flex; flex-direction: column; gap: 6px; }
.dc-embed-stat-head {
    display: flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 600; color: var(--sc-discord-text-header);
}
.dc-embed-stat-icon {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 24px; height: 18px; padding: 0 5px;
    background: rgba(167, 139, 250, 0.20);
    color: #d4c7ff;
    border-radius: 4px;
    font-family: Consolas, 'SF Mono', ui-monospace, monospace;
    font-size: 9.5px; font-weight: 700;
    letter-spacing: 0.04em;
}
.dc-embed-stat-val {
    font-family: Consolas, 'SF Mono', ui-monospace, monospace;
    font-size: 13.5px; color: var(--sc-discord-text);
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 7px 12px;
}

/* ============================================================
   COMPACT WARN CARD — matches the new bot design (Components V2
   ContainerBuilder with rounded sections, no field grid).
   ============================================================ */
.dc-warn-card {
    display: flex;
    max-width: 520px;
    margin-top: 6px;
    background: rgba(43, 45, 49, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
}
.dc-warn-bar {
    width: 4px;
    background: #9370db;
    flex-shrink: 0;
}
.dc-warn-body {
    flex: 1;
    padding: 12px 16px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.dc-warn-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 19px;
    font-weight: 700;
    color: var(--sc-discord-text-header);
    letter-spacing: -0.005em;
}
.dc-warn-title .fluent-emoji {
    width: 22px; height: 22px;
    vertical-align: middle;
}
.dc-warn-target {
    font-size: 14px;
    color: var(--sc-discord-text);
}
.dc-warn-sep {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 2px -16px;
}
.dc-warn-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 18px;
    font-size: 13px;
    color: var(--sc-discord-text);
}
.dc-warn-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dc-warn-meta .fluent-emoji {
    width: 14px; height: 14px;
    flex-shrink: 0;
}
.dc-warn-meta strong {
    color: var(--sc-discord-text-header);
    font-weight: 600;
}
.dc-warn-reason {
    font-size: 13px;
    color: var(--sc-discord-text);
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.45;
}
.dc-warn-reason .fluent-emoji {
    width: 14px; height: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}
.dc-warn-reason strong {
    color: var(--sc-discord-text-header);
    font-weight: 600;
}
.dc-warn-footer {
    font-size: 11px;
    color: var(--sc-discord-text-muted);
    margin-top: 4px;
}

/* Slash-command run row */
.dc-slash-run {
    display: inline-flex; align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--sc-discord-text-muted);
    padding: 0 0 4px 20px;
    position: relative;
}
.dc-slash-run-corner {
    position: absolute;
    left: 4px; top: 50%;
    width: 14px; height: 12px;
    border-left: 2px solid rgba(255, 255, 255, 0.14);
    border-top: 2px solid rgba(255, 255, 255, 0.14);
    border-top-left-radius: 6px;
    transform: translateY(-100%);
}
.dc-slash-run-name { font-weight: 500; }
.dc-slash-run-tag { font-weight: 500; }
.dc-slash-run-used { color: var(--sc-discord-text-muted); }
.dc-slash-run-cmd { color: #f59e0b; font-weight: 500; }

/* Ticket card */
.ticket-pings {
    display: inline-flex; align-items: center; gap: 8px;
    margin: 2px 0 6px;
    padding: 6px 10px;
    background: rgba(167, 139, 250, 0.08);
    border-radius: 4px;
    font-size: 14px;
    flex-wrap: wrap;
}
.ticket-ping {
    display: inline-flex; align-items: center; gap: 2px;
    padding: 0 4px;
    border-radius: 3px;
    background: rgba(167, 139, 250, 0.18);
    color: #d4c7ff;
    font-weight: 500;
}
.ticket-ping-sep { color: var(--sc-ink-3); padding: 0 2px; background: none; }
.ticket-ping-role { position: relative; gap: 0; }
.ticket-ping-at { color: #d4c7ff; }
.ticket-ping-divider {
    flex: 1;
    height: 1px;
    background: rgba(167, 139, 250, 0.55);
    min-width: 160px;
    margin: 0 6px;
}
.ticket-ping-role-name { color: #d4c7ff; white-space: nowrap; }

.ticket-card {
    display: flex;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 4px;
    max-width: 560px;
}
.ticket-card-bar { width: 4px; background: var(--sc-accent); flex-shrink: 0; }
.ticket-card-body { flex: 1; padding: 14px 18px 16px; }
.ticket-card-title {
    font-size: 22px; font-weight: 700;
    color: var(--sc-discord-text-header);
    margin-bottom: 6px;
}
.ticket-card-thanks {
    font-size: 14px; color: var(--sc-discord-text);
    margin-bottom: 14px;
}
.ticket-card-meta {
    display: flex; flex-direction: column; gap: 6px;
    font-size: 14px; color: var(--sc-discord-text);
    margin-bottom: 14px;
}
.ticket-card-meta strong { color: var(--sc-discord-text-header); font-weight: 700; }
.ticket-card-pill {
    display: inline-flex; align-items: baseline; gap: 1px;
    background: rgba(167, 139, 250, 0.18);
    color: #d4c7ff;
    padding: 0 4px;
    border-radius: 3px;
    font-weight: 500;
}
.ticket-card-pill.mono {
    font-family: Consolas, 'SF Mono', ui-monospace, monospace;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--sc-discord-text);
}
.ticket-card-tag { font-weight: 500; margin-left: 2px; }
.ticket-card-footer {
    font-size: 13px; color: var(--sc-discord-text-muted);
    margin-bottom: 12px;
}

/* Discord buttons row */
.dc-btn-row { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.dc-btn {
    display: inline-flex; align-items: center;
    padding: 7px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    color: white;
}
.dc-btn-primary { background: #5865f2; }
.dc-btn-danger { background: #da373c; }
.dc-btn-secondary { background: #4e5058; }

/* ============================================================
   RICH PREVIEW COMPONENTS — /stats, /rank, welcome, self-roles
   ============================================================ */

/* /stats command */
.stats-card {
    display: flex;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 6px;
    overflow: hidden;
    margin: 4px 16px 0;
    font-size: 12px;
}
.stats-bar { width: 4px; background: var(--sc-accent); flex-shrink: 0; }
.stats-body { flex: 1; padding: 14px; min-width: 0; }
.stats-header {
    display: flex; justify-content: space-between;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 10px;
    gap: 16px;
}
.stats-header-left { display: flex; gap: 12px; align-items: center; }
.stats-header-text { display: flex; flex-direction: column; gap: 1px; }
.stats-header-name { font-size: 16px; font-weight: 700; display: inline-flex; align-items: baseline; gap: 4px; color: var(--sc-accent); }
.stats-header-meta { font-size: 11px; color: var(--sc-ink-3); display: inline-flex; align-items: center; gap: 4px; }
.stats-dates { display: flex; gap: 12px; }
.stats-dates > div {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    padding: 6px 12px;
    min-width: 100px;
}
.stats-date-label { font-size: 9px; color: var(--sc-ink-3); }
.stats-date-value { font-size: 12px; font-weight: 600; color: var(--sc-ink); }
.stats-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.stats-block {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px;
}
.stats-block-title { font-size: 13px; font-weight: 700; color: var(--sc-ink); margin-bottom: 6px; }
.stats-rank-row { display: flex; gap: 18px; }
.stats-rank-label { font-size: 10px; color: var(--sc-ink-3); margin-bottom: 2px; }
.stats-rank-num { font-size: 22px; font-weight: 800; color: #fbbf24; line-height: 1; }
.stats-rank-footer { font-size: 10px; color: var(--sc-ink-3); margin-top: 6px; }
.stats-table { width: 100%; border-collapse: collapse; font-family: Consolas, 'SF Mono', ui-monospace, monospace; font-size: 11px; }
.stats-table td { padding: 1px 0; color: var(--sc-ink-2); }
.stats-table td:first-child { color: var(--sc-accent); font-weight: 600; width: 28px; }

.stats-bottom { display: grid; grid-template-columns: 220px 1fr; gap: 8px; }
.stats-level {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px;
    display: grid; grid-template-columns: 48px 1fr; gap: 10px; align-items: center;
    grid-template-rows: auto auto auto;
}
.stats-level-num {
    grid-row: 1 / 3;
    width: 48px; height: 48px;
    background: rgba(167, 139, 250, 0.22);
    border: 1px solid rgba(167, 139, 250, 0.4);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 800;
    color: var(--sc-ink);
}
.stats-level-meta { grid-row: 1 / 3; }
.stats-level-label { font-size: 10px; color: var(--sc-ink-3); }
.stats-level-xp { font-size: 13px; font-weight: 700; color: #fbbf24; font-family: Consolas, 'SF Mono', ui-monospace, monospace; }
.stats-level-bar {
    grid-column: 1 / 3; grid-row: 3;
    height: 4px; background: rgba(255, 255, 255, 0.08);
    border-radius: 100px; overflow: hidden;
    margin-top: 2px;
}
.stats-level-bar > div { height: 100%; background: linear-gradient(90deg, #a78bfa, #c084fc); }
.stats-level-coins {
    grid-column: 1 / 3; grid-row: 4;
    font-size: 11px; color: var(--sc-ink-2);
    margin-top: 2px;
}
.stats-level-coins strong { color: #fbbf24; font-family: Consolas, 'SF Mono', ui-monospace, monospace; font-weight: 700; }

.stats-chart {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px;
    display: flex; flex-direction: column;
}
.stats-chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.stats-chart-legend { display: flex; gap: 10px; font-size: 10px; color: var(--sc-ink-3); }
.stats-chart-legend > span { display: inline-flex; align-items: center; gap: 4px; }
.stats-chart-legend .dot { width: 6px; height: 6px; border-radius: 50%; }
.stats-chart-legend .dot.purple { background: #a78bfa; }
.stats-chart-legend .dot.teal { background: #2dd4bf; }
.stats-chart-svg { width: 100%; height: 80px; flex: 1; }
.stats-chart-labels { display: flex; justify-content: space-between; font-size: 9px; color: var(--sc-ink-3); margin-top: 2px; }
.stats-footer { font-size: 10px; color: var(--sc-ink-3); margin-top: 10px; text-align: center; }

/* /rank card */
.rank-card {
    position: relative;
    background: #0a0a14;
    border-radius: 12px;
    overflow: hidden;
    margin: 4px 16px 0;
    padding: 18px 24px;
    height: 120px;
}
.rank-card-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 70% 50%, rgba(190, 24, 93, 0.4), transparent 60%),
        radial-gradient(ellipse at 30% 80%, rgba(76, 29, 149, 0.4), transparent 60%),
        radial-gradient(ellipse at 90% 90%, rgba(45, 212, 191, 0.2), transparent 60%);
}
.rank-card-content {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: auto 1fr auto;
    gap: 22px; align-items: center; height: 100%;
}
.rank-card-avatar { position: relative; border: 3px solid #22d3ee; border-radius: 50%; padding: 2px; }
.rank-card-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rank-card-name { font-size: 26px; font-weight: 800; color: white; letter-spacing: -0.01em; font-family: Consolas, 'SF Mono', ui-monospace, monospace; }
.rank-card-xp { font-size: 13px; color: rgba(255, 255, 255, 0.7); font-family: Consolas, 'SF Mono', ui-monospace, monospace; }
.rank-card-bar {
    height: 18px; background: rgba(255, 255, 255, 0.1);
    border-radius: 100px; overflow: hidden; position: relative;
    margin-top: 4px;
}
.rank-card-bar-fill {
    height: 100%; border-radius: 100px;
    background: linear-gradient(90deg, #f472b6, #fbbf24, #2dd4bf, #a78bfa);
}
.rank-card-bar-pct {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 600; color: white;
    font-family: Consolas, 'SF Mono', ui-monospace, monospace;
}
.rank-card-stats { display: flex; flex-direction: column; gap: 6px; text-align: right; }
.rank-card-stats > div { display: flex; align-items: baseline; gap: 8px; justify-content: flex-end; }
.rank-card-stat-label { font-size: 11px; color: rgba(255, 255, 255, 0.5); letter-spacing: 0.12em; }
.rank-card-stat-num { font-size: 26px; font-weight: 800; color: white; font-family: Consolas, 'SF Mono', ui-monospace, monospace; line-height: 1; }

/* Welcome card */
.welcome-card {
    position: relative;
    margin: 4px 16px 0;
    border-radius: 14px;
    padding: 22px 24px 18px;
    overflow: hidden;
    text-align: center;
    color: #f1c95c;
    font-family: Consolas, 'SF Mono', ui-monospace, monospace;
    min-height: 200px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(76, 29, 149, 0.5), transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(190, 24, 93, 0.4), transparent 60%),
        #0a0a1a;
}
.welcome-stars { position: absolute; inset: 0; pointer-events: none; }
.welcome-stars span {
    position: absolute; width: 2px; height: 2px;
    background: white; border-radius: 50%;
}
.welcome-avatar { position: relative; z-index: 1; }
.welcome-avatar-ring {
    position: absolute; inset: -3px;
    border: 3px solid #f59e0b;
    border-radius: 50%;
}
.welcome-title {
    font-size: 18px; font-weight: 700;
    color: #f1c95c;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.02em;
    max-width: 80%;
    line-height: 1.3;
    position: relative; z-index: 1;
}
.welcome-sub {
    font-size: 12px; color: rgba(241, 201, 92, 0.7);
    letter-spacing: 0.06em;
    position: relative; z-index: 1;
}

/* Self-roles */
.selfroles-panel {
    display: flex; flex-direction: column; gap: 10px;
    margin: 4px 16px 0;
    padding: 6px 0;
}
.selfroles-row { display: flex; flex-direction: column; gap: 4px; }
.selfroles-embed {
    display: flex; max-width: 380px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 4px; overflow: hidden;
}
.selfroles-bar { width: 4px; background: var(--rc); flex-shrink: 0; }
.selfroles-body { padding: 10px 14px; }
.selfroles-title { font-size: 14px; font-weight: 700; color: var(--sc-discord-text-header); margin-bottom: 2px; }
.selfroles-desc { font-size: 12px; color: var(--sc-discord-text); }
.selfroles-dropdown {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 9px 14px;
    max-width: 380px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 13px; color: var(--sc-ink-3);
}
.selfroles-chevron { font-size: 14px; color: var(--sc-ink-4); }

/* ============================================================
   VARIATION 01 — FOCUSED CAPSULE CAROUSEL
   ============================================================ */
.var-capsule-header {
    display: flex; justify-content: space-between; align-items: flex-end;
    gap: 48px; margin-bottom: 36px;
}
.var-capsule-header-left { max-width: 580px; }
.var-capsule-meta {
    display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
}
.var-capsule-now {
    display: inline-flex; align-items: baseline; gap: 6px;
    font-family: Consolas, 'SF Mono', ui-monospace, monospace;
}
.var-capsule-now-num { font-size: 32px; font-weight: 600; color: var(--sc-ink); }
.var-capsule-now-sep, .var-capsule-now-total { font-size: 16px; color: var(--sc-ink-4); }
.var-capsule-now-label {
    font-family: Consolas, 'SF Mono', ui-monospace, monospace;
    font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--sc-accent);
}

.var-capsule-stage {
    position: relative;
    max-width: 760px; margin: 0 auto;
    height: 460px;
    overflow: visible;
}
.var-capsule-card {
    position: absolute;
    top: 50%; left: 50%;
    width: 580px;
    max-width: calc(100% - 24px);
    background: var(--sc-glass-bg);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    border: 1px solid var(--sc-glass-border);
    border-radius: 18px;
    box-shadow:
        0 25px 50px -20px rgba(0, 0, 0, 0.7),
        0 1px 0 rgba(255, 255, 255, 0.04) inset;
    padding: 18px 8px 14px;
    overflow: hidden;
    will-change: transform, opacity, filter;
    transition:
        transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 200ms cubic-bezier(0.4, 0, 0.2, 1),
        filter 200ms cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 200ms ease,
        border-color 200ms ease;
}
.var-capsule-card.active {
    box-shadow:
        0 40px 80px -25px rgba(0, 0, 0, 0.85),
        0 0 0 1px var(--sc-accent-soft) inset,
        0 0 80px -20px var(--sc-accent-soft);
    border-color: rgba(255, 255, 255, 0.10);
}
.var-capsule-card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 40%);
    pointer-events: none;
    border-radius: inherit;
}
.var-capsule-card-label {
    position: absolute; top: 12px; right: 16px;
    font-family: Consolas, 'SF Mono', ui-monospace, monospace;
    font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--sc-ink-4);
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--sc-rule);
    border-radius: 100px;
    transition: color 280ms, border-color 280ms;
    z-index: 2;
}
.var-capsule-card.active .var-capsule-card-label {
    color: var(--sc-accent);
    border-color: var(--sc-accent-soft);
}
.var-capsule-card-body {
    display: flex; flex-direction: column; gap: 12px;
    padding-top: 4px;
}

/* Timeline scrubber */
.var-capsule-track {
    display: flex; justify-content: center; gap: 4px;
    margin-top: 36px;
    flex-wrap: wrap;
}
.var-capsule-stop {
    display: inline-flex; flex-direction: column; align-items: stretch; gap: 8px;
    background: none; border: none;
    padding: 8px 12px 4px;
    cursor: pointer;
    color: var(--sc-ink-4);
    font-family: inherit; font-size: 11px;
    transition: color 240ms;
    flex: 1 1 0;
    min-width: 0;
    max-width: 160px;
}
.var-capsule-stop:hover { color: var(--sc-ink-2); }
.var-capsule-stop.active { color: var(--sc-ink); }
.var-capsule-stop-bar {
    display: block;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}
.var-capsule-stop.active .var-capsule-stop-bar { background: rgba(255, 255, 255, 0.16); }
.var-capsule-stop-fill {
    position: absolute; inset: 0;
    background: var(--sc-accent);
    transform-origin: left;
    animation: sc-fillBar 3200ms linear forwards;
}
@keyframes sc-fillBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.var-capsule.paused .var-capsule-stop-fill { animation-play-state: paused; }
.var-capsule-stop-label {
    font-family: Consolas, 'SF Mono', ui-monospace, monospace;
    font-size: 10px; letter-spacing: 0.10em; text-transform: uppercase;
    text-align: left;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ============================================================
   VARIATION 02 — DASHBOARD TOUR (alternating)
   ============================================================ */
.var-dash { display: flex; flex-direction: column; gap: 140px; margin-top: 24px; }
.var-dash-row {
    display: grid; grid-template-columns: 1.2fr 1fr;
    gap: 88px;
    align-items: center;
}
.var-dash-row.flipped { grid-template-columns: 1fr 1.2fr; }
.var-dash-row.flipped .var-dash-mockup { order: 2; }
.var-dash-row.flipped .var-dash-text { order: 1; }
.var-dash-text { max-width: 460px; }
.var-dash-mockup {
    position: relative;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}
.var-dash-mockup::before {
    content: ''; position: absolute;
    inset: -40px; z-index: -1;
    background: radial-gradient(ellipse at center, rgba(167, 139, 250, 0.10), transparent 60%);
    pointer-events: none;
}

/* Dashboard frame */
.dash-frame {
    background: linear-gradient(180deg, #0e0f13 0%, #0a0b0e 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 22px;
    color: var(--sc-ink);
    font-size: 13px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 -1px 0 rgba(0, 0, 0, 0.3) inset;
    position: relative;
    overflow: hidden;
}
.dash-frame::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(167, 139, 250, 0.05), transparent 50%);
    pointer-events: none;
}

.dash-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    margin-bottom: 14px;
    position: relative;
}
.dash-header-title { font-size: 16px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.dash-toggle-wrap { display: inline-flex; align-items: center; gap: 8px; }
.dash-toggle-label { font-size: 11px; color: var(--sc-ink-3); }
.dash-toggle {
    display: inline-block; width: 30px; height: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px; position: relative;
    transition: background 200ms;
}
.dash-toggle i {
    position: absolute; top: 2px; left: 2px;
    width: 12px; height: 12px; border-radius: 50%;
    background: white;
    transition: transform 200ms;
}
.dash-toggle.on { background: #3b82f6; }
.dash-toggle.on i { transform: translateX(14px); }
.dash-toggle.small { width: 24px; height: 13px; }
.dash-toggle.small i { width: 9px; height: 9px; top: 2px; }
.dash-toggle.small.on i { transform: translateX(11px); }

/* Invite Tracker section */
.dash-section {
    border-radius: 10px; padding: 16px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.dash-section-purple {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.16), rgba(76, 29, 149, 0.10));
    border-color: rgba(167, 139, 250, 0.15);
    display: grid; grid-template-columns: 1fr auto auto auto; gap: 20px; align-items: center;
}
.dash-section-eyebrow {
    font-family: Consolas, 'SF Mono', ui-monospace, monospace;
    font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase;
    color: #c5b3ff; margin-bottom: 4px;
}
.dash-section-title { font-size: 18px; font-weight: 700; }
.dash-section-sub { font-size: 11px; color: var(--sc-ink-3); margin-top: 2px; }
.dash-stat {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px; padding: 10px 14px;
    min-width: 90px;
}
.dash-stat.highlighted {
    background: rgba(167, 139, 250, 0.12);
    border-color: rgba(167, 139, 250, 0.25);
}
.dash-stat-label { font-size: 9px; letter-spacing: 0.1em; color: var(--sc-ink-3); text-transform: uppercase; }
.dash-stat-value { font-size: 22px; font-weight: 700; margin-top: 2px; }

.dash-twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dash-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px; padding: 14px;
}
.dash-panel-title { font-size: 13px; font-weight: 600; }
.dash-panel-sub { font-size: 11px; color: var(--sc-ink-3); margin-top: 2px; margin-bottom: 12px; }
.dash-bars { display: flex; flex-direction: column; gap: 10px; }
.dash-bar-row { display: grid; grid-template-columns: 50px 1fr 30px; gap: 10px; align-items: center; }
.dash-bar-label { font-size: 11px; color: var(--sc-ink-3); }
.dash-bar { height: 6px; background: rgba(255, 255, 255, 0.06); border-radius: 100px; overflow: hidden; }
.dash-bar-fill { height: 100%; border-radius: 100px; transition: width 900ms cubic-bezier(0.22, 1, 0.36, 1); }
.dash-bar-fill.teal { background: linear-gradient(90deg, #2dd4bf, #14b8a6); }
.dash-bar-fill.amber { background: linear-gradient(90deg, #fbbf24, #f59e0b); }
.dash-bar-fill.grey { background: rgba(255, 255, 255, 0.1); }
.dash-bar-num { font-size: 12px; color: var(--sc-ink-2); text-align: right; font-family: Consolas, 'SF Mono', ui-monospace, monospace; }

.dash-tophead {
    display: grid; grid-template-columns: 40px 1fr 30px; gap: 10px;
    font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sc-ink-4);
    padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.dash-toprow {
    display: grid; grid-template-columns: 40px 1fr 30px; gap: 10px;
    align-items: center; padding-top: 10px; font-size: 12px;
}
.dash-medal { font-size: 18px; }
.dash-toprow-name { display: flex; flex-direction: column; line-height: 1.2; }
.dash-toprow-id { font-family: Consolas, 'SF Mono', ui-monospace, monospace; font-size: 9px; color: var(--sc-ink-4); }
.dash-toprow-net { color: #fbbf24; font-weight: 600; text-align: right; }

/* AI Insights */
.dash-ai-glow {
    position: absolute;
    inset: -2px;
    background: radial-gradient(ellipse at 40% 0%, rgba(167, 139, 250, 0.30), transparent 60%),
                radial-gradient(ellipse at 70% 100%, rgba(45, 212, 191, 0.18), transparent 60%);
    border-radius: 16px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 800ms;
    z-index: -1;
}
.dash-ai.generated .dash-ai-glow { opacity: 1; }
.dash-ai.generating .dash-ai-glow {
    opacity: 0.8;
    animation: sc-aiPulse 1.4s ease-in-out infinite;
}
@keyframes sc-aiPulse { 50% { opacity: 0.35; } }

.dash-ai-spinner {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--sc-accent);
    box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.2);
    animation: sc-aiSpin 1.2s ease-in-out infinite;
}
.dash-ai-spinner.done {
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
    animation: none;
}
@keyframes sc-aiSpin { 50% { box-shadow: 0 0 0 7px rgba(167, 139, 250, 0); } }

.dash-ai-typing { display: inline-flex; align-items: center; gap: 4px; }
.dash-ai-typing .dots { display: inline-flex; gap: 2px; margin-left: 4px; }
.dash-ai-typing .dots i {
    width: 4px; height: 4px; border-radius: 50%;
    background: var(--sc-accent);
    animation: sc-typingDot 1.2s ease-in-out infinite;
}
.dash-ai-typing .dots i:nth-child(2) { animation-delay: 150ms; }
.dash-ai-typing .dots i:nth-child(3) { animation-delay: 300ms; }
@keyframes sc-typingDot { 0%, 80%, 100% { opacity: 0.3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }

.dash-ai-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.dash-ai-stat { background: rgba(255, 255, 255, 0.025); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.dash-ai-stat-label { font-family: Consolas, 'SF Mono', ui-monospace, monospace; font-size: 9px; letter-spacing: 0.14em; color: var(--sc-ink-3); }
.dash-ai-stat-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.dash-ai-stat-val { font-size: 24px; font-weight: 800; color: var(--sc-ink); line-height: 1; font-family: Consolas, 'SF Mono', ui-monospace, monospace; }
.dash-ai-stat-val span { font-size: 14px; color: var(--sc-ink-3); font-weight: 600; margin-left: 1px; }
.dash-ai-stat-delta { font-size: 11px; font-weight: 600; font-family: Consolas, 'SF Mono', ui-monospace, monospace; }
.dash-ai-stat-delta.up { color: #22c55e; }
.dash-ai-stat-delta.down { color: #2dd4bf; }
.dash-ai-stat-delta.neutral { color: var(--sc-ink-4); }
.dash-ai-spark { width: 100%; height: 20px; }
.dash-ai-spark-line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    transition: stroke-dashoffset 1200ms ease-out 200ms;
}
.dash-ai.generated .dash-ai-spark-line { stroke-dashoffset: 0; }
.dash-ai-cols { display: grid; grid-template-columns: 1fr 1.1fr; gap: 10px; margin-bottom: 12px; }
.dash-topics { display: flex; flex-direction: column; gap: 9px; margin-top: 4px; }
.dash-topic-row { display: grid; grid-template-columns: 90px 1fr 36px; gap: 10px; align-items: center; font-size: 11px; }
.dash-topic-name { font-weight: 600; }
.dash-topic-bar { height: 6px; background: rgba(255, 255, 255, 0.06); border-radius: 100px; overflow: hidden; }
.dash-topic-fill {
    height: 100%; border-radius: 100px;
    width: 0;
    transition: width 900ms cubic-bezier(0.22, 1, 0.36, 1);
}
.dash-topic-pct { color: var(--sc-ink-3); text-align: right; font-family: Consolas, 'SF Mono', ui-monospace, monospace; }
.dash-prompts { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.dash-prompt {
    display: flex; gap: 10px; padding: 6px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.04);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 400ms, transform 400ms;
}
.dash-prompt:last-child { border-bottom: none; }
.dash-ai.generated .dash-prompt { opacity: 1; transform: translateY(0); }
.dash-prompt-mark { width: 3px; flex-shrink: 0; border-radius: 100px; align-self: stretch; }
.dash-prompt-text { min-width: 0; flex: 1; }
.dash-prompt-q { font-size: 12px; color: var(--sc-ink); margin-bottom: 2px; font-style: italic; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-prompt-meta { font-size: 10px; color: var(--sc-ink-3); display: flex; gap: 6px; font-family: Consolas, 'SF Mono', ui-monospace, monospace; }
.dash-ai-tip {
    display: flex; align-items: center; gap: 14px;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.12), rgba(76, 29, 149, 0.08));
    border: 1px solid rgba(167, 139, 250, 0.18);
    border-radius: 10px;
    padding: 12px 14px;
}
.dash-ai-tip-icon { font-size: 22px; flex-shrink: 0; width: 36px; height: 36px; background: rgba(167, 139, 250, 0.18); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.dash-ai-tip > div { flex: 1; min-width: 0; }
.dash-ai-tip-title { font-size: 12px; font-weight: 700; color: var(--sc-ink); margin-bottom: 2px; }
.dash-ai-tip-body { font-size: 11.5px; color: var(--sc-ink-2); line-height: 1.4; }
.dash-ai-tip-body strong { color: var(--sc-accent); font-weight: 600; }
.dash-ai-tip .dash-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px; padding: 6px 10px;
    font-size: 11px; color: var(--sc-ink-2);
    flex-shrink: 0;
}

/* Webhook builder */
.dash-webhook-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; }
.dash-webhook-preview {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px; padding: 14px;
}
.dash-field-label {
    font-family: Consolas, 'SF Mono', ui-monospace, monospace;
    font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--sc-ink-3); margin-bottom: 8px;
}
.dash-field-label.nopad { margin-bottom: 0; }
.dash-input-row { display: flex; gap: 6px; margin-bottom: 8px; }
.dash-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px; padding: 8px 10px;
    font-size: 12px; color: var(--sc-ink-2);
    display: block;
}
.dash-input.mono { font-family: Consolas, 'SF Mono', ui-monospace, monospace; font-size: 11px; }
.dash-ghost { color: var(--sc-ink-4); }
.dash-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px; padding: 8px 12px;
    font-size: 12px; color: var(--sc-ink-2);
}
.dash-btn.primary { background: var(--sc-accent); color: #1a0d3a; border-color: var(--sc-accent); font-weight: 600; }
.dash-or { font-size: 11px; color: var(--sc-ink-4); text-align: center; margin: 4px 0; }
.dash-form-section { margin-bottom: 12px; }
.dash-field-row { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.dash-link-icon { color: var(--sc-accent); font-size: 12px; }
.dash-input-caret { color: var(--sc-ink-4); font-size: 10px; margin-left: 8px; float: right; }
.dash-input-with-btn { display: flex; gap: 4px; align-items: stretch; }
.dash-input-with-btn .dash-input { flex: 1; }
.dash-icon-btn { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 6px; width: 32px; color: var(--sc-ink-2); font-size: 13px; }
.dash-plus { background: var(--sc-accent); color: #1a0d3a; border: none; border-radius: 6px; width: 28px; height: 28px; font-size: 16px; font-weight: 700; flex-shrink: 0; }
.dash-color-swatch { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; }
.dash-msg-card { background: rgba(255, 255, 255, 0.025); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 10px; padding: 12px; }
.dash-msg-card-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.dash-msg-title { font-size: 13px; font-weight: 600; }
.dash-flex-fill { flex: 1; }
.dash-chev { color: var(--sc-ink-3); font-size: 10px; }
.dash-x { color: var(--sc-ink-4); font-size: 14px; }
.dash-pill-toggle { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, 0.04); border-radius: 100px; padding: 3px 10px 3px 4px; font-size: 10px; letter-spacing: 0.12em; font-weight: 700; color: var(--sc-ink-3); }
.dash-pill-toggle.on { color: #3b82f6; }
.dash-pill-toggle i { width: 18px; height: 10px; background: rgba(255, 255, 255, 0.1); border-radius: 100px; position: relative; }
.dash-pill-toggle.on i { background: #3b82f6; }
.dash-pill-toggle i::after { content: ''; position: absolute; top: 1px; left: 1px; width: 8px; height: 8px; border-radius: 50%; background: white; transition: left 200ms; }
.dash-pill-toggle.on i::after { left: 9px; }
.dash-sub { background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.04); border-radius: 8px; padding: 10px; margin-bottom: 10px; }
.dash-sub.elevated { background: rgba(0, 0, 0, 0.4); border-color: rgba(255, 255, 255, 0.06); }
.dash-sub-head { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; margin-bottom: 8px; color: var(--sc-ink-2); }
.dash-sub-icons { color: var(--sc-ink-4); font-size: 10px; letter-spacing: 0.2em; }
.dash-sub-row { display: flex; align-items: center; gap: 6px; padding: 6px 0; font-size: 12px; color: var(--sc-ink-2); border-bottom: 1px solid rgba(255, 255, 255, 0.03); }
.dash-sub-row.collapsed { color: var(--sc-ink-3); }
.dash-sub-row:last-of-type { border-bottom: none; }
.dash-textarea { background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 6px; padding: 8px 10px 36px; margin-top: 4px; margin-bottom: 8px; font-size: 12px; color: var(--sc-ink-2); position: relative; line-height: 1.4; }
.dash-textarea.small { min-height: 50px; }
.dash-textarea .dash-plus { position: absolute; bottom: 6px; right: 6px; }
.dash-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dash-mini-label { font-family: Consolas, 'SF Mono', ui-monospace, monospace; font-size: 9px; letter-spacing: 0.1em; color: var(--sc-ink-4); margin-bottom: 4px; }
.dash-mini-label.spacious { margin-top: 8px; }
.dash-mini-count { color: var(--sc-ink-4); }

.dash-discord-mini {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px; padding: 12px;
    margin-top: 6px;
}
.dash-discord-row { display: flex; gap: 10px; }
.dash-discord-avatar { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; }
.dash-discord-body { flex: 1; min-width: 0; }
.dash-discord-head { display: flex; align-items: baseline; gap: 6px; margin-bottom: 3px; flex-wrap: wrap; }
.dash-discord-name { font-size: 12px; font-weight: 600; color: var(--sc-discord-text-header); }
.dash-discord-badge { background: #5865f2; color: white; font-size: 8px; font-weight: 700; padding: 1px 3px; border-radius: 3px; }
.dash-discord-time { font-size: 9px; color: var(--sc-discord-text-muted); }
.dash-discord-text { font-size: 11px; color: var(--sc-discord-text); line-height: 1.4; }
.dash-discord-mention { background: rgba(167, 139, 250, 0.18); color: #d4c7ff; padding: 0 3px; border-radius: 3px; }
.dash-discord-embed { display: flex; margin-top: 8px; background: rgba(0, 0, 0, 0.4); border-radius: 4px; overflow: hidden; }
.dash-discord-embed-bar { width: 3px; background: #5865f2; flex-shrink: 0; }
.dash-discord-embed-body { padding: 8px 10px; flex: 1; min-width: 0; }
.dash-discord-embed-title { font-size: 12px; font-weight: 600; color: var(--sc-discord-text-header); }
.dash-discord-embed-desc { font-size: 11px; color: var(--sc-discord-text); margin-top: 4px; line-height: 1.4; }
.dash-discord-embed-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; font-size: 10.5px; }
.dash-discord-embed-field-name { font-weight: 600; color: var(--sc-discord-text-header); }
.dash-discord-embed-field-val { color: var(--sc-discord-text); margin-top: 2px; }
.dash-discord-embed-footer { margin-top: 8px; font-size: 9px; color: var(--sc-discord-text-muted); }
.dash-discord-buttons { display: flex; gap: 6px; margin-top: 8px; }
.dash-discord-buttons span {
    background: #4e5058; color: white;
    padding: 5px 10px; border-radius: 4px;
    font-size: 11px; font-weight: 500;
    display: inline-flex; align-items: center; gap: 4px;
}
.dash-discord-buttons span:first-child { background: #5865f2; }

/* Commands grid */
.dash-cmd-header {
    display: flex; justify-content: space-between; align-items: flex-end;
    gap: 16px; margin-bottom: 16px; flex-wrap: wrap;
}
.dash-cmd-title { font-size: 18px; font-weight: 700; }
.dash-cmd-sub { font-size: 11px; color: var(--sc-ink-3); margin-top: 2px; }
.dash-cmd-sub strong { color: var(--sc-ink); font-weight: 600; }
.dash-cmd-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.dash-cmd-pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 100px; padding: 4px 10px;
    font-size: 11px; color: var(--sc-ink-2);
}
.dash-cmd-pill.active { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.12); }
.dash-cmd-pill span:not(.dash-cmd-pill-dot) { color: var(--sc-ink-4); font-family: Consolas, 'SF Mono', ui-monospace, monospace; font-size: 10px; }
.dash-cmd-pill-dot { width: 5px; height: 5px; border-radius: 50%; }

.dash-cmd-cat { margin-bottom: 14px; }
.dash-cmd-cat-head {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 600;
    color: var(--cat); margin-bottom: 8px;
}
.dash-cmd-cat-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cat); }
.dash-cmd-cat-count { font-size: 10px; color: var(--sc-ink-4); font-family: Consolas, 'SF Mono', ui-monospace, monospace; }
.dash-cmd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.dash-cmd-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px; padding: 10px;
    display: flex; flex-direction: column; gap: 6px;
    min-height: 90px;
}
.dash-cmd-card.active {
    box-shadow: 0 0 0 1px color-mix(in oklab, var(--cat) 30%, transparent) inset,
                0 8px 24px -16px color-mix(in oklab, var(--cat) 60%, transparent);
}
.dash-cmd-card-name {
    font-family: Consolas, 'SF Mono', ui-monospace, monospace;
    font-size: 11.5px; font-weight: 600;
    color: var(--cat);
}
.dash-cmd-card-desc { font-size: 10.5px; color: var(--sc-ink-3); line-height: 1.3; flex: 1; }
.dash-cmd-card-foot {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.dash-cmd-card-status {
    font-family: Consolas, 'SF Mono', ui-monospace, monospace;
    font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--cat);
}
.dash-cmd-card:not(.active) .dash-cmd-card-status { color: var(--sc-ink-4); }
.dash-cmd-card .dash-toggle.on { background: var(--cat); }

/* ============================================================
   VARIATION 03 — FEATURE DEEP-DIVES
   ============================================================ */
.var-dives { display: flex; flex-direction: column; gap: 140px; margin-top: 24px; }
.var-dive-row {
    display: grid; grid-template-columns: 1fr 1.2fr;
    gap: 88px; align-items: center;
}
.var-dive-row.flipped { grid-template-columns: 1.2fr 1fr; }
.var-dive-row.flipped .var-dive-text { order: 2; }
.var-dive-row.flipped .var-dive-preview { order: 1; }
.var-dive-text { max-width: 460px; }
.var-dive-preview {
    position: relative;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}
.var-dive-preview::before {
    content: ''; position: absolute;
    inset: -50px; z-index: -1;
    background: radial-gradient(ellipse at center, rgba(167, 139, 250, 0.10), transparent 60%);
    pointer-events: none;
}
.var-dive-preview .dc-chat-card { padding-top: 4px; padding-bottom: 4px; }

/* ============================================================
   COMPARISON — reimagined to match the showcase aesthetic
   ============================================================ */
.sc-comparison {
    --sc-bg: #08090b;
    --sc-ink: #f2f3f5;
    --sc-ink-2: #c8cbd1;
    --sc-ink-3: #8b8f97;
    --sc-ink-4: #5b5f67;
    --sc-accent: #a78bfa;
    --sc-accent-soft: rgba(167, 139, 250, 0.15);

    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    padding: 60px 64px 100px;
    color: var(--sc-ink);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.sc-comparison * { box-sizing: border-box; }

.sc-cmp-header {
    max-width: 720px;
    margin-bottom: 48px;
}
.sc-cmp-eyebrow {
    display: inline-block;
    font-family: Consolas, 'SF Mono', ui-monospace, monospace;
    font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--sc-ink-3);
    margin-bottom: 16px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sc-cmp-title {
    font-size: 38px; font-weight: 700; letter-spacing: -0.02em;
    margin: 0 0 16px; line-height: 1.1; color: var(--sc-ink);
    text-wrap: balance;
}
.sc-cmp-title em { font-style: normal; color: var(--sc-accent); }
.sc-cmp-body {
    font-size: 16px; color: var(--sc-ink-2); margin: 0;
    line-height: 1.55; max-width: 600px;
}

.sc-cmp-frame {
    position: relative;
    background: linear-gradient(180deg, #0e0f13 0%, #0a0b0e 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}
.sc-cmp-frame::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 50% at 20% 0%, rgba(167, 139, 250, 0.07), transparent 60%);
    pointer-events: none;
}
/* Subtle highlight band behind the NeoBot column */
.sc-cmp-frame::after {
    content: ''; position: absolute;
    top: 0; bottom: 0;
    left: calc(100% * (1.5 / 5.5));
    width: calc(100% * (1 / 5.5));
    background: linear-gradient(180deg, rgba(167, 139, 250, 0.08), rgba(167, 139, 250, 0.02));
    border-left: 1px solid rgba(167, 139, 250, 0.18);
    border-right: 1px solid rgba(167, 139, 250, 0.18);
    pointer-events: none;
    z-index: 0;
}

.sc-cmp-grid {
    position: relative;
    z-index: 1;
}
.sc-cmp-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    align-items: stretch;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.sc-cmp-row:last-child { border-bottom: none; }

/* Header row with bot identities */
.sc-cmp-row-head { border-bottom: 1px solid rgba(255, 255, 255, 0.10); }
.sc-cmp-row-head .sc-cmp-cell { padding: 22px 16px 20px; }
.sc-cmp-bot {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    text-align: center;
}
.sc-cmp-bot-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #4e5058, #2b2d31);
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 700; font-size: 16px;
}
.sc-cmp-bot-avatar img { width: 100%; height: 100%; object-fit: cover; }
.sc-cmp-bot-name {
    font-size: 14px; font-weight: 600; color: var(--sc-ink);
    letter-spacing: -0.005em;
}
.sc-cmp-bot-meta {
    font-family: Consolas, 'SF Mono', ui-monospace, monospace;
    font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--sc-ink-4);
}
.sc-cmp-bot-neo .sc-cmp-bot-name { color: var(--sc-accent); }

/* Cell base — vertical stack with consistent slot heights so every
   row aligns regardless of which fields are present. */
.sc-cmp-cell {
    padding: 16px 14px;
    display: grid;
    grid-template-rows: 22px 1fr 22px; /* mark | status | tag — fixed slots */
    align-items: center; justify-items: center;
    row-gap: 4px;
    font-size: 13px; color: var(--sc-ink-2);
    min-height: 88px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    z-index: 1;
}
.sc-cmp-cell:last-child { border-right: none; }
.sc-cmp-cell.no-feat { grid-template-rows: 22px 1fr 22px; }

/* Feature label cell (left column) — overrides cell grid */
.sc-cmp-feat {
    display: flex;
    grid-template-rows: none;
    align-items: center;
    justify-items: stretch;
    justify-content: flex-start;
    text-align: left;
    gap: 14px;
    padding: 16px 22px;
}
.sc-cmp-feat-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: rgba(167, 139, 250, 0.08);
    border: 1px solid rgba(167, 139, 250, 0.18);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.sc-cmp-feat-icon img {
    width: 22px; height: 22px;
    object-fit: contain;
    /* Strip the colour from every icon and recolour to the accent purple,
       so cartoon assets (music, casino, etc.) match the flat monochrome ones. */
    filter: brightness(0) saturate(100%) invert(70%) sepia(38%) saturate(2200%) hue-rotate(220deg) brightness(101%) contrast(92%);
}
/* Inline SVGs already use the accent — let them keep their original colour. */
.sc-cmp-feat-icon img[src$=".svg"] { filter: none; }
.sc-cmp-feat-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sc-cmp-feat-name {
    font-size: 14px; font-weight: 600; color: var(--sc-ink);
    line-height: 1.2;
}
.sc-cmp-feat-sub {
    font-size: 11.5px; color: var(--sc-ink-3);
    line-height: 1.35;
}

/* Check / cross icons (row 1) */
.sc-cmp-mark {
    grid-row: 1;
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px;
    border-radius: 50%;
}
.sc-cmp-mark.yes {
    background: rgba(34, 197, 94, 0.14);
    color: #4ade80;
}
.sc-cmp-mark.no {
    background: rgba(248, 113, 113, 0.10);
    color: #f87171;
}
.sc-cmp-mark svg { display: block; }

/* Status text (row 2) */
.sc-cmp-status {
    grid-row: 2;
    font-size: 12.5px; color: var(--sc-ink-2);
    font-weight: 500;
    line-height: 1.2;
    align-self: center;
}
.sc-cmp-cell.no-feat .sc-cmp-status { color: var(--sc-ink-4); }

/* Tag pills (row 3) */
.sc-cmp-tag {
    grid-row: 3;
    align-self: center;
    font-family: Consolas, 'SF Mono', ui-monospace, monospace;
    font-size: 9.5px; letter-spacing: 0.10em; text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 100px;
    border: 1px solid;
    font-weight: 600;
    white-space: nowrap;
}
.sc-cmp-tag-free { color: #4ade80; border-color: rgba(34, 197, 94, 0.30); background: rgba(34, 197, 94, 0.08); }
.sc-cmp-tag-paid { color: #fbbf24; border-color: rgba(251, 191, 36, 0.30); background: rgba(251, 191, 36, 0.06); }
.sc-cmp-tag-partial { color: #c8cbd1; border-color: rgba(200, 203, 209, 0.20); background: rgba(255, 255, 255, 0.03); }
.sc-cmp-tag-muted { color: var(--sc-ink-4); border-color: rgba(255, 255, 255, 0.08); background: transparent; }

/* Highlighted NeoBot cells */
.sc-cmp-cell.neo .sc-cmp-status { color: var(--sc-accent); font-weight: 600; }

/* Pricing row — slightly different chrome */
.sc-cmp-row-pricing { background: rgba(167, 139, 250, 0.03); }
.sc-cmp-row-pricing .sc-cmp-cell { min-height: 88px; padding-top: 16px; padding-bottom: 16px; }
.sc-cmp-row-pricing .sc-cmp-cell:not(.sc-cmp-feat) { grid-template-rows: 1fr 22px; row-gap: 6px; }
.sc-cmp-price {
    grid-row: 1;
    align-self: end;
    font-size: 19px; font-weight: 800; letter-spacing: -0.01em;
    color: var(--sc-ink);
    line-height: 1;
}
.sc-cmp-price.gold {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 22px;
}
.sc-cmp-row-pricing .sc-cmp-tag { grid-row: 2; align-self: start; }

/* Tip banner below the table */
.sc-cmp-tip {
    display: flex; align-items: center; gap: 16px;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.10), rgba(76, 29, 149, 0.06));
    border: 1px solid rgba(167, 139, 250, 0.18);
    border-radius: 14px;
    padding: 18px 22px;
    margin-top: 28px;
}
.sc-cmp-tip-icon {
    flex-shrink: 0;
    width: 44px; height: 44px;
    background: rgba(167, 139, 250, 0.18);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
}
.sc-cmp-tip-icon img { width: 22px; height: 22px; }
.sc-cmp-tip-text { flex: 1; min-width: 0; }
.sc-cmp-tip-title {
    font-size: 14px; font-weight: 700; color: var(--sc-ink);
    margin-bottom: 4px;
}
.sc-cmp-tip-body {
    font-size: 13.5px; color: var(--sc-ink-2);
    line-height: 1.5;
}
.sc-cmp-tip-body strong { color: var(--sc-accent); font-weight: 600; }

/* Trust counter — replaces the old "Try NeoBot Free" CTA.
   Big animated server count + tagline + secondary action. */
.sc-cmp-trust {
    margin-top: 48px;
    text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.sc-cmp-trust-num {
    display: inline-flex; align-items: baseline; justify-content: center;
    font-family: 'Segoe UI', sans-serif;
    font-size: 84px; font-weight: 800; letter-spacing: -0.04em;
    line-height: 1;
    background: linear-gradient(135deg, #fff 0%, #c8cbd1 40%, var(--sc-accent) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 80px rgba(167, 139, 250, 0.25);
}
.sc-cmp-trust-num #trust-server-count { font-variant-numeric: tabular-nums; }
.sc-cmp-trust-plus {
    font-size: 56px;
    color: var(--sc-accent);
    -webkit-text-fill-color: var(--sc-accent);
    margin-left: 4px;
}
.sc-cmp-trust-label {
    font-size: 16px; color: var(--sc-ink-2);
    letter-spacing: -0.005em;
    max-width: 460px;
}
.sc-cmp-trust-btn {
    margin-top: 8px;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 24px;
    background: transparent;
    color: var(--sc-ink-2);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 100px;
    font-family: inherit;
    font-size: 13.5px; font-weight: 500;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: border-color 200ms ease, color 200ms ease, background 200ms ease;
}
.sc-cmp-trust-btn:hover {
    border-color: var(--sc-accent);
    color: var(--sc-ink);
    background: rgba(167, 139, 250, 0.08);
}
.sc-cmp-trust-btn::after {
    content: '→';
    font-size: 14px;
    transition: transform 200ms ease;
}
.sc-cmp-trust-btn:hover::after { transform: translateX(3px); }

@media (max-width: 880px) {
    .sc-cmp-trust-num { font-size: 60px; }
    .sc-cmp-trust-plus { font-size: 40px; }
}

/* Responsive */
@media (max-width: 1100px) {
    .sc-comparison { padding: 48px 32px 80px; }
    .sc-cmp-title { font-size: 30px; }
}
@media (max-width: 880px) {
    .sc-comparison { padding: 40px 16px 64px; }
    .sc-cmp-frame { overflow-x: auto; }
    .sc-cmp-frame::after { display: none; }
    .sc-cmp-row { min-width: 640px; }
    .sc-cmp-feat { padding: 12px 14px; }
    .sc-cmp-tip { flex-direction: column; text-align: center; gap: 12px; }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.showcase .sc-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}
.showcase .sc-reveal.sc-in {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .showcase .sc-reveal { opacity: 1; transform: none; transition: none; }
    .var-capsule-stop-fill { animation: none; transform: scaleX(1); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .var-dash-row, .var-dash-row.flipped { grid-template-columns: 1fr; gap: 32px; }
    .var-dash-row.flipped .var-dash-mockup, .var-dash-row.flipped .var-dash-text { order: unset; }
    .var-dash { gap: 96px; }
    .var-dive-row, .var-dive-row.flipped { grid-template-columns: 1fr; gap: 32px; }
    .var-dive-row.flipped .var-dive-text, .var-dive-row.flipped .var-dive-preview { order: unset; }
    .var-dives { gap: 96px; }
}
@media (max-width: 880px) {
    .showcase { padding: 56px 24px 80px; }
    .var-capsule-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .var-capsule-meta { align-items: flex-start; }
    .var-capsule-stage { height: 520px; }
    .var-capsule-card { width: 100%; }
    .dash-section-purple { grid-template-columns: 1fr; gap: 12px; }
    .dash-twocol { grid-template-columns: 1fr; }
    .dash-webhook-split { grid-template-columns: 1fr; }
    .dash-cmd-grid { grid-template-columns: repeat(2, 1fr); }
    .dash-ai-cols { grid-template-columns: 1fr; }
    .dash-ai-stats { grid-template-columns: 1fr; }
    .stats-header { flex-direction: column; gap: 10px; }
    .stats-bottom { grid-template-columns: 1fr; }
    .rank-card { height: auto; padding: 16px; }
    .rank-card-content { grid-template-columns: auto 1fr; gap: 14px; }
    .rank-card-stats { display: none; }
}

/* ============================================================
   MOBILE — matches landing.css hamburger breakpoint (≤768px)
   Placed after 880px block so these declarations win.
   ============================================================ */
@media (max-width: 768px) {
    .showcase {
        padding: 40px 20px 56px;
    }
    .showcase-variation {
        padding: 36px 0;
    }
    .var-dash {
        gap: 56px;
    }
    .var-dives {
        gap: 56px;
    }
    .var-dash-text,
    .var-dive-text {
        max-width: 100%;
    }
    .feature-title {
        font-size: 22px;
    }
    /* Scale down body text in showcase text blocks */
    .feature-body {
        font-size: 14.5px;
    }
    /* Tighter carousel card padding */
    .var-capsule-card {
        padding: 14px 6px 12px;
    }
    /* Tighter dc-message side padding inside cards */
    .var-capsule-card .dc-message {
        padding: 2px 12px;
    }
    /* Dashboard frame — use more of the narrow screen */
    .dash-frame {
        padding: 16px;
    }
    /* Tighten gap between mockup and text in single-column rows */
    .var-dash-row,
    .var-dive-row {
        gap: 24px;
    }
    /* Stats dates — prevent overflow when stacked */
    .stats-dates {
        gap: 8px;
    }
    .stats-dates > div {
        min-width: 80px;
        flex: 1;
    }
    /* stats-grid-3: too cramped at 3 cols on narrow phones — go 2-col */
    .stats-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* ── Order fix: text always above preview on mobile ──────────────────
       SPECIFICITY NOTE: the 1100px block uses ".var-dash-row.flipped .var-dash-mockup"
       (0,3,0). Low-spec (0,1,0) rules below would lose for flipped rows even though
       this block comes later. Mirror the same 3-class specificity so this block wins
       (same spec + later position in file = wins).
    ────────────────────────────────────────────────────────────────────── */
    /* Non-flipped dash rows: no competing rule above, (0,1,0) is enough */
    .var-dash-mockup  { order: 2; }
    .var-dash-text    { order: 1; }
    /* Flipped dash rows: match (0,3,0) specificity to beat the 1100px unset */
    .var-dash-row.flipped .var-dash-mockup { order: 2; }
    .var-dash-row.flipped .var-dash-text   { order: 1; }
    /* Dive rows: text is already first in DOM; these are just safety */
    .var-dive-preview { order: 2; }
    .var-dive-text    { order: 1; }

    /* ── Animation performance ───────────────────────────────────────────
       backdrop-filter on transforming carousel cards causes GPU compositing
       pressure on mobile. Replace with a solid equivalent.
    ────────────────────────────────────────────────────────────────────── */
    .var-capsule-card {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(18, 20, 26, 0.97);
    }

    /* Snappier scroll reveals — 700ms is too heavy on phones */
    .showcase .sc-reveal {
        transform: translateY(8px);
        transition: opacity 280ms cubic-bezier(0.22, 1, 0.36, 1),
                    transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    /* ── Comparison section — prevent overflow and ensure text wraps ─────
       The section needs overflow-x: hidden so any wider child can't push
       the viewport. Text elements get explicit word-wrap so long phrases
       don't escape their containers.
    ────────────────────────────────────────────────────────────────────── */
    .sc-comparison {
        padding: 36px 16px 56px;
        overflow-x: hidden;
    }
    .sc-cmp-header {
        max-width: 100%;
    }
    .sc-cmp-body,
    .sc-cmp-tip-body {
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
    /* Ensure the scrollable frame never breaks the parent layout */
    .sc-cmp-frame {
        width: 100%;
        max-width: 100%;
    }

    /* ── Comparison table (sc-cmp) — reduce scroll distance ─────────────
       min-width: 640px means a 375px phone must scroll 265px. Drop to 500px
       and tighten cell padding so content breathes at that width.
    ────────────────────────────────────────────────────────────────────── */
    .sc-cmp-row {
        min-width: 500px;
    }
    .sc-cmp-cell {
        padding: 10px 8px;
        min-height: 72px;
        font-size: 12px;
    }
    .sc-cmp-feat {
        padding: 10px 14px;
        gap: 10px;
    }
    .sc-cmp-row-head .sc-cmp-cell {
        padding: 16px 8px 14px;
    }
}

@media (max-width: 480px) {
    .showcase {
        padding: 28px 16px 44px;
    }
    .showcase-variation {
        padding: 28px 0;
    }
    .var-capsule-stage {
        height: 440px;
    }
    .var-capsule-now-num {
        font-size: 24px;
    }
    .dash-cmd-grid {
        grid-template-columns: 1fr;
    }
    .var-dash {
        gap: 40px;
    }
    .var-dives {
        gap: 40px;
    }
    .feature-title {
        font-size: 20px;
    }
    /* stats-grid-3: full single column on tiny phones */
    .stats-grid-3 {
        grid-template-columns: 1fr;
    }
    /* Trust counter — compact stat, not a hero number on small phones */
    .sc-cmp-trust {
        gap: 10px;
        margin-top: 36px;
    }
    .sc-cmp-trust-num {
        font-size: 38px;
        letter-spacing: -0.03em;
    }
    .sc-cmp-trust-plus {
        font-size: 24px;
    }
    .sc-cmp-trust-label {
        font-size: 14px;
        max-width: 300px;
    }
    .sc-cmp-trust-btn {
        font-size: 12.5px;
        padding: 9px 18px;
    }
    /* Warn meta: let items wrap on tiny cards */
    .dc-warn-meta {
        grid-template-columns: 1fr;
        gap: 6px 0;
    }
    /* Slightly smaller chat text on tiny screens */
    .dc-message-content {
        font-size: 14px;
    }
    /* More compact dashboard frames */
    .dash-frame {
        padding: 12px;
    }
    .dash-header {
        padding: 8px 10px;
        margin-bottom: 10px;
    }
    /* Tightest carousel card — every px counts at 320px */
    .var-capsule-card {
        padding: 12px 4px 10px;
    }
    .var-capsule-card .dc-message {
        padding: 2px 10px;
    }
    /* Card label redundant alongside scrubber — hide it */
    .var-capsule-card-label {
        display: none;
    }
    /* Compact row gap between mockup and text */
    .var-dash-row,
    .var-dive-row {
        gap: 20px;
    }
    /* Comparison table feature icon takes space — hide on tiny screens */
    .sc-cmp-feat-icon {
        display: none;
    }
    .sc-cmp-feat {
        padding: 10px 12px;
        gap: 8px;
    }
    .sc-cmp-feat-name {
        font-size: 12px;
    }
    .sc-cmp-feat-sub {
        font-size: 10.5px;
    }

    /* sc-comparison section — tightest padding */
    .sc-comparison {
        padding: 24px 12px 44px;
    }

    /* Comparison header row — compact bot identities at 500px */
    .sc-cmp-bot-avatar {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    .sc-cmp-bot-name {
        font-size: 12px;
    }
    .sc-cmp-bot-meta {
        font-size: 8.5px;
        letter-spacing: 0.06em;
    }

    /* Comparison tip — stack icon + text on tiny screens */
    .sc-cmp-tip {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 14px 12px;
    }
    .sc-cmp-tip-body {
        font-size: 12.5px;
    }
}
