/* DrLaBike Case Study — all rules are scoped to .dlb or to a section class (no global selectors) */

/* ===== Page wrapper + tokens ===== */
.dlb {
    --dlb-bg: #030812;
    --dlb-card: #081a36;
    --dlb-blue: #0B77C3;
    --dlb-blue2: #1b95e8;
    --dlb-cyan: #38d0ff;
    --dlb-line: rgba(11, 119, 195, .35);
    --dlb-txt: #c3cfdf;
    background: radial-gradient(1000px 500px at 80% -5%, rgba(11, 119, 195, .28), transparent), var(--dlb-bg);
    color: var(--dlb-txt);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden
}

.dlb section {
    padding: 30px 0
}

.dlb img {
    max-width: 100%;
    height: auto
}

.dlb h1,
.dlb h2,
.dlb h3 {
    color: #fff;
    line-height: 1.2
}

.dlb h1 {
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0
}

.dlb h2 {
    font-size: clamp(26px, 3.4vw, 38px);
    font-weight: 700;
    margin: 0 0 12px
}

.dlb h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px
}

.dlb p {
    margin: 0
}

.dlb em {
    font-style: normal;
    color: var(--dlb-blue2)
}

.dlb .dlb-eyebrow {
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--dlb-cyan);
    font-weight: 600;
    margin-bottom: 10px
}

.dlb .dlb-lead {
    max-width: 860px;
    margin-bottom: 32px
}

.dlb .dlb-gap {
    margin-bottom: 26px
}

/* ===== Shared components ===== */
.dlb .dlb-card {
    background: linear-gradient(160deg, rgba(11, 119, 195, .14), var(--dlb-card) 55%);
    border: 1px solid var(--dlb-line);
    border-radius: 14px;
    padding: 24px;
    transition: .25s
}

.dlb .dlb-card:hover {
    border-color: var(--dlb-cyan);
    box-shadow: 0 0 28px rgba(11, 119, 195, .35);
    transform: translateY(-3px)
}

.dlb .dlb-btn {
    display: inline-block;
    padding: 13px 26px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    background: var(--dlb-blue);
    border: 1px solid var(--dlb-blue);
    transition: .25s
}

.dlb .dlb-btn:hover {
    color: #fff;
    text-decoration: none;
    background: var(--dlb-blue2);
    box-shadow: 0 0 24px rgba(27, 149, 232, .6)
}

.dlb .dlb-btn-ghost {
    background: transparent;
    border-color: var(--dlb-blue2)
}

.dlb .dlb-btn-dark,
.dlb .dlb-btn-dark:hover {
    background: #030812;
    border-color: #030812
}

.dlb .dlb-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0
}

.dlb .dlb-tags span {
    font-size: 13px;
    padding: 6px 14px;
    border: 1px solid var(--dlb-line);
    border-radius: 999px;
    background: rgba(11, 119, 195, .12);
    color: #e6f1fb
}

.dlb .dlb-num {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--dlb-blue);
    color: #fff;
    font-weight: 700;
    margin-bottom: 10px;
    box-shadow: 0 0 14px var(--dlb-blue2)
}

.dlb .dlb-kpi {
    background: rgba(3, 8, 18, .45);
    border: 1px solid rgba(56, 208, 255, .35);
    border-radius: 12px;
    padding: 16px
}

.dlb .dlb-kpi strong {
    display: block;
    font-size: 40px;
    color: #fff;
    line-height: 1.1
}

.dlb .dlb-kpi span {
    display: block;
    font-size: 13px;
    color: #dcecfa
}

/* Three-phone image group (hero + outcome): large, bottom-aligned, bleeding off the bottom edge */
.dlb .dlb-trio {
    position: relative;
    width: 100%;
    aspect-ratio: 627/543
}

.dlb .dlb-trio img {
    position: absolute;
    bottom: 0;
    width: auto;
    max-width: none;
    object-fit: contain;
    transform-origin: 50% 100%;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .55))
}

.dlb .dlb-trio .dlb-c {
    left: 52%;
    height: 91%;
    transform: translateX(-50%);
    z-index: 3
}

.dlb .dlb-trio .dlb-l {
    left: 28%;
    height: 74%;
    transform: translateX(-50%) rotate(-10deg);
    z-index: 2
}

.dlb .dlb-trio .dlb-r {
    left: 72%;
    height: 70%;
    transform: translateX(-50%) rotate(10deg);
    z-index: 2
}

/* ===== Hero ===== */
.dlb .dlb-hero {
    padding: 60px 0 30px;
}

.dlb .dlb-hero .dlb-hero-text {
    margin: 20px 0;
}

