@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    font-family: 'DM Sans', sans-serif;
    color: #28223c;
    background: #faf9ff;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    margin: 0;
    min-height: 100%;
    background: #faf9ff;
}

body {
    font-family: 'DM Sans', sans-serif;
}

* {
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}

.bb-home {
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 92% 8%, #f0eaff 0, transparent 30%),
        #faf9ff;
}

.bb-header {
    max-width: 1180px;
    margin: 0 auto;
    padding: 25px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.bb-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.bb-brand-mark {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    color: white;
    background: #7046cf;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 25px;
    font-weight: 700;
    box-shadow: 0 7px 18px #7046cf30;
}

.bb-brand strong,
.bb-brand small {
    display: block;
}

.bb-brand strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 21px;
    letter-spacing: -0.7px;
}

.bb-brand small {
    margin-top: 2px;
    color: #827a96;
    font-size: 11px;
}

.bb-preview-badge {
    padding: 8px 12px;
    border: 1px solid #e6ddff;
    border-radius: 100px;
    color: #6741b7;
    background: #f4efff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.1px;
}

.bb-main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px;
}

.bb-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    min-height: 335px;
    padding: 48px 55px;
    overflow: hidden;
    border-radius: 28px;
    color: white;
    background: linear-gradient(120deg, #38215f 0%, #5a329b 60%, #7953ce 100%);
    box-shadow: 0 18px 45px #51338b20;
}

.bb-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 570px;
}

.bb-eyebrow {
    display: block;
    color: #8c70d4;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.bb-hero .bb-eyebrow {
    color: #d7c7ff;
}

.bb-hero h1 {
    margin: 17px 0 14px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.04;
    letter-spacing: -2.8px;
}

.bb-hero-copy > p {
    max-width: 450px;
    color: #e6def5;
    font-size: 15px;
    line-height: 1.8;
}

.bb-hero-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: #f2eaff;
    font-size: 12px;
}

.bb-sparkle {
    color: #ffdb81;
    font-size: 19px;
}

.bb-hero-art {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 230px;
}

.bb-orbit {
    position: absolute;
    width: 225px;
    height: 225px;
    border: 1px solid #ffffff25;
    border-radius: 50%;
}

.bb-orbit-two {
    width: 175px;
    height: 265px;
    transform: rotate(48deg);
}

.bb-planet {
    z-index: 1;
    display: grid;
    place-items: center;
    width: 120px;
    height: 120px;
    border: 7px solid #ffffff25;
    border-radius: 38px;
    color: #42216e;
    background: #ffe28a;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 45px;
    font-weight: 700;
    transform: rotate(-8deg);
    box-shadow: 0 15px 45px #25133e55;
}

.bb-art-star {
    position: absolute;
    color: #ffe28a;
    font-size: 33px;
}

.bb-star-one {
    top: 25px;
    right: 35px;
}

.bb-star-two {
    bottom: 25px;
    left: 20px;
    color: #d9c4ff;
    font-size: 43px;
}

.bb-art-dot {
    position: absolute;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #ffb8d2;
}

.bb-dot-one {
    top: 45px;
    left: 30px;
}

.bb-dot-two {
    right: 20px;
    bottom: 45px;
    background: #a6f0d0;
}

.bb-activities {
    padding-top: 43px;
}

.bb-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.bb-section-heading h2 {
    margin: 8px 0 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(23px, 3vw, 30px);
    letter-spacing: -1px;
}

.bb-section-symbol {
    color: #8e7bb7;
    font-size: 30px;
}

.bb-activity-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.bb-activity {
    min-width: 0;
    padding: 22px 20px 20px;
    border: 1px solid transparent;
    border-radius: 20px;
}

.bb-learn {
    background: #e4f5ec;
    border-color: #d5eddf;
}

.bb-practise {
    background: #fff0d9;
    border-color: #f7e5c7;
}

.bb-create {
    background: #e6edff;
    border-color: #dce5ff;
}

.bb-code {
    background: #ffe6ef;
    border-color: #f8d9e5;
}

.bb-activity-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 24px;
    border-radius: 15px;
    background: #ffffffb5;
    color: #4e3981;
    font-size: 27px;
    font-weight: 700;
}

.bb-activity-label {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #756b83;
}

.bb-activity h3 {
    margin: 8px 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    letter-spacing: -0.5px;
}

.bb-activity p {
    min-height: 58px;
    margin: 0 0 19px;
    color: #61596e;
    font-size: 12px;
    line-height: 1.7;
}

.bb-coming-soon {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 13px;
    border-top: 1px solid #30224415;
    color: #66577d;
    font-size: 11px;
    font-weight: 600;
}

.bb-coming-soon span {
    font-size: 16px;
}

.bb-bottom-note {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 28px;
    padding: 17px 20px;
    border: 1px solid #ece5f8;
    border-radius: 16px;
    background: #ffffffb8;
}

.bb-note-icon {
    color: #7952c6;
    font-size: 25px;
}

.bb-bottom-note p {
    margin: 0;
    color: #766e85;
    font-size: 12px;
    line-height: 1.7;
}

.bb-bottom-note strong {
    color: #423354;
}

.bb-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 28px 32px;
    color: #8b8499;
    font-size: 10px;
}

@media (max-width: 850px) {
    .bb-hero {
        grid-template-columns: 1fr 0.65fr;
        padding: 38px 30px;
    }

    .bb-activity-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .bb-header {
        padding: 18px;
    }

    .bb-main {
        padding: 10px 18px 24px;
    }

    .bb-hero {
        grid-template-columns: 1fr;
        padding: 33px 25px 15px;
        border-radius: 22px;
    }

    .bb-hero h1 {
        font-size: 43px;
    }

    .bb-hero-art {
        min-height: 175px;
    }

    .bb-planet {
        width: 95px;
        height: 95px;
        border-radius: 30px;
        font-size: 35px;
    }

    .bb-orbit {
        width: 170px;
        height: 170px;
    }

    .bb-orbit-two {
        width: 140px;
        height: 195px;
    }

    .bb-activity-grid {
        gap: 10px;
    }

    .bb-activity {
        padding: 16px 14px;
    }

    .bb-activity h3 {
        font-size: 17px;
    }

    .bb-activity p {
        min-height: 75px;
        font-size: 11px;
    }

    .bb-footer {
        flex-direction: column;
        padding: 18px;
    }

    .bb-preview-badge {
        font-size: 8px;
        letter-spacing: 0.5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
