.bdx-wrap {
    --bdx-ink: #111532;
    --bdx-muted: #586177;
    --bdx-soft: #f7f8fb;
    --bdx-panel: #ffffff;
    --bdx-line: #e1e5ee;
    --bdx-accent: #5f4af2;
    --bdx-teal: #0f9f9a;
    --bdx-rose: #d94f8c;
    max-width: 1180px;
    margin: 0 auto;
    padding: 42px 20px;
    color: var(--bdx-ink);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bdx-wrap * {
    box-sizing: border-box;
}

.bdx-hero,
.bdx-page-hero,
.bdx-mini-showcase,
.bdx-card,
.bdx-creator-card,
.bdx-journey-card,
.bdx-metric,
.bdx-floating-card,
.bdx-activity-item,
.bdx-mini-preview,
.bdx-mini-browser,
.bdx-mini-grid span {
    border-radius: 8px;
}

.bdx-hero {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 34px;
    align-items: center;
    padding: 48px;
    background: var(--bdx-panel);
    border: 1px solid var(--bdx-line);
    box-shadow: 0 18px 50px rgba(17, 21, 50, .08);
}

.bdx-kicker,
.bdx-section-head span,
.bdx-card-type {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
    color: var(--bdx-accent);
}

.bdx-hero h1,
.bdx-page-hero h1 {
    font-size: 64px;
    line-height: 1;
    margin: 12px 0 18px;
    letter-spacing: 0;
}

.bdx-section-head h2 {
    font-size: 40px;
    line-height: 1.1;
    margin: 10px 0;
    letter-spacing: 0;
}

.bdx-hero p,
.bdx-page-hero p,
.bdx-section-head p {
    font-size: 18px;
    line-height: 1.65;
    color: var(--bdx-muted);
    max-width: 720px;
}

.bdx-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.bdx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 8px;
    padding: 12px 18px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.bdx-btn-primary {
    color: #fff;
    background: var(--bdx-accent);
    box-shadow: 0 10px 24px rgba(95, 74, 242, .22);
}

.bdx-btn-soft {
    background: #fff;
    color: var(--bdx-ink);
    border: 1px solid var(--bdx-line);
}

.bdx-btn:hover {
    transform: translateY(-2px);
}

.bdx-hero-stack {
    display: grid;
    gap: 14px;
}

.bdx-floating-card {
    padding: 20px;
    background: #fff;
    border: 1px solid var(--bdx-line);
    box-shadow: 0 14px 36px rgba(17, 21, 50, .08);
}

.bdx-floating-card:nth-child(2) {
    margin-left: 42px;
}

.bdx-floating-card:nth-child(3) {
    margin-left: 18px;
}

.bdx-floating-card span {
    font-size: 12px;
    font-weight: 900;
    color: var(--bdx-rose);
    text-transform: uppercase;
}

.bdx-floating-card strong {
    display: block;
    margin: 8px 0;
    font-size: 22px;
}

.bdx-floating-card p {
    margin: 0;
    color: var(--bdx-muted);
}

.bdx-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 22px 0 48px;
}

.bdx-metric {
    padding: 22px;
    border: 1px solid var(--bdx-line);
    background: #fff;
    box-shadow: 0 10px 28px rgba(17, 21, 50, .06);
}

.bdx-metric strong {
    display: block;
    font-size: 30px;
}

.bdx-metric span {
    color: var(--bdx-muted);
    font-weight: 700;
}

.bdx-section-head {
    margin: 42px 0 20px;
}

.bdx-card-grid,
.bdx-creator-grid,
.bdx-journey-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.bdx-card,
.bdx-creator-card,
.bdx-journey-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--bdx-line);
    box-shadow: 0 12px 32px rgba(17, 21, 50, .06);
    transition: transform .22s ease, box-shadow .22s ease;
}

.bdx-card:hover,
.bdx-creator-card:hover,
.bdx-journey-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 46px rgba(17, 21, 50, .11);
}

.bdx-card-icon,
.bdx-avatar {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    background: var(--bdx-accent);
    margin-bottom: 16px;
}