.dlb .dlb-hero .dlb-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.dlb .dlb-hero .dlb-stage {
    position: relative;
    border-radius: 24px;
    background: radial-gradient(ellipse at 50% 18%, #0d427d 0%, #061e42 50%, #030a17 95%);
    border: 1.5px solid rgba(11, 119, 195, 0.45);
    overflow: hidden;
    max-width: 480px;
    margin: 0 auto;
    aspect-ratio: 480 / 500;
    min-height: 490px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.dlb .dlb-hero .dlb-stat {
    position: absolute;
    z-index: 10;
    background: rgba(4, 18, 44, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(27, 149, 232, 0.65);
    border-radius: 14px;
    padding: 9px 16px;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.dlb .dlb-hero .dlb-stat strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.dlb .dlb-hero .dlb-stat span {
    display: block;
    font-size: 12px;
    color: #c0d5ed;
    white-space: nowrap;
    margin-top: 3px;
    font-weight: 500;
}

.dlb .dlb-hero .dlb-stat-tl {
    left: 14px;
    top: 14px;
}

.dlb .dlb-hero .dlb-stat-tr {
    right: 14px;
    top: 14px;
}

.dlb .dlb-hero .dlb-trio {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
}

.dlb .dlb-hero .dlb-trio img {
    position: absolute;
    width: auto;
    max-width: none;
    object-fit: contain;
}

/* Center Phone — prominent foreground, upright */
.dlb .dlb-hero .dlb-trio .dlb-c {
    left: 50%;
    bottom: -6%;
    height: 112%;
    transform: translateX(-50%);
    z-index: 5;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.85));
}

/* Left Phone — angled back on left, fully visible inside container */
.dlb .dlb-hero .dlb-trio .dlb-l {
    left: 33%;
    bottom: -7%;
    height: 102%;
    transform: translateX(-50%) rotate(-8deg);
    z-index: 4;
    filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.75));
}

/* Right Phone — angled back on right, fully visible inside container */
.dlb .dlb-hero .dlb-trio .dlb-r {
    left: 67%;
    bottom: -7%;
    height: 102%;
    transform: translateX(-50%) rotate(8deg);
    z-index: 4;
    filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.75));
}

/* Floating CTA button */
.dlb .dlb-hero .dlb-stage-cta {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0284c7 0%, #0284c7 20%, #0099ff 60%, #00b0ff 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(0, 153, 255, 0.5), 0 2px 6px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.dlb .dlb-hero .dlb-stage-cta:hover {
    color: #ffffff;
    text-decoration: none;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 176, 255, 0.75), 0 4px 10px rgba(0, 0, 0, 0.45);
    background: linear-gradient(90deg, #0ea5e9 0%, #38bdf8 100%);
}

@media (max-width: 991px) {
    .dlb .dlb-hero .dlb-stage {
        max-width: 440px;
        margin: 30px auto 0;
        min-height: 440px;
    }

    .dlb .dlb-hero .dlb-stat {
        padding: 8px 14px;
    }

    .dlb .dlb-hero .dlb-stat strong {
        font-size: 24px;
    }

    .dlb .dlb-hero .dlb-stat span {
        font-size: 11px;
    }

    .dlb .dlb-hero .dlb-stage-cta {
        font-size: 14px;
        padding: 11px 24px;
        bottom: 18px;
    }
}

@media (max-width: 575px) {
    .dlb .dlb-hero .dlb-stage {
        max-width: 100%;
        min-height: 380px;
        border-radius: 18px;
    }

    .dlb .dlb-hero .dlb-stat-tl {
        left: 10px;
        top: 10px;
    }

    .dlb .dlb-hero .dlb-stat-tr {
        right: 10px;
        top: 10px;
    }

    .dlb .dlb-hero .dlb-stage-cta {
        font-size: 13px;
        padding: 10px 20px;
        bottom: 14px;
    }
}

/* ===== Project snapshot ===== */
.dlb .dlb-snap {
    padding-top: 0
}

.dlb .dlb-snap .dlb-card {
    padding: 16px
}

.dlb .dlb-snap .dlb-snap-label {
    display: block;
    font-size: 11px;
    letter-spacing: .14em;
    color: var(--dlb-cyan);
    margin-bottom: 6px
}

.dlb .dlb-snap strong {
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
    display: block
}

/* ===== Client overview ===== */
.dlb .dlb-overview .dlb-logobox {
    background: #fff;
    border-radius: 20px;
    aspect-ratio: 1/1;
    max-width: 340px;
    box-shadow: 0 0 50px rgba(11, 119, 195, .4);
    overflow: hidden
}

.dlb .dlb-overview .dlb-logobox img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    border-radius: 20px;
    display: block
}

/* ===== Project scope ===== */
.dlb .dlb-scope .dlb-dash {
    background: var(--dlb-card);
    border: 1px solid var(--dlb-line);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(11, 119, 195, .3)
}

.dlb .dlb-scope .dlb-dash img {
    display: block;
    width: 100%;
    height: auto
}

