/* =========================================
   BERA SOFTWARE CAPABILITIES
========================================= */

.bs-capabilities {
    --cap-bg: #f3f1ea;
    --cap-card: #fffefa;
    --cap-dark: #111315;
    --cap-text: #17191b;
    --cap-muted: #6c6d69;
    --cap-gold: #f6b91b;
    --cap-border: rgba(17, 19, 21, 0.12);

    position: relative;
    z-index: 4;

    padding: 115px 0 125px;

    overflow: hidden;

    border-radius: 38px 38px 0 0;
    background: var(--cap-bg);
    color: var(--cap-text);
}

.bs-capabilities-container {
    position: relative;
    z-index: 2;

    width: min(calc(100% - 70px), 1450px);
    margin: 0 auto;
}


/* Background watermark */

.bs-capabilities-watermark {
    position: absolute;
    top: 42px;
    left: 0;

    width: max-content;

    color: transparent;

    font-size: clamp(90px, 11vw, 190px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.065em;
    white-space: nowrap;

    -webkit-text-stroke:
        1px rgba(17, 19, 21, 0.055);

    user-select: none;

    animation:
        bsWatermarkMove 24s ease-in-out infinite alternate;
}

@keyframes bsWatermarkMove {
    from {
        transform: translateX(-5%);
    }

    to {
        transform: translateX(-16%);
    }
}


/* =========================================
   SECTION HEADER
========================================= */

.bs-capabilities-header {
    position: relative;
    z-index: 2;

    margin-bottom: 65px;
}

.bs-capabilities-label {
    display: flex;
    align-items: center;
    gap: 13px;

    color: #535550;

    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.bs-capabilities-label span {
    width: 38px;
    height: 2px;

    display: block;

    background: var(--cap-gold);
}

.bs-capabilities-heading-row {
    margin-top: 23px;

    display: grid;
    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(300px, 0.55fr);
    gap: clamp(45px, 8vw, 140px);
    align-items: end;
}

.bs-capabilities-heading-row h2 {
    max-width: 870px;
    margin: 0;

    color: var(--cap-text);

    font-size: clamp(48px, 5.2vw, 82px);
    font-weight: 650;
    line-height: 0.99;
    letter-spacing: -0.055em;
}

.bs-capabilities-heading-row h2 strong {
    display: block;

    color: #98988f;

    font-weight: 650;
}

.bs-capabilities-heading-row p {
    max-width: 430px;
    margin: 0 0 7px;

    color: var(--cap-muted);

    font-size: 16px;
    line-height: 1.75;
}


/* =========================================
   CAPABILITIES GRID
========================================= */

.bs-capabilities-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.34fr)
        minmax(370px, 0.66fr);
    grid-template-rows: repeat(2, minmax(280px, auto));
    gap: 18px;
}

.bs-cap-card {
    position: relative;

    padding: 31px;

    overflow: hidden;

    border: 1px solid var(--cap-border);
    border-radius: 5px;
    background: var(--cap-card);

    transition:
        transform 0.45s cubic-bezier(.2, .75, .2, 1),
        border-color 0.35s ease,
        box-shadow 0.45s ease;
}

.bs-cap-card:hover {
    z-index: 2;

    transform: translateY(-6px);

    border-color: rgba(17, 19, 21, 0.3);

    box-shadow:
        0 28px 70px rgba(27, 28, 23, 0.12);
}

.bs-cap-card-top {
    position: relative;
    z-index: 3;

    display: flex;
    align-items: center;
    gap: 13px;
}