.bdx-card:nth-child(2n) .bdx-card-icon,
.bdx-creator-card:nth-child(2n) .bdx-avatar {
    background: var(--bdx-teal);
}

.bdx-card:nth-child(3n) .bdx-card-icon,
.bdx-creator-card:nth-child(3n) .bdx-avatar {
    background: var(--bdx-rose);
}

.bdx-card h3,
.bdx-creator-card h3,
.bdx-journey-card h2 {
    font-size: 22px;
    margin: 8px 0 10px;
    letter-spacing: 0;
}

.bdx-card p,
.bdx-creator-card p,
.bdx-journey-card p,
.bdx-activity-item p {
    color: var(--bdx-muted);
    line-height: 1.55;
}

.bdx-card small {
    display: inline-flex;
    margin: 6px 0 14px;
    padding: 7px 10px;
    border-radius: 8px;
    background: var(--bdx-soft);
    font-weight: 800;
    color: var(--bdx-accent);
}

.bdx-card a,
.bdx-creator-card a {
    display: inline-flex;
    margin-top: 8px;
    color: var(--bdx-accent);
    font-weight: 900;
    text-decoration: none;
}

.bdx-mini-showcase {
    display: grid;
    grid-template-columns: 1fr .9fr;
    gap: 26px;
    align-items: center;
    margin: 52px 0;
    padding: 36px;
    background: #151936;
    color: #fff;
    box-shadow: 0 18px 50px rgba(17, 21, 50, .16);
}

.bdx-mini-showcase p {
    line-height: 1.7;
    color: rgba(255, 255, 255, .82);
}

.bdx-mini-showcase .bdx-kicker {
    color: #8ee7df;
}

.bdx-mini-preview {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    padding: 24px;
    min-height: 260px;
}

.bdx-mini-browser {
    height: 110px;
    background: #fff;
}

.bdx-mini-line {
    height: 16px;
    margin-top: 18px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .62);
}

.bdx-mini-line.short {
    width: 68%;
}

.bdx-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 18px;
}

.bdx-mini-grid span {
    height: 58px;
    background: rgba(255, 255, 255, .24);
}

.bdx-activity-list {
    display: grid;
    gap: 12px;
}

.bdx-activity-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid var(--bdx-line);
    background: #fff;
}

.bdx-pulse {
    width: 14px;
    height: 14px;
    margin-top: 6px;
    border-radius: 50%;
    background: var(--bdx-rose);
    box-shadow: 0 0 0 8px rgba(217, 79, 140, .12);
}

.bdx-page-hero {
    padding: 44px;
    background: #fff;
    border: 1px solid var(--bdx-line);
    margin-bottom: 22px;
}

.bdx-filter-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.bdx-chip {
    border: 1px solid var(--bdx-line);
    background: #fff;
    border-radius: 8px;
    padding: 10px 14px;
    font-weight: 900;
    color: var(--bdx-ink);
    cursor: pointer;
}

.bdx-chip.is-active {
    color: #fff;
    background: var(--bdx-accent);
    border-color: var(--bdx-accent);
}

.bdx-journey-card ol {
    padding-left: 20px;
    color: var(--bdx-muted);
    line-height: 1.9;
}

.bdx-journey-card .bdx-btn {
    margin-top: 10px;
}

@media (max-width: 900px) {
    .bdx-hero,
    .bdx-mini-showcase {
        grid-template-columns: 1fr;
        padding: 28px;
    }

    .bdx-metrics,
    .bdx-card-grid,
    .bdx-creator-grid,
    .bdx-journey-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bdx-floating-card:nth-child(2),
    .bdx-floating-card:nth-child(3) {
        margin-left: 0;
    }
}

@media (max-width: 640px) {
    .bdx-wrap {
        padding: 24px 14px;
    }

    .bdx-metrics,
    .bdx-card-grid,
    .bdx-creator-grid,
    .bdx-journey-grid {
        grid-template-columns: 1fr;
    }

    .bdx-hero h1,
    .bdx-page-hero h1 {
        font-size: 38px;
    }

    .bdx-section-head h2 {
        font-size: 30px;
    }

    .bdx-actions {
        flex-direction: column;
    }

    .bdx-btn {
        width: 100%;
    }
}
