/* Recent Projects Section - Exact copy from see-new with mobile adaptation */
.recent {
    position: relative;
    width: 100%;
    max-width: 1440px;
    min-height: 1936px;
    margin: 0 auto;
    background: #000000;
}

/* Title section */
/* Recent label */
.recent__label {
    position: absolute;
    width: 98px;
    height: 22px;
    left: calc(50% - 98px/2 - 1px);
    top: 96px;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    text-align: center;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #B3B3B3;
}

/* Recent title */
.recent__title {
    position: absolute;
    width: 946px;
    height: 72px;
    left: calc(50% - 946px/2);
    top: 130px;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 56px;
    line-height: 110%;
    text-align: center;
    letter-spacing: -0.02em;
    color: #FFFFFF;
}

/* Device blocks */
.recent__device {
    position: absolute;
    width: 1140px;
    height: 672px;
}

/* Device 1 */
.recent__device-1 {
    left: 150px;
    top: 374px;
}

/* Device 2 */
.recent__device-2 {
    left: 150px;
    top: 1110px;
}

/* Device header */
.recent__device-header {
    position: absolute;
    width: 100%;
    height: 21px;
    top: 0px;
}

/* Device type label */
.recent__device-type {
    position: absolute;
    width: 187px;
    height: 21px;
    left: calc(50% - 187px/2 - 476.5px);
    top: 0px;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #B3B3B3;
}

/* Device category label */
.recent__device-category {
    position: absolute;
    width: 187px;
    height: 21px;
    left: calc(50% - 187px/2 - 206.5px);
    top: 0px;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #B3B3B3;
}

/* Device name */
.recent__device-name {
    position: absolute;
    width: 300px;
    height: 34px;
    left: 0px;
    top: 37px;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 110%;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    white-space: nowrap;
}

/* Device features */
.recent__device-features {
    position: absolute;
    width: 500px;
    height: 40px;
    left: 320px;
    top: 39px;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 200%;
    letter-spacing: -0.01em;
    color: #FF7B00;
    white-space: nowrap;
}

/* Device image */
.recent__device-image {
    position: absolute;
    width: 1140px;
    height: 560px;
    left: 0px;
    top: 112px;
    background: #333333;
    border-radius: 48px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/* Device 1 image - WiFi Router */
.recent__device-1 .recent__device-image {
    background-image: url(/assets/images/devices/wifi6-router.png);
}

/* Device 2 image - TV Box */
.recent__device-2 .recent__device-image {
    background-image: url(/assets/images/devices/see-tv-box.png);
}

/* Device button */
.recent__device-btn {
    box-sizing: border-box;
    position: absolute;
    width: 194px;
    height: 52px;
    right: 0px;
    top: 0px;
    background: #131114;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 90px;
    cursor: pointer;
    z-index: 3;
}

.recent__device-btn span {
    position: absolute;
    width: 146px;
    height: 20px;
    left: 24px;
    top: 16px;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 120%;
    text-align: center;
    color: #FFFFFF;
}

/* View more button */
.recent__more-btn {
    box-sizing: border-box;
    position: absolute;
    width: 194px;
    height: 52px;
    left: calc(50% - 194px/2);
    top: 1846px;
    background: #FF6C00;
    border: 1px solid #FF9939;
    border-radius: 90px;
    cursor: pointer;
    z-index: 3;
}

.recent__more-btn span {
    position: absolute;
    width: 146px;
    height: 20px;
    left: 24px;
    top: 16px;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 120%;
    text-align: center;
    color: #FFFFFF;
}

/* Device 2 specific positions */
.recent__device-2 .recent__device-type {
    left: calc(50% - 187px/2 - 476.5px);
}

.recent__device-2 .recent__device-category {
    left: calc(50% - 187px/2 - 206.5px);
}

.recent__device-2 .recent__device-name {
    left: 0px;
}

.recent__device-2 .recent__device-features {
    left: 320px;
    top: 39px;
}

/* Mobile Adaptation */
@media (max-width: 1440px) {
    .recent {
        width: 100%;
    }
}

@media (max-width: 1200px) {
    .recent__device {
        width: calc(100% - 100px);
        left: 50px !important;
    }
    
    .recent__device-image {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .recent {
        position: relative;
        top: auto;
        height: auto;
        padding: 60px 20px;
    }
    
    .recent__label {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        margin-bottom: 16px;
    }
    
    .recent__title {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        font-size: 40px;
        height: auto;
        margin-bottom: 40px;
    }
    
    .recent__device {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        width: 100%;
        height: auto;
        margin-bottom: 60px;
    }
    
    .recent__device-header {
        position: relative;
        display: flex;
        justify-content: space-between;
        margin-bottom: 20px;
    }
    
    .recent__device-type,
    .recent__device-category {
        position: relative;
        left: auto !important;
        top: auto;
        width: auto;
    }
    
    .recent__device-name {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        margin-bottom: 8px;
    }
    
    .recent__device-features {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        margin-bottom: 24px;
    }
    
    .recent__device-image {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        height: 400px;
        margin-bottom: 20px;
    }
    
    .recent__device-btn {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
        display: block;
    }
    
    .recent__more-btn {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        max-width: 200px;
        margin: 40px auto 0;
        display: block;
    }
}

@media (max-width: 768px) {
    .recent {
        padding: 40px 16px;
    }
    
    .recent__title {
        font-size: 32px;
    }
    
    .recent__device-name {
        font-size: 24px;
    }
    
    .recent__device-features {
        font-size: 16px;
    }
    
    .recent__device-image {
        height: 300px;
        border-radius: 24px;
    }
}

@media (max-width: 480px) {
    .recent__title {
        font-size: 28px;
    }
    
    .recent__device-name {
        font-size: 20px;
    }
    
    .recent__device-features {
        font-size: 14px;
    }
    
    .recent__device-image {
        height: 200px;
    }
    
    .recent__device-header {
        flex-direction: column;
        gap: 8px;
    }
    
    .recent__device-type,
    .recent__device-category {
        font-size: 14px;
    }
}