/* ===== Challenges ===== */
.dlb .dlb-challenges .dlb-ch {
    position: relative
}

.dlb .dlb-challenges .dlb-ch-no {
    position: absolute;
    right: 18px;
    top: 10px;
    font-size: 44px;
    font-weight: 800;
    color: rgba(56, 208, 255, .14)
}

/* ===== Impact ===== */
.dlb .dlb-impact .dlb-impact-box {
    background: linear-gradient(120deg, #0B77C3, #0a3f78 60%, #061a3a);
    border-radius: 22px;
    padding: 40px;
    border: 1px solid rgba(56, 208, 255, .4)
}

.dlb .dlb-impact .dlb-lead {
    color: #eaf5ff
}

/* ===== Solution ===== */
.dlb .dlb-solution .dlb-sol {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 24px
}

.dlb .dlb-solution .dlb-rev {
    flex-direction: row-reverse
}

.dlb .dlb-solution .dlb-sol-img {
    flex: 0 0 240px;
    width: 240px;
    max-width: 44%;
    object-fit: contain
}

/* ===== Features ===== */
.dlb .dlb-features .dlb-feat-no {
    display: block;
    color: var(--dlb-cyan);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .1em
}

/* ===== Process ===== */
.dlb .dlb-process .dlb-num {
    width: 40px;
    height: 40px
}

/* ===== Technology stack ===== */
.dlb .dlb-tech .dlb-card {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 18px
}

.dlb .dlb-tech .dlb-logos {
    flex: none;
    display: flex;
    gap: 8px
}

.dlb .dlb-tech .dlb-logos img {
    width: 40px;
    height: 40px;
    object-fit: contain
}

.dlb .dlb-tech .dlb-tech-label {
    display: block;
    font-size: 12px;
    color: var(--dlb-cyan)
}

.dlb .dlb-tech strong {
    color: #fff
}

/* ===== Outcome ===== */
.dlb .dlb-outcome .dlb-outcome-box {
    background: linear-gradient(120deg, #0B77C3, #093a70 55%, #04101f);
    border-radius: 22px;
    border: 1px solid rgba(56, 208, 255, .4);

    overflow: hidden
}

.dlb .dlb-outcome .dlb-outcome-stats {
    margin-top: 24px;
    justify-content: flex-start
}

.dlb .dlb-outcome .dlb-outcome-stats {
    display: flex;
    gap: 14px;
    flex-wrap: wrap
}

.dlb .dlb-outcome .dlb-kpi {
    background: rgba(3, 8, 18, .5);
    border: 1px solid rgba(56, 208, 255, .4);
    border-radius: 14px;
    padding: 18px 26px
}

/* ===== Closing CTA ===== */
.dlb .dlb-cta {
    padding-bottom: 30px
}

.dlb .dlb-cta .dlb-cta-box {
    background: linear-gradient(100deg, #0B77C3, #1b95e8);
    border-radius: 22px;
    padding: 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap
}

.dlb .dlb-cta .dlb-cta-text {
    max-width: 640px
}

.dlb .dlb-cta p {
    color: #eaf5ff
}

/* ===== Responsive ===== */
@media(max-width:991.98px) {}

@media(max-width:767.98px) {
    .dlb .dlb-overview .dlb-logobox {
        max-width: 280px
    }

    .dlb .dlb-impact .dlb-impact-box,
    .dlb .dlb-cta .dlb-cta-box {
        padding: 28px
    }

    .dlb .dlb-outcome .dlb-outcome-box {
        padding: 28px
    }
}

@media(max-width:575.98px) {
    .dlb .dlb-hero {
        padding: 40px 0 30px
    }

    .dlb .dlb-hero .dlb-stat {
        padding: 4px 8px
    }

    .dlb .dlb-hero .dlb-stat strong {
        font-size: 16px
    }

    .dlb .dlb-hero .dlb-stat span {
        font-size: 10px
    }

    .dlb .dlb-solution .dlb-rev {
        flex-direction: row
    }

    .dlb .dlb-solution .dlb-sol {
        gap: 16px
    }

    .dlb .dlb-solution .dlb-sol {
        padding: 16px
    }

    .dlb .dlb-solution .dlb-sol-img {
        flex-basis: 150px;
        width: 150px
    }

    .dlb .dlb-impact .dlb-impact-box,
    .dlb .dlb-cta .dlb-cta-box {
        padding: 24px
    }

    .dlb .dlb-outcome .dlb-outcome-box {
        padding: 24px
    }

    .dlb .dlb-impact .dlb-kpi strong {
        font-size: 32px
    }

    .dlb .dlb-cta .dlb-btn {
        width: 100%;
        text-align: center
    }
}

@media(prefers-reduced-motion:reduce) {

    .dlb .dlb-card,
    .dlb .dlb-btn {
        transition: none
    }
}