/* ============================================================
   DEVELOPMENT FEATURES — FULL BLEED
   Clean final version / conflict-free
============================================================ */

/* Remove global padding */
.dev-features {
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
}

/* Two-column full-width band */
.dev-features__inner {
    display: grid;
    grid-template-columns: 50% 50%;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: stretch;
}

/* ============================================================
   LEFT COLUMN — PERFECT PADDING + GLOBAL TYPE
============================================================ */

.dev-features__content {
    background: var(--dev-bg, var(--color-white)); /* fallback white */
    padding: 80px 120px;          /* PERFECT TOP/BOTTOM + SIDE PADDING */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    box-sizing: border-box;
}

/* Heading: purple override */
.dev-features__heading {
    color: var(--color-purple) !important;
    margin-bottom: var(--space-sm);
    text-align: left;
}

/* ============================================================
   KEY FEATURES LABEL — EXACT PILL FROM YOUR SCREENSHOT
============================================================ */

.dev-features__label {
    all: unset;                               /* remove global garbage */
    display: inline-block !important;         /* prevent widening */
    
    background: #BD9869 !important;
    color: #ffffff !important;

    font-family: var(--font-heading) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;

    padding: 6px 22px !important;             /* EXACT capsule padding */
    border-radius: 999px !important;          /* permanent pill */

    line-height: 1 !important;

    margin: 0 0 24px 0 !important;            /* left aligned ALWAYS */
}

/* ============================================================
   FEATURES LIST
============================================================ */

.dev-features__list {
    list-style: none;
    margin: 0 0 var(--space-md) 0;
    padding: 0;
}

.dev-features__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.dev-features__icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-gold);
    flex-shrink: 0;
}

/* ============================================================
   CTA BUTTON — USE GLOBAL STYLING
============================================================ */

.dev-features__button {
    margin-top: var(--space-md);
}

/* ============================================================
   RIGHT COLUMN — IMAGE
============================================================ */

.dev-features__image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.dev-features__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================================
   TABLET & MOBILE — STACK PERFECTLY
============================================================ */

@media (max-width: 1024px) {

    .dev-features__inner {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .dev-features__content {
        padding: 50px 30px !important; /* PERFECT RESPONSIVE PADDING */
        text-align: center !important;
    }

    .dev-features__heading {
        text-align: center !important;
    }

    .dev-features__item {
        justify-content: center !important;
    }

    .dev-features__image-wrapper {
        width: 100% !important;
        margin: 0 !important;
        height: auto !important;
    }

    .dev-features__image-wrapper img {
        width: 100% !important;
        height: auto !important;
    }
}

@media (max-width: 600px) {
    .dev-features__content {
        padding: 40px 24px !important;
    }
}

/* ============================================================
   FORCE LABEL TO NEVER STRETCH OR INHERIT GLOBAL RULES
============================================================ */
.dev-features__label {
    all: unset !important;                   /* wipe global styles */
    display: inline-block !important;        /* natural width only */
    
    background: #BD9869 !important;
    color: #ffffff !important;
    font-family: var(--font-heading) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;

    padding: 5px 18px !important;            /* adjust to your taste */
    border-radius: 999px !important;         /* perfect pill */

    line-height: 1 !important;
    white-space: nowrap !important;          /* prevents expansion */
    
    /* ALWAYS LEFT ALIGNED — NEVER CENTER */
    margin: 0 0 24px 0 !important;
    text-align: left !important;
}

/* FINAL hard override — correct pill styling */
.dev-features__label {
    all: unset !important;               /* wipe everything */
    display: inline-block !important;
    background: var(--color-gold) !important;
    color: #fff !important;
    font-family: var(--font-heading) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    line-height: 1 !important;

    padding: 6px 16px !important;
    border-radius: 999px !important;
    width: auto !important;
    max-width: max-content !important;

    align-self: flex-start !important;  /* prevents stretching */
    margin: 0 0 var(--space-md) 0 !important; /* perfect left alignment */
}

/* Tablet + Mobile: center-align the pill */
@media (max-width: 1024px) {
    .dev-features__label {
        align-self: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Center the KEY FEATURES pill by giving it equal spacing above & below */
.dev-features__label {
    margin-top: 16px !important;
    margin-bottom: 16px !important; /* matches spacing before list */
    display: inline-block !important;
}

/* RESET heading + label margins so spacing can be controlled */
.dev-features__heading {
    margin-bottom: 0 !important;  /* remove default spacing */
}

/* Perfectly even spacing above and below the label */
.dev-features__label {
    margin-top: 24px !important;
    margin-bottom: 24px !important;
    display: inline-block !important;
}

/* Remove extra space under the list */
.dev-features__list {
    margin-bottom: 0 !important;
}

/* Reduce bottom padding in the whole left column */
.dev-features__content {
    padding-bottom: 20px !important;
}

.dev-features__content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important; /* centers vertically */
}

.dev-features__content {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