.bs-cap-number {
    color: var(--cap-gold);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.bs-cap-category {
    color: #555752;

    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.bs-cap-card h3 {
    margin: 0;

    color: var(--cap-text);

    font-size: clamp(25px, 2vw, 36px);
    font-weight: 650;
    line-height: 1.13;
    letter-spacing: -0.035em;
}

.bs-cap-card p {
    color: var(--cap-muted);

    font-size: 15px;
    line-height: 1.7;
}

.bs-cap-link {
    display: inline-flex;
    align-items: center;
    gap: 13px;

    color: var(--cap-text);

    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}

.bs-cap-link i {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(17, 19, 21, 0.18);
    border-radius: 50%;

    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.4s ease;
}

.bs-cap-link svg {
    width: 15px;
    height: 15px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bs-cap-link:hover i {
    transform: rotate(45deg);

    border-color: var(--cap-gold);
    background: var(--cap-gold);
    color: #111315;
}


/* =========================================
   FEATURED WEBSITE CARD
========================================= */

.bs-cap-card-featured {
    grid-row: 1 / 3;

    min-height: 640px;
    padding: 42px;

    display: grid;
    grid-template-columns: minmax(290px, 0.75fr) minmax(330px, 1.25fr);
    gap: 35px;
    align-items: stretch;

    border-color: rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(
            circle at 85% 75%,
            rgba(246, 185, 27, 0.14),
            transparent 32%
        ),
        linear-gradient(145deg, #111416, #08141a);

    color: #ffffff;
}

.bs-cap-card-featured::before {
    content: "";

    position: absolute;
    top: -160px;
    left: -160px;

    width: 330px;
    height: 330px;

    border: 1px solid rgba(246, 185, 27, 0.13);
    border-radius: 50%;
}

.bs-cap-card-featured .bs-cap-category {
    color: rgba(255, 255, 255, 0.57);
}

.bs-cap-card-content {
    position: relative;
    z-index: 3;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.bs-cap-card-featured h3 {
    margin-top: 85px;

    color: #ffffff;

    font-size: clamp(37px, 3.5vw, 58px);
    line-height: 1.01;
}

.bs-cap-card-featured h3 span {
    display: block;

    color: rgba(255, 255, 255, 0.35);
}

.bs-cap-card-featured p {
    max-width: 420px;
    margin: 25px 0 0;

    color: rgba(255, 255, 255, 0.58);
}

.bs-cap-tags {
    margin: 27px 0 0;
    padding: 0;

    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    list-style: none;
}

.bs-cap-tags li {
    padding: 8px 12px;

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 100px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 11px;
    font-weight: 500;
}

.bs-cap-link-light {
    margin-top: auto;

    color: #ffffff;
}

.bs-cap-link-light i {
    border-color: rgba(255, 255, 255, 0.24);
}


/* Browser graphic */

.bs-browser-visual {
    position: relative;

    display: flex;
    align-items: center;
}

.bs-browser-window {
    position: relative;

    width: 100%;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 9px;
    background: rgba(5, 10, 13, 0.85);

    box-shadow:
        0 35px 75px rgba(0, 0, 0, 0.4);

    transform:
        perspective(1000px)
        rotateY(-7deg)
        rotateX(2deg);

    transition:
        transform 0.65s cubic-bezier(.2, .75, .2, 1);
}

.bs-cap-card-featured:hover .bs-browser-window {
    transform:
        perspective(1000px)
        rotateY(-2deg)
        rotateX(0deg)
        translateY(-5px);
}

.bs-browser-toolbar {
    height: 39px;
    padding: 0 13px;

    display: flex;
    align-items: center;
    gap: 15px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.04);
}

.bs-browser-dots {
    display: flex;
    gap: 5px;
}

.bs-browser-dots i {
    width: 5px;
    height: 5px;

    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
}

.bs-browser-dots i:first-child {
    background: var(--cap-gold);
}

.bs-browser-address {
    width: 48%;
    height: 6px;

    border-radius: 100px;
    background: rgba(255, 255, 255, 0.09);
}

.bs-browser-page {
    min-height: 355px;
    padding: 24px;
}

.bs-browser-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bs-browser-navigation > span {
    width: 53px;
    height: 8px;

    border-radius: 20px;
    background: var(--cap-gold);
}

.bs-browser-navigation div {
    display: flex;
    gap: 9px;
}

.bs-browser-navigation i {
    width: 27px;
    height: 4px;

    background: rgba(255, 255, 255, 0.19);
}

.bs-browser-hero {
    min-height: 190px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bs-browser-hero small {
    color: var(--cap-gold);

    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.bs-browser-hero strong {
    max-width: 260px;
    margin-top: 10px;

    color: #ffffff;

    font-size: clamp(28px, 2.4vw, 42px);
    line-height: 1.03;
    letter-spacing: -0.045em;
}

.bs-browser-hero > span {
    width: 73px;
    height: 23px;
    margin-top: 20px;

    border-radius: 100px;
    background: var(--cap-gold);
}

.bs-browser-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.bs-browser-blocks i {
    height: 72px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.07),
            rgba(255, 255, 255, 0.015)
        );
}

.bs-browser-status {
    position: absolute;
    right: -14px;
    bottom: 58px;

    padding: 11px 14px;

    display: flex;
    align-items: center;
    gap: 8px;

    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(14, 18, 20, 0.92);
    color: rgba(255, 255, 255, 0.72);

    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.05em;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.32);
}

.bs-browser-status span {
    width: 7px;
    height: 7px;

    border-radius: 50%;
    background: #42d885;

    box-shadow:
        0 0 12px rgba(66, 216, 133, 0.7);
}


/* =========================================
   MARKETING CARD
========================================= */

.bs-cap-card-marketing {
    display: flex;
    flex-direction: column;
}

.bs-marketing-graphic {
    margin: 27px 0 19px;
}

.bs-chart-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bs-chart-meta span {
    color: var(--cap-muted);

    font-size: 11px;
    font-weight: 500;
}

.bs-chart-meta strong {
    color: var(--cap-text);

    font-size: 22px;
    font-weight: 650;
}

.bs-marketing-graphic svg {
    width: 100%;
    height: auto;
    margin-top: 5px;

    display: block;

    overflow: visible;
}

.bs-chart-fill {
    fill: url("#bsChartFill");
}

.bs-chart-line {
    fill: none;
    stroke: var(--cap-gold);
    stroke-width: 2.2;
    stroke-linecap: round;

    stroke-dasharray: 560;
    stroke-dashoffset: 560;

    transition:
        stroke-dashoffset 1.4s ease;
}

.bs-cap-card-marketing.is-visible .bs-chart-line,
.bs-cap-card-marketing:hover .bs-chart-line {
    stroke-dashoffset: 0;
}

.bs-marketing-graphic circle {
    fill: var(--cap-card);
    stroke: var(--cap-gold);
    stroke-width: 2;
}

.bs-cap-bottom {
    margin-top: auto;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 15px;
}

.bs-cap-mini-list {
    margin: 22px 0 0;
    padding: 0;

    color: var(--cap-muted);

    font-size: 12px;
    line-height: 1.9;

    list-style: none;
}

.bs-cap-mini-list li::before {
    content: "";

    width: 5px;
    height: 5px;
    margin-right: 8px;

    display: inline-block;

    border-radius: 50%;
    background: var(--cap-gold);
}


/* =========================================
   CONSULTATION CARD
========================================= */

.bs-cap-card-consultation {
    display: flex;
    flex-direction: column;
}

.bs-consultation-layout {
    flex: 1;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 15px;
    align-items: center;
}

.bs-consultation-content h3 {
    margin-top: 23px;

    font-size: clamp(24px, 1.7vw, 31px);
}

.bs-consultation-content p {
    margin: 15px 0 0;

    font-size: 13px;
}

.bs-strategy-graphic {
    position: relative;

    width: 180px;
    height: 140px;
}

.bs-strategy-graphic svg {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
}

.bs-strategy-graphic path {
    fill: none;
    stroke: rgba(17, 19, 21, 0.18);
    stroke-width: 1;
    stroke-dasharray: 5 6;

    animation:
        bsStrategyLine 9s linear infinite;
}

@keyframes bsStrategyLine {
    to {
        stroke-dashoffset: -50;
    }
}

.bs-strategy-center,
.bs-strategy-node {
    position: absolute;
    z-index: 2;

    display: block;

    border-radius: 50%;
    background: var(--cap-card);
}

.bs-strategy-center {
    top: 47px;
    left: 67px;

    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    border: 1px solid var(--cap-gold);

    box-shadow:
        0 0 0 8px rgba(246, 185, 27, 0.08);
}

.bs-strategy-center i {
    width: 8px;
    height: 8px;

    border-radius: 50%;
    background: var(--cap-gold);
}

.bs-strategy-node {
    width: 15px;
    height: 15px;

    border: 2px solid #1b1d1f;

    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}

.bs-node-one {
    top: 17px;
    left: 23px;
}

.bs-node-two {
    top: 23px;
    right: 19px;
}

.bs-node-three {
    right: 28px;
    bottom: 14px;
}

.bs-cap-card-consultation:hover .bs-strategy-node {
    transform: scale(1.2);
    background: var(--cap-gold);
}


/* =========================================
   REVEAL ANIMATION
========================================= */

.bs-capabilities.bs-cap-ready .bs-capabilities-header,
.bs-capabilities.bs-cap-ready .bs-cap-card {
    opacity: 0;
    transform: translateY(28px);
}

.bs-capabilities.bs-cap-ready
.bs-capabilities-header.is-visible,
.bs-capabilities.bs-cap-ready
.bs-cap-card.is-visible {
    opacity: 1;
    transform: translateY(0);

    transition:
        opacity 0.75s ease,
        transform 0.75s cubic-bezier(.2, .75, .2, 1);
}

.bs-capabilities.bs-cap-ready
.bs-cap-card:nth-child(2) {
    transition-delay: 0.09s;
}

.bs-capabilities.bs-cap-ready
.bs-cap-card:nth-child(3) {
    transition-delay: 0.17s;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {
    .bs-capabilities-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }

    .bs-cap-card-featured {
        grid-column: 1 / -1;
        grid-row: auto;

        min-height: 570px;
    }

    .bs-consultation-layout {
        grid-template-columns: 1fr;
    }

    .bs-strategy-graphic {
        display: none;
    }
}

@media (max-width: 767px) {
    .bs-capabilities {
        padding: 78px 0 80px;

        border-radius: 24px 24px 0 0;
    }

    .bs-capabilities-container {
        width: calc(100% - 30px);
    }

    .bs-capabilities-watermark {
        top: 30px;

        font-size: 78px;
    }

    .bs-capabilities-header {
        margin-bottom: 42px;
    }

    .bs-capabilities-label {
        font-size: 11px;
    }

    .bs-capabilities-heading-row {
        margin-top: 19px;

        grid-template-columns: 1fr;
        gap: 22px;
    }

    .bs-capabilities-heading-row h2 {
        font-size: clamp(41px, 12vw, 58px);
        line-height: 1.02;
    }

    .bs-capabilities-heading-row p {
        font-size: 16px;
        line-height: 1.7;
    }

    .bs-capabilities-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 14px;
    }

    .bs-cap-card {
        padding: 25px;

        border-radius: 4px;
    }

    .bs-cap-card-featured {
        grid-column: auto;

        min-height: auto;
        padding: 29px;

        grid-template-columns: 1fr;
        gap: 38px;
    }

    .bs-cap-card-featured h3 {
        margin-top: 53px;

        font-size: clamp(38px, 11vw, 52px);
    }

    .bs-cap-card-featured p {
        font-size: 15px;
    }

    .bs-cap-link-light {
        margin-top: 40px;
    }

    .bs-browser-window {
        transform: none;
    }

    .bs-cap-card-featured:hover .bs-browser-window {
        transform: translateY(-4px);
    }

    .bs-browser-page {
        min-height: 290px;
        padding: 19px;
    }

    .bs-browser-hero {
        min-height: 150px;
    }

    .bs-browser-blocks i {
        height: 54px;
    }

    .bs-browser-status {
        right: -5px;
        bottom: 35px;
    }

    .bs-cap-card-marketing,
    .bs-cap-card-consultation {
        min-height: 330px;
    }

    .bs-consultation-layout {
        grid-template-columns: minmax(0, 1fr) 125px;
    }

    .bs-strategy-graphic {
        display: block;

        width: 125px;
        height: 105px;

        transform: scale(0.75);
        transform-origin: right center;
    }
}

@media (max-width: 430px) {
    .bs-capabilities-heading-row h2 {
        font-size: 40px;
    }

    .bs-cap-card-featured {
        padding: 24px;
    }

    .bs-cap-card-featured h3 {
        font-size: 39px;
    }

    .bs-consultation-layout {
        grid-template-columns: 1fr;
    }

    .bs-strategy-graphic {
        display: none;
    }
}


/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
    .bs-capabilities-watermark,
    .bs-strategy-graphic path {
        animation: none;
    }

    .bs-capabilities.bs-cap-ready
    .bs-capabilities-header,
    .bs-capabilities.bs-cap-ready
    .bs-cap-card {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .bs-chart-line {
        stroke-dashoffset: 0;
    }
}

/* =========================================
   ANIMATED WEBSITE EXPERIENCE REEL
========================================= */

.bs-browser-reel {
    overflow: hidden;

    background: #070b0e;

    box-shadow:
        0 35px 80px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(255, 255, 255, 0.04);
}


/* Browser toolbar */

.bs-browser-reel .bs-browser-toolbar {
    position: relative;
    z-index: 10;

    height: 42px;
    padding: 0 14px;

    background: #101518;
}

.bs-browser-reel .bs-browser-address {
    width: min(55%, 245px);
    height: 23px;
    padding: 0 12px;

    display: flex;
    align-items: center;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.045);
}

.bs-browser-address span {
    overflow: hidden;

    color: rgba(255, 255, 255, 0.4);

    font-size: 8px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-overflow: ellipsis;
    white-space: nowrap;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.bs-browser-address span.is-changing {
    opacity: 0;
    transform: translateY(4px);
}

.bs-browser-secure {
    margin-left: auto;

    display: inline-flex;
    align-items: center;
    gap: 5px;

    color: rgba(255, 255, 255, 0.42);

    font-size: 7px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bs-browser-secure i {
    width: 5px;
    height: 5px;

    border-radius: 50%;
    background: #4ed78a;

    box-shadow:
        0 0 9px rgba(78, 215, 138, 0.7);
}


/* Reel stage */

.bs-reel-stage {
    position: relative;

    min-height: 355px;

    overflow: hidden;

    background: #090d10;

    transition:
        background-color 0.6s ease;
}

.bs-reel-scene {
    position: absolute;
    inset: 0;

    padding: 25px;

    opacity: 0;
    visibility: hidden;

    transform:
        translateX(30px)
        scale(0.985);

    transition:
        opacity 0.65s ease,
        visibility 0.65s ease,
        transform 0.75s cubic-bezier(.2, .75, .2, 1);
}

.bs-reel-scene.is-active {
    opacity: 1;
    visibility: visible;

    transform:
        translateX(0)
        scale(1);
}


/* =========================================
   BUSINESS WEBSITE SCENE
========================================= */

.bs-scene-business {
    background:
        radial-gradient(
            circle at 78% 43%,
            rgba(34, 165, 213, 0.25),
            transparent 28%
        ),
        linear-gradient(135deg, #080d11, #0a1e28);
}

.bs-demo-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bs-demo-nav strong {
    color: #ffffff;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.bs-demo-nav strong::first-letter {
    color: #f6b91b;
}

.bs-demo-nav div {
    display: flex;
    gap: 8px;
}

.bs-demo-nav span {
    width: 25px;
    height: 3px;

    display: block;

    border-radius: 10px;
    background: rgba(255, 255, 255, 0.24);
}

.bs-business-content {
    min-height: 208px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 145px;
    align-items: center;
    gap: 15px;
}

.bs-business-copy small,
.bs-responsive-copy small {
    color: #f6b91b;

    font-size: 8px;
    font-weight: 650;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.bs-business-copy h4,
.bs-responsive-copy h4 {
    max-width: 250px;
    margin: 10px 0 0;

    color: #ffffff;

    font-size: clamp(25px, 2.5vw, 38px);
    font-weight: 650;
    line-height: 1.03;
    letter-spacing: -0.045em;
}

.bs-business-copy h4 em,
.bs-responsive-copy h4 em {
    display: block;

    color: #f6b91b;

    font-style: normal;
}

.bs-demo-button {
    width: max-content;
    margin-top: 18px;
    padding: 8px 13px;

    display: block;

    border-radius: 100px;
    background: #f6b91b;
    color: #101214;

    font-size: 8px;
    font-weight: 700;
}

.bs-business-orbit {
    position: relative;

    width: 130px;
    height: 130px;

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;

    animation:
        bsDemoOrbit 12s linear infinite;
}

.bs-business-orbit::before {
    content: "";

    position: absolute;
    inset: 21px;

    border: 1px dashed rgba(246, 185, 27, 0.3);
    border-radius: 50%;
}

.bs-orbit-core {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 34px;
    height: 34px;

    border-radius: 50%;
    background: #f6b91b;

    box-shadow:
        0 0 35px rgba(246, 185, 27, 0.4);

    transform: translate(-50%, -50%);
}

.bs-business-orbit i {
    position: absolute;

    width: 10px;
    height: 10px;

    border: 2px solid #48c9f1;
    border-radius: 50%;
    background: #0a1e28;
}

.bs-business-orbit i:nth-child(2) {
    top: 12px;
    left: 27px;
}

.bs-business-orbit i:nth-child(3) {
    top: 51px;
    right: -5px;
}

.bs-business-orbit i:nth-child(4) {
    bottom: 5px;
    left: 34px;
}

@keyframes bsDemoOrbit {
    to {
        transform: rotate(360deg);
    }
}

.bs-business-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.bs-business-stats div {
    padding: 12px 9px 0;

    display: flex;
    flex-direction: column;

    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.bs-business-stats div:first-child {
    padding-left: 0;
}

.bs-business-stats div:last-child {
    border-right: 0;
}

.bs-business-stats strong {
    color: #ffffff;

    font-size: 13px;
    font-weight: 650;
}

.bs-business-stats span {
    margin-top: 2px;

    color: rgba(255, 255, 255, 0.38);

    font-size: 7px;
    text-transform: uppercase;
}


/* =========================================
   ECOMMERCE SCENE
========================================= */

.bs-scene-store {
    background:
        radial-gradient(
            circle at 75% 12%,
            rgba(141, 74, 255, 0.19),
            transparent 28%
        ),
        #f7f2ea;
}

.bs-store-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bs-store-header > strong {
    color: #15131a;

    font-size: 11px;
    letter-spacing: 0.11em;
}

.bs-store-header > div {
    display: flex;
    align-items: center;
    gap: 13px;

    color: #69636c;

    font-size: 8px;
    font-weight: 600;
}

.bs-store-header i {
    width: 20px;
    height: 20px;

    display: grid;
    place-items: center;

    border-radius: 50%;
    background: #17141c;
    color: #ffffff;

    font-style: normal;
}

.bs-product-grid {
    margin-top: 24px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.bs-product-card {
    padding: 9px;

    border: 1px solid rgba(20, 17, 25, 0.09);
    background: rgba(255, 255, 255, 0.76);

    box-shadow:
        0 12px 28px rgba(32, 20, 44, 0.07);
}

.bs-product-art {
    position: relative;

    height: 105px;

    display: block;

    overflow: hidden;
}

.bs-product-art::before {
    content: "";

    position: absolute;
    top: 18px;
    left: 50%;

    width: 53px;
    height: 65px;

    border-radius: 26px 26px 12px 12px;
    background: rgba(255, 255, 255, 0.75);

    box-shadow:
        0 17px 35px rgba(0, 0, 0, 0.12);

    transform:
        translateX(-50%)
        rotate(-5deg);
}

.bs-product-purple .bs-product-art {
    background:
        linear-gradient(145deg, #9a65ff, #4e247d);
}

.bs-product-orange .bs-product-art {
    background:
        linear-gradient(145deg, #ffab57, #e55239);
}

.bs-product-blue .bs-product-art {
    background:
        linear-gradient(145deg, #58d5e9, #1557a4);
}

.bs-product-card div {
    padding: 9px 2px 3px;

    display: flex;
    flex-direction: column;
}

.bs-product-card small {
    color: #979099;

    font-size: 6px;
    text-transform: uppercase;
}

.bs-product-card strong {
    margin-top: 3px;

    color: #1a171d;

    font-size: 9px;
}

.bs-product-card em {
    margin-top: 4px;

    color: #7c41df;

    font-size: 8px;
    font-style: normal;
    font-weight: 650;
}

.bs-cart-notification {
    position: absolute;
    right: 18px;
    bottom: 17px;

    padding: 9px 12px;

    display: flex;
    align-items: center;
    gap: 8px;

    border-radius: 4px;
    background: #151219;
    color: #ffffff;

    font-size: 7px;

    box-shadow:
        0 14px 30px rgba(22, 15, 28, 0.25);
}

.bs-cart-notification > i {
    width: 18px;
    height: 18px;

    display: grid;
    place-items: center;

    border-radius: 50%;
    background: #52d68a;
    color: #101612;

    font-style: normal;
}

.bs-cart-notification span {
    display: flex;
    flex-direction: column;

    color: rgba(255, 255, 255, 0.54);
}

.bs-cart-notification strong {
    color: #ffffff;

    font-size: 8px;
}


/* =========================================
   LANDING PAGE SCENE
========================================= */

.bs-scene-landing {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 23px;
    align-items: center;

    background:
        radial-gradient(
            circle at 22% 78%,
            rgba(46, 209, 224, 0.2),
            transparent 32%
        ),
        linear-gradient(135deg, #07131c, #082634);
}

.bs-landing-badge {
    width: max-content;
    padding: 5px 8px;

    display: block;

    border: 1px solid rgba(73, 211, 231, 0.35);
    border-radius: 100px;

    color: #55d7e8;

    font-size: 6px;
    font-weight: 650;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.bs-landing-copy h4 {
    max-width: 245px;
    margin: 12px 0 0;

    color: #ffffff;

    font-size: clamp(25px, 2.35vw, 36px);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.bs-landing-copy h4 em {
    display: block;

    color: #55d7e8;

    font-style: normal;
}

.bs-landing-copy p {
    max-width: 225px;
    margin: 11px 0 0;

    color: rgba(255, 255, 255, 0.49);

    font-size: 8px;
    line-height: 1.65;
}

.bs-conversion-rate {
    margin-top: 21px;

    display: flex;
    align-items: center;
    gap: 9px;
}

.bs-conversion-rate strong {
    color: #ffffff;

    font-size: 20px;
}

.bs-conversion-rate span {
    color: rgba(255, 255, 255, 0.44);

    font-size: 7px;
}

.bs-demo-form {
    position: relative;

    padding: 17px;

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.075);

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.2);
}

.bs-demo-form > span {
    color: #ffffff;

    font-size: 10px;
    font-weight: 650;
}

.bs-demo-form label {
    height: 34px;
    margin-top: 8px;
    padding: 7px 9px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.14);
}

.bs-demo-form label small {
    color: rgba(255, 255, 255, 0.37);

    font-size: 6px;
}

.bs-demo-form label i {
    width: 55%;
    height: 3px;
    margin-top: 4px;

    background: rgba(255, 255, 255, 0.12);
}

.bs-demo-form button {
    width: 100%;
    height: 30px;
    margin-top: 9px;

    border: 0;
    border-radius: 2px;
    background: #55d7e8;
    color: #07131c;

    font-family: inherit;
    font-size: 7px;
    font-weight: 700;
}

.bs-lead-success {
    position: absolute;
    right: -14px;
    bottom: -14px;

    padding: 8px 10px;

    display: flex;
    align-items: center;
    gap: 6px;

    border-radius: 3px;
    background: #ffffff;
    color: #132025;

    font-size: 7px;
    font-weight: 650;

    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.25);
}

.bs-lead-success i {
    width: 15px;
    height: 15px;

    display: grid;
    place-items: center;

    border-radius: 50%;
    background: #43d68a;

    font-style: normal;
}


/* =========================================
   RESPONSIVE WEBSITE SCENE
========================================= */

.bs-scene-responsive {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 20px;
    align-items: center;

    background:
        radial-gradient(
            circle at 76% 45%,
            rgba(67, 216, 145, 0.18),
            transparent 32%
        ),
        linear-gradient(135deg, #081313, #092226);
}

.bs-responsive-copy p {
    max-width: 205px;
    margin: 12px 0 0;

    color: rgba(255, 255, 255, 0.48);

    font-size: 8px;
    line-height: 1.65;
}

.bs-responsive-copy h4 em {
    color: #49db97;
}

.bs-performance-score {
    margin-top: 20px;

    display: flex;
    align-items: center;
    gap: 10px;
}

.bs-performance-score > strong {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    border: 2px solid #49db97;
    border-radius: 50%;
    color: #ffffff;

    font-size: 14px;
}

.bs-performance-score > span {
    display: flex;
    flex-direction: column;

    color: rgba(255, 255, 255, 0.58);

    font-size: 7px;
}

.bs-performance-score i {
    width: 65px;
    height: 3px;
    margin-top: 5px;

    display: block;

    background:
        linear-gradient(
            90deg,
            #49db97 0 88%,
            rgba(255, 255, 255, 0.12) 88%
        );
}

.bs-device-showcase {
    position: relative;

    min-height: 235px;
}

.bs-demo-desktop {
    position: absolute;
    top: 20px;
    left: 0;

    width: 88%;
    padding: 7px 7px 15px;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 5px;
    background: #111719;

    box-shadow:
        0 25px 45px rgba(0, 0, 0, 0.35);

    transform:
        perspective(700px)
        rotateY(-7deg);
}

.bs-demo-desktop > div {
    min-height: 150px;
    padding: 15px;

    background:
        linear-gradient(145deg, #f4f3ed, #dcebe8);
}

.bs-demo-desktop span,
.bs-demo-phone > span {
    width: 40%;
    height: 5px;

    display: block;

    background: #132326;
}

.bs-demo-desktop strong,
.bs-demo-phone > strong {
    width: 70%;
    height: 36px;
    margin-top: 20px;

    display: block;

    background:
        linear-gradient(90deg, #102b31 70%, #49db97 70%);
}

.bs-demo-desktop section {
    margin-top: 20px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}

.bs-demo-desktop section i {
    height: 37px;

    background: rgba(12, 40, 44, 0.13);
}

.bs-demo-phone {
    position: absolute;
    right: 2px;
    bottom: 0;

    width: 82px;
    min-height: 170px;
    padding: 14px 10px;

    border: 3px solid #151a1b;
    border-radius: 13px;
    background: #f4f3ed;

    box-shadow:
         0 22px 40px rgba(0, 0, 0, 0.35);

    animation:
        bsPhoneFloat 3.2s ease-in-out infinite;
}

.bs-demo-phone > strong {
    width: 85%;
    height: 30px;
    margin-top: 15px;
}

.bs-demo-phone div {
    margin-top: 15px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}

.bs-demo-phone i {
    height: 45px;

    background: rgba(12, 40, 44, 0.14);
}

@keyframes bsPhoneFloat {
    50% {
        transform: translateY(-7px);
    }
}


/* =========================================
   REEL FOOTER AND PROGRESS
========================================= */

.bs-reel-footer {
    min-height: 54px;
    padding: 0 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #101518;
}

.bs-reel-caption {
    display: flex;
    flex-direction: column;
}

.bs-reel-caption small {
    color: rgba(255, 255, 255, 0.34);

    font-size: 6px;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.bs-reel-caption strong {
    margin-top: 2px;

    color: #ffffff;

    font-size: 9px;
    font-weight: 600;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.bs-reel-caption strong.is-changing {
    opacity: 0;
    transform: translateY(4px);
}

.bs-reel-dots {
    display: flex;
    gap: 6px;
}

.bs-reel-dots button {
    width: 18px;
    height: 3px;
    padding: 0;

    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.18);

    cursor: pointer;

    transition:
        width 0.3s ease,
        background-color 0.3s ease;
}

.bs-reel-dots button.is-active {
    width: 28px;

    background: #f6b91b;
}

.bs-reel-dots button:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 4px;
}

.bs-reel-progress {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;

    z-index: 10;

    height: 2px;

    overflow: hidden;

    background: rgba(255, 255, 255, 0.06);
}

.bs-reel-progress span {
    width: 100%;
    height: 100%;

    display: block;

    background:
        linear-gradient(
            90deg,
            #f6b91b,
            #55d7e8
        );

    transform: scaleX(0);
    transform-origin: left;
}

.bs-browser-reel.is-running
.bs-reel-progress span {
    animation:
        bsReelProgress 4.2s linear forwards;
}

@keyframes bsReelProgress {
    to {
        transform: scaleX(1);
    }
}


/* Scene element animations */

.bs-reel-scene.is-active
.bs-product-card,
.bs-reel-scene.is-active
.bs-business-stats div {
    animation:
        bsDemoItemReveal 0.65s both;
}

.bs-reel-scene.is-active
.bs-product-card:nth-child(2),
.bs-reel-scene.is-active
.bs-business-stats div:nth-child(2) {
    animation-delay: 0.1s;
}

.bs-reel-scene.is-active
.bs-product-card:nth-child(3),
.bs-reel-scene.is-active
.bs-business-stats div:nth-child(3) {
    animation-delay: 0.2s;
}

.bs-reel-scene.is-active
.bs-cart-notification,
.bs-reel-scene.is-active
.bs-lead-success {
    animation:
        bsDemoNotice 0.55s 1.2s both;
}

@keyframes bsDemoItemReveal {
    from {
        opacity: 0;
        transform: translateY(13px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bsDemoNotice {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.94);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* =========================================
   MOBILE REEL
========================================= */

@media (max-width: 767px) {
    .bs-reel-stage {
        min-height: 320px;
    }

    .bs-reel-scene {
        padding: 20px;
    }

    .bs-business-content {
        grid-template-columns: minmax(0, 1fr) 105px;
    }

    .bs-business-orbit {
        width: 100px;
        height: 100px;
    }

    .bs-business-copy h4,
    .bs-responsive-copy h4,
    .bs-landing-copy h4 {
        font-size: 27px;
    }

    .bs-product-grid {
        gap: 6px;
    }

    .bs-product-card {
        padding: 6px;
    }

    .bs-product-art {
        height: 90px;
    }

    .bs-scene-landing {
        grid-template-columns: 1fr 0.9fr;
        gap: 12px;
    }

    .bs-demo-form {
        padding: 12px;
    }

    .bs-scene-responsive {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .bs-device-showcase {
        min-height: 205px;

        transform: scale(0.88);
        transform-origin: center right;
    }

    .bs-browser-status {
        right: -4px;
        bottom: 42px;
    }
}

@media (max-width: 430px) {
    .bs-reel-stage {
        min-height: 300px;
    }

    .bs-business-orbit {
        opacity: 0.6;
        transform: scale(0.78);
        transform-origin: right center;
    }

    .bs-business-copy h4,
    .bs-responsive-copy h4,
    .bs-landing-copy h4 {
        font-size: 23px;
    }

    .bs-product-card div strong {
        font-size: 7px;
    }

    .bs-product-card div em {
        font-size: 7px;
    }

    .bs-scene-landing {
        grid-template-columns: 1fr 0.9fr;
    }

    .bs-landing-copy p,
    .bs-responsive-copy p {
        display: none;
    }

    .bs-demo-form label {
        height: 31px;
    }

    .bs-device-showcase {
        transform: scale(0.76);
        transform-origin: right center;
    }

    .bs-browser-status {
        display: none;
    }
}


/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
    .bs-business-orbit,
    .bs-demo-phone,
    .bs-reel-progress span,
    .bs-product-card,
    .bs-business-stats div,
    .bs-cart-notification,
    .bs-lead-success {
        animation: none !important;
    }
}